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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x43f1ec]
push ebx
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
xor ebx, ebx
push 0x432798
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
xor esi, esi
call edi
push 0x43277c
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
cmp eax, ebx
je 0x42a792
call eax
mov esi, dword [sym.imp.kernel32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x1c], ecx
call esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
call esi
push 0x432760
push dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
push 4
xor ebx, ebx
jmp 0x42a894
call dword [sym.imp.kernel32.dll_GetVersion]
test eax, eax
jns 0x42a842
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push 0x432738
push 0x80000001
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42a895
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x10
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x42a837
cmp dword [ebp - 0x24], 1
jne 0x42a837
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 0x432734
push eax
call fcn.0041505e
add esp, 0xc
cmp eax, 1
jne 0x42a837
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.kernel32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
push 2
mov dword [ebp - 0x38], eax
pop esi
push dword [ebp - 0x1c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x42a895
push 0x432728
call edi
cmp eax, ebx
je 0x42a895
lea ecx, [ebp - 0x18]
push ecx
push 0x42a6da
push 1
push 0x10
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.kernel32.dll_EnumResourceLanguagesA]
cmp word [ebp - 0x18], bx
je 0x42a895
movzx eax, word [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x3c], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x42a8bb
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.0042a65b
cmp eax, ebx
pop ecx
pop ecx
jne 0x42a8bd
inc edi
cmp edi, esi
jl 0x42a8a4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.004130e9
leave
ret 4
Function at 0x42ad75
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4301f5
call fcn.00414cbc
sub esp, 0x11c
mov eax, dword [0x43f1ec]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x42ae6e
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x42ae42
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.00403450
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.0042ad75
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401020
test bl, bl
jne 0x42ae42
or dword [ebp - 4], 0xffffffff
jmp 0x42adb3
cmp esi, 0x103
je 0x42ae52
cmp esi, 0x3f2
jne 0x42ae62
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.advapi32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.004130e9
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x42c18a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x42c1bf
cmp edi, dword [esi + 0xc]
jge 0x42c1bf
push dword [esi]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x42c1bf
cmp edi, dword [eax + 8]
jge 0x42c1bf
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x42c1c1
xor edi, edi
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x42c2c5
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x42c2f9
jmp fcn.004203a5
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret
Function at 0x42c36a
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x42c463
cmp eax, dword [edi + 0xc]
jge 0x42c463
push dword [edi]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x42c3bb
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x42c44c
cmp dword [ebp + 0xc], ebx
je 0x42c44c
jmp 0x42c3e5
push 0x10
call fcn.0042c056
cmp eax, ebx
je 0x42c3d1
mov ecx, eax
call fcn.0042c2bc
mov esi, eax
jmp 0x42c3d3
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x42c3fc
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.kernel32.dll_LocalAlloc]
jmp 0x42c40c
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.kernel32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x42c41e
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
call fcn.004203a5
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.00414ee0
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x42c45e
cmp ecx, dword [esi + 8]
jge 0x42c45e
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x42c464
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x42e5a2
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.ws2_32.dll_recv]
ret 0xc

Function at 0x42e5ba
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.ws2_32.dll_send]
ret 0xc

Function at 0x42e662
Capabilities:
Connect socket

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
push dword [ecx + 4]
call dword [sym.imp.ws2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8
Function at 0x42ec2b
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
cmp ebx, edi
jne 0x42ec48
cmp dword [ebp + 0xc], edi
je 0x42ed3d
push 1
push ebx
call fcn.0042e600
test eax, eax
jne 0x42ed3d
push esi
push edi
push ebx
call fcn.0042e600
mov esi, eax
cmp esi, edi
jne 0x42ec94
call fcn.0042bdbe
mov ecx, dword [eax + 0x30]
push 0xffffffffffffffff
call fcn.00420d84
mov esi, eax
cmp esi, edi
je 0x42ed3c
push edi
push 0xffffffffffffffff
mov dword [esi + 4], ebx
call fcn.0042eb4b
push edi
push esi
push dword [esi + 4]
call fcn.0042ea84
movzx eax, word [ebp + 0xc]
mov ebx, dword [ebp + 0xc]
shr ebx, 0x10
dec eax
je 0x42eced
dec eax
je 0x42ece3
dec eax
dec eax
je 0x42ecd9
sub eax, 4
je 0x42eccf
sub eax, 8
je 0x42ecc5
sub eax, 0x10
jne 0x42ed3c
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x30]
jmp 0x42ed3c
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x2c]
jmp 0x42ed3c
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x28]
jmp 0x42ed3c
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x24]
jmp 0x42ed3c
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x20]
jmp 0x42ed3c
mov eax, dword [esi + 4]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 8]
push eax
push edi
push edi
lea eax, [ebp - 0x10c]
push eax
push edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10c], 1
call dword [sym.imp.ws2_32.dll_select]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
jne 0x42ed2a
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
cmp dword [ebp + 0xc], 1
je 0x42ed34
cmp ebx, edi
je 0x42ed3c
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x1c]
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x42f31f
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x4301bb
call fcn.00414cbc
sub esp, 0x198
mov eax, dword [0x43f1ec]
push ebx
push esi
push edi
push 0x42a630
mov ecx, 0x440394
mov dword [ebp - 0x10], eax
call fcn.0042c1ea
mov edi, eax
xor ebx, ebx
cmp dword [edi + 0xc], ebx
jne 0x42f381
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x42f35f
lea esi, [ebp - 0x1a0]
push esi
push 0x101
call dword [sym.imp.ws2_32.dll_WSAStartup]
cmp eax, ebx
jne 0x42f3b3
cmp byte [esi], 1
jne 0x42f3ad
cmp byte [esi + 1], 1
jne 0x42f3ad
mov dword [edi + 0xc], 0x42f2ec
call fcn.0042bdbe
mov esi, eax
cmp dword [esi + 0x30], ebx
jne 0x42f3c0
push 0x1c
call fcn.00421157
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x42f3b7
push 0xa
call fcn.00420e9f
jmp 0x42f3b9
call dword [sym.imp.ws2_32.dll_WSACleanup]
xor eax, eax
jmp 0x42f423
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x30], eax
cmp dword [esi + 0x34], ebx
jne 0x42f3f2
push 0x1c
call fcn.00421157
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], 1
je 0x42f3e9
push 0xa
call fcn.00420e9f
jmp 0x42f3eb
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x34], eax
cmp dword [esi + 0x38], ebx
jne 0x42f420
push 0x1c
call fcn.00421157
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], 2
je 0x42f41b
push 0xa
call fcn.00420b45
jmp 0x42f41d
xor eax, eax
mov dword [esi + 0x38], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.004130e9
leave
ret 4
Function at 0x401000
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path
Set file attributes
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
sub esp, 0x108
and ecx, 0xffff
push ebx
push ebp
push esi
mov esi, dword [esp + 0x124]
push edi
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea edx, [esp + 0x14]
push 0x104
push edx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x406058
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x124]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x14]
push ecx
push edx
push eax
call fcn.00401770
add esp, 0xc
lea ecx, [esp + 0x14]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 2
push 0
push 0
lea eax, [esp + 0x28]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
test esi, esi
jne 0x401101
push 0
push 0x406048
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x108
ret
lea ecx, [esp + 0x14]
push ecx
push ebp
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40112e
push eax
push eax
push 0x406038
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x108
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x108
ret

Function at 0x4012a0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x421290
push 0x42122c
push 0
mov dword [0x4212f4], esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ebx, eax
test ebx, ebx
jne 0x4012e1
pop esi
pop ebx
ret
push edi
push esi
push 0x406070
push 0x406068
push 0x84
call fcn.00401000
add esp, 0x10
test eax, eax
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
jne 0x401314
push 0
push 0x406030
push 0x406070
push 0
call edi
push esi
push str.instdll.dll
push 0x406068
push 0x85
call fcn.00401000
add esp, 0x10
test eax, eax
jne 0x40133e
push eax
push 0x406030
push str.instdll.dll
push eax
call edi
push esi
call fcn.00401360
add esp, 4
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401360
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push ebp
push esi
push edi
push str.instdll.dll
call ebx
mov esi, eax
test esi, esi
jne 0x4013ad
mov eax, dword [esp + 0x14]
push eax
push str.instdll.dll
push 0x406068
push 0x85
call fcn.00401000
add esp, 0x10
test eax, eax
jne 0x40139c
pop edi
pop esi
pop ebp
pop ebx
ret
push str.instdll.dll
call ebx
mov esi, eax
test esi, esi
je 0x401453
push 0x406088
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4013ce
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
ret
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp edi, 0x62
je 0x401453
cmp edi, 0xa
jne 0x4013eb
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp edi, 1
jne 0x401453
push str.instdll.dll
call ebx
mov ebp, eax
test ebp, ebp
je 0x401453
push 0x406080
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x401420
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
ret
call esi
xor edi, edi
call esi
cmp eax, 1
je 0x40144c
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
call esi
cmp eax, 2
je 0x40144c
cmp edi, 0xa
jge 0x40144c
push 0x3e8
call ebx
inc edi
call esi
cmp eax, 1
jne 0x401431
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x40342d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x406600
cmp edx, dword [eax]
je 0x40344f
add eax, 8
inc ecx
cmp eax, 0x406690
jl 0x403440
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x406600]
jne 0x40357d
mov eax, dword [0x421300]
cmp eax, 1
je 0x403557
test eax, eax
jne 0x403480
cmp dword [0x4060a4], 1
je 0x403557
cmp edx, 0xfc
je 0x40357d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4034b7
lea eax, [ebp - 0x1a4]
push 0x4054a0
push eax
call fcn.00404400
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403690
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4034fa
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403690
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40549c
push edi
call fcn.00404580
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x405480
push eax
call fcn.00404400
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00404410
lea eax, [ebp - 0xa0]
push 0x40547c
push eax
call fcn.00404410
push dword [esi + 0x406604]
lea eax, [ebp - 0xa0]
push eax
call fcn.00404410
push 0x12010
lea eax, [ebp - 0xa0]
push 0x405454
push eax
call fcn.004044f0
add esp, 0x2c
pop edi
jmp 0x40357d
lea eax, [ebp + 8]
lea esi, [esi + 0x406604]
push 0
push eax
push dword [esi]
call fcn.00403690
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x411c30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x411c52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x411c59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x411c48
mov eax, 1
add ebx, ebx
jne 0x411c6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x411c60
jne 0x411c7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411c60
xor ecx, ecx
sub eax, 3
jb 0x411c90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x411d02
mov ebp, eax
add ebx, ebx
jne 0x411c9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411ca8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x411ccc
inc ecx
add ebx, ebx
jne 0x411cb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x411cad
jne 0x411cc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411cad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x411cec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x411cdd
jmp 0x411c4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x411cec
add edi, ecx
jmp 0x411c4e
pop esi
mov edi, esi
mov ecx, 0xce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x411d0a
cmp byte [edi], 6
jne 0x411d0a
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 0x411d0f
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x411d7e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x132d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13314]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x411d3c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13318]
or eax, eax
je 0x411d78
mov dword [ebx], eax
add ebx, 4
jmp 0x411d59
call dword [esi + 0x13328]
mov ebp, dword [esi + 0x1331c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x411db2
sub esp, 0xffffff80
jmp 0x403861
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x40fbb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x40fbd2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40fbd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40fbc8
mov eax, 1
add ebx, ebx
jne 0x40fbeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40fbe0
jne 0x40fbfc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40fbe0
xor ecx, ecx
sub eax, 3
jb 0x40fc10
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40fc82
mov ebp, eax
add ebx, ebx
jne 0x40fc1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40fc28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40fc4c
inc ecx
add ebx, ebx
jne 0x40fc38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40fc2d
jne 0x40fc49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40fc2d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40fc6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40fc5d
jmp 0x40fbce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40fc6c
add edi, ecx
jmp 0x40fbce
pop esi
mov edi, esi
mov ecx, 0x19a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40fc8a
cmp byte [edi], 5
jne 0x40fc8a
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 eax, ebx
loop 0x40fc8f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40fcfe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf504]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf568]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40fcbc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf56c]
or eax, eax
je 0x40fcf8
mov dword [ebx], eax
add ebx, 4
jmp 0x40fcd9
call dword [esi + 0xf570]
popal
jmp 0x405048