joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ac480
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
push eax
push esi
mov edi, dword [esi + eax*4 + 0x198]
call fcn.007ac510
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add esp, 8
push 0
push eax
push ecx
push edi
call dword [sym.imp.WSOCK32.dll_send]
mov ebx, dword [esp + 0x24]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebx], 0
jne 0x7ac504
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ebp, eax
cmp ebp, 0x2733
jne 0x7ac4de
pop edi
pop esi
mov dword [ebx], 0x51
pop ebp
xor eax, eax
pop ebx
ret
push ebp
push esi
call fcn.0079d010
mov edx, dword [esi]
push eax
push str.Send_failure:__s
push edx
call fcn.007ac280
mov eax, dword [esi]
add esp, 0x14
mov dword [eax + 0x4744], ebp
mov dword [ebx], 0x37
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

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

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
lea esi, [eax + 0x1c]
shl esi, 4
add esi, ebx
push edi
mov ebp, dword [ebx + eax*4 + 0x198]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
sub edi, ecx
mov ecx, dword [ebx + 0x340]
test byte [ecx + 0x3c], 3
je 0x7ac5c8
cmp dword [ebx + eax*4 + 0x1b0], 0x7ac610
jne 0x7ac5c8
cmp dword [esi], 0
je 0x7ac559
test edi, edi
je 0x7ac5c8
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
call fcn.0079eb00
add esp, 0x10
cmp eax, 0xffffffff
je 0x7ac5c8
test al, 1
je 0x7ac5c8
cmp dword [esi], 0
jne 0x7ac59a
mov edx, dword [ebx]
mov eax, dword [edx + 0x360]
shl eax, 1
push eax
mov dword [esi + 4], eax
call dword [0x9a7220]
mov edi, dword [esi + 4]
add esp, 4
mov dword [esi], eax
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi]
test eax, eax
je 0x7ac5c1
mov ebx, dword [esi + 8]
push 0
add eax, ebx
push edi
push eax
push ebp
call dword [sym.imp.WSOCK32.dll_recv]
test eax, eax
jle 0x7ac5c8
mov ecx, dword [esi + 8]
pop edi
add ecx, eax
mov dword [esi + 8], ecx
pop esi
pop ebp
pop ebx
ret
mov dword [esi + 4], 0
pop edi
pop esi
pop ebp
pop ebx
ret

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

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
jne 0x7aca21
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
and al, 0xe7
add eax, 0x51
ret
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
xor eax, eax
ret
Function at 0x7aef40
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x10c]
push ebp
push esi
mov eax, dword [ebx + 0x94]
mov ebp, dword [ebx]
cmp eax, 2
push edi
je 0x7af0ca
mov eax, dword [ebx + 0x2a8]
test eax, eax
jne 0x7af0c1
mov eax, dword [ebx + 0x318]
test eax, eax
jne 0x7af0c1
mov esi, dword [esp + 0x11c]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x94]
push eax
mov edi, 0x80
push ecx
push esi
mov dword [esp + 0x1c], edi
call dword [sym.imp.WSOCK32.dll_getpeername]
test eax, eax
je 0x7aefd0
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.0079d010
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebp
call fcn.007ac280
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov dword [esp + 0x10], edi
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push esi
call dword [sym.imp.WSOCK32.dll_getsockname]
test eax, eax
je 0x7af020
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.0079d010
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebp
call fcn.007ac280
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
lea ecx, [ebx + 0x138]
lea esi, [ebx + 0x10a]
push ecx
lea edx, [esp + 0x98]
push esi
push edx
call fcn.007af0e0
add esp, 0xc
test eax, eax
jne 0x7af06c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebx
call fcn.0079d010
push eax
push esi
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.007ac280
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
lea edi, [ebx + 0x60]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x16c]
lea ecx, [ebx + 0x13c]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
movsw word es:[edi], word [esi]
call fcn.007af0e0
add esp, 0xc
test eax, eax
jne 0x7af0c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebx
call fcn.0079d010
push eax
push esi
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.007ac280
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
push ebx
call fcn.007aeec0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret

Function at 0x7af5f0
Capabilities:
Set socket configuration

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0xc]
lea eax, [esp + 0xc]
push 4
mov esi, dword [edi]
push eax
push 1
push 6
push ecx
mov dword [esp + 0x20], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x7af639
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push edi
call fcn.0079d010
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.007ac210
add esp, 0x14
pop edi
pop esi
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.007ac210
add esp, 8
pop edi
pop esi
ret
Function at 0x7af650
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
mov eax, dword [0x9e1420]
push esi
test eax, eax
mov dword [esp + 8], 0x4020
mov dword [esp + 4], 0
mov dword [esp + 0xc], 4
jne 0x7af6a3
push 3
push 2
push eax
push 6
call fcn.007d2aa0
add esp, 0x10
test eax, eax
je 0x7af697
mov dword [0x9e1420], 2
pop esi
add esp, 0xc
ret
mov dword [0x9e1420], 1
jmp 0x7af6a8
cmp eax, 2
je 0x7af6ef
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xc]
lea ecx, [esp + 4]
push eax
push ecx
push 0x1001
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x7af6d7
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, eax
jg 0x7af6ef
lea eax, [esp + 8]
push 4
push eax
push 0x1001
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
pop esi
add esp, 0xc
ret
Function at 0x7af9d0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
xor eax, eax
push edi
mov ecx, dword [esi + 0x540]
mov edi, dword [esp + 0x1c]
test ecx, ecx
lea ecx, [esp + 0x18]
push 4
push ecx
push 8
setne al
push 0xffff
push edi
mov dword [esp + 0x2c], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x7afa1c
push edi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push esi
call fcn.007ac210
add esp, 0xc
pop edi
pop esi
add esp, 0xc
ret
mov edx, dword [esi + 0x544]
mov dword [esp + 8], 1
push edx
call fcn.007b18d0
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x548]
push eax
call fcn.007b18d0
add esp, 8
lea eax, [eax + eax*4]
lea ecx, [esp + 0x1c]
lea edx, [esp + 8]
push 0
push 0
lea eax, [eax + eax*4]
push ecx
push 0
push 0
lea eax, [eax + eax*4]
push 0xc
push edx
push 0x98000004
shl eax, 3
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x7afaa1
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push edi
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
push esi
call fcn.007ac210
add esp, 0x10
pop edi
pop esi
add esp, 0xc
ret
Function at 0x7b0060
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x1e0]
test ecx, ecx
je 0x7b007c
push eax
call fcn.007a03a0
add esp, 4
test eax, eax
jne 0x7b009f
ret
mov eax, dword [eax + 0x198]
cmp eax, 0xffffffff
jne 0x7b008a
xor eax, eax
ret
push 2
lea ecx, [esp + 8]
push 1
push ecx
push eax
call dword [sym.imp.WSOCK32.dll_recv]
test eax, eax
jne 0x7b009f
ret
mov eax, 1
ret

Function at 0x7b1ce0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
push 0
call fcn.005ffc43
add esp, 0x18
test eax, eax
je 0x7b1d03
cmp eax, 0xffffffff
jne 0x7b1d05
xor eax, eax
ret
Function at 0x7b30d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [esp + 4]
push 2
lea eax, [esp + 8]
push 1
mov edx, dword [ecx + 0x198]
push eax
push edx
call dword [sym.imp.WSOCK32.dll_recv]
test eax, eax
jne 0x7b30ef
ret
cmp eax, 1
jne 0x7b30fa
mov eax, 1
ret
cmp eax, 0xffffffff
jne 0x7b314c
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2734
je 0x7b30f4
cmp eax, 0xb
je 0x7b30f4
cmp eax, 0x2733
je 0x7b30f4
cmp eax, 0x2746
je 0x7b3149
cmp eax, 0x2745
je 0x7b3149
cmp eax, 0x2742
je 0x7b3149
cmp eax, 0x2744
je 0x7b3149
cmp eax, 0x274a
je 0x7b3149
cmp eax, 0x274c
je 0x7b3149
cmp eax, 0x2749
jne 0x7b314c
xor eax, eax
ret
or eax, 0xffffffff
ret
Function at 0x7c2930
Capabilities:
Send data
Send data on socket

Disassembly:
mov al, byte [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push 0
lea ecx, [esp + 0x14]
mov edx, dword [esi + 0x198]
mov edi, dword [esi]
push 3
push ecx
push edx
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], al
call dword [sym.imp.WSOCK32.dll_send]
test eax, eax
jge 0x7c297d
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.007ac280
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
push eax
push ebx
push str.SENT
push ecx
call fcn.007c29a0
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x7c3b20
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push edi
mov eax, dword [eax]
mov dword [esp + 8], eax
mov edi, dword [eax + 0x140]
mov eax, dword [esp + 0x14]
cmp eax, 0x1f
jne 0x7c3c89
push ebp
push esi
lea ebp, [edi + 0x1cb0]
lea esi, [edi + 0x1eb0]
cmp ebp, esi
mov dword [esi], ebp
jae 0x7c3b5d
mov byte [ebp], 0xff
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, esi
jae 0x7c3b6b
mov byte [eax], 0xfa
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, esi
jae 0x7c3b79
mov byte [eax], 0x1f
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov cx, word [edi + 0x1ca8]
mov ebx, dword [sym.imp.WSOCK32.dll_htons]
push ecx
call ebx
mov dx, word [edi + 0x1caa]
mov dword [esp + 0x1c], eax
push edx
call ebx
mov ecx, dword [esi]
cmp ecx, esi
jae 0x7c3ba8
mov dl, byte [esp + 0x1c]
mov byte [ecx], dl
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, esi
jae 0x7c3bb9
mov dl, byte [esp + 0x1d]
mov byte [ecx], dl
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, esi
jae 0x7c3bc6
mov byte [ecx], al
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, esi
jae 0x7c3bd3
mov byte [ecx], ah
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, esi
jae 0x7c3be1
mov byte [eax], 0xff
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, esi
jae 0x7c3bef
mov byte [eax], 0xf0
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
mov ebx, dword [esp + 0x10]
mov ecx, eax
lea edx, [edi + 0x1cb2]
sub ecx, ebp
mov dword [edi + 0x1eb4], eax
sub ecx, 2
mov dword [esi], ebp
push ecx
push edx
push 0x3e
push ebx
call fcn.007c3810
add esp, 0x10
mov esi, dword [sym.imp.WSOCK32.dll_send]
push 0
push 3
push ebp
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp + 0x198]
push eax
call esi
test eax, eax
jge 0x7c3c48
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.007ac280
add esp, 0xc
lea ecx, [edi + 0x1cb3]
push 4
push ecx
push ebp
call fcn.007c3c90
mov edx, dword [ebp + 0x198]
add esp, 0xc
add edi, 0x1cb7
push 0
push 2
push edi
push edx
call esi
pop esi
pop ebp
test eax, eax
jge 0x7c3c89
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.007ac280
add esp, 0xc
pop edi
pop ebx
pop ecx
ret
Function at 0x7cedb0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebp, dword [esp + 0x44]
push esi
push edi
mov edi, dword [esp + 0x48]
xor ebx, ebx
mov eax, dword [edi + ebp*4 + 0x198]
mov esi, dword [edi]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + ebp*4 + 0x5c4]
cmp eax, 2
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
je 0x7cf82e
mov dword [edi + 0x308], ebx

Function at 0x7d17f0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x104
mov eax, dword [esp + 0x108]
push eax
call fcn.0060eac5
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x7d183d
lea ecx, [esp]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov al, byte [esp]
test al, al
je 0x7d183d
lea edx, [esp]
push edx
call dword [0x9a722c]
add esp, 4
add esp, 0x104
ret
xor eax, eax
add esp, 0x104
ret

Function at 0x7d4110
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WSOCK32.dll_gethostname]
test eax, eax
mov byte [esi + edi - 1], 0
jne 0x7d4142
push 0x2e
push esi
call fcn.005fdc30
add esp, 8
test eax, eax
je 0x7d4140
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret
Function at 0x7d7ea0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push eax
call dword [0x9a7220]
mov edi, eax
add esp, 4
test edi, edi
jne 0x7d7ec3
pop edi
pop esi
ret
lea eax, [edi + 0xc]
push ebx
mov dword [edi], esi
mov dword [edi + 4], eax
mov ebx, dword [esi + 0xc]
mov edx, eax
add edx, ebx
mov ebx, dword [esp + 0x18]
mov dword [edi + 8], edx
mov ecx, dword [esi + 0x10]
cmp ebx, ecx
push ebp
jbe 0x7d7f0e
push eax
call dword [esi]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
push ebx
push eax
push ecx
call dword [esi + 4]
mov ebx, dword [edi + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 4]
add ebx, eax
push edx
push ebx
call dword [esi + 8]
mov eax, dword [esi + 0x14]
add esp, 0x18
mov dword [esp + 0x1c], eax
jmp 0x7d7f12
mov ebx, dword [esp + 0x18]
mov ecx, dword [edi + 4]
push ecx
call dword [esi]
mov edx, dword [edi + 8]
push edx
call dword [esi]
mov eax, dword [esp + 0x24]
add esp, 8
xor ebp, ebp
test eax, eax
jbe 0x7d7f78
mov dword [esp + 0x1c], eax
mov ebp, eax
mov al, byte [ebx]
mov cl, byte [0x8c66a8]
xor al, cl
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
mov edx, dword [edi + 4]
push 1
push ecx
push edx
call dword [esi + 4]
mov al, byte [ebx]
mov dl, byte [0x8c66a9]
xor al, dl
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
mov edx, dword [edi + 8]
push 1
push ecx
push edx
inc ebx
call dword [esi + 4]
mov eax, dword [esp + 0x34]
add esp, 0x18
dec eax
mov dword [esp + 0x1c], eax
jne 0x7d7f31
cmp ebp, dword [esi + 0x10]
jae 0x7d7fa4
mov eax, dword [edi + 4]
push 1
push 0x8c66a8
push eax
call dword [esi + 4]
mov ecx, dword [edi + 8]
push 1
push 0x8c66a9
push ecx
call dword [esi + 4]
mov eax, dword [esi + 0x10]
add esp, 0x18
inc ebp
cmp ebp, eax
jb 0x7d7f7d
pop ebp
mov eax, edi
pop ebx
pop edi
pop esi
ret

Function at 0x7ea170
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
mov eax, 1
ret
Function at 0x800ad0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x54
call fcn.005fc5a0
mov eax, dword [esp + 0x58]
push ebx
push ebp
push esi
mov ebp, dword [eax + 0xc]
push edi
mov edi, dword [eax + 8]
xor esi, esi
cmp edi, 0x20
mov dword [esp + 0x10], esi
jle 0x800b07
push str.nkey___EVP_MAX_KEY_LENGTH
push 0x79
push str..cryptoevpevp_key.c
call fcn.00747250
add esp, 0xc
cmp ebp, 0x10
jle 0x800b20
push str.niv___EVP_MAX_IV_LENGTH
push 0x7a
push str..cryptoevpevp_key.c
call fcn.00747250
add esp, 0xc
cmp dword [esp + 0x74], esi
jne 0x800b30
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
lea eax, [esp + 0x14]
push eax
call fcn.00749b80
mov ecx, dword [esp + 0x70]
push esi
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.00749c00
add esp, 0x10
test eax, eax
je 0x800c93
mov ebx, dword [esp + 0x84]
jmp 0x800b65
mov esi, dword [esp + 0x84]
mov eax, esi
inc esi
test eax, eax
mov dword [esp + 0x84], esi
je 0x800b8a
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call fcn.00749d70
add esp, 0xc
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call fcn.00749d70
mov eax, dword [esp + 0x7c]
add esp, 0xc
test eax, eax
je 0x800bb9
push 8
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00749d70
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00749e70
mov esi, dword [esp + 0x88]
add esp, 0xc
cmp esi, 1
jbe 0x800c1c
dec esi
mov edx, dword [esp + 0x6c]
push 0
lea eax, [esp + 0x18]
push edx
push eax
call fcn.00749c00
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.00749d70
lea ecx, [esp + 0x28]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00749e70
add esp, 0x24
dec esi
jne 0x800bdd
mov ecx, dword [esp + 0x10]
xor eax, eax
test edi, edi
je 0x800c52
cmp eax, ecx
je 0x800c52
mov edx, dword [esp + 0x80]
test edx, edx
je 0x800c4c
mov esi, dword [esp + 0x80]
mov dl, byte [esp + eax + 0x24]
mov byte [esi], dl
mov edx, esi
inc edx
mov dword [esp + 0x80], edx
dec edi
inc eax
test edi, edi
jne 0x800c26
test ebp, ebp
je 0x800c6f
cmp eax, ecx
je 0x800c6f
cmp eax, ecx
je 0x800c6f
test ebx, ebx
je 0x800c69
mov dl, byte [esp + eax + 0x24]
mov byte [ebx], dl
inc ebx
dec ebp
inc eax
test ebp, ebp
jne 0x800c5a
test edi, edi
jne 0x800c77
test ebp, ebp
je 0x800c9d
mov eax, dword [esp + 0x6c]
push 0
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00749c00
add esp, 0xc
test eax, eax
jne 0x800b5e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret
lea edx, [esp + 0x14]
push edx
call fcn.0074a290
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.00750a60
mov ecx, dword [esp + 0x74]
add esp, 0xc
mov eax, dword [ecx + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
Function at 0x82d236
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x82d258
cmp dword [edi + 0x3c], 0
jne 0x82d258
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00843080
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0082d297
pop edi
pop esi
pop ebx
ret 8

Function at 0x82e99c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x82e9d4
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.008323a9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00832380
jmp 0x82e9e0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x8307a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x8307e3
call fcn.00843080
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x8307e3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x8307da
xor eax, eax
jmp 0x8307eb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.008307f1
pop edi
pop esi
pop ebx
ret 4
Function at 0x834275
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x8342a5
push edi
call ebx
push eax
call fcn.00835145
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
je 0x8342cf
test byte [ebp - 4], 1
je 0x8342cf
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x8342cf
push edi
call ebx
push eax
call fcn.00835145
cmp dword [esi + 4], edi
lea eax, [esi + 4]
je 0x834375
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.008341c2
cmp dword [esi + 8], edi
lea eax, [esi + 8]
pop ecx
pop ecx
je 0x834301
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.008341c2
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
cmp dword [esi], edi
je 0x834317
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.008341c2
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push edi
push 0x80
push 3
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x834341
push 0
call ebx
push eax
call fcn.00835145
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x83435f
push eax
call ebx
push eax
call fcn.00835145
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x834373
push eax
call ebx
push eax
call fcn.00835145
xor edi, edi
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
pop esi
je 0x83439c
test byte [ebp - 4], 1
jne 0x83439c
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x83439c
push edi
call ebx
push eax
call fcn.00835145
pop edi
pop ebx
leave
ret 8

Function at 0x834cb3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00843080
mov esi, dword [eax + 0xc]
test esi, esi
je 0x834cd7
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x834cdb
xor eax, eax
jmp 0x834d02
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
mov ecx, ebp
call fcn.00834c45
push 1
pop eax
pop ebx
pop edi
pop esi
pop ebp
ret 4
Function at 0x84bea9
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_recv
ret 0xc

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

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_send
ret 0xc