joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402b70
Capabilities:
Import public key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx], 0
jne 0x402b9a
push 0xf0000000
push 1
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x402caf
mov eax, dword [ebx + 4]
test eax, eax
je 0x402ba8
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov edi, dword [ebp + 8]
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov esi, eax
lea ecx, [esi + esi]
push ecx
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
push esi
mov esi, eax
mov dword [ebp - 0xc], eax
push esi
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
je 0x402caf
push dword [ebp - 4]
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
push 0
push 0
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push 0
push 0
push esi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
je 0x402caf
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0x8000
push dword [ebp - 4]
push edi
push 8
push 1
call dword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
je 0x402caf
lea eax, [ebx + 4]
push eax
push dword [ebp - 8]
push 1
push dword [ebx]
call dword [sym.imp.CRYPT32.dll_CryptImportPublicKeyInfo]
mov esi, eax
test esi, esi
je 0x402caf
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_LocalFree]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403240
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
xor eax, eax
nop dword [eax + eax]
mov byte [ebp + eax - 0x104], al
inc eax
cmp eax, 0x100
jb 0x403250
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
nop word [eax + eax]
mov eax, esi
mov bl, byte [ebp + esi - 0x104]
xor edx, edx
movzx ecx, bl
div dword [ebp + 0xc]
mov eax, dword [ebp + 8]
movzx eax, byte [edx + eax]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x104]
mov byte [ebp + esi - 0x104], al
inc esi
mov byte [ebp + edi - 0x104], bl
cmp esi, 0x100
jb 0x403270
mov esi, dword [ebp + 0x14]
xor ebx, ebx
xor eax, eax
test esi, esi
je 0x403311
mov edi, dword [ebp + 0x10]
nop dword [eax + eax]
inc eax
lea edi, [edi + 1]
movzx edx, al
mov dword [ebp - 4], edx
mov cl, byte [ebp + edx - 0x104]
movzx eax, cl
add eax, ebx
movzx ebx, al
mov al, byte [ebp + ebx - 0x104]
mov byte [ebp + edx - 0x104], al
mov eax, dword [ebp - 4]
movzx edx, cl
mov byte [ebp + ebx - 0x104], cl
movzx ecx, byte [ebp + eax - 0x104]
add edx, ecx
movzx ecx, dl
movzx ecx, byte [ebp + ecx - 0x104]
xor byte [edi - 1], cl
sub esi, 1
jne 0x4032c0
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4035b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 4
push 0x3000
push 0x1fc
push 0
mov dword [ebp - 8], 0x1fc
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40361a
lea eax, [ebp - 8]
push eax
push esi
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40361a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403a40
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
push 0x3000
push 0x7f
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edi, dword [ebp + 8]
xor esi, esi
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov ebx, eax
xor edx, edx
test ebx, ebx
jle 0x403a88
nop
movzx ecx, word [edi + edx*2]
inc edx
xor ecx, 0xab01ff3c
add esi, ecx
mov eax, esi
rol eax, 0xd
sub esi, eax
cmp edx, ebx
jl 0x403a70
push esi
mov esi, dword [ebp - 4]
push str._08X
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403fb0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
test edi, edi
je 0x404163
push esi
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
movzx edx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi]
shl edx, 8
or edx, eax
mov dword [ebx], edx
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
mov dword [ebx + 4], ecx
movzx ecx, byte [edi + 7]
movzx eax, byte [edi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 4]
shl ecx, 8
or ecx, eax
mov dword [ebx + 8], ecx
movzx ecx, byte [edi + 0xb]
movzx eax, byte [edi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 8]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0xc], ecx
movzx ecx, byte [edi + 0xf]
movzx eax, byte [edi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xc]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x10], ecx
movzx ecx, byte [esi + 7]
movzx eax, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 4]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x14], ecx
movups xmmword [ebx + 0x18], xmm0
movzx ecx, byte [esi + 0xb]
movzx eax, byte [esi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 8]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x28], ecx
movzx ecx, byte [edi + 0x13]
movzx eax, byte [edi + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x10]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x2c], ecx
movzx ecx, byte [edi + 0x17]
movzx eax, byte [edi + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x14]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x30], ecx
movzx ecx, byte [edi + 0x1b]
movzx eax, byte [edi + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x18]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x34], ecx
movzx ecx, byte [edi + 0x1f]
movzx eax, byte [edi + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x1c]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x38], ecx
movzx ecx, byte [esi + 0xf]
movzx eax, byte [esi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xc]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x3c], ecx
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x404e80
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp + 8]
push 0xf0000040
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x10
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0xf0000040
push 1
push 0
push 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea eax, [ebp - 0x48]
push eax
push 0x40
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x10
push 1
push 0
push 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test esi, esi
jle 0x404fa4
nop word [eax + eax]
lea eax, [ebp - 0x160]
push eax
call fcn.00408f80
push 0x40
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00409030
push esi
lea eax, [ebp - 0x160]
push edi
push eax
call fcn.00409030
add esp, 0x1c
lea eax, [ebp - 0x160]
push eax
cmp esi, 0x40
jle 0x404f87
push edi
call fcn.00408c60
add esp, 8
lea eax, [ebp - 0x48]
add edi, 0x40
sub esi, 0x40
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
test esi, esi
jg 0x404f20
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x88]
push eax
call fcn.00408c60
push esi
lea eax, [ebp - 0x88]
push eax
push edi
call fcn.00409170
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408f80
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x40
pop ebp
ret

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

Disassembly:
pushal
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x430005
Capabilities:
Encode data using xor
Parse pe header

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
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 [0x4318ec], 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 + 0x4318e8], 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 + 0x4318e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x40136a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40303c]
jne 0x401374
repz ret
jmp fcn.00401625
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
jmp int.00401219

Function at 0x41208a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4b1064
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x41210a
arpl word [edx + esi], si
mov cl, 0xa5
cdq
invalid
invalid
Function at 0x401a10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 0x114], str._system32777.dll
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x401a7f
cmp dword [ebp - 0x118], 0
je 0x401a7f
jmp 0x401ae3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x401ae3
mov dword [ebp - 0x11c], 0x15f
mov edx, dword [ebp + 8]
add edx, 8
mov dword [0x439954], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [0x439970], ecx
mov dword [ebp - 0x11c], 0x15f
mov dword [ebp - 0x11c], 0x15f
call fcn.004011b0
mov edx, dword [ebp + 8]
mov dword [0x43996c], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
call fcn.004013b0
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x401a7f
mov esp, ebp
pop ebp
ret

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x403543
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00413b10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp word [esi], 0
je 0x4036c4
push esi
call fcn.004036cd
push esi
call fcn.004186b3
pop ecx
push esi
mov edi, eax
call fcn.004036f8
test al, al
je 0x4035f8
push esi
call fcn.004036cd
test al, al
je 0x4035b2
lea eax, [edi + 4]
cmp dword [ebp + 0x10], eax
jbe 0x4036c4
push dword [ebp + 0x10]
push str.__
push dword [ebp + 0xc]
call fcn.004068bd
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
call fcn.00406895
mov al, 1
jmp 0x4036c6
push 0x5c
pop eax
cmp word [esi], ax
jne 0x4036c4
lea ebx, [esi + 2]
cmp word [ebx], ax
jne 0x4036c4
mov esi, dword [ebp + 0x10]
lea eax, [edi + 6]
cmp esi, eax
jbe 0x4036c4
push esi
push str.__
push dword [ebp + 0xc]
call fcn.004068bd
push esi
push 0x4285b4
push dword [ebp + 0xc]
call fcn.00406895
push esi
push ebx
jmp 0x4035a3
lea eax, [ebp - 0x1000]
mov ebx, 0x7ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4036c4
cmp eax, ebx
ja 0x4036c4
movzx eax, word [esi]
push eax
call fcn.0040372d
test al, al
je 0x403663
lea eax, [edi + 6]
mov edi, dword [ebp + 0x10]
cmp edi, eax
jbe 0x4036c4
push edi
push str.__
push dword [ebp + 0xc]
call fcn.004068bd
xor eax, eax
mov word [ebp - 0xffc], ax
lea eax, [ebp - 0x1000]
push edi
push eax
push dword [ebp + 0xc]
call fcn.00406895
push edi
jmp 0x4035a2
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.0040315f
lea eax, [ebp - 0x1000]
push eax
call fcn.004186b3
add edi, 4
add eax, edi
mov edi, dword [ebp + 0x10]
pop ecx
cmp edi, eax
jbe 0x4036c4
push edi
push str.__
push dword [ebp + 0xc]
call fcn.004068bd
push edi
lea eax, [ebp - 0x1000]
push eax
push dword [ebp + 0xc]
call fcn.00406895
cmp word [esi], 0x2e
jne 0x40365d
movzx eax, word [esi + 2]
push eax
call fcn.0040372d
test al, al
je 0x40365d
add esi, 4
jmp 0x40365d
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40840c
Capabilities:
Packed with generic packer

Disassembly:
call 0x5e43d0a1
mov esi, 0xc417f28a
sti
mov ch, ch
invalid
bound edi, qword [esi - 0x3be80d76]
dec ebp
setp byte [edx + 0x1511cbf0]
jno 0x408428
mov esi, 0xc417f28c
and dword [ecx - 0xc733593], eax
pop ss
imul ebx, dword [ecx], 0x21
xor byte [ecx + 0x71], bh
sub dword [ebp - 0x36], 0x6b17f38c
cdq
leave
loope 0x408475
jno 0x4083cb
sub al, 0x2b
sbb ebx, esi
call 0x6dc1f580
invalid
jl 0x4084ed
or al, 0xe8
sal byte [ecx], cl
push cs
call 0x12ca3bbc
lds ecx, [esi + 0x4cd0e8f3]
add ebx, dword [esi - 0x42]
mov esi, edx
pop ss
invalid
mov esi, 0xc417f180
and dword [ebp + eax*8 - 0x1d], esp
xor ecx, dword [0x17f180be]
les esp, [ecx]
in al, 0x14
xor esi, dword [ecx + 0xc]
imul edi, edi, 0x61
mov ah, 0
jno 0x40857c
or al, 0x1f
fdiv st(0), st(0)
mov dword [esi + eax*8], ecx
invalid
add ah, bh
je 0x40858c
call 0x6dc1f6d6
xlatb
invalid
or bl, 0x91
dec esi
call 0x173d4a59
les ecx, [esi + 0x713e44e4]
or al, 0x65
mov dh, pe_nt_image_headers32
int1
pop ss
invalid

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

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408e54
mov ecx, 0xc713be8
nop
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x570668a6
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0xef7370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xef738e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xf20074
push ecx
mov edi, eax
call fcn.00f0b198
mov esi, eax
add esp, 8
test esi, esi
jne 0xef73cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00f0b02e
push esi
call fcn.00f0afb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xefa850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xefa8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xf25720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xefa8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00f0b1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xefa8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xf25720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xefa92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00f0c082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xefa957
mov word [eax], si
add eax, 2
push eax
call fcn.00f0c030
add esp, 4
jmp 0xefa959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xefa8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xefa8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xefaff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret