joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4066a3
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 4
push ebx
push ebx
push 0x43bbc8
call fcn.004127a5
mov dword [esi + 0x20], eax
mov dword [eax + 0x44], 0x3f1
mov eax, dword [esi + 0x20]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, ebx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4066dd
cmp dword [eax + 0x20], ebx
jne 0x4066ed
cmp edi, 2
jge 0x4066ed
push 0x64
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4066d1
mov ecx, eax
pop edi
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x28], eax
pop esi
pop ebx
ret

Function at 0x4075ba
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, 0x3ff
and ax, cx
movzx eax, ax
cmp eax, 1
je 0x4075dd
cmp eax, 0xd
je 0x4075dd
mov eax, dword [ebp + 0xc]
jmp 0x4075e5
mov eax, dword [ebp + 0xc]
or eax, 0x100000
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
push 0x4528c8
call fcn.00417639
add esp, 0x10
pop ebp
ret
Function at 0x407aa1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x40
mov eax, 0x4398b0
call fcn.00421483
mov esi, ecx
mov dword [ebp - 0x4c], esi
and dword [ebp - 0x30], 0
lea edi, [ebp - 0x2c]
and dword [ebp - 0x20], 0
lea ecx, [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x38], 0x104
stosd dword es:[edi], eax
push str.RequireIE
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0040194d
xor edi, edi
lea ecx, [ebp - 0x44]
push str.Startup
mov dword [ebp - 4], edi
call fcn.0040194d
lea eax, [esi + 0xd0]
xor ebx, ebx
push eax
lea eax, [ebp - 0x48]
inc ebx
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], bl
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00408fc3
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00401856
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 4
lea ecx, [ecx - 0x10]
call fcn.00401856
mov eax, dword [ebp - 0x40]
cmp dword [eax - 0xc], edi
je 0x407bc2
lea ecx, [ebp - 0x14]
mov esi, str._d._d._d._d
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push esi
push eax
call fcn.0042245f
add esp, 0x18
call fcn.0040b5a3
push eax
lea ecx, [ebp - 0x34]
call fcn.004012cf
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 5
push eax
push 0x20019
push edi
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407bb2
push dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
call fcn.004017de
lea ecx, [ebp - 0x38]
push ecx
push eax
push edi
push edi
push str.Version
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x3c]
test eax, eax
je 0x407bd2
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x34]
mov ebx, edi
lea ecx, [esi - 0x10]
call fcn.00401856
mov eax, dword [ebp - 0x40]
lea ecx, [eax - 0x10]
call fcn.00401856
mov eax, ebx
call fcn.00421432
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [ebp - 0x34]
call fcn.00401872
cmp dword [ebp - 0x38], 0
jbe 0x407bb2
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push esi
mov esi, dword [ebp - 0x34]
push esi
call fcn.0042245f
add esp, 0x18
mov eax, edi
mov ecx, dword [ebp + eax - 0x30]
cmp dword [ebp + eax - 0x20], ecx
jb 0x407bb7
ja 0x407c1d
add eax, 4
cmp eax, 0x10
jl 0x407c07
jmp 0x407bb7
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x40]
push eax
call fcn.0040953b
jmp 0x407bb5
Function at 0x40865b
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push 0x2c
mov eax, 0x439a28
call fcn.00421450
lea esi, [ecx + 0x124]
mov edi, 0x104
push edi
mov ecx, esi
call fcn.004017de
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40877a
push 0xffffffffffffffff
mov ecx, esi
call fcn.00401872
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.004013b4
add eax, 0x10
pop ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov ecx, esi
push edi
mov dword [ebp - 4], ebx
call fcn.004017de
push eax
push ebx
push 0x43ef9c
lea ecx, [ebp - 0x10]
call fcn.00408dd7
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00401856
push 0xffffffffffffffff
mov ecx, esi
call fcn.00401872
lea ecx, [ebp - 0x38]
call fcn.00413d86
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.004072b3
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
push 0x1001
push dword [esi]
lea ecx, [ebp - 0x38]
call fcn.00414213
test eax, eax
jne 0x40871f
mov ecx, esi
call fcn.00401451
jmp 0x40875c
push str.LOCALIZATION_INI
push 0x87
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x38]
call fcn.0041457a
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], vtable.CFileException.0
lea ecx, [ecx - 0x10]
call fcn.00401856
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00413dad
call fcn.0042141e
ret

Function at 0x408797
Capabilities:
Query environment variable

Disassembly:
push 0x20
mov eax, 0x439a5b
call fcn.00421450
mov edi, dword [ebp + 8]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.004013b4
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
mov ebx, 0x104
push ebx
mov ecx, edi
call fcn.004017de
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00401856
push 0xffffffffffffffff
mov ecx, edi
call fcn.00401872
lea ecx, [ebp - 0x2c]
call fcn.00414f8e
mov eax, dword [edi]
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], 0
je 0x408844
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041522b
test eax, eax
je 0x408844
lea ecx, [ebp - 0x2c]
call fcn.004153d3
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004154ec
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0040132a
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00401856
lea ecx, [ebp - 0x2c]
call fcn.004151df
jmp 0x408846
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041513f
mov eax, ebx
call fcn.0042141e
ret 4
Function at 0x408dee
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439b09
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.00422080
mov eax, dword [0x4505a0]
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 ebx, dword [ebp + 0x10]
mov ecx, ebx
mov esi, dword [ebp + 8]
call fcn.00401451
xor ecx, ecx
lea eax, [ebp - 0x1044]
push eax
push ecx
push dword [esi]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1044], ecx
call sub.msi.dll_MsiOpenProductW
test eax, eax
jne 0x408f93
push str.SELECT__Message__FROM__Error__WHERE_Error.Error
lea ecx, [ebp - 0x1048]
call fcn.0040194d
push 9
xor eax, eax
mov byte [ebp - 4], 1
pop ecx
mov word [ebp - 0x38], ax
lea edi, [ebp - 0x36]
rep stosd dword es:[edi], eax
push 0xa
push 0x14
stosw word es:[edi], ax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0xc]
call fcn.004224f6
add esp, 0x10
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x1048]
push eax
call fcn.00403dfd
xor esi, esi
mov dword [ebp - 0x103c], esi
lea eax, [ebp - 0x1040]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x1048]
mov dword [ebp - 0x1040], esi
push dword [ebp - 0x1044]
call sub.msi.dll_MsiEnumClientsA
test eax, eax
jne 0x408f5d
push esi
push dword [ebp - 0x1040]
call sub.msi.dll_MsiViewModify
test eax, eax
jne 0x408f5d
cmp dword [ebp - 0x103c], eax
je 0x408eee
push dword [ebp - 0x103c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x103c]
mov dword [ebp - 0x103c], esi
push eax
push dword [ebp - 0x1040]
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
jne 0x408f5d
push 0xffe
mov word [ebp - 0x1038], ax
lea eax, [ebp - 0x1036]
push esi
push eax
call fcn.00420bb0
add esp, 0xc
mov dword [ebp - 0x104c], 0x800
lea eax, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x1038]
push eax
push 1
push dword [ebp - 0x103c]
call sub.msi.dll_MsiRecordSetStreamA
test eax, eax
jne 0x408f5d
lea eax, [ebp - 0x1038]
mov ecx, ebx
push eax
call fcn.00401ecb
cmp dword [ebp - 0x103c], 0
je 0x408f71
push dword [ebp - 0x103c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x1040], 0
je 0x408f85
push dword [ebp - 0x1040]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0x1048]
lea ecx, [ecx - 0x10]
call fcn.00401856
cmp dword [ebp - 0x1044], 0
je 0x408fa7
push dword [ebp - 0x1044]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
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.00420b95
mov esp, ebp
pop ebp
ret
Function at 0x408fc3
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x439b4a
call fcn.00421450
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
call fcn.0040b5a3
mov ecx, dword [ebp + 8]
push eax
call fcn.004012cf
push 0x7d
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
pop ebx
mov eax, dword [ebp + 0x14]
add ebx, ebx
mov ecx, dword [ebp + 8]
push ebx
mov esi, dword [eax]
call fcn.004017de
push esi
push ebx
push eax
mov eax, dword [ebp + 0x10]
push 0x43b650
push dword [eax]
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0xffffffffffffffff
call fcn.00401872
lea ecx, [esi + 1]
cmp ebx, ecx
jbe 0x408ff2
mov eax, dword [ebp + 8]
call fcn.0042141e
ret 0x10
Function at 0x40a075
Capabilities:
Delete file
Shutdown system

Disassembly:
push 0x24
mov eax, 0x439cf8
call fcn.00421483
mov esi, ecx
xor eax, eax
mov ebx, eax
mov dword [ebp - 0x2c], ebx
cmp dword [esi + 0xec], eax
jne 0x40a197
cmp dword [esi + 0xe4], eax
jne 0x40a197
cmp dword [esi + 0x158], eax
jne 0x40a0e4
cmp dword [esi + 0x154], eax
je 0x40a0df
push 0x90
lea eax, [ebp - 0x30]
push eax
call fcn.00409038
and dword [ebp - 4], ebx
inc ebx
push 0
push 0x10024
push dword [eax]
mov dword [ebp - 0x2c], ebx
call fcn.004075ba
add esp, 0xc
cmp eax, 6
jne 0x40a0e4
xor eax, eax
mov byte [ebp - 0x21], al
jmp 0x40a0e8
mov byte [ebp - 0x21], 1
test bl, 1
je 0x40a0f8
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00401856
cmp byte [ebp - 0x21], 0
jne 0x40a197
lea edi, [esi + 0x124]
xor ebx, ebx
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x40a11f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, edi
call fcn.00401451
lea eax, [ebp - 0x28]
mov dword [esi + 0xe0], ebx
push eax
push 0x28
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x40a177
lea eax, [ebp - 0x1c]
push eax
push str.SeShutdownPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov esi, eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 2
test esi, esi
je 0x40a177
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [ebp - 0x28]
call edi
mov esi, eax
push 1
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
test esi, esi
je 0x40a197
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
push eax
push ebx
push dword [ebp - 0x28]
call edi
call fcn.00421432
ret

Function at 0x40a29b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4505a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, 0x11c
lea eax, [ebp - 0x120]
push edi
xor esi, esi
push esi
push eax
call fcn.00420bb0
add esp, 0xc
mov dword [ebp - 0x120], edi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jne 0x40a2f1
xor eax, eax
inc eax
cmp dword [ebp - 0x118], 2
cmove esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00420b95
mov esp, ebp
pop ebp
ret
Function at 0x40a779
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x438f82
call fcn.00421450
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
xor esi, esi
call fcn.0040194d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], esi
mov ebx, dword [eax - 0xc]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40a7f5
mov ecx, dword [ebp + 0x18]
cmp ecx, 1
je 0x40a7cc
cmp ecx, 2
je 0x40a7cc
push ebx
jmp 0x40a7d0
lea eax, [ebx + ebx]
push eax
push dword [ebp + 0x14]
push ecx
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40a81a
mov ebx, 0x452994
push 0x43dd0c
mov ecx, ebx
call fcn.00401ecb
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00403dfd
mov ecx, 0x4528c8
call fcn.0040a303
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401856
mov eax, esi
call fcn.0042141e
ret

Function at 0x40a82d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0xf003f
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40a88f
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40a88f
inc edi
jmp 0x40a8b4
mov esi, 0x452994
push str.Failed_to_register_DWORD_value:
mov ecx, esi
call fcn.00401ecb
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00403dfd
mov ecx, 0x4528c8
call fcn.0040a303
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40e80f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x40e854
call fcn.00418203
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40e854
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40e870
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040ab67
mov ebx, eax
test edi, edi
je 0x40e86e
test esi, esi
je 0x40e86e
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x432025
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4505a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00427d22
mov dword [ebp - 0x14], eax
cmp dword [0x455954], esi
jne 0x432118
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4320a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4321f8
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4321f8
push 0x443474
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4321f8
push eax
call ebx
push 0x443480
push edi
mov dword [0x455954], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x443490
push edi
mov dword [0x455958], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x45595c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x455964], eax
test eax, eax
je 0x432115
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x455960], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x43213d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x432130
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x432152
push 4
pop eax
jmp 0x4321fa
cmp dword [ebp - 0x14], esi
je 0x432152
push dword [0x455954]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x432137
mov eax, dword [0x455960]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4321b0
cmp dword [0x455964], edi
je 0x4321b0
push eax
call ebx
push dword [0x455964]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4321b0
test eax, eax
je 0x4321b0
call ecx
test eax, eax
je 0x4321a5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4321a5
test byte [ebp - 8], 1
jne 0x4321b0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4321e0
mov eax, dword [0x455958]
cmp eax, edi
je 0x4321dd
push eax
call ebx
test eax, eax
je 0x4321dd
call eax
mov esi, eax
test esi, esi
je 0x4321dd
mov eax, dword [0x45595c]
cmp eax, edi
je 0x4321dd
push eax
call ebx
test eax, eax
je 0x4321dd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x455954]
call ebx
test eax, eax
je 0x4321f8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4321fa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420b95
mov esp, ebp
pop ebp
ret
Function at 0x417d52
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x417def
push ebx
push esi
call fcn.00417d1b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004169df
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x417d9c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x417dee
push edi
push eax
call fcn.00410109
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x417dbc
call fcn.004100cf
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x417ded
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004169df
add esp, 0x20
test eax, eax
jne 0x417ddb
push edi
call fcn.004100cf
jmp 0x417de3
push ebx
call fcn.004100cf
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41d130
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41d15d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41d15d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
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..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x163a368a
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, str._aca
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x63470bd1
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x408943
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
dec edi
call fcn.0040896c
inc edi
xor dword [edx], eax
add esi, esi
push 0xc5692907
pop edi
inc edx
mov edi, 0xc4b60b6d
cmp edx, ebx
jne fcn.00408943
sub esi, 0x1e2a9d63
and edi, edi
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x66d218ab
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x7bb23f29
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219