joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e510
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x188
push ebx
mov ebx, dword [esp + 0x190]
cmp dword [ebx + 0x90], 3
jne 0x47e6e8
cmp byte [ebx + 0x289], 0
push ebp
push esi
push edi
jne 0x47e6dc
cmp byte [ebx + 0x2a1], 0
jne 0x47e6dc
mov esi, dword [esp + 0x1a0]
lea eax, [esp + 0x10]
mov ebp, dword [ebx]
push eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x14], pe_nt_image_headers32
push eax
push esi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x47e5a4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x18]
push pe_nt_image_headers32
push eax
push esi
call fcn.004914b0
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebp
call fcn.004773a0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
push pe_nt_image_headers32
lea eax, [esp + 0x9c]
mov dword [esp + 0x18], pe_nt_image_headers32
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x9c]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x47e60e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x18]
push pe_nt_image_headers32
push eax
push esi
call fcn.004914b0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebp
call fcn.004773a0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
lea eax, [ebx + 0x138]
push eax
lea esi, [ebx + 0x10a]
push esi
push dword [esp + 0x18]
lea eax, [esp + 0x124]
push eax
call fcn.0047d930
add esp, 0x10
test al, al
jne 0x47e66f
mov esi, dword [sym.imp.MSVCRT.dll__errno]
call esi
mov edi, eax
call esi
mov esi, eax
lea eax, [esp + 0x18]
push pe_nt_image_headers32
push eax
push dword [edi]
call fcn.004914b0
push eax
push dword [esi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.004773a0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
lea edi, [ebx + 0x5c]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x16c]
push eax
lea eax, [ebx + 0x13c]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0xa4]
movsw word es:[edi], word [esi]
push eax
call fcn.0047d930
add esp, 0x10
test al, al
jne 0x47e6dc
mov esi, dword [sym.imp.MSVCRT.dll__errno]
call esi
mov edi, eax
call esi
mov esi, eax
lea eax, [esp + 0x18]
push pe_nt_image_headers32
push eax
push dword [edi]
call fcn.004914b0
push eax
push dword [esi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.004773a0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
push ebx
call fcn.0047e1f0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
Function at 0x47f040
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
xor eax, eax
push edi
mov edi, dword [esp + 0x20]
push 4
cmp byte [esi + 0xa9f], al
setne al
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 8
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x47f08a
push edi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push esi
call fcn.00477460
add esp, 0xc
pop edi
pop esi
add esp, 0x10
ret
push dword [esi + 0xa3c]
mov dword [esp + 0x10], 1
call fcn.0047d8b0
push dword [esi + 0xa40]
imul eax, eax, 0x3e8
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
call fcn.0047d8b0
add esp, 8
imul eax, eax, 0x3e8
push 0
push 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0xc
lea eax, [esp + 0x24]
push eax
push 0x98000004
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x47f101
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
push esi
call fcn.00477460
add esp, 0x10
pop edi
pop esi
add esp, 0x10
ret

Function at 0x47f110
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x84
mov eax, dword [esp + 0x88]
push esi
push 4
mov dword [esp + 8], 1
mov esi, dword [eax]
lea eax, [esp + 8]
push eax
push 1
push 6
push dword [esp + 0xa0]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x47f171
push pe_nt_image_headers32
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.004914b0
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.00477460
add esp, 0x18
pop esi
add esp, 0x84
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.00477460
add esp, 8
pop esi
add esp, 0x84
ret
Function at 0x489ea0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1000
call fcn.00417210
push dword [esp + 0x1004]
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x489eed
push 0x1000
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x489eed
lea eax, [esp]
push eax
call dword [0x4e0f40]
add esp, 4
add esp, 0x1000
ret
xor eax, eax
add esp, 0x1000
ret
Function at 0x490990
Capabilities:
Resolve dns

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebp
xor ebp, ebp
mov dword [esp + 4], ebp
mov dword [eax], ebp
lea eax, [esp + 8]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x490b23
push ebx
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x490b0d
push esi
mov eax, dword [edi + 4]
cmp eax, 2
jne 0x4909df
lea ebx, [eax + 0xe]
jmp 0x4909eb
cmp eax, 0x17
jne 0x490a9a
lea ebx, [eax + 5]
cmp dword [edi + 0x18], 0
je 0x490a9a
mov eax, dword [edi + 0x10]
test eax, eax
je 0x490a9a
cmp eax, ebx
jb 0x490a9a
push 0x20
call dword [0x4e0f34]
mov esi, eax
add esp, 4
test esi, esi
je 0x490b02
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call dword [0x4e0f34]
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x490af1
push ebx
push dword [edi + 0x18]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [edi + 0x14]
add esp, 0xc
test eax, eax
je 0x490a85
push eax
call dword [0x4e0f40]
add esp, 4
mov dword [esi + 0x14], eax
test eax, eax
je 0x490ad7
test ebp, ebp
jne 0x490a8b
mov ebp, esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x490a96
mov dword [eax + 0x1c], esi
mov dword [esp + 0x10], esi
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x4909d2
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
pop esi
test eax, eax
je 0x490ab9
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test ebx, ebx
je 0x490b09
push ebp
call fcn.00490950
mov eax, dword [esp + 0x2c]
add esp, 4
xor ebp, ebp
mov dword [eax], ebp
mov eax, ebx
pop edi
pop ebx
pop ebp
add esp, 0xc
ret
push dword [esi + 0x18]
mov ebx, 8
call dword [0x4e0f38]
push esi
call dword [0x4e0f38]
add esp, 8
jmp 0x490aa9
push esi
mov ebx, 8
call dword [0x4e0f38]
add esp, 4
jmp 0x490aa9
mov ebx, 8
jmp 0x490aa9
test ebp, ebp
jne 0x490b19
mov ebx, 0x2af9
push ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], ebp
mov eax, ebx
pop ebx
pop ebp
add esp, 0xc
ret
Function at 0x495160
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration
Start tcp server

Disassembly:
sub esp, 0x30
push esi
mov esi, dword [sym.imp.WS2_32.dll_socket]
push edi
push 6
push 1
push 2
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x14], 1
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x495192
pop edi
or eax, eax
pop esi
add esp, 0x30
ret
xor eax, eax
mov dword [esp + 0x10], eax
push ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, 2
push 0x7f000001
mov word [esp + 0x18], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
xor eax, eax
push 4
mov word [esp + 0x1a], ax
lea eax, [esp + 0x10]
push eax
push 4
push 0xffff
push edi
mov dword [ebx + 4], 0xffffffff
mov dword [ebx], 0xffffffff
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x495327
push 0x10
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x495327
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x495327
push 1
push edi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x495327
push 0
push 1
push 2
call esi
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x495327
push 0x10
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x495327
push 0
push 0
push edi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x495327
push ebx
push 0x4c60c8
lea eax, [esp + 0x2c]
push 0xc
push eax
call fcn.00488ae0
lea esi, [esp + 0x34]
add esp, 0x10
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x495294
push 0
sub esi, ecx
lea eax, [esp + 0x28]
push esi
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, esi
jne 0x495327
push 0
push 0xc
lea eax, [esp + 0x38]
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, esi
jne 0x495327
lea ecx, [esp + 0x24]
lea edx, [esp + 0x30]
sub esi, 4
jb 0x4952e5
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4952ea
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4952d4
cmp esi, 0xfffffffc
je 0x495317
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x495327
cmp esi, 0xfffffffd
je 0x495317
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x495327
cmp esi, 0xfffffffe
je 0x495317
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x495327
cmp esi, 0xffffffff
je 0x495317
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x495327
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x30
ret
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
push edi
call esi
push dword [ebx]
call esi
push dword [ebx + 4]
call esi
pop ebx
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x30
ret
Function at 0x4a0722
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4e4544], 0
push ebx
push esi
mov esi, 0x4e454c
jne 0x4a074e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x4e4564], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4e4544], 1
push dword [0x4e4564]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4a07eb
push 0x14
push 8
push dword [0x4e36cc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x4a0815
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4e4548]
test eax, eax
je 0x4a0790
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4e4548], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x4a081a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x4e4564]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x4e36cc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4a0815
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8
Function at 0x40b5c9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x40b60d
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x40b5dc
jmp 0x40b60d
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40b5fd
pop esi
pop ebp
ret

Function at 0x40c3a7
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40c3dc
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40c406
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40c406
test edi, edi
je 0x40c3d3
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40c3d3
test edi, edi
je 0x40c40e
mov eax, edi
jmp 0x40c3d5
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40c3d5
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_m_in_w32_d_0000000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.0040f832
add esp, 0xc
int3
Function at 0x40f866
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestIntegerPrintfMacros.exe_gMozillaPoisonSize], eax
call fcn.0040c3a7
pop ecx
mov ecx, dword [sym.TestIntegerPrintfMacros.exe_gMozillaPoisonSize]
mov dword [sym.TestIntegerPrintfMacros.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40f89e
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestIntegerPrintfMacros.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..pdata
mov ebx, 0x408f6c
nop
mov ecx, 0x125104b3
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..pdata_1
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x5b564349
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x30d32821
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x3a8b24ab
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
inc ebx
bswap edx
imul edi
neg ebx
inc eax
sub edi, 0x3e
rol edx, 9
not edi
imul esi
and esi, 0xc8
mov edi, 0xff
add eax, 0xdb
neg ebx
neg edi
neg edx
and edi, 0x81
dec edx
sub edx, 0x2e
mov ebx, 0x15
neg esi
not esi
mov edx, 0x5d
imul edx
sbb edi, 0x71
add esi, 0x56
bswap edx
rcr esi, 0xb8
rol ebx, 1
and edi, 0xf0
not esi
not esi
dec esi
not edx
mov esi, 0x42
sub esi, 2
dec eax
imul esi
bswap edi
ror eax, 0xf
or ebx, 0x31
rcr edi, 0xd4
imul edx
dec esi
not eax
or eax, 0xdd
mov esi, 0xf8
bswap edi
sbb edx, 0xcf
inc eax
mov esi, 0xfc
xor ecx, ecx
xor edi, edi
not edx
bswap eax
and eax, 0x5c
inc esi
imul edx
mov edx, 0x87
neg eax
and ebx, 0x6d
rol esi, 0xfb
ror esi, 0x8c
dec eax
neg edi
imul eax
or ebx, 0xb5
or esi, 0x63
and ebx, 0x9e
bswap ebx
add eax, 0xad
dec ebx
inc eax
dec edi
bswap edx
add edi, 0x39
neg esi
ror edi, 0x4d
ror edi, 0x54
rol edx, 0xf0
sub esi, 0x9f
add edi, 0xd6
add edx, 0xce
dec edi
sbb edx, 0xf8
mov edx, 0x46
rcl eax, 0xee
rol esi, 0xc6
mov eax, 0x3c
dec esi
mov eax, 0xe6
mov edx, 0x4d
imul edi
imul edi
inc ebx
dec edx
not edx
mov edx, 0xd7
rcl ebx, 0xf9
rcl esi, 0xdc
rcl esi, 0x64
inc edx
inc esi
mov ecx, dword [ebp + 0xc]
neg edi
sub esi, 0x8d
sub ebx, 0x3d
sbb eax, 0xeb
mov esi, 0x2b
or edx, 0xc9
ror eax, 0xf3
imul ebx
not edx
rcr esi, 0x39
imul ebx
ror ebx, 0xc0
ror eax, 0x7a
sub edi, 0x8d
bswap esi
inc ebx
rol ebx, 0xba
sbb ebx, 0xb4
dec ebx
ror edx, 0xb5
sub eax, 0x11
and edi, 0x39
rol ebx, 0xfa
rol edi, 0xd2
and eax, 0x87
and edi, 0xd8
and eax, 0x9f
and eax, 0xb9
inc edx
rcr edi, 0x5f
mov edi, 0x90
sbb edx, 0x65
imul edi
rcl esi, 0x63
bswap edi
not edx
not eax
mov eax, 0x7b
add edi, 0x2e
rol eax, 0xfa
or ebx, 0xd2
neg esi
neg edx
or esi, 0xca
imul edi
neg edi
not eax
and eax, 0x3a
sbb edi, 0x22
bswap edi
mov edi, dword [ebp + 8]
xor ebx, eax
xor esi, ebx
xor ebx, esi
mov esi, eax
mov esi, esi
mov eax, eax
mov ebx, ebx
xor eax, ebx
mov ebx, ebx
xor ebx, eax
mov eax, ebx
mov ebx, eax
not byte [edi]
mov ebx, ebx
xor esi, esi
xor esi, esi
xor ebx, ebx
mov ebx, eax
mov eax, ebx
mov eax, ebx
mov esi, ebx
xor esi, ebx
sub byte [edi], 0x89
mov ebx, eax
mov ebx, eax
mov esi, eax
mov ebx, eax
mov ebx, esi
mov ebx, eax
xor ebx, eax
xor ebx, ebx
mov ebx, esi
add byte [edi], 0x43
xor eax, esi
xor eax, eax
mov eax, esi
mov esi, esi
mov ebx, esi
xor eax, eax
mov ebx, esi
xor eax, ebx
xor esi, ebx
imul byte [edi]
inc edi
loop 0x4011dd
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x403363
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.00402259
and dword [ebp - 4], 0
cmp dword [0x428e88], 0
mov ebx, eax
jne 0x403414
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4034c5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4034c5
push eax
call fcn.004021e7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x428e88], eax
call esi
push eax
call fcn.004021e7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x428e8c], eax
call esi
push eax
call fcn.004021e7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x428e90], eax
call esi
push eax
call fcn.004021e7
pop ecx
mov dword [0x428e98], eax
test eax, eax
je 0x403414
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004021e7
pop ecx
mov dword [0x428e94], eax
mov eax, dword [0x428e94]
cmp eax, ebx
je 0x40346c
cmp dword [0x428e98], ebx
je 0x40346c
push eax
call fcn.00402262
push dword [0x428e98]
mov esi, eax
call fcn.00402262
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40346c
test edi, edi
je 0x40346c
call esi
test eax, eax
je 0x403463
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x403463
test byte [ebp - 0xc], 1
jne 0x40346c
or dword [ebp + 0x10], 0x200000
jmp 0x4034a5
mov eax, dword [0x428e8c]
cmp eax, ebx
je 0x4034a5
push eax
call fcn.00402262
pop ecx
test eax, eax
je 0x4034a5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4034a5
mov eax, dword [0x428e90]
cmp eax, ebx
je 0x4034a5
push eax
call fcn.00402262
pop ecx
test eax, eax
je 0x4034a5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x428e88]
call fcn.00402262
pop ecx
test eax, eax
je 0x4034c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4034c7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4051ce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4285f8]
jne 0x4051d8
repz ret
jmp fcn.004068f5
Function at 0x46787b
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x49f644]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov edx, ecx
push esi
xor esi, esi
mov dword [ebp - 0x408], edx
push edi
cmp byte [edx + 5], 0
mov edi, dword [ebp + 0xc]
jne 0x4678b4
push dword [edx]
push edi
push 1
push ebx
jmp 0x46799b
cmp edi, 0x200
jb 0x46792b
mov ecx, esi
movzx eax, byte [ecx + ebx]
mov word [ebp + ecx*2 - 0x404], ax
movzx eax, byte [ecx + ebx + 1]
mov word [ebp + ecx*2 - 0x402], ax
movzx eax, byte [ecx + ebx + 2]
mov word [ebp + ecx*2 - 0x400], ax
movzx eax, byte [ecx + ebx + 3]
mov word [ebp + ecx*2 - 0x3fe], ax
add ecx, 4
mov eax, 0x200
cmp ecx, eax
jne 0x4678be
push dword [edx]
push eax
lea eax, [ebp - 0x404]
push 2
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
cmp eax, 0x200
jne 0x4679a8
mov edx, dword [ebp - 0x408]
sub edi, eax
add ebx, eax
cmp edi, eax
jae 0x4678bc
test edi, edi
je 0x4679b7
mov edx, edi
mov ecx, esi
and edx, 0xfffffffc
je 0x467985
movzx eax, byte [ecx + ebx]
mov word [ebp + ecx*2 - 0x404], ax
movzx eax, byte [ecx + ebx + 1]
mov word [ebp + ecx*2 - 0x402], ax
movzx eax, byte [ecx + ebx + 2]
mov word [ebp + ecx*2 - 0x400], ax
movzx eax, byte [ecx + ebx + 3]
mov word [ebp + ecx*2 - 0x3fe], ax
add ecx, 4
cmp ecx, edx
jne 0x46793c
jmp 0x467985
movzx eax, byte [ecx + ebx]
mov word [ebp + ecx*2 - 0x404], ax
inc ecx
cmp ecx, edi
jne 0x467978
mov eax, dword [ebp - 0x408]
push dword [eax]
lea eax, [ebp - 0x404]
push edi
push 2
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
cmp eax, edi
je 0x4679b7
call dword [sym.imp.msvcrt.dll__errno]
mov esi, dword [eax]
test esi, esi
jne 0x4679b7
or esi, 0xffffffff
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00482990
leave
ret 8