joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409c40
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x412014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [esi]
cmp edi, 0xffffffff
je 0x409c89
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0x80
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
mov dword [esi], 0xffffffff
xor ecx, ebp
pop esi
call fcn.0040a775
mov esp, ebp
pop ebp
ret

Function at 0x409cb0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x412014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp esi, 0xffffffff
jne 0x409cd9
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a775
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0x80
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 2
push esi
call dword [sym.imp.WS2_32.dll_shutdown]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040a775
mov esp, ebp
pop ebp
ret

Function at 0x409fd0
Capabilities:
Create thread
Get system information on windows
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
mov eax, dword [0x412014]
xor eax, esp
mov dword [esp + 0x1b8], eax
push ebx
push esi
push edi
lea eax, [esp + 0x30]
mov dword [0x4125f0], 0x200
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40a028
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b8]
xor ecx, esp
call fcn.0040a775
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
push 0
push 0
push 0
push 0xffffffffffffffff
mov dword [0x413d2c], 0x406db0
mov dword [0x413d24], 0x406f70
call esi
mov dword [0x413d34], eax
push 0
test eax, eax
je 0x40a069
push 0
push 0
push 0xffffffffffffffff
call esi
mov dword [0x413d28], eax
test eax, eax
jne 0x40a08c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b8]
xor ecx, esp
call fcn.0040a775
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x20]
mov ecx, 5
add eax, 2
cmp eax, ecx
cmovl eax, ecx
xor esi, esi
mov dword [0x413d30], eax
test eax, eax
jle 0x40a0f7
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
nop
push 0
push 0
push 0
push 0x409d20
push 0
push 0
call ebx
add esp, 0x18
push eax
call edi
push 0
push 0
push 0
push 0x409ec0
push 0
push 0
call ebx
add esp, 0x18
push eax
call edi
inc esi
cmp esi, dword [0x413d30]
jl 0x40a0c0
mov ecx, dword [esp + 0x1c4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040a775
mov esp, ebp
pop ebp
ret 4
Function at 0x40a110
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x412014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x412b98]
test esi, esi
je 0x40a168
push edi
mov edi, dword [esi]
cmp edi, 0xffffffff
je 0x40a161
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0x80
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi], 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0040a775
mov esp, ebp
pop ebp
ret
Function at 0x40216b
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
call main
jmp 0x402175
push 0x14
push 0x411788
call fcn.00405300
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x4021a3
xor ebx, ebx
jmp 0x4021d6
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40219f
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40219f
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x4021d6
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004048ef
test eax, eax
jne 0x4021ea
push 0x1c
call main
pop ecx
call fcn.00403b58
test eax, eax
jne 0x4021fb
push 0x10
call main
pop ecx
call fcn.004051cc
and dword [ebp - 4], 0
call fcn.00404904
test eax, eax
jns 0x402215
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4162e8], eax
call main
mov dword [0x414430], eax
call main
test eax, eax
jns 0x40223b
push 8
call main
pop ecx
call fcn.00404de7
test eax, eax
jns 0x40224c
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x40225f
push eax
call main
pop ecx
call fcn.00405299
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x402281
push esi
call main
call fcn.00404663
jmp 0x4022b6
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00405345
ret

Function at 0x407b02
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x407b11
pop dword [ebp - 0x20]
mov eax, 0x5662beb0
add eax, 0xa9ddbc61
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x18325249
add dword [ebp - 0x30], 0x361ff302
mov dword [ebp - 0x2c], 0xa4e439dc
add dword [ebp - 0x2c], 0x8d4f1269
mov dword [ebp - 0x28], 0x70ce6554
add dword [ebp - 0x28], 0xdb7ddeda
mov dword [ebp - 0x24], 0xf2aed2d3
sub dword [ebp - 0x24], 0xf2aed2d3
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x92432f3
sub dword [ebp - 0x30], 0x94b1c99d
mov dword [ebp - 0x2c], 0x909fd3b9
sub dword [ebp - 0x2c], 0x4f337244
mov dword [ebp - 0x28], 0xae0ba972
sub dword [ebp - 0x28], 0x4a9c3d06
mov dword [ebp - 0x24], 0x63767355
sub dword [ebp - 0x24], 0x63767355
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xdb9aa4a1
sub eax, 0xdb59d471
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3943d
push 0
call eax
mov ecx, 0x48e1
mov edi, eax
mov ebx, 0x421000
add ebx, dword [ebp - 0x20]
mov edx, 0x2ee4d418
sub edx, 0xce3560b0
xor dword [ebp - 4], 0x773a2ddd
mov esi, dword [ebx]
add dword [ebp - 0x14], 0x334ca777
sub esi, edx
add dword [ebp - 0x14], 0x20f3c903
mov dword [edi], esi
mov dword [ebp - 0x10], 0x67d659cc
add edi, 4
add ebx, 0xab953477
sub ebx, 0xab953473
loop 0x407c22
add eax, 0x11657
mov ebx, eax
add eax, 5
mov ecx, 0x946f74c0
add ecx, 0x6bd08b40
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x407380
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x81670b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4045dc
call fcn.00409482
push 4
mov dword [esp + 0x18], 0
call fcn.0040ac92
mov edi, eax
add esp, 4
test edi, edi
je 0x4073f4
push ebx
call fcn.0040927d
mov dword [edi], eax
call fcn.0040903c
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00409443
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4073e8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040946b
pop ebx
jmp 0x4073f6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40bb81
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x82c3dc]
jne 0x40bb8b
repz ret
jmp fcn.004131ec
Function at 0x418a42
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x82c3dc]
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.004112d4
and dword [ebp - 0x14], 0
cmp dword [0x82e9e0], 0
mov dword [ebp - 0x18], eax
jne 0x418af5
push 0x403a3c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x418b9d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403a30
push ebx
call edi
test eax, eax
je 0x418b9d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403a20
push ebx
mov dword [0x82e9e0], eax
call edi
push eax
call esi
push 0x403a0c
push ebx
mov dword [0x82e9e4], eax
call edi
push eax
call esi
push 0x4039f0
push ebx
mov dword [0x82e9e8], eax
call edi
push eax
call esi
mov dword [0x82e9f0], eax
test eax, eax
je 0x418af5
push 0x4039d8
push ebx
call edi
push eax
call esi
mov dword [0x82e9ec], eax
mov eax, dword [0x82e9ec]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x418b4e
cmp dword [0x82e9f0], ecx
je 0x418b4e
push eax
call esi
push dword [0x82e9f0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x418b4e
test ebx, ebx
je 0x418b4e
call edi
test eax, eax
je 0x418b45
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x418b45
test byte [ebp - 8], 1
jne 0x418b4e
or dword [ebp + 0x10], 0x200000
jmp 0x418b81
mov eax, dword [0x82e9e4]
cmp eax, dword [ebp - 0x18]
je 0x418b81
push eax
call esi
test eax, eax
je 0x418b81
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x418b81
mov eax, dword [0x82e9e8]
cmp eax, dword [ebp - 0x18]
je 0x418b81
push eax
call esi
test eax, eax
je 0x418b81
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x82e9e0]
call esi
test eax, eax
je 0x418b9d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x418b9f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040bb81
leave
ret
Function at 0x814bd0
Capabilities:
Accept command line arguments
Delete directory
Get common file path
Write file on windows

Disassembly:
mov eax, 0x1420
call fcn.00419950
cmp dword [0x26618f4], 0x37
jne 0x814c8f
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x404218
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
lea eax, [esp + 0x824]
push eax
push 0x404250
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea edx, [esp + 0xc20]
push edx
push 0
push 0x40429c
push 0x4042cc
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x4042ec
push 0x4042f4
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov eax, dword [0x2666b24]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x26618ec]
mov byte [eax + esi], dl
add esp, 0x1420
ret

Function at 0x814cc0
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x64
mov edx, dword [str.eN]
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
push ebx
mov ebx, dword [0x82d8f8]
push ebp
mov ebp, dword [0x82d8fc]
push esi
mov esi, dword [ecx + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [0x82d8f4]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0xc6ef3720
mov dword [esp + 0x28], 0x9e3779b9
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], 0x20
jmp 0x814d14
mov eax, dword [esp + 0x18]
mov edx, eax
mov edi, eax
shr edx, 5
shl edi, 4
add edi, ebx
add edx, ebp
xor edx, edi
mov edi, dword [esp + 0x10]
add edi, eax
xor edx, edi
sub esi, edx
mov eax, esi
shl eax, 4
mov dword [0x26618f0], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], eax
mov edi, dword [esp + 0x10]
add edi, esi
cmp dword [0x26618f4], 0x1be
jne 0x814d70
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [esp + 0x78]
mov edx, esi
shr edx, 5
add edx, dword [esp + 0x24]
mov dword [0x26618f8], 0xff6b3619
xor edx, edi
xor dword [esp + 0x14], edx
mov dword [0x26618fc], 0xffffffff
mov eax, dword [esp + 0x14]
sub dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
sub dword [esp + 0x10], eax
dec dword [esp + 0x1c]
jne 0x814d10
cmp dword [0x26618f4], 0x8d4
jne 0x814ddb
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x64
ret 4
mov edx, dword [esp + 0x18]
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
add esp, 0x64
ret 4
Function at 0x403d39
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x403e85
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
push edi
mov edi, dword [esp + 0x10]
call ebx
sub byte [esi + edi], 0x77
call ebx
add byte [esi + edi], 0xa6
call ebx
xor byte [esi + edi], 0x4d
call ebx
add byte [esi + edi], 0x71
call ebx
add byte [esi + edi], 0x5a
call ebx
add byte [esi + edi], 0x30
call ebx
add byte [esi + edi], 0x52
call ebx
xor byte [esi + edi], 0x7b
call ebx
add byte [esi + edi], 0xf0
call ebx
add byte [esi + edi], 0x71
call ebx
xor byte [esi + edi], 0xc4
call ebx
add byte [esi + edi], 0x4f
call ebx
add byte [esi + edi], 0x86
call ebx
add byte [esi + edi], 0xe
call ebx
add byte [esi + edi], 0x7f
call ebx
add byte [esi + edi], 0xf9
call ebx
xor byte [esi + edi], 0x7d
call ebx
add byte [esi + edi], 0x94
call ebx
add byte [esi + edi], 0x33
call ebx
add byte [esi + edi], 0xe5
call ebx
add byte [esi + edi], 0x31
call ebx
add byte [esi + edi], 0x2a
call ebx
add byte [esi + edi], 0xf7
call ebx
add byte [esi + edi], 0xcf
call ebx
add byte [esi + edi], 0xc1
call ebx
xor byte [esi + edi], 0xb0
call ebx
add byte [esi + edi], 0xfd
call ebx
add byte [esi + edi], 0x29
call ebx
add byte [esi + edi], 0x6f
call ebx
add byte [esi + edi], 0x6f
call ebx
add byte [esi + edi], 0xd
call ebx
xor byte [esi + edi], 0xc
call ebx
xor byte [esi + edi], 0xb8
call ebx
xor byte [esi + edi], 0x23
call ebx
add byte [esi + edi], 0xc7
call ebx
add byte [esi + edi], 0x5a
call ebx
xor byte [esi + edi], 0xa1
call ebx
add byte [esi + edi], 0xa5
call ebx
add byte [esi + edi], 0x83
call ebx
xor byte [esi + edi], 0xc5
call ebx
add byte [esi + edi], 0x96
call ebx
xor byte [esi + edi], 0x81
call ebx
add byte [esi + edi], 0xd4
call ebx
xor byte [esi + edi], 0xd
call ebx
add byte [esi + edi], 0x41
call ebx
xor byte [esi + edi], 0xa8
call ebx
add byte [esi + edi], 6
call ebx
add byte [esi + edi], 0x33
call ebx
add byte [esi + edi], 0xc6
inc esi
cmp esi, dword [esp + 0x14]
jb 0x403d52
pop edi
pop ebx
pop esi
ret

Function at 0x403f0f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x4460ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x403f78
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00401b44
lea eax, [esp + 0x14]
push 0x14d
push eax
call fcn.004040e6
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x403f90
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00403ab2
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x403f40
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00405f4c
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00403ab2
jmp 0x403f7a
Function at 0x405155
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], edx
push edi
mov edx, ecx
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov edi, dword [ecx]
and edi, 7
cmp dword [ebp - 4], 5
jb 0x40529a
sub dword [ebp - 4], 4
add dword [ebp + 8], 5
push ebx
push esi
mov ecx, dword [ebp - 4]
lea esi, [eax + edx]
lea ebx, [edx + ecx]
cmp esi, ebx
jae 0x40519c
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x40519c
inc esi
jmp 0x40518b
mov ecx, esi
sub ecx, eax
mov eax, esi
sub ecx, edx
sub eax, edx
cmp esi, ebx
jae 0x405286
cmp ecx, 2
jbe 0x4051b7
xor edi, edi
jmp 0x4051e1
shr edi, cl
test edi, edi
je 0x4051e1
cmp edi, 4
ja 0x40527b
cmp edi, 3
je 0x40527b
mov ecx, edi
shr ecx, 1
mov cl, byte [ecx + esi + 1]
inc ecx
test cl, 0xfe
je 0x40527b
movzx ecx, byte [esi + 4]
lea ebx, [ecx + 1]
test bl, 0xfe
jne 0x40527b
movzx ebx, byte [esi + 3]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esi + 2]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esi + 1]
shl ecx, 8
or ecx, ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
add ecx, eax
add eax, 5
cmp dword [ebp + 0x10], 0
mov dword [ebp - 8], ecx
je 0x405223
add ebx, ecx
jmp 0x405225
sub ebx, ecx
test edi, edi
je 0x405258
and edi, 6
mov edx, ebx
shl edi, 2
mov ecx, edi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x405253
mov edx, 0x100
shl edx, cl
dec edx
xor ebx, edx
cmp dword [ebp + 0x10], 0
je 0x405250
add ebx, dword [ebp - 8]
jmp 0x405253
sub ebx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor edi, edi
mov ecx, ebx
mov byte [esi + 1], bl
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [esi + 3], cl
mov byte [esi + 4], bl
jmp 0x405182
or edi, 8
shr edi, 1
inc eax
jmp 0x405182
push 2
pop edx
pop esi
shr edi, cl
cmp edx, ecx
mov edx, dword [ebp + 0xc]
sbb ecx, ecx
pop ebx
not ecx
and ecx, edi
mov dword [edx], ecx
pop edi
leave
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402ca5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x402cb4
pop dword [ebp - 0x38]
mov eax, 0x402cb4
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x96105511
add dword [ebp - 0x48], 0xb841f03a
mov dword [ebp - 0x44], 0x40ea5c45
add dword [ebp - 0x44], 0xf148f000
mov dword [ebp - 0x40], 0xaa14509f
add dword [ebp - 0x40], 0xa237f38f
mov dword [ebp - 0x3c], 0x105734bd
sub dword [ebp - 0x3c], 0x105734bd
lea eax, [ebp - 0x48]
push eax
mov eax, 0x76760851
sub eax, 0x7635970d
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x243823de
add dword [ebp - 0x48], 0x503a4578
mov dword [ebp - 0x44], 0x76c0a3c2
add dword [ebp - 0x44], 0xcaabbdb3
mov dword [ebp - 0x40], 0x13c95175
add dword [ebp - 0x40], 0x4fa61af7
mov dword [ebp - 0x3c], 0x40ee9aef
sub dword [ebp - 0x3c], 0x40ee9aef
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x39367
push 0
call eax
mov ecx, 0x50f6
xor esi, esi
add esi, eax
mov edx, 0x6339907a
add edx, 0x9d09cf86
add edx, dword [ebp - 0x38]
mov edi, 0xb7734757
sub edi, 0x6bbf7bd3
sub dword [ebp - 0x24], 0xfc9956cb
mov ebx, dword [edx]
add ebx, edi
add dword [ebp - 0x24], 0xa5b955eb
mov dword [esi], ebx
xor dword [ebp - 0x1c], 0xdf7dfce3
add esi, 0xf9e6ff56
add esi, 0x61900ae
add edx, 0xd9b154c7
sub edx, 0xd9b154c3
loop 0x402dc8
add eax, 0xb5c1cced
sub eax, 0xb5c09642
xor ebx, ebx
add ebx, eax
add eax, 0x79b7d3fd
add eax, 0x86482c08
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x7577f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14d000]
mov dword [edi + 0x2fb298], 0xe9de40c
push edi
or ebp, 0xffffffff
jmp 0x75781a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x757821
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x757810
mov eax, 1
add ebx, ebx
jne 0x757833
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x757844
jne 0x757863
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x757863
dec eax
add ebx, ebx
jne 0x757850
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x757828
add ebx, ebx
jne 0x75785f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7578b5
xor ecx, ecx
sub eax, 3
jb 0x75787b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7578ea
sar eax, 1
mov ebp, eax
jmp 0x757886
add ebx, ebx
jne 0x757886
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x757854
inc ecx
add ebx, ebx
jne 0x757894
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x757854
add ebx, ebx
jne 0x7578a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x757896
jne 0x7578b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x757896
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7578d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7578c6
jmp 0x757816
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7578d4
add edi, ecx
jmp 0x757816
pop esi
mov edi, esi
mov ecx, 0x10782
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7578f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x7578f7
lea edi, [esi + 0x355000]
mov eax, dword [edi]
or eax, eax
je 0x75795f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x35c5f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x35c620]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x75791d
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x35c628]
or eax, eax
je 0x757959
mov dword [ebx], eax
add ebx, 4
jmp 0x75793a
call dword [esi + 0x35c624]
mov ebp, dword [esi + 0x35c62c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x757993
sub esp, 0xffffff80
jmp 0x51083d