joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x78], edi
mov dword [esi + 0x68], edi
cmp eax, 0x20
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
jbe 0x46706b
mov eax, 0x20
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x58], edi
cmp eax, ecx
je 0x4670ac
lea ebx, [esi + 0xc8]
mov ebp, 0x20
cmp dword [ebx + 8], edi
je 0x467091
mov ecx, ebx
call fcn.00466cf0
add ebx, 0x28
dec ebp
jne 0x467085
mov edx, dword [esi + 0x5c]
cmp edx, edi
je 0x4670a7
mov ecx, dword [esi + 0x14]
call dword [ecx + 4]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.00466bc0
mov eax, dword [esi + 0x58]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea edx, [eax + eax*4 + 0x19]
inc eax
mov dword [esi + 0x58], eax
lea ebp, [esi + edx*8]
mov ecx, ebp
call fcn.00467150
mov ebx, eax
cmp ebx, edi
jne 0x46710f
lea ecx, [ebp + 0x20]
call fcn.00467eb0
mov ebx, eax
cmp ebx, edi
jne 0x46710f
lea ecx, [ebp + 0x1c]
call fcn.00467eb0
mov ebx, eax
cmp ebx, edi
jne 0x46710f
push ebp
call fcn.00467190
mov ebx, eax
cmp ebx, edi
je 0x467124
mov ecx, esi
mov dword [esi + 0x44], edi
call fcn.00467170
cmp ebx, edi
jle 0x46711f
and ebx, 0xffff
or ebx, 0x80070000
cmp ebx, edi
je 0x467124
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], edi
jne 0x467136
cmp dword [esi + 0x40], edi
jne 0x467136
cmp dword [esi + 0x3c], edi
jne 0x467136
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x44]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ebx
pop ebp
pop ebx
ret
Function at 0x467002
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x78], edi
mov dword [esi + 0x68], edi
cmp eax, 0x20
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
jbe 0x46706b
mov eax, 0x20
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x58], edi
cmp eax, ecx
je 0x4670ac
lea ebx, [esi + 0xc8]
mov ebp, 0x20
cmp dword [ebx + 8], edi
je 0x467091
mov ecx, ebx
call fcn.00466cf0
add ebx, 0x28
dec ebp
jne 0x467085
mov edx, dword [esi + 0x5c]
cmp edx, edi
je 0x4670a7
mov ecx, dword [esi + 0x14]
call dword [ecx + 4]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.00466bc0
mov eax, dword [esi + 0x58]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea edx, [eax + eax*4 + 0x19]
inc eax
mov dword [esi + 0x58], eax
lea ebp, [esi + edx*8]
mov ecx, ebp
call fcn.00467150
mov ebx, eax
cmp ebx, edi
jne 0x46710f
lea ecx, [ebp + 0x20]
call fcn.00467eb0
mov ebx, eax
cmp ebx, edi
jne 0x46710f
lea ecx, [ebp + 0x1c]
call fcn.00467eb0
mov ebx, eax
cmp ebx, edi
jne 0x46710f
push ebp
call fcn.00467190
mov ebx, eax
cmp ebx, edi
je 0x467124
mov ecx, esi
mov dword [esi + 0x44], edi
call fcn.00467170
cmp ebx, edi
jle 0x46711f
and ebx, 0xffff
or ebx, 0x80070000
cmp ebx, edi
je 0x467124
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], edi
jne 0x467136
cmp dword [esi + 0x40], edi
jne 0x467136
cmp dword [esi + 0x3c], edi
jne 0x467136
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x44]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ebx
pop ebp
pop ebx
ret
Function at 0x467e10
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x467e38
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x467e47
mov eax, 1
ret 4

Function at 0x467e50
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 4
mov edi, ecx
mov ecx, dword [esp + 0x14]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
mov esi, eax
add esp, 0x18
mov dword [edi], esi
test esi, esi
je 0x467e96
mov edx, dword [esp + 0x10]
push edx
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x467e96
mov eax, edi
pop edi
pop esi
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x467e91
pop edi
mov eax, 1
pop esi
ret 8

Function at 0x468150
Capabilities:
Hash data using sha256

Disassembly:
mov eax, edx
mov dword [ecx], eax
dec eax
je 0x468173
sub eax, 3
je 0x468169
sub eax, 6
jne 0x46817a
add ecx, 0x10
jmp fcn.0046e910
or eax, 0xffffffff
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret
mov dword [ecx + 4], 0xffffffff
ret
Function at 0x46e8c0
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret

Function at 0x46e910
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [0x48a564]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret

Function at 0x46efc0
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
and eax, 0x3f
mov byte [eax + esi + 0x40], 0x80
inc eax
push edi
mov edi, edx
cmp eax, 0x38
jbe 0x46f003
cmp eax, 0x40
je 0x46eff5
mov edx, 0x40
sub edx, eax
push edx
lea ecx, [eax + esi + 0x40]
push 0
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
xor eax, eax
mov ecx, 0x38
sub ecx, eax
push ecx
lea edx, [eax + esi + 0x40]
push 0
push edx
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
add esp, 0xc
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
lea ecx, [esi + 0x20]
mov edx, 4
mov eax, dword [ecx + 4]
mov ebp, dword [ecx]
bswap ebp
bswap eax
mov dword [edi], ebp
mov dword [edi + 4], eax
add edi, 8
add ecx, 8
dec edx
jne 0x46f048
xor eax, eax
pop edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x20], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
pop ebp
pop ebx
ret
Function at 0x471320
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov dword [ecx], 0
lea esi, [ecx + 0x60]
mov dword [ecx + 0x34], 0
xor edx, edx
mov word [ecx + 0x1e], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x468], 0xffffffff
mov dword [ecx + 0x46c], 0xffffffff
mov dword [ecx + 0x30], 0x20
mov byte [ecx + 0x1d], 1
mov dword [ecx + 0x48], 4
mov word [ecx + 0x58], 2
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x471373
pop esi
ret
Function at 0x41ed50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41ed94
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 4], esp
push 0x4574b8
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3a0]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x3a0]
mov edx, dword [eax]
mov eax, dword [edx + 0x14]
call eax
cmp dword [ebp + 8], 1
jne 0x41ede3
mov ecx, dword [ebp - 8]
call dword [sym.imp.duilib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ede1
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x41edd2
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
push 1
mov ecx, dword [ebp - 8]
call dword [sym.imp.duilib.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
jmp 0x41ede1
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41ee16
cmp dword [ebp + 8], 1
jne 0x41ee16
mov ecx, dword [ebp - 8]
call dword [sym.imp.duilib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ee16
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41ee07
jmp 0x41ee16
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 8
Function at 0x421780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450c2c
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x472554]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.boost::detail::thread_data_base.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.004310a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004218d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.004219b0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004219b0
mov byte [ebp - 4], 3
push 0
push 1
call fcn.004036a0
add esp, 8
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.004310a0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x44], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4282d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x34c], ecx
mov edx, dword [ebp + 0x18]
mov dword [eax + 0x350], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x3dc], ecx
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x3e0], 0
cmp dword [ebp + 0x10], 0
je 0x428320
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x358
call dword [sym.imp.duilib.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x354], edx
cmp dword [ebp - 0x28], 0
je 0x42833f
mov eax, dword [ebp - 0x28]
add eax, 0x334
mov dword [ebp - 0x2c], eax
jmp 0x428346
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, 0x474104
call fcn.0042a570
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x3dc], 0
jne 0x42836e
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x348]
mov dword [ebp - 0x30], ecx
jmp 0x428392
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x3dc]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x3dc]
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call dword [sym.imp.duilib.dll_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.duilib.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x10], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 8], edx
push 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 8]
mov dword [eax + 0xc], edx
push 0x88
push 0x80000000
push 0
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x28]
call dword [sym.imp.duilib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x42840f
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 4], eax
jmp 0x4283f2
push 5
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x43a460
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x43a48f
mov dword [ebp + 8], str.kdump.dll
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43a4a6
jmp 0x43a4fe
push str.KxEOpenDumpMonitorEx2
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43a4c2
jmp 0x43a4fe
push 0
push 0
mov edx, dword [ebp - 8]
push edx
push 0x43a510
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x10], eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x10], 0
je 0x43a4fe
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x43a5d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452479
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x472554]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [ebp - 4], 0
push str.SOFTWAREMyDriversDriverGenius
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 1
push 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x43a66b
mov dword [ebp - 0xc4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0xc4]
jmp 0x43a70e
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xbc], 0
push 0x7e
push 0
lea ecx, [ebp - 0xba]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0x3c], 0x80
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push str.UUID
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x43a6e2
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov dword [ebp - 0xc0], 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0043dcfe
mov esp, ebp
pop ebp
ret
Function at 0x43af3e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x472554]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043ae7d
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x43af8d
cmp dword [ebp - 0x1c], 5
jb 0x43afa5
jmp 0x43afa1
cmp dword [ebp - 0x10], 1
jne 0x43afa5
cmp dword [ebp - 0x1c], 4
ja 0x43afa1
jne 0x43afa5
cmp dword [ebp - 0x18], 0
jbe 0x43afa5
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x459b6c
call fcn.0043ad47
test eax, eax
jge 0x43afc6
mov byte [0x4744ac], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043dcfe
add ebp, 0x78
leave
ret

Function at 0x43b178
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x474518], 0
push esi
jne 0x43b0eb
call fcn.0043b016
test eax, eax
je 0x43b12e
mov eax, dword [0x474518]
cmp eax, 1
jne 0x43b10c
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x43b12e
pop esi
ret
push eax
call dword [0x474520]
test eax, eax
jne 0x43b176
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x43b132
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x474518]
call dword [0x474520]
mov edi, eax
test edi, edi
je 0x43b159
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x43b175
lea edi, [esi + 0xff0]
push esi
push dword [0x474518]
call dword [0x47451c]
add esi, 0x10
cmp esi, edi
jb 0x43b15f
mov eax, esi
pop edi
pop esi
ret
jmp 0x43b0d8

Function at 0x43b550
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x472444]
cmp eax, 0xffffffff
push esi
je 0x43b590
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call esi
test eax, eax
je 0x43b590
mov eax, dword [0x472444]
cmp eax, 0xffffffff
jne 0x43b576
xor eax, eax
jmp 0x43b579
push eax
call esi
mov eax, dword [eax + 0x40]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x43b590
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret