joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d370
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544141
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x5f5618]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x12c]
call fcn.00421ac0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00424f50
push 0x5c
push 0x2f
lea ecx, [ebp - 0x12c]
call fcn.00425f60
push 0
push 1
lea ecx, [ebp - 0x12c]
push ecx
call fcn.0042bfd0
add esp, 0xc
lea ecx, [ebp - 0x1c4]
call fcn.0046ac30
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c8], 0
lea ecx, [ebp - 0x1c4]
call fcn.0046acb0
movzx edx, al
test edx, edx
je 0x42d42c
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x12c]
call fcn.004235a0
push eax
call fcn.0042da60
add esp, 8
movzx ecx, al
mov dword [ebp - 0x1c8], ecx
jmp 0x42d4a9
lea ecx, [ebp - 0x12c]
call fcn.00421c70
test eax, eax
jle 0x42d48d
lea ecx, [ebp - 0x2e4]
call fcn.00421ac0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2e4]
push edx
lea eax, [ebp - 0x12c]
push eax
call fcn.0042bbd0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x2e4]
call fcn.00422770
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x1c8], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2e4]
call fcn.00421b80
jmp 0x42d4a9
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x12c]
call fcn.00422770
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c8], 0
setne al
mov byte [ebp - 0x2e5], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c4]
call fcn.0046ac90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00421b80
mov al, byte [ebp - 0x2e5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00541cc8
mov esp, ebp
pop ebp
ret

Function at 0x42da60
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
pop ebp
ret
Function at 0x460610
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543b3b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x5f5618]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.00426ed0
movzx eax, byte [0x5f6bf1]
test eax, eax
jne 0x4606a8
push 0x200
push 0
push 0x5f6838
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x134], 0x100
lea ecx, [ebp - 0x134]
push ecx
push 0x5f6838
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jne 0x4606a1
push 0xa
push 0x599100
push 0x5f6838
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov byte [0x5f6bf1], 1
lea ecx, [ebp - 0x12c]
call fcn.00421ac0
mov dword [ebp - 4], 0
push 0x5f6838
lea ecx, [ebp - 0x12c]
call fcn.004240c0
lea ecx, [ebp - 0x12c]
call fcn.00424ab0
push eax
mov ecx, dword [ebp + 8]
call fcn.00428980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00421b80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00541cc8
mov esp, ebp
pop ebp
ret
Function at 0x461f50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0x14]
mov byte [eax], 0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
cmp dword [ebp + 0xc], 0
je 0x461f74
cmp dword [ebp + 8], 0
jne 0x461f93
cmp dword [ebp + 0x18], 0
je 0x461f8c
push str.NULL_buf_or_bufSize
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x18]
mov edx, dword [eax + 0x14]
call edx
xor al, al
jmp 0x46208d
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0xffffffff
je 0x462009
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x461ff4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x26
jne 0x461fd9
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
mov al, 1
jmp 0x46208d
cmp dword [ebp + 0x18], 0
je 0x461feb
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.00461760
xor al, al
jmp 0x46208d
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
jne 0x462002
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
mov al, 1
jmp 0x46208d
mov ecx, dword [ebp - 8]
cmp dword [ecx + 8], 0
je 0x462073
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call sub.MSVCR90.dll_fread
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
cmp eax, dword [ebp + 0xc]
jne 0x462040
mov al, 1
jmp 0x46208d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
push edx
call sub.MSVCR90.dll_ferror
add esp, 4
test eax, eax
je 0x462067
cmp dword [ebp + 0x18], 0
je 0x462061
mov ecx, dword [ebp + 0x18]
call fcn.00461690
xor al, al
jmp 0x46208d
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
mov al, 1
jmp 0x46208d
cmp dword [ebp + 0x18], 0
je 0x46208b
push str.No_file_is_open.
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
call eax
xor al, al
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4620a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call fcn.004619b0
movzx eax, al
test eax, eax
jne 0x4620d7
cmp dword [ebp + 0x18], 0
je 0x4620d0
push str.Failed_to_write_because_file_is_not_open.
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
call eax
xor al, al
jmp 0x462230
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x14], 0
je 0x4620f3
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [ebp - 8], 0x989680
mov eax, dword [ebp + 0xc]
or eax, dword [ebp + 0x10]
je 0x46222e
mov ecx, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x1c]
jl 0x46212b
jg 0x462123
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x20]
jbe 0x46212b
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
jmp 0x462131
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0xffffffff
je 0x4621a5
mov dword [ebp - 0xc], 0
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x46216d
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
je 0x4621a3
cmp dword [ebp + 0x18], 0
je 0x46219c
push 1
push str.WriteFileError
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x18]
mov edx, dword [eax + 0x24]
call edx
mov ecx, dword [ebp + 0x18]
call fcn.00461690
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x28]
call eax
xor al, al
jmp 0x462230
jmp 0x4621ee
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 8], 0
je 0x4621ee
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.MSVCR90.dll_fwrite
add esp, 0x10
cmp eax, 1
je 0x4621e8
cmp dword [ebp + 0x18], 0
je 0x4621e4
push str.fwrite_failed.
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
call eax
xor al, al
jmp 0x462230
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x14], 0
je 0x462229
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp + 0x14]
add ecx, dword [eax]
mov eax, dword [eax + 4]
adc eax, edx
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov dword [edx + 4], eax
jmp 0x4620fa
mov al, 1
mov esp, ebp
pop ebp
ret 0x14
Function at 0x46cee0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c518
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5f5618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jge 0x46cf12
xor al, al
jmp 0x46cf9f
cmp dword [ebp + 0x10], 0
jne 0x46cf1f
xor al, al
jmp 0x46cf9f
push str.getEntropy
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.004618a0
mov dword [ebp - 4], 0
mov byte [ebp - 0x1d], 0
call fcn.00460780
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x46cf61
mov byte [ebp - 0x1e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00461950
mov al, byte [ebp - 0x1e]
jmp 0x46cf9f
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x46cf7b
mov byte [ebp - 0x1d], 1
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dl, byte [ebp - 0x1d]
mov byte [ebp - 0x1f], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00461950
mov al, byte [ebp - 0x1f]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x46dba0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0045ff90
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.Sha2.0
cmp dword [ebp + 8], 0
jle 0x46dd62
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x180
jg 0x46dbf8
cmp dword [ebp - 0x18], 0x180
je 0x46dc98
cmp dword [ebp - 0x18], 0xa0
je 0x46dc0a
cmp dword [ebp - 0x18], 0x100
je 0x46dc51
jmp 0x46dd62
cmp dword [ebp - 0x18], 0x200
je 0x46dcfe
jmp 0x46dd62
mov dword [ebp - 4], 0
jmp 0x46dc1c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 5
jge 0x46dc38
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx*4 + 0x59aa70]
mov dword [ecx + eax*4 + 0xc], edx
jmp 0x46dc13
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x30], 0
jmp 0x46dd62
mov dword [ebp - 8], 0
jmp 0x46dc63
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 8
jge 0x46dc7f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x59ab88]
mov dword [ecx + eax*4 + 0xc], edx
jmp 0x46dc5a
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x30], 0
jmp 0x46dd62
mov dword [ebp - 0xc], 0
jmp 0x46dcaa
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jge 0x46dcd1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax*8 + 0x59aba8]
mov edx, dword [eax*8 + 0x59abac]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x14]
mov dword [esi + eax*8 + 0x34], ecx
mov dword [esi + eax*8 + 0x38], edx
jmp 0x46dca1
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x74], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x78], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x80], 0
jmp 0x46dd62
mov dword [ebp - 0x10], 0
jmp 0x46dd10
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 8
jge 0x46dd37
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax*8 + 0x59ae68]
mov edx, dword [eax*8 + 0x59ae6c]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov dword [esi + eax*8 + 0x34], ecx
mov dword [esi + eax*8 + 0x38], edx
jmp 0x46dd07
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x74], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x78], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x80], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x14]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x46e4b0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x180
jg 0x46e4f0
cmp dword [ebp - 0x18], 0x180
je 0x46e590
cmp dword [ebp - 0x18], 0xa0
je 0x46e502
cmp dword [ebp - 0x18], 0x100
je 0x46e549
jmp 0x46e65a
cmp dword [ebp - 0x18], 0x200
je 0x46e5f6
jmp 0x46e65a
mov dword [ebp - 4], 0
jmp 0x46e514
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 5
jge 0x46e530
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx*4 + 0x59aa70]
mov dword [ecx + eax*4 + 0xc], edx
jmp 0x46e50b
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x30], 0
jmp 0x46e65a
mov dword [ebp - 8], 0
jmp 0x46e55b
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 8
jge 0x46e577
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x59ab88]
mov dword [ecx + eax*4 + 0xc], edx
jmp 0x46e552
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x30], 0
jmp 0x46e65a
mov dword [ebp - 0xc], 0
jmp 0x46e5a2
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jge 0x46e5c9
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax*8 + 0x59aba8]
mov edx, dword [eax*8 + 0x59abac]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x14]
mov dword [esi + eax*8 + 0x34], ecx
mov dword [esi + eax*8 + 0x38], edx
jmp 0x46e599
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x74], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x78], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x80], 0
jmp 0x46e65a
mov dword [ebp - 0x10], 0
jmp 0x46e608
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 8
jge 0x46e62f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax*8 + 0x59ae68]
mov edx, dword [eax*8 + 0x59ae6c]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov dword [esi + eax*8 + 0x34], ecx
mov dword [esi + eax*8 + 0x38], edx
jmp 0x46e5ff
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x74], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x78], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x80], 0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x47a310
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0x10325476
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], 0xc3d2e1f0
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov esp, ebp
pop ebp
ret
Function at 0x47bee0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x484680
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xa4], 0xffffffff
jne 0x484698
jmp 0x4847a6
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x48471f
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0x1000
jb 0x48471f
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0x800000
ja 0x48471f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
shr edx, 0xc
shl edx, 0xc
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x48]
test edx, edx
je 0x4846fc
push 0x59c424
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
push 0x59c43c
mov ecx, dword [ebp + 8]
call fcn.00461550
push 4
mov eax, dword [ebp - 4]
add eax, 8
push eax
push 0x1001
push 0xffff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa4]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x4847a6
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xc], 0x1000
jb 0x4847a6
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0x800000
ja 0x4847a6
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
shr ecx, 0xc
shl ecx, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x48]
test ecx, ecx
je 0x484783
push 0x59c448
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x18]
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
push 0x59c460
mov ecx, dword [ebp + 8]
call fcn.00461550
push 4
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
push 0x1002
push 0xffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xa4]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esp, ebp
pop ebp
ret 4

Function at 0x4847b0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp + 8]
jne 0x4847c7
jmp 0x484856
cmp dword [ebp + 8], 0x1000
jae 0x4847d5
jmp 0x484856
cmp dword [ebp + 8], 0x800000
jbe 0x4847e5
mov dword [ebp + 8], 0x800000
mov edx, dword [ebp + 8]
shr edx, 0xc
shl edx, 0xc
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xa4], 0xffffffff
jne 0x484802
jmp 0x484856
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0x48]
test eax, eax
je 0x484833
push str.Setting_SO_SNDBUF_size
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
push str.sendBufSize
mov ecx, dword [ebp + 0xc]
call fcn.00461550
push 4
mov eax, dword [ebp - 4]
add eax, 8
push eax
push 0x1001
push 0xffff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa4]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esp, ebp
pop ebp
ret 8
Function at 0x484860
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp + 8]
jne 0x484877
jmp 0x484906
cmp dword [ebp + 8], 0x1000
jae 0x484885
jmp 0x484906
cmp dword [ebp + 8], 0x800000
jbe 0x484895
mov dword [ebp + 8], 0x800000
mov edx, dword [ebp + 8]
shr edx, 0xc
shl edx, 0xc
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xa4], 0xffffffff
jne 0x4848b2
jmp 0x484906
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0x48]
test eax, eax
je 0x4848e3
push str.Setting_SO_RCVBUF_size
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
push str.recvBufSize
mov ecx, dword [ebp + 0xc]
call fcn.00461550
push 4
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x1002
push 0xffff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa4]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esp, ebp
pop ebp
ret 8

Function at 0x484b40
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0xa4], 0xffffffff
jne 0x484b57
jmp 0x484b77
mov dword [ebp - 4], 1
lea ecx, [ebp - 4]
push ecx
push 0x8004667e
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xa4]
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esp, ebp
pop ebp
ret

Function at 0x484b80
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0xa4], 0xffffffff
jne 0x484b97
jmp 0x484bb7
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0x8004667e
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xa4]
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esp, ebp
pop ebp
ret

Function at 0x484bc0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xa4], 0xffffffff
jne 0x484bda
jmp 0x484c60
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x484c29
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0x48]
test eax, eax
je 0x484c0d
push str.Turning_on_TCP_NODELAY.
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
call eax
push 4
lea ecx, [ebp - 8]
push ecx
push 1
push 6
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xa4]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
jmp 0x484c60
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x48]
test edx, edx
je 0x484c46
push str.Turning_off_TCP_NODELAY.
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
call eax
push 4
lea ecx, [ebp - 4]
push ecx
push 1
push 6
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xa4]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esp, ebp
pop ebp
ret 8
Function at 0x484c70
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xa4], 0xffffffff
jne 0x484c89
xor al, al
jmp 0x484cdd
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x484cbe
push 4
lea edx, [ebp - 8]
push edx
push 8
push 0xffff
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xa4]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
jmp 0x484cdb
push 4
lea edx, [ebp - 4]
push edx
push 8
push 0xffff
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xa4]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov al, 1
mov esp, ebp
pop ebp
ret 8