joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464890
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x1c
mov eax, dword [0x570930]
xor eax, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
push esi
xor eax, eax
push edi
mov dword [esp + 0x10], eax
lea ecx, [ecx]
test eax, eax
mov esi, dword [0x8e4e54]
je 0x4648c0
mov esi, dword [0x8e3c70]
test esi, esi
je 0x464a4f
mov edx, dword [ebx + 8]
lea eax, [esp + 0xc]
push eax
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x18]
push ecx
push 0
push edx
push eax
push esi
mov dword [esp + 0x24], 0x10
call sub.WSOCK32.dll_recvfrom
cmp eax, 0xffffffff
jne 0x464922
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x464a4f
cmp eax, 0x2746
je 0x464a4f
call fcn.00464280
push eax
push str.NET_GetPacket:__s_n
call fcn.004357b0
add esp, 8
jmp 0x464a4f
mov ecx, dword [0x8e4e54]
cmp esi, ecx
jne 0x464936
xor edx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
mov edx, dword [0x14073c0]
test edx, edx
je 0x4649d3
cmp esi, ecx
jne 0x4649d3
mov ecx, dword [esp + 0xc]
mov edi, 0x8e3c5c
lea esi, [esp + 0x14]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4649d3
cmp eax, 0xa
jl 0x464a4f
mov ecx, dword [ebx + 4]
cmp byte [ecx], 0
jne 0x464a4f
mov dl, byte [ecx + 1]
test dl, dl
jne 0x464a4f
mov dl, byte [ecx + 2]
test dl, dl
jne 0x464a4f
cmp byte [ecx + 3], 1
jne 0x464a4f
mov dword [ebp], 4
mov ecx, dword [ebx + 4]
mov dl, byte [ecx + 4]
mov byte [ebp + 4], dl
mov ecx, dword [ebx + 4]
mov dl, byte [ecx + 5]
mov byte [ebp + 5], dl
mov ecx, dword [ebx + 4]
mov dl, byte [ecx + 6]
mov byte [ebp + 6], dl
mov ecx, dword [ebx + 4]
mov dl, byte [ecx + 7]
mov byte [ebp + 7], dl
mov ecx, dword [ebx + 4]
mov dx, word [ecx + 8]
mov word [ebp + 0x12], dx
mov dword [ebx + 0x10], 0xa
jmp 0x464a29
mov cx, word [esp + 0x14]
cmp cx, 2
jne 0x4649f3
mov ecx, dword [esp + 0x18]
mov dx, word [esp + 0x16]
mov dword [ebp], 4
mov dword [ebp + 4], ecx
jmp 0x464a1e
cmp cx, 6
jne 0x464a22
mov ecx, dword [esp + 0x16]
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0x1a]
lea edx, [ebp + 0xc]
mov dword [edx], ecx
mov cx, word [esp + 0x1e]
mov word [edx + 4], cx
mov dx, word [esp + 0x20]
mov dword [ebp], 5
mov word [ebp + 0x12], dx
mov dword [ebx + 0x10], 0
cmp eax, dword [ebx + 8]
jne 0x464a76
sub esp, 0x14
mov ecx, 5
mov esi, ebp
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00449150
push eax
push str.Oversize_packet_from__s_n
call fcn.004357b0
add esp, 0x1c
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 2
mov dword [esp + 0x10], eax
jl 0x4648b0
xor eax, eax
mov ecx, dword [esp + 0x24]
xor ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
add esp, 0x1c
jmp fcn.0052e7b9
mov ecx, dword [esp + 0x24]
xor ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword [ebx + 0xc], eax
mov eax, 1
pop ebp
add esp, 0x1c
jmp fcn.0052e7b9
Function at 0x464aa0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x570930]
xor eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
cmp edi, 3
mov dword [esp + 0x20], eax
mov esi, ecx
mov ebx, edx
je 0x464af1
cmp edi, 4
je 0x464af1
cmp edi, 5
jne 0x464ad3
mov ebp, dword [0x8e3c70]
jmp 0x464af7
cmp edi, 6
jne 0x464ae0
mov ebp, dword [0x8e3c70]
jmp 0x464af7
push 0x55c238
push 0
call fcn.00435ad0
jmp 0x464bc1
mov ebp, dword [0x8e4e54]
test ebp, ebp
je 0x464bc4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
call fcn.004644d0
mov eax, dword [0x14073c0]
test eax, eax
je 0x464b7e
cmp edi, 4
jne 0x464b7e
mov cx, word [esp + 0x12]
mov eax, dword [esp + 0x14]
mov word [0x8e3cc8], cx
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov byte [0x8e3cc0], 0
mov byte [0x8e3cc1], 0
mov byte [0x8e3cc2], 0
mov byte [0x8e3cc3], 1
mov dword [0x8e3cc4], eax
mov edi, 0x8e3cca
rep movsd dword es:[edi], dword [esi]
push 0x10
push 0x8e3c5c
push 0
add ebx, 0xa
push ebx
mov ecx, edx
push 0x8e3cc0
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call sub.WSOCK32.dll_sendto
mov edi, dword [esp + 0x28]
jmp 0x464b8f
push 0x10
lea eax, [esp + 0x14]
push eax
push 0
push ebx
push esi
push ebp
call sub.WSOCK32.dll_sendto
cmp eax, 0xffffffff
jne 0x464bc4
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x464bc4
cmp eax, 0x2741
jne 0x464bb1
cmp edi, 3
je 0x464bc4
cmp edi, 6
je 0x464bc4
call fcn.00464280
push eax
push str.Sys_SendPacket:__s_n
call fcn.004357b0
add esp, 8
mov ecx, dword [esp + 0x20]
xor ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
jmp fcn.0052e7b9
Function at 0x464d60
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x1c
mov eax, dword [0x570930]
xor eax, dword [esp + 0x1c]
push ebp
push esi
mov dword [esp + 0x20], eax
mov esi, ecx
test esi, esi
mov eax, 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
push ebx
je 0x464d96
push esi
push str.Opening_IP_socket:__s:_i_n
call fcn.004357b0
add esp, 0xc
jmp 0x464da3
push str.Opening_IP_socket:_localhost:_i_n
call fcn.004357b0
add esp, 8
push 0x11
push 2
push 2
call sub.WSOCK32.dll_socket
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x464de8
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x273f
je 0x464dd4
call fcn.00464280
push eax
push str.WARNING:_UDP_OpenSocket:_socket:__s_n
call fcn.004357b0
add esp, 8
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, dword [esp + 0x1c]
add esp, 0x1c
jmp fcn.0052e7b9
lea eax, [esp + 8]
push eax
push 0x8004667e
push ebp
call sub.WSOCK32.dll_ioctlsocket
cmp eax, 0xffffffff
jne 0x464e24
call fcn.00464280
push eax
push str.WARNING:_UDP_OpenSocket:_ioctl_FIONBIO:__s_n
call fcn.004357b0
add esp, 8
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, dword [esp + 0x1c]
add esp, 0x1c
jmp fcn.0052e7b9
push 4
lea ecx, [esp + 0x10]
push ecx
push 0x20
push 0xffff
push ebp
call sub.WSOCK32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x464e64
call fcn.00464280
push eax
push str.WARNING:_UDP_OpenSocket:_setsockopt_SO_BROADCAST:__s_n
call fcn.004357b0
add esp, 8
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, dword [esp + 0x1c]
add esp, 0x1c
jmp fcn.0052e7b9
test esi, esi
je 0x464e8a
cmp byte [esi], 0
je 0x464e8a
mov ecx, str.localhost
mov edx, esi
call fcn.0044ab30
test eax, eax
je 0x464e8a
push edi
lea edi, [esp + 0x14]
call fcn.004645c0
pop edi
jmp 0x464e92
mov dword [esp + 0x14], 0
cmp ebx, 0xffffffff
jne 0x464ea0
mov word [esp + 0x12], 0
jmp 0x464eab
push ebx
call sub.WSOCK32.dll_htons
mov word [esp + 0x12], ax
push 0x10
lea edx, [esp + 0x14]
push edx
push ebp
mov word [esp + 0x1c], 2
call sub.WSOCK32.dll_bind
cmp eax, 0xffffffff
jne 0x464ef1
call fcn.00464280
push eax
push str.WARNING:_UDP_OpenSocket:_bind:__s_n
call fcn.004357b0
add esp, 8
push ebp
call sub.WSOCK32.dll_closesocket
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, dword [esp + 0x1c]
add esp, 0x1c
jmp fcn.0052e7b9
mov ecx, dword [esp + 0x20]
xor ecx, dword [esp + 0x24]
pop esi
mov eax, ebp
pop ebp
add esp, 0x1c
jmp fcn.0052e7b9
Function at 0x4654b0
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x108
mov eax, dword [0x570930]
xor eax, dword [esp + 0x108]
push 0x100
mov dword [esp + 0x108], eax
lea eax, [esp + 8]
push eax
call sub.WSOCK32.dll_gethostname
cmp eax, 0xffffffff
jne 0x4653ab
call sub.WSOCK32.dll_WSAGetLastError
mov ecx, dword [esp + 0x104]
xor ecx, dword [esp + 0x108]
add esp, 0x108
jmp fcn.0052e7b9
push esi
push edi
lea ecx, [esp + 0xc]
push ecx
call sub.WSOCK32.dll_gethostbyname
mov edi, eax
test edi, edi
jne 0x4653c7
call sub.WSOCK32.dll_WSAGetLastError
jmp 0x465495
mov edx, dword [edi]
push edx
push str.Hostname:__s_n
call fcn.004357b0
mov eax, dword [edi + 4]
mov eax, dword [eax]
add esp, 8
test eax, eax
je 0x4653fd
xor esi, esi
push eax
push str.Alias:__s_n
add esi, 4
call fcn.004357b0
mov ecx, dword [edi + 4]
mov eax, dword [esi + ecx]
add esp, 8
test eax, eax
jne 0x4653e2
cmp word [edi + 8], 2
jne 0x465495
mov edx, dword [edi + 0xc]
mov esi, dword [edx]
xor eax, eax
test esi, esi
mov dword [0x8e3cb8], eax
je 0x465495
cmp eax, 0x10
jge 0x465495
mov eax, dword [esi]
push eax
call sub.WSOCK32.dll_ntohl
mov dl, byte [esi]
mov ecx, dword [0x8e3cb8]
mov byte [ecx*4 + 0x8e3c78], dl
mov dl, byte [esi + 1]
mov byte [ecx*4 + 0x8e3c79], dl
mov dl, byte [esi + 2]
mov byte [ecx*4 + 0x8e3c7a], dl
mov dl, byte [esi + 3]
mov byte [ecx*4 + 0x8e3c7b], dl
mov ecx, eax
mov dword [esp + 8], eax
movzx edx, ah
and ecx, 0xff
push ecx
mov ecx, dword [esp + 0xc]
shr eax, 0x10
push edx
movzx eax, al
push eax
shr ecx, 0x18
push ecx
push str.IP:__i._i._i._i_n
call fcn.004357b0
mov eax, dword [0x8e3cb8]
mov edx, dword [edi + 0xc]
mov esi, dword [edx + eax*4 + 4]
add esp, 0x14
inc eax
test esi, esi
mov dword [0x8e3cb8], eax
jne 0x465418
mov ecx, dword [esp + 0x10c]
xor ecx, dword [esp + 0x110]
pop edi
pop esi
add esp, 0x108
jmp fcn.0052e7b9
push ecx
push ebx
push ebp
push esi
push edi
push 0x20
push str.localhost
push str.net_ip
call fcn.00439350
add esp, 0xc
push 0x20
push 0x7120
push 0x5675c4
mov ebp, eax
call fcn.0044ace0
add esp, 8
push eax
push str.net_port
call fcn.00439350
mov edi, dword [eax + 0x20]
add esp, 0xc
xor esi, esi
mov ecx, dword [ebp + 4]
lea ebx, [esi + edi]
call fcn.00464d60
test eax, eax
mov dword [0x8e4e54], eax
jne 0x46551f
inc esi
cmp esi, 0xa
jl 0x4654f2
push str.WARNING:_Couldnt_allocate_IP_port_n
call fcn.004357b0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
add esi, edi
mov dword [esp + 0x10], esi
fild dword [esp + 0x10]
push ecx
fstp dword [esp]
push str.net_port
call fcn.00439960
mov eax, dword [0x8e3c54]
mov ecx, dword [eax + 0x20]
add esp, 8
test ecx, ecx
je 0x46554f
push esi
call fcn.00464f10
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x465360
Function at 0x465560
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x570930]
xor eax, dword [esp + 0x18]
push esi
push 0x3e8
push 2
push 6
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], 1
call sub.WSOCK32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
jne 0x4655c0
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x273f
je 0x4655ad
call fcn.00464280
push eax
push str.WARNING:_IPX_Socket:_socket:__s_n
call fcn.004357b0
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, dword [esp + 0x18]
add esp, 0x18
jmp fcn.0052e7b9
lea eax, [esp + 4]
push eax
push 0x8004667e
push esi
call sub.WSOCK32.dll_ioctlsocket
cmp eax, 0xffffffff
jne 0x4655fb
call fcn.00464280
push eax
push str.WARNING:_IPX_Socket:_ioctl_FIONBIO:__s_n
call fcn.004357b0
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, dword [esp + 0x18]
add esp, 0x18
jmp fcn.0052e7b9
push 4
lea ecx, [esp + 8]
push ecx
push 0x20
push 0xffff
push esi
call sub.WSOCK32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x46563a
call fcn.00464280
push eax
push str.WARNING:_IPX_Socket:_setsockopt_SO_BROADCAST:__s_n
call fcn.004357b0
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, dword [esp + 0x18]
add esp, 0x18
jmp fcn.0052e7b9
xor edx, edx
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 0xe], edx
mov word [esp + 8], 6
mov dword [esp + 0xa], eax
mov word [esp + 0x12], dx
je 0x46565d
push edi
call sub.WSOCK32.dll_htons
mov word [esp + 0x14], ax
push 0xe
lea eax, [esp + 0xc]
push eax
push esi
call sub.WSOCK32.dll_bind
cmp eax, 0xffffffff
jne 0x4656a0
call fcn.00464280
push eax
push str.WARNING:_IPX_Socket:_bind:__s_n
call fcn.004357b0
add esp, 8
push esi
call sub.WSOCK32.dll_closesocket
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, dword [esp + 0x18]
add esp, 0x18
jmp fcn.0052e7b9
mov ecx, dword [esp + 0x18]
xor ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
add esp, 0x18
jmp fcn.0052e7b9

Function at 0x465940
Capabilities:
Initialize winsock library

Disassembly:
push 0x8e4cc0
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x465962
push eax
push str.WARNING:_Winsock_initialization_failed__returned__d_n
call fcn.004357b0
add esp, 8
ret
push str.Winsock_Initialized_n
mov dword [0x14073bc], 1
call fcn.004357b0
add esp, 4
call fcn.00465700
mov eax, 1
jmp fcn.00465850

Function at 0x466750
Capabilities:
Hide graphical window

Disassembly:
mov dword [0x8e58ac], eax
cmp ecx, dword [0x8e58a8]
je 0x4667bf
mov edx, dword [0x8e5270]
test edx, edx
mov dword [0x8e58a8], ecx
je 0x4667bf
mov eax, ecx
sub eax, 0
je 0x4667b6
dec eax
je 0x466793
dec eax
je 0x466789
push ecx
push str.Invalid_visLevel__d_sent_to_Sys_ShowConsole_n
call fcn.00463050
add esp, 8
ret
push 6
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
ret
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x8e5274]
push 0xffff
push 0
push 0xb6
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
ret
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x466b70
Capabilities:
Log keystrokes

Disassembly:
mov edx, eax
and edx, 0xff0000
cmp edx, 0x290000
jne 0x466b83
mov al, 0x7e
ret
test ecx, ecx
jbe 0x466ba1
cmp ecx, 0x91
ja 0x466ba1
sar eax, 0x18
and eax, 1
movzx eax, byte [eax + ecx*2 + 0x575828]
test eax, eax
jne 0x466bdc
push 2
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
and eax, 0xff
cmp eax, 0x7f
jbe 0x466bdc
mov cl, byte [0x57594c]
xor edx, edx
test cl, cl
je 0x466bdc
movzx ecx, cl
cmp eax, ecx
je 0x466bd4
mov cl, byte [edx*2 + 0x57594e]
inc edx
test cl, cl
jne 0x466bc0
ret
movzx eax, byte [edx*2 + 0x57594d]
ret

Function at 0x46e3f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, 0x10000
push ebx
push esi
push edi
mov ebx, ecx
jge 0x46e428
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
dec eax
cmp eax, 0xff
jg 0x46e419
movzx esi, byte [eax + 0x966318]
jmp 0x46e438
sar eax, 8
movzx esi, byte [eax + 0x966318]
add esi, 8
jmp 0x46e438
push eax
push str.MT_GetSize:_max_allocation_exceeded
call fcn.0046e210
add esp, 8
xor esi, esi
dec dword [0x8e60d8]
mov ecx, esi
mov edi, 1
shl edi, cl
mov ecx, dword [0x8e6310]
sub ecx, edi
cmp esi, 0x10
mov dword [0x8e6310], ecx
je 0x46e485
lea ebx, [ebx]
movzx eax, bx
push esi
xor eax, edi
call fcn.0046de90
add esp, 4
test al, al
je 0x46e485
not edi
and ebx, edi
inc esi
mov edi, 1
mov ecx, esi
shl edi, cl
cmp esi, 0x10
jne 0x46e460
movzx eax, bx
push eax
mov eax, esi
call fcn.0046dd50
add esp, 4
pop edi
pop esi
pop ebx
ret

Function at 0x46e4c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
sub ecx, 0x8e6318
sar ecx, 3
jmp fcn.0046e3f0
Function at 0x46e635
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x8e60d0]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x46e71b
push esi
push edi
xor esi, esi
jmp 0x46e5b0
push 0x100000
mov dword [esi + 0x966434], 0x10000
mov dword [esi + 0x966448], ebx
call fcn.005268b7
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x46e661
push 0x100000
push ebx
push edi
call fcn.00432670
mov ecx, dword [esi + 0x966434]
shl ecx, 4
mov edx, ecx
shr ecx, 2
mov dword [esi + 0x966440], edi
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esi, 4
add esp, 0xc
cmp esi, 8
rep stosb byte es:[edi], al
jl 0x46e5b0
push 0x40000
mov dword [0x966424], 0x10000
mov dword [0x966420], ebx
call fcn.005268b7
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x46e692
call fcn.00462b20
push 0x10
push str.WIN_OUT_OF_MEM_TITLE
call fcn.00462450
add esp, 4
push eax
push str.WIN_OUT_OF_MEM_BODY
call fcn.00462450
add esp, 4
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.00527e27
call fcn.00462b20
push 0x10
push str.WIN_OUT_OF_MEM_TITLE
call fcn.00462450
add esp, 4
push eax
push str.WIN_OUT_OF_MEM_BODY
call fcn.00462450
add esp, 4
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.00527e27
push 0x40000
push ebx
push esi
call fcn.00432670
push 0x140
mov dword [0x140736c], esi
mov dword [0x96643c], ebx
mov dword [0x966428], ebx
mov dword [0x96642c], 0x10
mov dword [0x96641c], ebx
call fcn.005268b7
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x46e704
call fcn.00462b20
push 0x10
push str.WIN_OUT_OF_MEM_TITLE
call fcn.00462450
add esp, 4
push eax
push str.WIN_OUT_OF_MEM_BODY
call fcn.00462450
add esp, 4
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.00527e27
push 0x140
push ebx
push esi
call fcn.00432670
add esp, 0xc
pop edi
mov dword [0x1407378], esi
pop esi
pop ebx
ret

Function at 0x471770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [0x8e6204]
mov eax, ecx
sub eax, edx
cmp eax, dword [0x966418]
jb 0x471792
xor eax, eax
mov ax, word [ecx - 2]
test ax, ax
je 0x471793
dec eax
mov word [ecx - 2], ax
ret
sub ecx, 0x8e6318
sub ecx, 2
sar ecx, 3
mov eax, 0xe
jmp fcn.0046e3f0
Function at 0x480970
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push 0x28
mov edi, eax
call fcn.005268b7
mov esi, eax
add esp, 4
test esi, esi
jne 0x4809a2
push str.out_of_dynamic_memory_in_yy_create_buffer__
push 0x568894
push 0x5700e8
call fcn.00527fd1
add esp, 0xc
push 2
call fcn.00527e27
lea eax, [edi + 2]
push eax
mov dword [esi + 0xc], edi
call fcn.005268b7
add esp, 4
test eax, eax
mov dword [esi + 4], eax
jne 0x4809d6
push str.out_of_dynamic_memory_in_yy_create_buffer__
push 0x568894
push 0x5700e8
call fcn.00527fd1
add esp, 0xc
push 2
call fcn.00527e27
mov edi, 1
mov eax, esi
mov dword [esi + 0x14], edi
call fcn.00480aa0
test ebx, ebx
mov dword [esi], ebx
mov dword [esi + 0x20], edi
je 0x480a0e
push ebx
call fcn.00537219
push eax
call fcn.0052f241
add esp, 8
xor ecx, ecx
test eax, eax
setg cl
pop edi
mov eax, ecx
mov dword [esi + 0x18], eax
mov eax, esi
pop esi
ret
xor eax, eax
mov dword [esi + 0x18], eax
pop edi
mov eax, esi
pop esi
ret
Function at 0x497890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53bb18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [esp + 0x3c]
push ebx
push esi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00497c10
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x44], ebx
call fcn.00497f90
mov esi, dword [eax]
cmp dword [esp + 0x28], 0x10
jb 0x4978ff
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00528435
add esp, 4
mov ecx, dword [esp + 0x30]
lea eax, [esi + 0x28]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 8

Function at 0x4a1eaf
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x53bdb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
xor edi, edi
cmp esi, edi
mov ebx, ecx
je 0x4a1db7
mov eax, dword [ebx]
mov ecx, dword [esi]
push esi
push 1
push eax
call fcn.004a1b70
mov ebp, eax
jmp 0x4a1db9
mov ebp, dword [ebx]
push 0x14
call fcn.00431900
add esp, 4
cmp eax, edi
je 0x4a1dd9
mov dword [eax], ebp
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov ebp, eax
jmp 0x4a1ddb
xor ebp, ebp
mov eax, dword [ebx + 0x10]
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x10], eax
jne 0x4a1e10
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
lea ecx, [ecx]
cmp esi, edi
je 0x4a1e25
mov eax, dword [eax]
mov ecx, dword [esi]
push esi
push 1
push eax
call fcn.004a1b70
mov ebx, eax
jmp 0x4a1e27
mov ebx, dword [eax]
cmp dword [ebp + 0x10], edi
push 0x10
jne 0x4a1e58
call fcn.005268b7
mov esi, eax
add esp, 4
cmp esi, edi
je 0x4a1eaa
push 0x10
push edi
push esi
call fcn.00432670
mov dword [esi], ebx
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [ebp + 0x10], esi
mov dword [esi + 8], esi
jmp 0x4a1e8f
call fcn.005268b7
mov esi, eax
add esp, 4
cmp esi, edi
je 0x4a1eaa
push 0x10
push edi
push esi
call fcn.00432670
mov dword [esi], ebx
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 8]
mov dword [edx + 4], esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add esp, 0xc
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x4a1e05
jmp 0x4a1dee
call fcn.00462b20
push 0x10
push str.WIN_OUT_OF_MEM_TITLE
call fcn.00462450
add esp, 4
push eax
push str.WIN_OUT_OF_MEM_BODY
call fcn.00462450
add esp, 4
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.00527e27
int3
Function at 0x4a2ce0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
mov esi, edx
jne 0x4a2ceb
xor eax, eax
pop esi
ret
cmp esi, 8
not eax
jb 0x4a2dda
push ebx
push edi
mov edi, esi
shr edi, 3
lea ecx, [ecx]
xor edx, edx
mov dl, byte [ecx]
mov ebx, eax
shr ebx, 8
sub esi, 8
xor edx, eax
and edx, 0xff
mov eax, dword [edx*4 + 0x5413d0]
xor eax, ebx
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x5413d0]
shr eax, 8
xor edx, eax
xor eax, eax
mov al, byte [ecx + 1]
inc ecx
xor eax, edx
and eax, 0xff
mov eax, dword [eax*4 + 0x5413d0]
shr edx, 8
xor eax, edx
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x5413d0]
shr eax, 8
xor edx, eax
xor eax, eax
mov al, byte [ecx + 1]
inc ecx
xor eax, edx
and eax, 0xff
mov eax, dword [eax*4 + 0x5413d0]
shr edx, 8
xor eax, edx
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x5413d0]
shr eax, 8
xor edx, eax
xor eax, eax
mov al, byte [ecx + 1]
inc ecx
xor eax, edx
and eax, 0xff
mov eax, dword [eax*4 + 0x5413d0]
shr edx, 8
xor eax, edx
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x5413d0]
shr eax, 8
xor eax, edx
inc ecx
dec edi
jne 0x4a2d00
pop edi
pop ebx
test esi, esi
je 0x4a2dfc
mov edi, edi
xor edx, edx
mov dl, byte [ecx]
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x5413d0]
shr eax, 8
xor eax, edx
inc ecx
dec esi
jne 0x4a2de0
not eax
pop esi
ret
Function at 0x4ebc00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x34
movzx ecx, byte [edx + 1]
push ebx
movzx ebx, byte [edx]
push ebp
movzx ebp, byte [edx + 2]
push esi
push edi
mov edi, eax
movzx eax, byte [edx + 3]
and ecx, 0xfffffffc
shl ecx, 3
imul ecx, eax
and ebx, 0xfffffff8
shl ebx, 8
shr ebp, 3
imul ebx, eax
mov esi, 0xff
imul ebp, eax
sub esi, eax
test edi, edi
mov dword [esp + 0x3c], ecx
jle 0x4ebd55
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
sub eax, ecx
dec edi
shr edi, 4
inc edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
lea ebx, [ebx]
xor edx, edx
xor ecx, ecx
mov edi, dword [esp + 0x14]
lea eax, [esp + edx + 0x10]
mov di, word [edi + eax]
mov word [eax], di
movzx eax, di
mov edi, eax
and edi, 0xf800
imul edi, esi
add edi, ebx
sar edi, 8
and edi, 0xf800
mov dword [esp + ecx + 0x30], edi
mov edi, eax
and eax, 0x1f
and edi, 0x7e0
imul eax, esi
imul edi, esi
add edi, dword [esp + 0x3c]
add eax, ebp
sar eax, 8
and eax, 0x1f
sar edi, 8
and edi, 0x7e0
mov dword [esp + ecx + 0x28], eax
mov ax, di
or ax, word [esp + ecx + 0x28]
mov dword [esp + ecx + 0x20], edi
or ax, word [esp + ecx + 0x30]
add ecx, 4
mov word [esp + edx + 0x18], ax
add edx, 2
cmp ecx, 8
jl 0x4ebc64
cmp dword [esp + 0x4c], 8
mov ecx, dword [esp + 0x18]
mov dx, word [esp + 0x1a]
je 0x4ebd27
cmp dx, cx
sbb eax, eax
xor edi, edi
mov di, word [esp + 0x12]
neg eax
cmp di, word [esp + 0x10]
sbb edi, edi
neg edi
cmp edi, eax
je 0x4ebd27
mov eax, dword [esp + 0x48]
mov word [eax], dx
mov word [eax + 2], cx
mov ecx, dword [eax + 4]
mov edx, ecx
not edx
shr edx, 1
and edx, 0x55555555
xor edx, ecx
mov dword [eax + 4], edx
jmp 0x4ebd32
mov eax, dword [esp + 0x48]
mov word [eax], cx
mov word [eax + 2], dx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
add eax, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1c]
add edx, ecx
dec eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
jne 0x4ebc60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret