joyce8/EMBER2024-capa huggingface dataset:
Function at 0x507960
Capabilities:
Get disk size

Disassembly:
sub esp, 0x18
push ebx
push esi
push edi
mov ebx, ecx
push 0x6686bc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x50798e
push 0x6686a8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x507992
mov ecx, 1
jmp 0x507994
mov eax, dword [esp + 0x30]
xor ecx, ecx
or esi, 0xffffffff
or edi, 0xffffffff
test ecx, ecx
je 0x5079c2
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
push edx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x24]
push ecx
push edx
call eax
test eax, eax
je 0x507a0a
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
jmp 0x507a0a
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x507a0a
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
push 0
push edx
push 0
push eax
call fcn.00581190
mov ecx, dword [esp + 0x14]
push 0
push ecx
push edx
push eax
call fcn.00581190
mov esi, eax
mov edi, edx
cmp edi, dword [esp + 0x2c]
jg 0x507a39
jl 0x507a18
cmp esi, dword [esp + 0x28]
ja 0x507a39
and esi, edi
cmp esi, 0xffffffff
je 0x507a39
push 0x668670
mov ecx, ebx
call fcn.00502040
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x18
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x18
ret 0xc
Function at 0x508660
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bfbe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x10], esp
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x5086dc
mov eax, dword [ebp + 8]
mov ecx, dword [0x6754d4]
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], ecx
mov edx, dword [esi + 0x40]
lea eax, [ebp + 8]
push edx
push 0x668b00
push eax
mov byte [ebp - 4], 1
call fcn.00593b08
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x48]
add esp, 0xc
lea ecx, [ebp - 0x14]
push 4
push ecx
push 4
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0059ad3d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x508770
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 0x48]
sub esp, 8
test eax, eax
je 0x5087b5
lea ecx, [esp + 4]
lea edx, [esp]
push ecx
push edx
push 0
push 0
push 0x668b08
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5087b5
mov eax, dword [esp]
test eax, eax
setne al
add esp, 8
ret
xor al, al
add esp, 8
ret

Function at 0x5087c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bfc08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x10], esp
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x508865
mov eax, dword [0x6754d4]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x40]
lea edx, [ebp - 0x14]
push ecx
push 0x668b00
push edx
mov byte [ebp - 4], 1
call fcn.00593b08
mov edx, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
mov eax, dword [esi + 0x48]
push ecx
push ebx
push ebx
push edx
push eax
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x50885a
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0059ad3d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0059ad3d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x508bb0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bfc40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x48]
test eax, eax
je 0x508c94
mov eax, dword [esi + 0x40]
lea ecx, [ebp - 0x2c]
push eax
push 0x64eff4
push ecx
call fcn.0057f2ea
add esp, 0xc
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x2c]
push edx
mov edx, dword [esi + 0x48]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x14], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x508c60
push eax
lea eax, [ebp - 0x170]
push 0x667878
push eax
call fcn.0057f2ea
add esp, 0xc
lea ecx, [ebp - 0x170]
push ecx
mov ecx, esi
call fcn.00508590
mov eax, dword [esi + 0x38]
test eax, eax
je 0x508c54
mov edx, dword [eax + 0x40]
mov dword [ebp - 0x20], edx
jmp 0x508c5a
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x40]
mov dword [ebp - 0x24], ecx
mov edx, dword [esi + 0x24]
push 1
push 0
push 0
push edx
call fcn.00581190
mov ecx, dword [esi + 0x1c]
xor edi, edi
add eax, ecx
mov ecx, dword [esi + 0x48]
adc edx, edi
push 0x10
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
push edx
push edi
lea eax, [ebp - 0x2c]
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5092d0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bfcd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x498
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [esi + 0xac]
mov ecx, 1
cmp eax, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x29c], edi
mov dword [ebp - 0x2a0], ecx
mov dword [ebp - 0x4a4], ebx
je 0x509342
mov edx, dword [eax]
mov dword [ebp - 0x2a0], 2
mov dword [ebp - 0x298], edx
mov edx, dword [eax]
mov dword [ebp - 0x4a0], edx
mov dword [ebp - 0x4a4], ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
neg eax
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x4a4]
sbb eax, eax
push edx
and eax, ecx
lea edx, [ebp - 0x2a0]
push eax
push ebx
lea eax, [edi + 1]
push edx
push eax
mov dword [ebp - 0x18], ebx
call sub.WSOCK32.dll_select
cmp eax, 0xffffffff
jne 0x5093c0
call sub.WSOCK32.dll_WSAGetLastError
mov ebx, eax
push edi
push ebx
lea ecx, [ebp - 0x9c]
push 0x668c7c
push ecx
call fcn.0057f2ea
add esp, 0x10
lea edx, [ebp - 0x9c]
mov ecx, esi
push edx
call fcn.00508d80
mov eax, dword [0x67b0d4]
mov ecx, dword [esi + 0x6c]
push eax
call fcn.0050c130
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, ebx
jne 0x509439
cmp dword [ebp + 0xc], ebx
je 0x5093e8
mov ecx, dword [0x67b0cc]
push ecx
mov ecx, dword [esi + 0x6c]
call fcn.0050c130
mov edx, dword [0x67b0cc]
push 1
push edx
mov ecx, esi
call fcn.00508cb0
mov eax, 0x7532
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0xac]
cmp eax, ebx
je 0x509487
mov edx, dword [eax]
lea ecx, [ebp - 0x4a4]
push ecx
push edx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x50946f
mov ecx, dword [esi + 0xac]
lea eax, [ebp - 0x2a0]
push eax
mov edx, dword [ecx]
push edx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x509487
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x50b0d0
Capabilities:
Get disk size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bfdb8
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov edx, eax
or edx, ecx
je 0x50b116
mov ebp, dword [edi + 0x38]
mov ebx, dword [edi + 0x3c]
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
sub eax, ebp
sbb ecx, ebx
sub eax, esi
sbb ecx, edx
mov ebp, eax
mov dword [esp + 0x38], ecx
jmp 0x50b123
mov ebp, 0x2da0
mov dword [esp + 0x38], 0
mov ecx, dword [edi + 0x80]
push 0
push 0
lea eax, [esp + 0x34]
mov edx, dword [ecx + 0x30]
push 0
push eax
push edx
call fcn.0057f69a
add esp, 0x14
push 0x6686bc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x50b166
push 0x669008
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x50b16a
mov ecx, 1
jmp 0x50b16c
mov eax, dword [esp + 0x1c]
xor ecx, ecx
or esi, 0xffffffff
or ebx, 0xffffffff
test ecx, ecx
je 0x50b19a
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x34]
push ecx
push edx
call eax
test eax, eax
je 0x50b1cd
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
jmp 0x50b1cd
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x50b1cd
mov esi, dword [esp + 0x10]
imul esi, dword [esp + 0x14]
imul esi, dword [esp + 0x1c]
xor ebx, ebx
mov edx, dword [esp + 0x38]
push 0
push 0xa
push edx
push ebp
call fcn.00580720
add eax, ebp
mov ebp, dword [esp + 0x38]
adc edx, ebp
cmp ebx, edx
jg 0x50b26f
jl 0x50b1f2
cmp esi, eax
ja 0x50b26f
and esi, ebx
cmp esi, 0xffffffff
je 0x50b26f
mov eax, dword [0x6754d4]
mov dword [esp + 0x10], eax
mov edx, dword [0x67b114]
lea ecx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x50], 0
call fcn.00593b08
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0x50030
push 0x64f0d0
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x668fc4
mov ecx, edi
call fcn.00508d80
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.0059ad3d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x50d570
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c00bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x6754d4]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0xb0]
mov byte [ebp - 4], 2
cmp dword [ecx], 0
je 0x50d60e
mov edx, dword [esi + 0x80]
mov eax, dword [edx + 0x14]
cmp eax, 0x15
je 0x50d5da
push eax
lea eax, [ebp - 0x18]
push 0x66941c
push eax
call fcn.00593b08
add esp, 0xc
jmp 0x50d5e7
push 0x679a28
lea ecx, [ebp - 0x18]
call fcn.0059aec6
mov eax, dword [esi + 0x80]
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
push edx
push eax
push 0x669414
push ecx
call fcn.00593b08
mov eax, dword [0x6754d4]
add esp, 0x14
mov dword [ebp - 0x14], eax
mov edx, dword [0x67b008]
push 1
push edx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00508cb0
mov eax, dword [esi + 0xb0]
cmp dword [eax], 0
je 0x50d635
mov eax, dword [ebp - 0x1c]
jmp 0x50d655
mov ecx, dword [esi + 0x80]
mov edx, dword [ecx + 0xc]
lea ecx, [ebp - 0x24]
push edx
call fcn.0059adab
mov ebx, 1
mov dword [ebp - 0x20], ebx
mov eax, dword [eax]
mov byte [ebp - 4], 4
push 0x64fb50
push eax
lea eax, [ebp - 0x14]
push 0x669408
push eax
call fcn.00593b08
add esp, 0x10
mov dword [ebp - 4], 3
test bl, 1
je 0x50d680
lea ecx, [ebp - 0x24]
call fcn.0059ad3d
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.00508d80
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push 0x6693f8
dec ecx
push 0
push ecx
push edx
mov edx, dword [esi + 0x30cc]
push edx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00508e20
mov edi, eax
test edi, edi
je 0x50d700
mov eax, dword [esi + 0x30dc]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
mov dword [eax + 0xf8], edi
call fcn.0059ad3d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0059ad3d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.0059ad3d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
lea ecx, [esi + 0x30c0]
call fcn.0053fc30
mov ecx, esi
call fcn.00509a70
lea ecx, [ebp - 0x14]
mov dword [esi + 0x5c], 4
mov byte [ebp - 4], 2
call fcn.0059ad3d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0059ad3d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.0059ad3d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50d790
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c00d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0xb0]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
cmp dword [eax], ebx
je 0x50d8d8
cmp dword [eax + 0x114], ebx
je 0x50d8d8
mov eax, dword [0x6754d4]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x67b008]
push 1
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00508cb0
mov edx, dword [esi + 0xb0]
push 0x64fb50
lea ecx, [ebp - 0x14]
mov eax, dword [edx + 0x114]
push eax
push 0x669408
push ecx
call fcn.00593b08
mov edx, dword [ebp - 0x14]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00508d80
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x30cc]
push 0x669424
not ecx
dec ecx
push ebx
push ecx
push edx
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00508e20
mov edi, eax
cmp edi, ebx
je 0x50d87a
mov ecx, dword [esi + 0x30dc]
mov byte [ebp - 4], bl
mov dword [ecx + 0xf8], edi
lea ecx, [ebp - 0x14]
call fcn.0059ad3d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x14
lea ecx, [esi + 0x30c0]
call fcn.0053fc30
mov ecx, esi
call fcn.00509a70
lea ecx, [ebp - 0x14]
mov dword [esi + 0x5c], 4
mov byte [ebp - 4], bl
call fcn.0059ad3d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
or eax, 0xffffffff
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50d8f0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c00f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x6754d4]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [0x67b004]
push 1
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00508cb0
mov edx, dword [esi + 0x80]
push 0x64fb50
lea ecx, [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
push 0x669480
push ecx
call fcn.00593b08
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
push 0x669470
dec ecx
push ebx
push ecx
push edx
mov edx, dword [esi + 0x30cc]
push edx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00508e20
mov edi, eax
cmp edi, ebx
je 0x50d9b2
mov eax, dword [esi + 0x30dc]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
mov dword [eax + 0xf8], edi
call fcn.0059ad3d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 3
lea ecx, [esi + 0x30c0]
call fcn.0053fc30
mov ecx, esi
call fcn.00509a70
lea ecx, [ebp - 0x14]
mov dword [esi + 0x5c], 4
mov byte [ebp - 4], bl
call fcn.0059ad3d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0xb0]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
cmp dword [eax], ebx
je 0x50db6d
cmp dword [eax + 0x118], ebx
je 0x50db6d
mov eax, dword [0x6754d4]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x67b004]
push 1
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00508cb0
mov edx, dword [esi + 0xb0]
push 0x64fb50
lea ecx, [ebp - 0x14]
mov eax, dword [edx + 0x118]
push eax
push 0x669480
push ecx
call fcn.00593b08
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
push 0x66948c
dec ecx
push ebx
push ecx
push edx
mov edx, dword [esi + 0x30cc]
push edx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00508e20
mov edi, eax
cmp edi, ebx
je 0x50db0f
mov eax, dword [esi + 0x30dc]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
mov dword [eax + 0xf8], edi
call fcn.0059ad3d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x15
lea ecx, [esi + 0x30c0]
call fcn.0053fc30
mov ecx, esi
call fcn.00509a70
lea ecx, [ebp - 0x14]
mov dword [esi + 0x5c], 4
mov byte [ebp - 4], bl
call fcn.0059ad3d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
or eax, 0xffffffff
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50de90
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x67aff0]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push 1
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.00508cb0
push 0x64fb50
lea ecx, [ebp - 0x128]
push 0x6695a4
push ecx
call fcn.0057f2ea
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x30cc]
push 0x669598
not ecx
dec ecx
push 0
lea edx, [ebp - 0x128]
push ecx
push edx
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00508e20
test eax, eax
je 0x50df3a
mov ecx, dword [esi + 0x30dc]
mov dword [ecx + 0xf8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
lea ecx, [esi + 0x30c0]
call fcn.0053fc30
mov ecx, esi
call fcn.00509a70
mov dword [esi + 0x5c], 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50f160
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x67afc0]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push 1
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.00508cb0
mov ebx, dword [ebp + 8]
push 0x64fb50
push ebx
lea ecx, [ebp - 0x128]
push 0x6698a8
push ecx
call fcn.0057f2ea
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x30cc]
push 0x66989c
not ecx
dec ecx
push 0
lea edx, [ebp - 0x128]
push ecx
push edx
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00508e20
test eax, eax
je 0x50f210
mov ecx, dword [esi + 0x30dc]
mov dword [ecx + 0xf8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [ebx], 0x41
jne 0x50f219
push 0x11
jmp 0x50f21b
push 7
lea ecx, [esi + 0x30c0]
call fcn.0053fc30
mov ecx, esi
call fcn.00509a70
mov dword [esi + 0x5c], 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0220
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x67afb4]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push 1
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.00508cb0
mov al, byte [esi + 0x90]
test al, al
mov eax, dword [ebp + 8]
je 0x50f3f5
mov ecx, dword [ebp + 0xc]
add eax, 0x30
adc ecx, 0
jmp 0x50f3f8
mov ecx, dword [ebp + 0xc]
push 0x64fb50
push ecx
push eax
lea ecx, [ebp - 0x128]
push 0x669948
push ecx
call fcn.0057f2ea
add esp, 0x14
lea edx, [ebp - 0x128]
mov ecx, esi
push edx
call fcn.00508d80
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
push 0x66993c
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
push ecx
mov ecx, dword [esi + 0x30cc]
lea eax, [ebp - 0x128]
push eax
push ecx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00508e20
test eax, eax
je 0x50f477
mov edx, dword [esi + 0x30dc]
mov dword [edx + 0xf8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0xa
lea ecx, [esi + 0x30c0]
call fcn.0053fc30
mov ecx, esi
call fcn.00509a70
mov dword [esi + 0x5c], 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x50f960
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0290
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x80]
mov dword [ebp - 4], 0
cmp dword [eax + 0x28], 2
jne 0x50f9ac
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x669a48]
mov dx, word [0x669a4c]
mov al, byte [0x669a4e]
mov dword [ebp - 0x1c], ecx
push 0x669a38
mov ecx, esi
mov word [ebp - 0x18], dx
mov byte [ebp - 0x16], al
call fcn.00508d80
lea edi, [ebp - 0x1c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x30cc]
repne scasb al, byte es:[edi]
not ecx
push 0x669a2c
dec ecx
push 0
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push edx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00508e20
test eax, eax
je 0x50fa22
mov ecx, dword [esi + 0x30dc]
mov dword [ecx + 0xf8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0050ca80
mov byte [esi + 0x30e4], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret