joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x485538
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4a76c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
push 0x20019
mov dword [esp + 0x2c], 1
mov ecx, dword [esp + 0x34]
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4030a7
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x24], 0
mov esi, dword [esp + 0x2c]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x40302f
push str.nRefs___0
push 0
push 0x6b
push str.f:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.00458190
add esp, 0x14
cmp eax, 1
jne 0x40302f
int3
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x403045
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [esp + 0x24], 0xffffffff
mov esi, dword [esp + 0x30]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x40307b
push str.nRefs___0
push 0
push 0x6b
push str.f:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.00458190
add esp, 0x14
cmp eax, 1
jne 0x40307b
int3
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x403091
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
push 0xe9
push str..ThinkiveSetup.cpp
push 0x104
call fcn.00403990
push 0x104
mov esi, eax
push 0
push esi
call fcn.0045ca00
mov eax, dword [esp + 0x48]
add esp, 0x18
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
push esi
lea edx, [esp + 0x20]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40313e
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x403116
push esi
call fcn.00403b10
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.00401150
lea ecx, [esp + 0x30]
call fcn.00401150
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
push 0x49cb08
lea ecx, [esp + 0x14]
call fcn.00402660
push esi
lea eax, [esp + 0x14]
push 0x49cc60
push eax
mov byte [esp + 0x30], 2
call fcn.004031b0
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x40317c
push esi
call fcn.00403b10
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00401150
lea ecx, [esp + 0x2c]
call fcn.00401150
lea ecx, [esp + 0x30]
call fcn.00401150
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
Function at 0x409cc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x409de8
call fcn.00417cc0
mov dword [ebp - 0x10], eax
push pe_nt_image_headers32
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x409d7b
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x409d52
push str.DLGINIT_resource_was_found__but_could_not_be_loaded._n
push 0
mov ecx, 0x4aaa44
call fcn.00401330
push eax
push 0x16f
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
lea ecx, [ebp - 0x20]
call fcn.00401580
push eax
call fcn.00401550
add esp, 0x10
xor eax, eax
jmp 0x409e56
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x409d79
push 0x175
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
call fcn.004248f0
test eax, eax
je 0x409d79
int3
jmp 0x409de8
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x409d9e
push 0x17d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
call fcn.004248f0
test eax, eax
je 0x409d9e
int3
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xffffffff
je 0x409de8
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0
je 0x409ddd
push str.Dialog_has_OLE_controls__but_no_matching_DLGINIT_resource._n
push 0
mov ecx, 0x4aaa44
call fcn.00401330
push eax
push 0x183
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
lea ecx, [ebp - 0x28]
call fcn.00401580
push eax
call fcn.00401550
add esp, 0x10
jmp 0x409de8
mov edx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 0x18], edx
jmp 0x409d9e
mov dword [ebp - 8], 1
cmp dword [ebp - 4], 0
je 0x409e11
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x409e30
cmp dword [ebp - 0xc], 0
je 0x409e30
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00441130
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4c], 0
je 0x409e53
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x4c]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x4c]
mov edx, dword [eax]
mov eax, dword [edx + 0xa8]
call eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40ed10
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x40ed40
push 0x45d
push 0x48b0a0
call fcn.004248f0
test eax, eax
je 0x40ed40
int3
mov eax, dword [ebp - 8]
cmp dword [eax + 0x50], 0
jne 0x40ed86
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 1
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406b90
push eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.00406bc0
jmp 0x40eda0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x50]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x50]
mov edx, dword [eax]
mov eax, dword [edx + 0x94]
call eax
mov esp, ebp
pop ebp
ret 4

Function at 0x415140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x4151c5
call fcn.00417cc0
mov dword [ebp - 0x10], eax
push pe_nt_image_headers32
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4151c5
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41519e
xor eax, eax
jmp 0x4151f6
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4151c5
push 0x1047
push 0x48b0a0
call fcn.004248f0
test eax, eax
je 0x4151c5
int3
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00415200
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x4151f3
cmp dword [ebp - 0xc], 0
je 0x4151f3
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00441130
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x41c09b
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48336e
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x13c
mov eax, dword [0x4a76c0]
xor eax, ebp
mov dword [ebp - 0x20], 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 + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401270
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x41bfbd
call fcn.00425ec0
cmp eax, 1
jne 0x41bfbd
lea ecx, [ebp - 0x14]
push ecx
push str.SoftwareClasses_
lea edx, [ebp - 0x130]
push edx
call fcn.0041c1b0
add esp, 0xc
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x130]
call fcn.00401150
mov dword [ebp + 8], SysReAllocStringLen
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.00401330
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41c0dd
push 0x104
lea ecx, [ebp - 0x128]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41c0ab
mov byte [ebp - 4], 2
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x138]
call fcn.00402660
mov dword [ebp - 0x148], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0041bf10
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x1c], eax
xor ecx, ecx
cmp dword [ebp - 0x1c], 0
setne cl
mov byte [ebp - 0x131], cl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x138]
call fcn.00401150
movzx edx, byte [ebp - 0x131]
test edx, edx
je 0x41c074
mov byte [ebp - 4], 0
jmp 0x41c0ab
jmp 0x41c09b
mov dword [ebp - 4], 0
jmp 0x41c0a6
jmp 0x41bfe1
cmp dword [ebp - 0x1c], 0x103
je 0x41c0bd
cmp dword [ebp - 0x1c], 0x3f2
jne 0x41c0d3
lea ecx, [ebp - 0x14]
call fcn.00401330
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x13c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401150
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00457cd0
mov esp, ebp
pop ebp
ret 8
Function at 0x41e5d0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484e08
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4a76c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41e628
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x50], 0
jne 0x41e628
push 0x100
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcwinocc.cpp
call fcn.004248f0
test eax, eax
je 0x41e628
int3
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x50], 0
jne 0x41e64a
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41e6ad
lea ecx, [ebp - 0x10]
call fcn.00401100
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x50]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x50]
mov edx, dword [edx]
mov eax, dword [edx + 0x94]
call eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00401330
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00404a80
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401150
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x457cd0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a76c0]
jne 0x457cda
repz ret
jmp fcn.00462570
Function at 0x4013d8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], str.d:PluginGenPlgn.dll
mov dword [esp + 4], 0x40604f
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x3800
mov dword [esp + 4], 1
mov dword [esp], section..data
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov dword [esp + 4], 0x406052
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
leave
ret

Function at 0x401650
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x28
mov ebx, dword [sym.imp.msvcrt.dll__iob]
lea eax, [esp + 0x34]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
add ebx, 0x40
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
mov dword [esp + 0x1c], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x1c]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]

Function at 0x4016b0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x5c
mov dword [esp + 0x4c], ebx
mov ebx, eax
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 0x50], esi
mov esi, edx
mov dword [esp + 0x54], edi
mov edi, ecx
mov dword [esp + 0x58], ebp
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x4017a6
mov eax, dword [esp + 0x38]
cmp eax, 4
jne 0x401720
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
add esp, 0x5c
ret
cmp eax, 0x40
je 0x4016f5
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov eax, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
cmp eax, 0x40
setne byte [esp + 0x1e]
cmp eax, 4
setne byte [esp + 0x1f]
call sub.msvcrt.dll_memcpy
cmp byte [esp + 0x1f], 0
je 0x401705
cmp byte [esp + 0x1e], 0
je 0x401705
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
jmp 0x401705
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401650
nop
Function at 0x401a40
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408030
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x408048]
sub esp, 4
test ebx, ebx
je 0x401a8b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x401a84
test esi, esi
je 0x401a84
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401a60
mov dword [esp], 0x408030
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x68233a26
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3720657f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4
Function at 0x402980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x8c
push ebx
push ebp
mov edx, 6
mov ecx, 8
push esi
push edi
mov word [esp + 0x12], dx
mov word [esp + 0x20], cx
mov word [esp + 0x24], dx
mov word [esp + 0x28], cx
mov word [esp + 0x3c], cx
mov word [esp + 0x44], cx
mov word [esp + 0x4e], cx
mov word [esp + 0x52], cx
mov word [esp + 0x5c], cx
mov word [esp + 0x6a], cx
mov word [esp + 0x78], cx
mov esi, 2
mov ebp, 5
mov ebx, 3
mov eax, 7
mov edi, 1
mov edx, 9
mov ecx, 4
mov word [esp + 0x10], si
mov word [esp + 0x14], bp
mov word [esp + 0x16], bx
mov word [esp + 0x18], ax
mov word [esp + 0x1a], si
mov word [esp + 0x1c], 0
mov word [esp + 0x1e], ax
mov word [esp + 0x22], si
mov word [esp + 0x26], di
mov word [esp + 0x2a], dx
mov word [esp + 0x2c], ax
mov word [esp + 0x2e], si
mov word [esp + 0x30], dx
mov word [esp + 0x32], di
mov word [esp + 0x34], 4
mov word [esp + 0x36], 6
mov word [esp + 0x38], dx
mov word [esp + 0x3a], bx
mov word [esp + 0x3e], 4
mov word [esp + 0x40], di
mov word [esp + 0x42], bp
mov word [esp + 0x46], bx
mov word [esp + 0x48], si
mov word [esp + 0x4a], ax
mov word [esp + 0x4c], di
mov word [esp + 0x50], 6
mov word [esp + 0x54], bp
mov word [esp + 0x56], bx
mov word [esp + 0x58], ax
mov word [esp + 0x5a], 0
mov word [esp + 0x5e], ax
mov word [esp + 0x60], 4
mov word [esp + 0x62], dx
mov word [esp + 0x64], si
mov word [esp + 0x66], bx
mov word [esp + 0x68], dx
mov word [esp + 0x6c], 6
mov word [esp + 0x6e], bx
mov word [esp + 0x70], bp
mov word [esp + 0x72], ax
mov word [esp + 0x74], 6
mov word [esp + 0x76], dx
mov word [esp + 0x7a], ax
mov word [esp + 0x7c], si
mov word [esp + 0x7e], 0
mov word [esp + 0x80], ax
mov word [esp + 0x82], di
mov word [esp + 0x84], cx
mov word [esp + 0x86], cx
mov word [esp + 0x88], bp
mov word [esp + 0x8a], dx
mov word [esp + 0x8c], di
mov word [esp + 0x8e], ax
mov word [esp + 0x90], ax
mov word [esp + 0x92], bp
mov word [esp + 0x94], di
mov word [esp + 0x96], dx
mov eax, 0xaaaaaaab
mov word [esp + 0x98], si
mul dword [esp + 0xa4]
xor esi, esi
shr edx, 1
mov eax, esi
je 0x402b88
mov edi, dword [esp + 0xa0]
cmp si, 0x45
jne 0x402b6e
xor esi, esi
mov bl, byte [eax + edi]
mov ecx, esi
and ecx, 0xffff
mov cl, byte [esp + ecx*2 + 0x10]
xor bl, cl
inc esi
mov byte [eax + edi], bl
inc eax
cmp eax, edx
jb 0x402b66
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 8
Function at 0x40113a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
xor eax, eax
push eax
mov dword [esp], 0
xor eax, eax
mov ecx, 0x28
add ecx, 8
mov edx, dword fs:[ecx]
mov al, byte [edx + 2]
mov byte [esp], al
mov ebx, dword [esp]
and ebx, ebx
je 0x401178
push 0x40402b
push 0x40402f
call fcn.00402283
push 0
call sub.KERNEL32.dll_ExitProcess
xor eax, eax
xor ecx, ecx
mov cl, 3
shl cl, 4
mov eax, dword fs:[ecx]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x14]
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x4011be
mov dword [0x404380], ecx
xor edi, edi
xor eax, eax
cld
mov esi, dword [0x404380]
lodsw ax, word [esi]
test ax, ax
je 0x4011b0
ror edi, 0x73
add edi, eax
jmp 0x4011a2
cmp edi, dword [0x40438c]
je 0x4011c2
mov ebx, dword [ebx]
test ebx, ebx
jne 0x40118a
xor eax, eax
jmp 0x401235
mov eax, dword [ebx + 0x10]
mov dword [0x404388], eax
mov edx, dword [eax + 0x3c]
add edx, eax
mov edx, dword [edx + 0x78]
add edx, eax
mov esi, dword [edx + 0x20]
add esi, eax
mov ecx, dword [edx + 0x18]
dec ecx
js 0x4011be
push esi
push edi
push eax
mov ebx, dword [esi + ecx*4]
add ebx, eax
mov dword [0x404380], ebx
xor edi, edi
xor eax, eax
cld
mov esi, ebx
lodsb al, byte [esi]
test al, al
je 0x401200
ror edi, 0x73
add edi, eax
jmp 0x4011f4
cmp edi, dword [0x404390]
je 0x40120d
pop eax
pop edi
pop esi
jmp 0x4011dc
pop eax
pop edi
pop esi
mov ebx, dword [edx + 0x24]
add ebx, eax
movzx ecx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, eax
mov eax, dword [ebx + ecx*4]
add eax, dword [0x404388]
mov dword [0x404394], eax
mov eax, 1
jmp 0x401235
add esp, 4
pop ebx
ret

Function at 0x402326
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
xor ebp, ebp
cmp dword [esp + 8], ebp
je 0x402340
push dword [esp + 8]
push 0x402295
call dword [sym.imp.USER32.DLL_EnumWindows]
jmp 0x402393
push esi
mov esi, dword [0x4043a4]
cmp esi, ebp
je 0x402392
push ebx
push edi
mov ebx, dword [esi]
lea edi, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi], eax
jne 0x40238a
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
cmp dword [esi + 0x10], ebp
je 0x40237d
push 3
push ebp
push ebp
push ebp
push ebp
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
push edi
push 0x4043a4
call fcn.004023f2
pop ecx
pop ecx
cmp ebx, ebp
mov esi, ebx
jne 0x40234d
pop edi
pop ebx
pop esi
pop ebp
ret 4