joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404ab0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43a832
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x44f6c4]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f6c4]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
mov edi, dword [esp + 0x448]
mov ebx, dword [esp + 0x44c]
mov ebp, dword [esp + 0x450]
xor esi, esi
push 0x43ea84
mov ecx, edi
mov dword [esp + 0x444], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
call fcn.00403350
push 0x20019
push 2
push esi
push 1
push ebp
push ebx
mov dword [esp + 0x458], esi
mov dword [esp + 0x34], 1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
cmp eax, 0xffffffff
je 0x404ba9
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x20]
push ecx
push esi
push str.InfPath
push eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404ba9
push 0x104
lea edx, [esp + 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x230]
push ecx
push str._sinf_s
push edi
call fcn.00403170
add esp, 0x10
mov eax, edi
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.004274dc
add esp, 0x430
ret 0xc
Function at 0x404be0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x43a881
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x44f6c4]
xor eax, esp
mov dword [esp + 0x90], eax
push esi
mov eax, dword [0x44f6c4]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00416e3f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404c34
push 0x80004005
call fcn.00401370
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
mov ecx, dword [esp + 0xac]
push ecx
lea edx, [esp + 0x1c]
push str.0x_08X
push edx
mov dword [esp + 0xb0], 0
call fcn.00401f20
add esp, 0xc
cmp dword [esi + 0x7a58], 0
jne 0x404d09
push str.RealtekInstallShield
lea ecx, [esp + 0x14]
call fcn.00403350
lea eax, [esp + 0x10]
push eax
add esi, 0x148
lea ecx, [esp + 0x18]
push esi
push ecx
mov byte [esp + 0xb0], 1
call fcn.00402de0
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0xa8], 2
call fcn.004030b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xa4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404cdf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xa4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404d17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x404d17
push str.SoftwareRealtekAudioInstaller
lea ecx, [esp + 0xc]
call fcn.00402cb0
mov esi, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x404d58
push 0x80
lea edx, [esp + 0x1c]
push edx
push 1
push eax
mov eax, dword [esp + 0x1c]
push str.InstallerErrorCode
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0xa4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404d7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004274dc
add esp, 0xa0
ret 4
Function at 0x404db0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x43a8d1
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x44f6c4]
xor eax, esp
mov dword [esp + 0x110], eax
push esi
mov eax, dword [0x44f6c4]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00416e3f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404e04
push 0x80004005
call fcn.00401370
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
mov eax, dword [esp + 0x12c]
add eax, 0xffffffff
cmp eax, 3
mov dword [esp + 0x124], 0
ja case.default.0x404e2e
jmp dword [eax*4 + 0x404fc4]
mov ecx, dword [esp + 0x130]
push ecx
push str.DriverPackageInstall_Error_code_0x_08X
jmp 0x404e79
mov eax, dword [esp + 0x130]
push eax
push str.DriverPackagePrenstall_Error_code_0x_08X
lea ecx, [esp + 0x20]
push ecx
jmp 0x404e7e
mov edx, dword [esp + 0x130]
push edx
push str.DriverPackageUninstall_Error_code_0x_08X
lea eax, [esp + 0x20]
push eax
jmp 0x404e7e
mov ecx, dword [esp + 0x130]
push ecx
push str.DriverPackageGetPath_Error_code_0x_08X
lea edx, [esp + 0x20]
push edx
call fcn.00401f40
add esp, 0xc
cmp dword [esi + 0x7a58], 0
jne 0x404f26
push str.RealtekInstallShield
lea ecx, [esp + 0x14]
call fcn.00403350
lea eax, [esp + 0x10]
push eax
add esi, 0x148
lea ecx, [esp + 0x18]
push esi
push ecx
mov byte [esp + 0x130], 1
call fcn.00402de0
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x128], 2
call fcn.004030b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x124], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404efc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x124], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404f34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x404f34
push str.SoftwareRealtekAudioInstaller
lea ecx, [esp + 0xc]
call fcn.00402cb0
mov esi, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x404f75
push 0x100
lea edx, [esp + 0x1c]
push edx
push 1
push eax
mov eax, dword [esp + 0x1c]
push str.DIFxAPIErrorCode
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x124], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404f9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.004274dc
add esp, 0x120
ret 8
Function at 0x408020
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x43ad68
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x44f6c4]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
mov eax, dword [0x44f6c4]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x22c]
push edi
lea eax, [esp + 0x14]
push 0x43ec5c
push eax
mov dword [esp + 0x230], 0
mov dword [esp + 0x18], 0
call fcn.00401f00
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x24]
push 0x24
push edx
call fcn.00401a70
add esp, 0x1c
test eax, eax
je 0x4080ab
push eax
push 3
mov ecx, esi
call fcn.00404db0
jmp 0x4080ef
lea eax, [esp + 0x10]
push 0x43f3a0
push eax
call fcn.00427681
add esp, 8
push 0x80
lea ecx, [esp + 0x14]
push ecx
mov word [eax], 0x2e
mov word [eax + 2], 0x50
mov word [eax + 4], 0x4e
mov word [eax + 6], 0x46
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.004073d0
lea eax, [edi - 0x10]
mov dword [esp + 0x224], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40811d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004274dc
add esp, 0x21c
ret 4
Function at 0x40b260
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x450b54]
push esi
mov esi, ecx
xor ecx, ecx
cmp eax, 0x5a
setge cl
push 0
sub ecx, 1
and ecx, 0xa
add eax, ecx
push eax
mov dword [0x450b54], eax
mov edx, dword [esi + 0x7a80]
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, esi
call fcn.00401740
cmp dword [esi + 0x7a4c], 0
je 0x40b2b0
mov dword [0x450b4c], 1
jmp 0x40b2c4
mov ecx, esi
call fcn.00401f60
test eax, eax
mov dword [0x450b4c], eax
je 0x40b34c
mov eax, dword [esi + 0x7a30]
test eax, eax
push edi
je 0x40b315
cmp dword [esi + 0x7a38], 0
je 0x40b2f7
mov ecx, esi
call fcn.00408fa0
mov ecx, esi
mov edi, eax
call fcn.00408150
test edi, edi
jne 0x40b327
test eax, eax
jne 0x40b330
push 0xffffffffffffffff
call fcn.004281ca
test eax, eax
je 0x40b315
cmp dword [esi + 0x7a38], 0
jne 0x40b311
mov ecx, esi
call fcn.00408fa0
mov edi, eax
xor eax, eax
jmp 0x40b2e8
test eax, eax
jne 0x40b2f0
cmp dword [esi + 0x7a38], 0
je 0x40b2f0
mov ecx, esi
call fcn.00408150
jmp 0x40b2ec
cmp edi, 1
jne 0x40b366
test eax, eax
jmp 0x40b333
cmp eax, 1
jne 0x40b366
cmp dword [esi + 0x368], 0
jne 0x40b345
push 0xfffffffffffffffc
call fcn.004281ca
push 0xfffffffffffffffb
call fcn.004281ca
push 0x30
push str.Realtek_High_Definition_Audio
push str._Microsoft_Bus_driver_should_be_loaded_in_your_system_before_installing_Realtek_HD_Audio_driver__
mov ecx, esi
call fcn.00401590
push 0xfffffffffffffffe
call fcn.004281ca
pop edi
pop esi
ret

Function at 0x40b265
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x450b54]
push esi
mov esi, ecx
xor ecx, ecx
cmp eax, 0x5a
setge cl
push 0
sub ecx, 1
and ecx, 0xa
add eax, ecx
push eax
mov dword [0x450b54], eax
mov edx, dword [esi + 0x7a80]
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, esi
call fcn.00401740
cmp dword [esi + 0x7a4c], 0
je 0x40b2b0
mov dword [0x450b4c], 1
jmp 0x40b2c4
mov ecx, esi
call fcn.00401f60
test eax, eax
mov dword [0x450b4c], eax
je 0x40b34c
mov eax, dword [esi + 0x7a30]
test eax, eax
push edi
je 0x40b315
cmp dword [esi + 0x7a38], 0
je 0x40b2f7
mov ecx, esi
call fcn.00408fa0
mov ecx, esi
mov edi, eax
call fcn.00408150
test edi, edi
jne 0x40b327
test eax, eax
jne 0x40b330
push 0xffffffffffffffff
call fcn.004281ca
test eax, eax
je 0x40b315
cmp dword [esi + 0x7a38], 0
jne 0x40b311
mov ecx, esi
call fcn.00408fa0
mov edi, eax
xor eax, eax
jmp 0x40b2e8
test eax, eax
jne 0x40b2f0
cmp dword [esi + 0x7a38], 0
je 0x40b2f0
mov ecx, esi
call fcn.00408150
jmp 0x40b2ec
cmp edi, 1
jne 0x40b366
test eax, eax
jmp 0x40b333
cmp eax, 1
jne 0x40b366
cmp dword [esi + 0x368], 0
jne 0x40b345
push 0xfffffffffffffffc
call fcn.004281ca
push 0xfffffffffffffffb
call fcn.004281ca
push 0x30
push str.Realtek_High_Definition_Audio
push str._Microsoft_Bus_driver_should_be_loaded_in_your_system_before_installing_Realtek_HD_Audio_driver__
mov ecx, esi
call fcn.00401590
push 0xfffffffffffffffe
call fcn.004281ca
pop edi
pop esi
ret
Function at 0x40c17b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x44f6c4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x40c1b8
push 0x4401c0
push 4
push eax
call fcn.00427cd0
push eax
call fcn.004012e0
add esp, 0x10
jmp 0x40c1ca
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40c235
push edi
call fcn.00428551
mov edi, dword [eax]
call fcn.00428551
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.00427f1b
add esp, 0x18
mov ebx, eax
call fcn.00428551
cmp dword [eax], 0
je 0x40c215
call fcn.00428551
push dword [eax]
call fcn.0040c118
pop ecx
jmp 0x40c21c
call fcn.00428551
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x40c235
cmp ebx, esi
jae 0x40c235
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x40c237
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004274dc
leave
ret
Function at 0x40f07b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x40f0c1
call fcn.00410603
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40f0c1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x40f104
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x40f0ed
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40f0ed
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40f101
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x415739
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x41577c
call fcn.00410603
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41577c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x415797
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004152f3
test ebx, ebx
mov esi, eax
je 0x415795
test edi, edi
je 0x415795
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x417842
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x417870
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41788e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004177ac
jmp 0x41788e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41788e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004177ac
test edi, edi
mov eax, edi
jne 0x417878
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4527c0]
test ecx, ecx
je 0x417951
jmp 0x417841
ret 8

Function at 0x4274dc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44f6c4]
jne 0x4274e6
repz ret
jmp fcn.0042bddc
Function at 0x429d87
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x44f850]
je 0x429da2
inc edi
cmp edi, 0x17
jb 0x429d93
cmp edi, 0x17
jae 0x429f22
push ebp
push 3
call fcn.004328e0
cmp eax, 1
pop ecx
je 0x429eee
push 3
call fcn.004328e0
test eax, eax
pop ecx
jne 0x429dd6
cmp dword [0x44f6a4], 1
je 0x429eee
cmp ebx, 0xfc
je 0x429f21
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x452b18
push ebp
call fcn.0043287b
add esp, 0xc
test eax, eax
je 0x429e0c
push esi
push esi
push esi
push esi
push esi
call fcn.0042c37f
add esp, 0x14
push 0x104
mov esi, 0x452b31
push esi
push 0
mov byte [0x452c35], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x429e50
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0043287b
add esp, 0xc
test eax, eax
je 0x429e50
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0042c37f
add esp, 0x14
push esi
call fcn.004327f0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x429e95
push esi
call fcn.004327f0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x452e2c
push 0x4435cc
sub ecx, eax
push ecx
push eax
call fcn.00432730
add esp, 0x14
test eax, eax
je 0x429e95
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0042c37f
add esp, 0x14
jmp 0x429e97
xor esi, esi
push 0x4435c8
push ebx
push ebp
call fcn.004326bf
add esp, 0xc
test eax, eax
je 0x429eb7
push esi
push esi
push esi
push esi
push esi
call fcn.0042c37f
add esp, 0x14
push dword [edi*8 + 0x44f854]
push ebx
push ebp
call fcn.004326bf
add esp, 0xc
test eax, eax
je 0x429ed9
push esi
push esi
push esi
push esi
push esi
call fcn.0042c37f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00432502
add esp, 0xc
jmp 0x429f21
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x429f21
cmp ebp, 0xffffffff
je 0x429f21
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x44f854]
push dword [esi]
call fcn.004327f0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x432502
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042a937
xor ebx, ebx
cmp dword [0x453618], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4325d8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4326b8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4326b8
push eax
call fcn.0042a8c9
mov dword [esp], 0x44380c
push edi
mov dword [0x453618], eax
call esi
push eax
call fcn.0042a8c9
mov dword [esp], 0x4437f8
push edi
mov dword [0x45361c], eax
call esi
push eax
call fcn.0042a8c9
mov dword [0x453620], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00427fe3
test eax, eax
pop ecx
pop ecx
je 0x4325a6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042c37f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4325d8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042a8c9
cmp eax, ebx
pop ecx
mov dword [0x453628], eax
je 0x4325d8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042a8c9
pop ecx
mov dword [0x453624], eax
mov eax, dword [0x453624]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43265d
cmp dword [0x453628], ecx
je 0x43265d
push eax
call fcn.0042a940
push dword [0x453628]
mov esi, eax
call fcn.0042a940
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43265d
cmp edi, ebx
je 0x43265d
call esi
cmp eax, ebx
je 0x43262a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43262a
test byte [ebp - 0x18], 1
jne 0x43265d
lea eax, [ebp - 0x10]
push eax
call fcn.0042801a
test eax, eax
pop ecx
je 0x432645
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042c37f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x432654
or dword [ebp + 0x10], 0x200000
jmp 0x432698
or dword [ebp + 0x10], 0x40000
jmp 0x432698
mov eax, dword [0x45361c]
cmp eax, dword [ebp - 8]
je 0x432698
push eax
call fcn.0042a940
cmp eax, ebx
pop ecx
je 0x432698
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x432698
mov eax, dword [0x453620]
cmp eax, dword [ebp - 8]
je 0x432698
push eax
call fcn.0042a940
cmp eax, ebx
pop ecx
je 0x432698
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x453618]
call fcn.0042a940
cmp eax, ebx
pop ecx
je 0x4326b8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4326ba
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x439f44
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x44f6c4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00439ed9
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 fcn.00427e20
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 0x439f93
cmp dword [ebp - 0x1c], 5
jb 0x439fab
jmp 0x439fa7
cmp dword [ebp - 0x10], 1
jne 0x439fab
cmp dword [ebp - 0x1c], 4
ja 0x439fa7
jne 0x439fab
cmp dword [ebp - 0x18], 0
jbe 0x439fab
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4451f8
call fcn.00439dad
test eax, eax
jge 0x439fcc
mov byte [0x450aa0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004274dc
add ebp, 0x78
leave
ret

Function at 0x50612c
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x50613f
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x50613b
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x50616c
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x5061ab
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x5061a1
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x5061ad
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x506191
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x40915c
nop
mov ecx, 0x76197a66
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x2b096dfd
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
jmp 0x401219