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

Disassembly:
push ebp
mov ebp, esp
push ecx
test edi, edi
jne 0x409852
push 0x80004005
call fcn.00401670
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push edi
push esi
lea eax, [ebp - 4]
push eax
mov eax, dword [edx]
push 0
push ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x4098b7
mov ecx, dword [edi]
test ecx, ecx
je 0x4098b2
mov edx, dword [ebp - 4]
test edx, edx
je 0x4098dc
cmp edx, 2
jbe 0x4098bd
cmp edx, 7
jne 0x4098dc
test cl, 1
jne 0x4098ad
shr ecx, 1
cmp ecx, 1
jb 0x4098ad
cmp word [esi + ecx*2 - 2], 0
jne 0x4098ad
cmp ecx, 1
jbe 0x4098b7
cmp word [esi + ecx*2 - 4], 0
je 0x4098b7
mov eax, 0xd
xor ecx, ecx
mov word [esi], cx
mov esp, ebp
pop ebp
ret 8
test cl, 1
jne 0x4098cc
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x4098b7
xor edx, edx
mov word [esi], dx
mov eax, 0xd
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov word [esi], ax
mov eax, 0xd
mov esp, ebp
pop ebp
ret 8
Function at 0x40fbb1
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x40fbdc
call fcn.00420357
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x40fbff
push eax
push dword [esi + 4]
call fcn.0040fb37
push esi
push eax
mov ecx, 0x58e9c4
call fcn.0040f7d9
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x412e51
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x412e99
call fcn.00420357
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 0x412e99
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x412edc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x412ec5
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 0x412ec5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x412ed9
mov ecx, dword [esi + 0x68]
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 0x414c3c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00420357
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x414c75
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00414879
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x414cd3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x414cf7
cmp dword [edi + 0x74], 0
jne 0x414cf7
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00420357
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00414c94
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41eed7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41ef1e
call fcn.00420357
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41ef1e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41ef3a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041e9d7
mov esi, eax
test edi, edi
je 0x41ef38
test ebx, ebx
je 0x41ef38
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41f6f1
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x53338b
call fcn.0051093c
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x41f716
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41f768
call fcn.0040e25e
push eax
lea ecx, [ebp - 0x10]
call fcn.00401690
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00510aa9
push eax
call fcn.00405b70
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004016c0
mov eax, esi
call fcn.00510a14
ret 8

Function at 0x420736
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004203da
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x420780
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040f0cc
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004097f0
jmp 0x42078b
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00424701
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x420791
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0041efe3
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4207ce
call fcn.004203da
mov dword [esi + 0xc], 1
jmp 0x4207d3
call fcn.004203da
cmp dword [esi], 0
je 0x42081c
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4207f4
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040f0cc
jmp 0x420806
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401460
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004097f0
jmp 0x420840
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x420840
push dword [esi]
push dword [ebp + 8]
call fcn.00424701
pop esi
pop ebp
ret 0xc
Function at 0x46808c
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004e91bd
call fcn.0041fd6f
cmp dword [eax + 0x14], 0
jne 0x4680a9
mov ecx, esi
pop esi
jmp fcn.00467bef
pop esi
ret

Function at 0x46b683
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00452b23
call fcn.0041fd6f
cmp dword [eax + 0x14], 0
jne 0x46b6a0
mov ecx, esi
pop esi
jmp fcn.0046b056
pop esi
ret

Function at 0x47b63b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x47b655
call fcn.00420357
mov esi, dword [eax + 0xc]
push dword [0x5924b8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x47b673
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x47b66b
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x47b6a0
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x47b66d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0047b569
mov esi, eax
jmp 0x47b692

Function at 0x4f4a4c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4f4a64
mov edi, dword [esi + 0xc]
jmp 0x4f4aa4
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4f4a7d
call fcn.004161d9
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4f4a92
call fcn.004161d9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4f4aa4
call fcn.004161d9
call fcn.00420357
cmp dword [eax + 0x3c], 0
je 0x4f4ab9
push edi
mov ecx, ebx
call fcn.004f3876
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004f4966
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4f4ad7
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4f4ae3
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x50e0a7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x58d140]
jne 0x50e0b1
repz ret
jmp fcn.00516da3
Function at 0x523818
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x58d140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.005167cb
and dword [ebp - 0x14], 0
cmp dword [0x594e8c], 0
mov dword [ebp - 0x18], eax
jne 0x5238cb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x523973
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x565328
push ebx
call edi
test eax, eax
je 0x523973
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x565318
push ebx
mov dword [0x594e8c], eax
call edi
push eax
call esi
push 0x565304
push ebx
mov dword [0x594e90], eax
call edi
push eax
call esi
push 0x5652e8
push ebx
mov dword [0x594e94], eax
call edi
push eax
call esi
mov dword [0x594e9c], eax
test eax, eax
je 0x5238cb
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x594e98], eax
mov eax, dword [0x594e98]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x523924
cmp dword [0x594e9c], ecx
je 0x523924
push eax
call esi
push dword [0x594e9c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x523924
test ebx, ebx
je 0x523924
call edi
test eax, eax
je 0x52391b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x52391b
test byte [ebp - 8], 1
jne 0x523924
or dword [ebp + 0x10], 0x200000
jmp 0x523957
mov eax, dword [0x594e90]
cmp eax, dword [ebp - 0x18]
je 0x523957
push eax
call esi
test eax, eax
je 0x523957
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x523957
mov eax, dword [0x594e94]
cmp eax, dword [ebp - 0x18]
je 0x523957
push eax
call esi
test eax, eax
je 0x523957
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x594e8c]
call esi
test eax, eax
je 0x523973
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x523975
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050e0a7
leave
ret

Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x3001f282
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x30005dc8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.3001f217
mov eax, 0x30000000
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 sub.MSVCR80.dll_memset
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 0x3001f2d1
cmp dword [ebp - 0x1c], 5
jb 0x3001f2e9
jmp 0x3001f2e5
cmp dword [ebp - 0x10], 1
jne 0x3001f2e9
cmp dword [ebp - 0x1c], 4
ja 0x3001f2e5
jne 0x3001f2e9
cmp dword [ebp - 0x18], 0
jbe 0x3001f2e9
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x30005db8
call fcn.3000ca04
test eax, eax
jge 0x3001f30a
mov byte [0x30026d28], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.3001f470
add ebp, 0x78
leave
ret

Function at 0x3001f470
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x30005dc8]
jne 0x3002016b
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x30031e30], eax
mov dword [0x30031e2c], ecx
mov dword [0x30031e28], edx
mov dword [0x30031e24], ebx
mov dword [0x30031e20], esi
mov dword [0x30031e1c], edi
mov word [0x30031e48], ss
mov word [0x30031e3c], cs
mov word [0x30031e18], ds
mov word [0x30031e14], es
mov word [0x30031e10], fs
mov word [0x30031e0c], gs
pushfd
pop dword [0x30031e40]
mov eax, dword [ebp]
mov dword [0x30031e34], eax
mov eax, dword [ebp + 4]
mov dword [0x30031e38], eax
lea eax, [ebp + 8]
mov dword [0x30031e44], eax
mov eax, dword [ebp - 0x320]
mov dword [0x30031d80], 0x10001
mov eax, dword [0x30031e38]
mov dword [0x30031d34], eax
mov dword [0x30031d28], 0xc0000409
mov dword [0x30031d2c], 1
mov eax, dword [0x30005dc8]
mov dword [ebp - 0x328], eax
mov eax, dword [0x30026d04]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x30031d78], eax
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x30006140
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x30031d78], 0
jne 0x3002025b
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x195a2ecd
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7a242558
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40eb70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x407015
lea edi, [esi - 0x6015]
push edi
or ebp, 0xffffffff
jmp 0x40eb92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40eb99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40eb88
mov eax, 1
add ebx, ebx
jne 0x40ebab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40eba0
jne 0x40ebbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40eba0
xor ecx, ecx
sub eax, 3
jb 0x40ebd0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40ec42
mov ebp, eax
add ebx, ebx
jne 0x40ebdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40ebe8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40ec0c
inc ecx
add ebx, ebx
jne 0x40ebf8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40ebed
jne 0x40ec09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40ebed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40ec2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40ec1d
jmp 0x40eb8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40ec2c
add edi, ecx
jmp 0x40eb8e
pop esi
mov edi, esi
mov ecx, 0x19
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40ec4a
cmp byte [edi], 2
jne 0x40ec4a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40ec4f
mov ebp, dword [esi + 0xe034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40ecaa
sub esp, 0xffffff80
jmp 0x4032e1
Function at 0x418f10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x420de0], ecx
add edx, 1
cmp edx, 0x100
jb 0x418f12
cmp edx, 0x800
jae 0x418ffb
mov edi, edi
mov eax, dword [edx*4 + 0x4209e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x420de0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x420ddc], eax
jb 0x418fd0
mov dword [0x420dbc], 0x4196b0
call fcn.00419140
test eax, eax
jne 0x419018
mov dword [0x420dbc], 0x4195d0
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x3a530b5e
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x38d91789
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x405593
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4055d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4055d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4055d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4055d2
cmp dword [ecx + 0x74], 0xe
jbe 0x4055d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40a450
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40a47d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a47d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40a7fd
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x418818
push 0x418810
push str.FlsAlloc
push 0x1f
call fcn.0040aae0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40a831
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x40a837
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40a87b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x418828
push 0x418820
push str.FlsGetValue
push 0x21
call fcn.0040aae0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40a8b2
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40a8ba
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x418830
push 0x418828
push str.FlsSetValue
push 0x22
call fcn.0040aae0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40a8f4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40ff56
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 0x40fff3
push ebx
push esi
call fcn.0040fff6
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.0040fe5a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40ffa0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40fff2
push edi
push eax
call fcn.0040ca28
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40ffc0
call fcn.0040bd82
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40fff1
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040fe5a
add esp, 0x20
test eax, eax
jne 0x40ffdf
push edi
call fcn.0040bd82
jmp 0x40ffe7
push ebx
call fcn.0040bd82
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