joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b8c40
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe40
push ebx
xor edx, edx
mov dword [ebp - 0x1b4], edx
mov dword [ebp - 0x1b8], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b8e55
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1ac]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4b8e29
xor eax, eax
push ebp
push 0x4b8e22
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x25], 0
je 0x4b8cb7
mov eax, dword [ebp - 4]
call fcn.004b8fe4
test al, al
je 0x4b8cb7
call fcn.00404930
jmp 0x4b8e29
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
call fcn.004b9064
mov eax, dword [ebp - 0x14]
call fcn.00406268
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4b8df0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.00406270
test eax, eax
jl 0x4b8dd4
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
cmp word [eax + 0x2a], 0
je 0x4b8d22
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x2c]
call dword [ebx + 0x28]
test al, al
je 0x4b8d22
call fcn.00404930
call fcn.00404930
jmp 0x4b8e29
mov eax, dword [ebp - 4]
cmp word [eax + 0x32], 0
je 0x4b8d93
lea eax, [ebp - 0x1b4]
push eax
lea edx, [ebp - 0x1b8]
mov eax, 0x4b7684
call fcn.00407084
mov eax, dword [ebp - 0x1b8]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
movzx edx, word [edx + ecx*2]
mov dword [ebp - 0x1c0], edx
mov byte [ebp - 0x1bc], 0
lea edx, [ebp - 0x1c0]
xor ecx, ecx
call fcn.0040aa2c
mov eax, dword [ebp - 0x1b4]
push eax
fild dword [ebp - 0xc]
fild dword [ebp - 0x10]
fdivp st(1)
fmul dword [0x4b8e64]
call fcn.00403000
mov edx, eax
mov ebx, dword [ebp - 4]
pop ecx
mov eax, dword [ebx + 0x34]
call dword [ebx + 0x30]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov dx, word [eax + edx*2]
mov eax, dword [ebp - 4]
call fcn.004b8e68
test al, al
je 0x4b8dc8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov ax, word [eax + edx*2]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
call fcn.004b937c
inc dword [ebp - 0xc]
dec dword [ebp - 0x18]
jne 0x4b8cfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8df7
lea eax, [ebp - 0x14]
mov edx, dword [0x4b728c]
call fcn.00406450
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8e5c
lea eax, [ebp - 0x1b8]
mov edx, 2
call fcn.00404f34
lea eax, [ebp - 0x14]
mov edx, dword [0x4b728c]
call fcn.00406450
ret
Function at 0x4b8e68
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Get socket status
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe88
xor ecx, ecx
mov dword [ebp - 0x178], ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b8fd3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 7], 0
push 0x11
push 2
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4b8fba
mov word [ebp - 0x2c], 2
mov ax, word [ebp - 6]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004053ec
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x14]
push eax
push 0x8004667e
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_ioctlsocket
push pe_nt_image_headers32
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_connect
lea edx, [ebp - 0x178]
mov eax, 0x4b7694
call fcn.00407084
mov eax, dword [ebp - 0x178]
call fcn.004053ec
mov edx, eax
lea eax, [ebp - 0x171]
call fcn.0040a348
push 0
push 0x41
lea eax, [ebp - 0x171]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_send
lea eax, [ebp - 0x130]
call fcn.00497548
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 0xc]
call fcn.00497538
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov ecx, 0x3e8
xor edx, edx
div ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov ecx, 0x3e8
xor edx, edx
div ecx
imul eax, edx, 0x3e8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
lea eax, [ebp - 0x130]
push eax
push 0
call sub.wsock32.dll_select
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
sete byte [ebp - 7]
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x8004667e
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_ioctlsocket
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_closesocket
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8fda
lea eax, [ebp - 0x178]
call fcn.00404f10
ret

Function at 0x4b91e4
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4b9227
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0xc]
push eax
push 0x8004667e
mov eax, dword [ebp - 0x10]
push eax
call sub.wsock32.dll_ioctlsocket
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4b9230
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x8004667e
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_ioctlsocket
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_closesocket
mov esp, ebp
pop ebp
ret
Function at 0x4d1678
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x4d1699
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x4d1699
xor eax, eax
ret
mov al, 1
ret

Function at 0x4d4bd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [0x4d4c14]
mov byte [ebp - 1], al
push pe_nt_image_headers32
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4d4bec
or byte [ebp - 1], 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4d4bfc
or byte [ebp - 1], 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4d4c0c
or byte [ebp - 1], 2
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret

Function at 0x4d6438
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [0x4f8ee8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4d6465
push 0
mov eax, dword [0x4f8ee8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x4ed04c
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd38
xor ecx, ecx
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ed1ab
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1a4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov byte [ebp - 9], 0
xor eax, eax
push ebp
push 0x4ed18b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2a4]
mov edx, dword [ebp - 8]
call fcn.0040a3a4
lea eax, [ebp - 0x2a4]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4ed178
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x4ed178
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4ed16b
lea eax, [ebp - 0x2a8]
push eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 0x2c4], 0
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 1]
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 0x2bc], 0
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 2]
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 3]
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 0x2ac], 0
lea edx, [ebp - 0x2c8]
mov ecx, 3
mov eax, 0x4ed1c4
call fcn.0040aa2c
mov edx, dword [ebp - 0x2a8]
mov eax, dword [ebp - 4]
add eax, 0xc4
call fcn.00404f64
mov byte [ebp - 9], 1
jmp 0x4ed178
mov eax, dword [ebp - 4]
add eax, 0xc4
call fcn.00404f10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ed192
call sub.wsock32.dll_WSACleanup
ret
Function at 0x4eef2c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe54
xor edx, edx
mov dword [ebp - 0x1ac], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ef02f
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [0x4f8cb4]
mov ecx, dword [ecx]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004eca38
mov eax, dword [ebp - 4]
add eax, 0xdc
call fcn.00404f10
lea eax, [ebp - 0x1a8]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor eax, eax
push ebp
push 0x4ef00f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc4]
call fcn.004053ec
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x14], eax
push 2
push 4
lea eax, [ebp - 0x14]
push eax
call sub.wsock32.dll_gethostbyaddr
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4eefde
lea edx, [ebp - 0x1ac]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040a514
mov edx, dword [ebp - 0x1ac]
mov eax, dword [ebp - 4]
add eax, 0xdc
call fcn.00404f64
jmp 0x4eefeb
mov eax, dword [ebp - 4]
add eax, 0xdc
call fcn.00404f10
mov eax, dword [ebp - 4]
push eax
push 0x4ef03c
mov eax, dword [ebp - 4]
call fcn.004249e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ef016
call sub.wsock32.dll_WSACleanup
ret
Function at 0x40167e
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x30efd54]
sub esp, 0x400
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x30ef74c]
test esi, esi
je 0x4016c9
cmp eax, 0x959
jne 0x4016b5
push 0
lea eax, [ebp - 0x400]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, edi
call fcn.00401481
add edi, 8
dec esi
je 0x4016c9
mov eax, dword [0x30efd54]
jmp 0x40169d
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40d7a6
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419458]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00404d65
mov dword [ebp - 0x14], eax
cmp dword [0x816e68], esi
jne 0x40d899
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d826
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d979
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d979
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d979
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x816e68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x816e6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x816e70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x816e78], eax
test eax, eax
je 0x40d896
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x816e74], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d8be
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d8b1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d8d3
push 4
pop eax
jmp 0x40d97b
cmp dword [ebp - 0x14], esi
je 0x40d8d3
push dword [0x816e68]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d8b8
mov eax, dword [0x816e74]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d931
cmp dword [0x816e78], edi
je 0x40d931
push eax
call ebx
push dword [0x816e78]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d931
test eax, eax
je 0x40d931
call ecx
test eax, eax
je 0x40d926
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d926
test byte [ebp - 8], 1
jne 0x40d931
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d961
mov eax, dword [0x816e6c]
cmp eax, edi
je 0x40d95e
push eax
call ebx
test eax, eax
je 0x40d95e
call eax
mov esi, eax
test esi, esi
je 0x40d95e
mov eax, dword [0x816e70]
cmp eax, edi
je 0x40d95e
push eax
call ebx
test eax, eax
je 0x40d95e
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x816e68]
call ebx
test eax, eax
je 0x40d979
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d97b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fd7
mov esp, ebp
pop ebp
ret
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x442030]
jne 0x401073
repz ret
jmp fcn.00401e41

Function at 0x408aeb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d3a
and dword [ebp - 4], 0
cmp dword [0x444b68], 0
mov ebx, eax
jne 0x408b9c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c4d
push eax
call fcn.00404cc8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x444b68], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x444b6c], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x444b70], eax
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x444b78], eax
test eax, eax
je 0x408b9c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x444b74], eax
mov eax, dword [0x444b74]
cmp eax, ebx
je 0x408bf4
cmp dword [0x444b78], ebx
je 0x408bf4
push eax
call fcn.00404d43
push dword [0x444b78]
mov esi, eax
call fcn.00404d43
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408bf4
test edi, edi
je 0x408bf4
call esi
test eax, eax
je 0x408beb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408beb
test byte [ebp - 0xc], 1
jne 0x408bf4
or dword [ebp + 0x10], 0x200000
jmp 0x408c2d
mov eax, dword [0x444b6c]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408c2d
mov eax, dword [0x444b70]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x444b68]
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x78dd31b2
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x68fc4006
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
jmp 0x431219

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 0x401658
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x881e6c]
sub esp, 0x800
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x881dc4]
test esi, esi
je 0x4016a6
cmp eax, 0x959
jne 0x401692
push 0
lea eax, [ebp - 0x800]
push eax
push str.Subasosu_nigukole_padisekadapoyi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, edi
call fcn.0040146e
add edi, 8
dec esi
je 0x4016a6
mov eax, dword [0x881e6c]
jmp 0x401677
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40d80f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b470]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004051b5
mov dword [ebp - 0x14], eax
cmp dword [0x818de4], esi
jne 0x40d902
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d88f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d9e2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d9e2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d9e2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x818de4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x818de8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x818dec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x818df4], eax
test eax, eax
je 0x40d8ff
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x818df0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d927
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d91a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d93c
push 4
pop eax
jmp 0x40d9e4
cmp dword [ebp - 0x14], esi
je 0x40d93c
push dword [0x818de4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d921
mov eax, dword [0x818df0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d99a
cmp dword [0x818df4], edi
je 0x40d99a
push eax
call ebx
push dword [0x818df4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d99a
test eax, eax
je 0x40d99a
call ecx
test eax, eax
je 0x40d98f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d98f
test byte [ebp - 8], 1
jne 0x40d99a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d9ca
mov eax, dword [0x818de8]
cmp eax, edi
je 0x40d9c7
push eax
call ebx
test eax, eax
je 0x40d9c7
call eax
mov esi, eax
test esi, esi
je 0x40d9c7
mov eax, dword [0x818dec]
cmp eax, edi
je 0x40d9c7
push eax
call ebx
test eax, eax
je 0x40d9c7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x818de4]
call ebx
test eax, eax
je 0x40d9e2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d9e4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040448f
mov esp, ebp
pop ebp
ret
Function at 0x84d1c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x429000]
push edi
or ebp, 0xffffffff
jmp 0x84d1e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x84d1e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84d1d8
mov eax, 1
add ebx, ebx
jne 0x84d1fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x84d20c
jne 0x84d22b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84d22b
dec eax
add ebx, ebx
jne 0x84d218
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x84d1f0
add ebx, ebx
jne 0x84d227
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x84d27d
xor ecx, ecx
sub eax, 3
jb 0x84d243
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x84d2b2
sar eax, 1
mov ebp, eax
jmp 0x84d24e
add ebx, ebx
jne 0x84d24e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84d21c
inc ecx
add ebx, ebx
jne 0x84d25c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84d21c
add ebx, ebx
jne 0x84d269
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x84d25e
jne 0x84d27a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x84d25e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x84d29c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x84d28e
jmp 0x84d1de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x84d29c
add edi, ecx
jmp 0x84d1de
pop esi
mov edi, esi
mov ecx, 0xc45
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x84d2ba
cmp byte [edi], 6
jne 0x84d2ba
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 0x84d2bf
lea edi, [esi + 0x44b000]
mov eax, dword [edi]
or eax, eax
je 0x84d32e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x450034]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x450094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x84d2ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x45009c]
or eax, eax
je 0x84d328
mov dword [ebx], eax
add ebx, 4
jmp 0x84d309
call dword [esi + 0x450098]
mov ebp, dword [esi + 0x4500a0]
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 0x84d362
sub esp, 0xffffff80
jmp 0x40ae00