joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4112e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1038
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x53132c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x411401
cmp byte [edi + 0x49], bl
je 0x411401
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x4113f5
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x411355
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x41136d
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x411396
dec eax
je 0x41139a
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x4113f0
jmp 0x4113fc
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x4113aa
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x4113d3
cmp ebx, 0x10
jae 0x4113b9
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0045ac1c
add esp, 0x10
cmp esi, eax
jne 0x4113ed
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x4113f9
test esi, esi
jne 0x411361
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00403a50
jmp 0x41135b
lea ecx, [ebp - 0x2c]
call fcn.00475a20
xor al, al
jmp 0x411403
lea ecx, [ebp - 0x2c]
call fcn.00475a20
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004587b6
mov esp, ebp
pop ebp
ret

Function at 0x4121f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
jne 0x412230
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x24], 0
push 2
lea ecx, [esi + 0x28]
je 0x412226
push 0x5139fc
call fcn.004089d0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0x513a04
call fcn.004089d0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41b170
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
jne 0x41b1ab
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esp + 4], 0
push 2
lea ecx, [esi + 0x28]
je 0x41b1a1
push 0x5139fc
jmp 0x41b1a6
push 0x513a04
call fcn.004089d0
push esi
mov ecx, 0x536e68
mov edx, str.global
call fcn.00412240
test eax, eax
jne 0x41b1da
push esi
mov ecx, 0x536e68
mov edx, str.stub
call fcn.00412240
test eax, eax
jne 0x41b1da
mov ecx, esi
call fcn.00412a20
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41b3d0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
jne 0x41b40b
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esp + 4], 0
push 2
lea ecx, [esi + 0x28]
je 0x41b401
push 0x5139fc
jmp 0x41b406
push 0x513a04
call fcn.004089d0
push esi
mov ecx, 0x536e68
mov edx, str.global
call fcn.00412240
test eax, eax
jne 0x41b43a
push esi
mov ecx, 0x536e90
mov edx, str.stub_preprocess
call fcn.00412240
test eax, eax
jne 0x41b43a
mov ecx, esi
call fcn.00412a20
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41f7a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e27d8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x53132c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x3b
lea eax, [ebp - 0x4b]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x58], esi
mov byte [ebp - 0x4c], 0
call fcn.00458cc0
add esp, 0xc
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x50]
push eax
push 0
push str.MachineGuid
push ebx
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x41f843
cmp dword [ebp - 0x50], 1
jne 0x41f8d0
lea eax, [ebp - 0x4c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f821
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, esi
call fcn.004089d0
xor eax, eax
jmp 0x41f931
cmp edi, 0xea
jne 0x41f92f
mov eax, dword [ebp - 0x54]
add eax, 8
cmp eax, 0x400
ja 0x41f872
call fcn.00459d20
mov esi, esp
test esi, esi
je 0x41f88a
mov dword [esi], 0xcccc
add esi, 8
jmp 0x41f88a
push eax
call fcn.00459997
add esp, 4
test eax, eax
je 0x41f888
mov dword [eax], 0xdddd
add eax, 8
mov esi, eax
mov dword [ebp - 0x5c], esi
lea edx, [ebp - 0x54]
push edx
push esi
lea eax, [ebp - 0x50]
push eax
push 0
push str.MachineGuid
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x41f916
cmp dword [ebp - 0x50], 1
je 0x41f8d7
test esi, esi
je 0x41f8d0
cmp dword [esi - 8], 0xdddd
lea eax, [esi - 8]
jne 0x41f8d0
push eax
call fcn.004587c5
add esp, 4
mov eax, 0x80004005
jmp 0x41f931
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f8e0
mov ecx, dword [ebp - 0x58]
sub eax, edx
sar eax, 1
push eax
push esi
call fcn.004089d0
test esi, esi
je 0x41f912
cmp dword [esi - 8], 0xdddd
lea eax, [esi - 8]
jne 0x41f912
push eax
call fcn.004587c5
add esp, 4
xor eax, eax
jmp 0x41f931
test esi, esi
je 0x41f92f
cmp dword [esi - 8], 0xdddd
lea eax, [esi - 8]
jne 0x41f92f
push eax
call fcn.004587c5
add esp, 4
mov eax, edi
lea esp, [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004587b6
mov esp, ebp
pop ebp
ret
Function at 0x420f90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e2778
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
mov eax, dword [0x53132c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 8], esi
push 8
mov dword [esp + 0x28], esi
call fcn.004597dd
add esp, 4
cmp eax, esi
je 0x421057
mov dword [esp + 0x24], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x24]
mov dword [ecx], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x48], esi
mov ecx, dword [eax]
mov dword [esp + 0xc], edx
lea edx, [esp + 0xc]
mov dword [esp + 0x10], ecx
push edx
lea ecx, [esp + 0x28]
call fcn.004214f0
mov esi, dword [ebp + 8]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004212c0
lea ecx, [esp + 0x24]
call fcn.004200b0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00458691
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc], esi
call fcn.0045967a
push 0x52785c
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], vtable.std::bad_alloc.0
call fcn.0045869c
int3
Function at 0x42ba10
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2436
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x53132c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x21c], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x224], edi
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x42ba6a
mov eax, dword [eax]
lea edx, [ebp - 0x228]
push edx
push edi
push eax
call dword [sym.imp.msi.dll_MsiOpenProductW]
test eax, eax
je 0x42baa4
mov eax, dword [ebp - 0x224]
mov esi, dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp eax, edi
je 0x42ba90
push eax
call esi
mov eax, dword [ebp - 0x21c]
cmp eax, edi
je 0x42ba9d
push eax
call esi
xor al, al
jmp 0x42bb9f
mov eax, dword [ebp - 0x21c]
mov ebx, dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp eax, edi
je 0x42bab7
push eax
call ebx
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
push 0x513498
push ecx
mov dword [ebp - 0x21c], edi
call dword [sym.imp.msi.dll_MsiEnumClientsA]
mov esi, eax
cmp esi, edi
jne 0x42bb6d
mov edx, dword [ebp - 0x21c]
push edi
push edx
call dword [sym.imp.msi.dll_MsiViewModify]
mov esi, eax
cmp esi, edi
jne 0x42bb60
mov eax, dword [ebp - 0x224]
cmp eax, edi
je 0x42bb01
push eax
call ebx
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x224]
push eax
push ecx
mov dword [ebp - 0x224], edi
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
mov esi, eax
cmp esi, edi
jne 0x42bb60
mov ecx, dword [ebp - 0x224]
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x218]
push eax
push 1
push ecx
mov dword [ebp - 0x230], 0x104
call dword [sym.imp.msi.dll_MsiRecordSetStreamA]
mov esi, eax
cmp esi, edi
jne 0x42bb60
mov ecx, dword [ebp - 0x22c]
lea edx, [ebp - 0x218]
push edx
call fcn.0040d650
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.msi.dll_MsiViewGetErrorW]
mov ecx, dword [ebp - 0x228]
push ecx
call ebx
mov eax, dword [ebp - 0x224]
cmp esi, edi
sete byte [ebp - 0x21d]
cmp eax, edi
je 0x42bb8c
push eax
call ebx
mov eax, dword [ebp - 0x21c]
cmp eax, edi
je 0x42bb99
push eax
call ebx
mov al, byte [ebp - 0x21d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004587b6
mov esp, ebp
pop ebp
ret
Function at 0x42fb30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42fba2
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x42fb71
cmp eax, 2
jne 0x42fb8c
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x42fb9c
test eax, eax
je 0x42fb97
test al, 1
jne 0x42fb8c
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x42fb9c
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4300c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov bl, 1
cmp cl, 0xc
jne 0x43011c
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call edi
mov edx, dword [esi + 4]
push edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call edi
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push edi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
shr eax, 2
test al, 1
je 0x430156
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
push ecx
movzx edx, di
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x28]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x430189
mov ecx, dword [esi + 4]
or byte [esi + 0x58], 2
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4311d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov bl, 1
cmp cl, 0xc
jne 0x431225
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call edi
mov edx, dword [esi + 4]
push edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call edi
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push edi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x43128b
shr eax, 2
test al, 1
je 0x431258
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
push ecx
movzx edx, di
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x43128b
mov eax, dword [esi + 0x28]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x43128b
mov ecx, dword [esi + 4]
or byte [esi + 0x58], 2
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x431ec0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x53132c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00458cc0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x431f2d
mov eax, dword [ebp - 0x114]
cmp eax, 5
jae 0x431f1d
cmp eax, 4
jne 0x431f2d
cmp dword [ebp - 0x110], 0x5a
jb 0x431f2d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004587b6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.004587b6
mov esp, ebp
pop ebp
ret
Function at 0x43b0e0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x53132c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call fcn.00401f70
push 4
xor ebx, ebx
mov esi, 0xf
push 0x4e94dc
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x20], bl
call fcn.00404270
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.00402bc0
add esp, 8
push eax
mov ecx, 0x53543c
call fcn.0044b350
lea ecx, [ebp - 0x54]
call fcn.0044ae60
cmp dword [ebp - 0xc], 0x10
jb 0x43b14b
mov edx, dword [ebp - 0x20]
push edx
call fcn.00458691
add esp, 4
push 9
push str._tWinMain
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x20], bl
call fcn.00404270
push 0x4f
push str.Stub.cpp
lea eax, [ebp - 0x20]
push eax
push 0x53543c
lea ecx, [ebp - 0x4c]
call fcn.004119e0
cmp dword [ebp - 0xc], 0x10
jb 0x43b18d
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00458691
add esp, 4
push str.Stub_c493cce9_7a27_4a82_82c2_823542093fd7
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43b1dc
cmp esi, ebx
je 0x43b1dc
push 0x10
push str.US_Tech_Support
push str.US_Tech_Support_Stub_Installer_is_already_running.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x4c]
call fcn.00411ac0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004587b6
mov esp, ebp
pop ebp
ret 0x10
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea edx, [ebp - 0x54]
push edx
mov dword [ebp - 0x54], 8
mov dword [ebp - 0x50], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov eax, dword [ebp + 8]
push ebx
push eax
push ebx
mov ecx, 0x535470
call fcn.00434690
call fcn.0043af50
call fcn.0040b240
mov ecx, dword [0x535f70]
mov edx, dword [0x535f68]
push ecx
push edx
call fcn.0043a810
add esp, 8
mov esi, eax
call fcn.00475970
lea ecx, [ebp - 0x4c]
call fcn.00411ac0
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004587b6
mov esp, ebp
pop ebp
ret 0x10

Function at 0x43b250
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10bc
call fcn.0045a2d0
mov eax, dword [0x53132c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
cmp ecx, 0xfffffffc
je 0x43b277
cmp ecx, 0xfffffffe
jne 0x43b2a9
add eax, 0xc
push 0x10b8
push eax
lea eax, [ebp - 0x10bc]
push eax
call fcn.00458f10
add esp, 0xc
push 5
push 0
push 0
lea ecx, [ebp - 0x104c]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004587b6
mov esp, ebp
pop ebp
ret 8
Function at 0x43b7a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x43b7bb
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x43b7f2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x43b7ee
jmp 0x43b7e0
cmp esi, eax
jae 0x43b7f2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x43b7e0
cmp esi, eax
jb 0x43b7f9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x43c970
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x53132c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.0042fa80
mov ebx, eax
cmp ebx, esi
je 0x43c9ea
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x43c9d5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004587b6
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push esi
push eax
mov dword [ebp - 0x214], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x43ca6c
mov edi, edi
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.0043c970
mov ebx, eax
cmp ebx, esi
jne 0x43c9c4
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push esi
push edx
mov dword [ebp - 0x214], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x43ca20
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x43ca85
push eax
call ebx
mov dword [ebp - 0x210], esi
mov eax, dword [ebp - 0x218]
push eax
mov ecx, edi
mov dword [ebp - 0x20c], esi
call fcn.0043c210
mov edi, eax
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x43caa8
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004587b6
mov esp, ebp
pop ebp
ret 4
Function at 0x43ec00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d67e8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x53132c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.0045973a
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov dword [ebp - 4], 0
mov byte [ecx], 0
call fcn.00403b00
mov dword [esi], vtable.boost::filesystem2::basic_filesystem_error_class_boost::filesystem2::basic_path_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____struct_boost::filesystem2::wpath_traits__.0
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov edi, dword [edi + 0x34]
mov dword [esi + 0x34], edi
test edi, edi
je 0x43ec8f
add edi, 4
mov ecx, 1
lock xadd dword [edi], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43ed40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6826
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x53132c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x43edbd
call fcn.00434f00
mov edi, eax
jmp 0x43eea2
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x43edd6
call fcn.00434f00
jmp 0x43ee99
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x43edf4
call fcn.00434f00
jmp 0x43ee99
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x41c], edi
cmp eax, edi
jae 0x43ee15
mov edi, 0x8007000e
jmp 0x43ee9b
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0043d120
mov dword [ebp - 4], 1
jmp 0x43ee4d
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x43ee5e
mov edi, 0x8007000e
jmp 0x43ee9b
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x43ee77
call fcn.00434f00
jmp 0x43ee99
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.0043e850
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x43eec0
lea ecx, [ebp - 0x418]
call fcn.0043c930
jmp 0x43eec0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004587b6
mov esp, ebp
pop ebp
ret 0x10