joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ca60
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.0044cdb0
push 0
push 0
push 0
push 0
push 0x4000
lea ecx, [esi + 0x28]
call fcn.0044ed90
cmp eax, 1
je 0x44ca86
xor eax, eax
pop esi
ret
push edi
mov edi, dword [0x4ab234]
mov dword [esi + 0x14], 1
call edi
mov dword [esi + 0xc], eax
call edi
push 0
push 0
push esi
push 0x44c480
push 0
push 0
mov dword [esi + 0x10], eax
call dword [0x4ab4c0]
xor ecx, ecx
add esp, 0x18
cmp ecx, eax
mov dword [esi], eax
sbb eax, eax
pop edi
neg eax
pop esi
ret
Function at 0x44e2f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a88a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
mov ebx, ecx
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 4], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 8], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
push ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
push esi
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], edx
mov ebp, dword [0x4ab1c4]
lea eax, [esp + 0x28]
mov dword [esp + 0x78], edx
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call ebp
push eax
call dword [0x4ab1b4]
mov esi, dword [esp + 0x80]
mov ecx, 0xc
lea edi, [esp + 0x40]
push 0xffffffffffffffff
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x5c]
push 1
push ecx
push 3
call dword [0x4ab1b8]
cmp eax, 3
jae 0x44e429
mov ecx, dword [ebx + 0x84]
test ecx, ecx
je 0x44e3ab
mov edx, dword [ecx]
lea eax, [esp + 0x40]
push eax
push 1
call dword [edx]
mov eax, dword [ebx + 0x80]
test eax, eax
jne 0x44e3e9
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x44]
lea esi, [esp + 0x40]
lea edi, [eax + eax*2]
shl edi, 4
add edi, ecx
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x58]
mov edi, dword [ebx + 0x50]
inc ecx
mov eax, ecx
sub eax, edi
neg eax
sbb eax, eax
and eax, ecx
mov dword [ebx + 0x58], eax
mov eax, dword [ebx + 0x4c]
inc eax
mov dword [ebx + 0x4c], eax
mov ecx, dword [ebx + 0x84]
test ecx, ecx
je 0x44e3ff
mov edx, dword [ecx]
lea eax, [esp + 0x40]
push eax
push 1
call dword [edx + 4]
mov ecx, dword [ebx + 0x34]
push 0
push 1
push ecx
call dword [0x4ab1bc]
mov edx, dword [ebx + 0x2c]
push edx
call dword [0x4ab1c0]
mov edx, dword [ebx + 0x80]
xor eax, eax
test edx, edx
sete al
cmp eax, 1
je 0x44e453
mov eax, dword [ebx + 0x4c]
push eax
push str._CTaskMgr::__sendmsg_knl__send_fail__current_load:__d
push 0x4ccc50
call fcn.00450030
mov eax, dword [ebx + 0xa0]
add esp, 0xc
inc eax
mov dword [ebx + 0xa0], eax
xor eax, eax
jmp 0x44e4d9
lea ecx, [esp + 0x38]
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
push eax
call dword [0x4ab1b4]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
sub edx, edi
mov edi, dword [esp + 0x38]
sbb eax, esi
mov esi, dword [esp + 0x3c]
sub edx, ecx
push 0
sbb eax, ebp
add edx, edi
adc eax, esi
push 0x2710
push eax
push edx
call fcn.0049d5b0
cmp eax, 0x32
jb 0x44e4d4
mov ecx, dword [ebx + 0x4c]
push ecx
push eax
mov eax, dword [esp + 0x88]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
push str._CTaskMgr::__sendmsg_knl__type:_d__taskid:_d__cost:_dms__queue:_d.
push 0x4ccc50
call fcn.0044ffc0
add esp, 0x18
mov eax, 1
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
Function at 0x450710
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0x14]
push edi
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [ebp + 4]
mov dword [esp + 0x20], edi
call fcn.00452e80
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
cmp eax, ecx
je 0x4508a1
mov eax, dword [eax + 0x10]
xor esi, esi
cmp eax, esi
je 0x4508a1
cmp dword [eax + 0x44], esi
je 0x4508a1
push 0x10
call fcn.0049d300
mov ebx, eax
add esp, 4
cmp ebx, esi
je 0x4508a1
mov dl, byte [esp + 0x18]
push edi
mov ecx, ebp
mov byte [ebx], dl
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
call fcn.00451610
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, ebx
push edi
mov dword [esp + 0x20], edi
call dword [0x4ab264]
test al, al
je 0x4507c1
mov ecx, edi
mov edi, dword [ebx + 4]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov byte [eax + ecx], 0
mov eax, dword [ebp + 0x74]
test eax, eax
jne 0x45081c
push 0
push 0
push 0
push 0
push 0x4000
lea ecx, [ebp + 0x14]
call fcn.004529b0
cmp eax, 1
jne 0x4508a1
push 0
push 0
push 0
push 0
mov dword [ebp + 0x7c], eax
call dword [0x4ab15c]
push 0
push 0
push ebp
push 0x4508b0
push 0
push 0
mov dword [ebp + 0x78], eax
call dword [0x4ab4c0]
add esp, 0x18
mov dword [ebp + 0x74], eax
test eax, eax
je 0x4508a1
push 0xffffffffffffffff
lea edx, [ebp + 0x48]
push 1
push edx
push 3
mov dword [esp + 0x28], ebx
call dword [0x4ab1b8]
cmp eax, 3
jae 0x4508a1
mov ecx, dword [ebp + 0x70]
test ecx, ecx
je 0x450847
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
push 1
call dword [eax]
mov eax, dword [ebp + 0x6c]
test eax, eax
jne 0x450876
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x30]
mov edx, dword [esp + 0x18]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp + 0x44]
mov edi, dword [ebp + 0x3c]
inc ecx
mov eax, ecx
sub eax, edi
neg eax
sbb eax, eax
and eax, ecx
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x38]
inc eax
mov dword [ebp + 0x38], eax
mov ecx, dword [ebp + 0x70]
test ecx, ecx
je 0x450889
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
push 1
call dword [eax + 4]
mov eax, dword [ebp + 0x20]
push 0
push 1
push eax
call dword [0x4ab1bc]
mov ecx, dword [ebp + 0x18]
push ecx
call dword [0x4ab1c0]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x454840
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4a8b06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x454877
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [0x4c1e50]
push ebp
or ebp, 0xffffffff
cmp eax, ebx
push edi
jne 0x45493c
mov ax, word [0x4c207c]
mov word [0x4cce38], ax
push 0x34
call fcn.0049d300
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x1c], ebx
je 0x4548b4
mov ecx, eax
call fcn.00472cd0
jmp 0x4548b6
xor eax, eax
mov dword [esi + 0x14], eax
mov cx, word [0x4cce38]
push ecx
push esi
mov ecx, eax
mov dword [esp + 0x24], ebp
call fcn.00472d40
mov edi, eax
cmp edi, ebx
jne 0x45492a
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x454908
mov edx, dword [eax + 0x10]
push edx
push str._TcpListening__Err:__d
push 0x4ccc50
call fcn.0044ff50
mov ecx, dword [esi + 0x14]
add esp, 0xc
call fcn.00472da0
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x454905
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x14], ebx
call fcn.00455e00
mov word [0x4cce38], ax
mov eax, dword [esi + 0xc4]
cmp eax, ebx
lea ecx, [eax - 1]
mov dword [esi + 0xc4], ecx
jne 0x454895
cmp edi, ebx
mov dword [esi + 0xc4], 5
jne 0x454a10
mov edx, dword [0x4cd15c]
shr edx, 0x18
add edx, 0x2710
mov word [0x4cce38], dx
push 0x34
call fcn.0049d300
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x1c], 1
je 0x454975
mov ecx, eax
call fcn.00472cd0
jmp 0x454977
xor eax, eax
mov dword [esi + 0x14], eax
mov cx, word [0x4cce38]
push ecx
push esi
mov ecx, eax
mov dword [esp + 0x24], ebp
call fcn.00472d40
mov edi, eax
cmp edi, ebx
jne 0x4549ef
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x4549c9
mov edx, dword [eax + 0x10]
push edx
push str._TcpListening__Err:__d
push 0x4ccc50
call fcn.0044ff50
mov ecx, dword [esi + 0x14]
add esp, 0xc
call fcn.00472da0
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x4549c6
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x14], ebx
call fcn.00455e00
mov word [0x4cce38], ax
mov eax, dword [esi + 0xc4]
cmp eax, ebx
lea ecx, [eax - 1]
mov dword [esi + 0xc4], ecx
jne 0x454952
cmp edi, ebx
je 0x454a10
cmp dword [0x4ce98c], ebx
je 0x454a10
push ebx
push ebx
push esi
push 0x454ca0
push ebx
push ebx
call dword [0x4ab4c0]
add esp, 0x18
mov dword [esi + 0xc8], eax
mov edx, dword [0x4c1e50]
xor eax, eax
mov ax, word [0x4cce38]
push edx
push eax
push str._TcpListening__Port__u__NatType__d
push 0x4ccc50
call fcn.0044ff50
add esp, 0x10
cmp edi, ebx
jne 0x454a52
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x454a52
call fcn.00472da0
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x454a4f
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x14], ebx
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4558b0
Capabilities:
Get mac address on windows

Disassembly:
mov eax, 0x190c
call fcn.0049d320
push ebp
mov ebp, dword [esp + 0x1914]
test ebp, ebp
push esi
je 0x455918
lea eax, [esp + 8]
lea ecx, [esp + 0x14]
push eax
push ecx
lea esi, [esp + 0x1c]
mov dword [esp + 0x10], 0x1900
call fcn.0049dac2
test eax, eax
jne 0x455918
lea edx, [esp + 0x14]
test edx, edx
je 0x455918
mov eax, dword [esi + 0x190]
xor ecx, ecx
cmp eax, 6
jne 0x455912
xor eax, eax
xor edx, edx
mov dl, byte [esi + eax + 0x194]
add ecx, edx
inc eax
cmp eax, 6
jb 0x4558fd
test ecx, ecx
jne 0x455923
mov esi, dword [esi]
test esi, esi
jne 0x4558ee
pop esi
xor al, al
pop ebp
add esp, 0x190c
ret
push ebx
push edi
call dword [0x4ab234]
mov ebx, dword [0x4ab3c0]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x16]
add eax, ecx
add word [esi + 0x194], ax
mov byte [ebp], 0
xor edi, edi
xor edx, edx
mov dl, byte [esi + edi + 0x194]
push edx
push ebp
push str._s_02X
push ebp
call ebx
add esp, 0x10
inc edi
cmp edi, 6
jb 0x455948
pop edi
pop ebx
pop esi
mov al, 1
pop ebp
add esp, 0x190c
ret

Function at 0x455980
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x4a8b38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push esi
lea eax, [esp + 8]
push edi
push eax
call dword [0x4ab190]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [0x4c1e54]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push str.360P_04d_012I64X
push ecx
call dword [0x4ab3c0]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, 5
lea esi, [esp + 0x28]
mov edi, 0x4cd160
add esp, 0x14
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x54]
mov dword [esp + 8], 0x67452301
lea esi, [eax + edx]
call fcn.00473bb0
push 0x432aff97
push 5
push esi
push 0x10325476
push 0x98badcfe
lea ecx, [esp + 0x1c]
push 0xefcdab89
push ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0xd4], 0
call fcn.00473010
push 0x2441453
push 0x14
push esi
push 0x10325476
push 0x98badcfe
lea edx, [esp + 0x1c]
push 0xefcdab89
push edx
lea ecx, [esp + 0x70]
call fcn.00473060
push 0xf57c0faf
push 0x10
push esi
push 0x10325476
push 0x98badcfe
lea eax, [esp + 0x1c]
push 0xefcdab89
push eax
lea ecx, [esp + 0x70]
call fcn.004730b0
push 0x4bdecfa9
push 0x16
push esi
push 0x10325476
push 0x98badcfe
lea ecx, [esp + 0x1c]
push 0xefcdab89
push ecx
lea ecx, [esp + 0x70]
call fcn.004730f0
mov ecx, dword [esp + 8]
pop edi
mov eax, ecx
pop esi
shr eax, 0x10
xor eax, ecx
mov cx, ax
shr cx, 0xc
cmp cl, 9
jbe 0x455ab4
add cl, 0x37
jmp 0x455ab7
add cl, 0x30
mov byte [0x4cd168], cl
xor ecx, ecx
mov cl, ah
and cl, 0xf
cmp cl, 9
jbe 0x455ace
add cl, 0x37
jmp 0x455ad1
add cl, 0x30
mov byte [0x4cd169], cl
mov cl, al
shr cl, 4
and cl, 0xf
cmp cl, 9
jbe 0x455ae9
add cl, 0x37
jmp 0x455aec
add cl, 0x30
and al, 0xf
mov byte [0x4cd16a], cl
cmp al, 9
jbe 0x455afc
add al, 0x37
jmp 0x455afe
add al, 0x30
mov ecx, dword [esp + 0xa8]
mov byte [0x4cd16b], al
mov dword fs:[0], ecx
add esp, 0xb4
ret
Function at 0x455bc0
Capabilities:
Resolve dns

Disassembly:
push ebp
push 0
call dword [0x4ab74c]
mov ebp, eax
test ebp, ebp
jne 0x455bd1
pop ebp
ret
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
mov ecx, dword [eax]
push edi
test ecx, ecx
je 0x455c1a
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax]
push ecx
call fcn.00455c50
add esp, 4
test al, al
je 0x455bfd
mov eax, dword [ebp + 0xc]
inc ebx
cmp dword [eax + ebx*4], 0
jne 0x455bdf
jmp 0x455c1a
movsx ecx, word [ebp + 0xa]
mov edx, dword [ebp + 0xc]
mov eax, ecx
mov edi, 0x4cd15c
mov esi, dword [edx + ebx*4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0xc]
cmp dword [eax + ebx*4], 0
jne 0x455c3c
movsx ecx, word [ebp + 0xa]
mov esi, dword [eax]
mov edx, ecx
mov edi, 0x4cd15c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
ret

Function at 0x4562f0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x480c
call fcn.0049d320
mov eax, dword [esp + 0x4818]
push esi
cmp eax, 0x60
push edi
jb 0x4563e7
mov ax, word [0x4cb5ac]
mov ecx, 0xfff
mov word [esp + 0x814], ax
xor eax, eax
lea edi, [esp + 0x816]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x4cce94]
test eax, eax
jne 0x45633a
mov eax, dword [0x4ab338]
mov esi, dword [esp + 0x4818]
mov edi, dword [0x4ab4ac]
push esi
push eax
lea ecx, [esp + 0x1c]
push str._s_s
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4563e7
cmp eax, 0x2000
ja 0x4563e7
lea ecx, [esp + 0x814]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4563e7
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
lea ecx, [esp + 0x81c]
push 0x4bc6f8
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4563e7
mov eax, dword [esp + 8]
xor edx, edx
mov dx, word [eax + 0xc]
mov ecx, dword [eax + 0xc]
push edx
xor edx, edx
mov dx, word [eax + 8]
mov eax, dword [eax + 8]
shr ecx, 0x10
push ecx
mov ecx, dword [esp + 0x4824]
shr eax, 0x10
push edx
push eax
push str._d._d._d._d
push ecx
call edi
add esp, 0x18
mov eax, 1
pop edi
pop esi
add esp, 0x480c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x480c
ret

Function at 0x456400
Capabilities:
Get networking parameters

Disassembly:
mov eax, 0x1004
call fcn.0049d320
push edi
mov edi, dword [esp + 0x100c]
test edi, edi
jne 0x456420
xor eax, eax
pop edi
add esp, 0x1004
ret
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
mov byte [edi], 0
mov dword [esp + 0xc], 0x400
call fcn.0049dabc
test eax, eax
je 0x456448
xor eax, eax
pop edi
add esp, 0x1004
ret
lea edx, [esp + 0x114]
push esi
test edx, edx
lea esi, [esp + 0x118]
je 0x456479
push ebx
mov ebx, dword [0x4ab3c0]
lea eax, [esi + 4]
push eax
push edi
push str._s__s
push edi
call ebx
mov esi, dword [esi]
add esp, 0x10
test esi, esi
jne 0x456462
pop ebx
pop esi
mov eax, 1
pop edi
add esp, 0x1004
ret
Function at 0x456e80
Capabilities:
Connect socket
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header
Set socket configuration

Disassembly:
sub esp, 0x418
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
push 1
push 2
call dword [0x4ab7b4]
mov esi, eax
cmp esi, ebp
jge 0x456eaa
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x418
ret
xor eax, eax
push 0x50
mov dword [esp + 0x1c], eax
mov word [esp + 0x1c], 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call dword [0x4ab774]
mov ecx, dword [0x4cd158]
lea edx, [esp + 0x18]
push 0x10
push edx
push esi
mov word [esp + 0x26], ax
mov dword [esp + 0x28], ecx
call dword [0x4ab764]
test eax, eax
jge 0x456f00
push esi
call dword [0x4ab760]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x418
ret
mov edi, dword [0x4ab75c]
lea eax, [esp + 0x14]
push 4
push eax
push 0x1006
push 0xffff
push esi
mov dword [esp + 0x28], 0x2710
call edi
lea ecx, [esp + 0x10]
push 4
push ecx
push 0x80
push 0xffff
push esi
mov word [esp + 0x24], bp
mov word [esp + 0x26], bp
call edi
mov edx, dword [esp + 0x42c]
lea eax, [esp + 0x34]
push edx
push str.Host:
push str.GET__index.html_HTTP_1.0_r_n
push str._s_s_s
push eax
mov word [esp + 0x3c], 0x2324
mov word [esp + 0x3e], bp
mov dword [esp + 0x40], ebp
call dword [0x4ab3c0]
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
xor edi, edi
mov dword [esp + 0x30], ecx
lea ebx, [ecx + 0xc]
cmp ebx, ebp
jle 0x456faf
mov ecx, ebx
push ebp
sub ecx, edi
lea edx, [esp + edi + 0x2c]
push ecx
push edx
push esi
call dword [0x4ab758]
cmp eax, ebp
jle 0x456eec
add edi, eax
cmp edi, ebx
jl 0x456f8f
mov edi, str.Server:
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.HTTP_1.0_200_OK_r_n
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor edi, edi
add ebp, ecx
lea ebx, [ebp + 0x2c]
test ebx, ebx
jle 0x456ff9
mov eax, ebx
push 0
sub eax, edi
lea ecx, [esp + edi + 0x2c]
push eax
push ecx
push esi
call dword [0x4ab754]
test eax, eax
jle 0x456eec
add edi, eax
cmp edi, ebx
jl 0x456fd8
push esi
call dword [0x4ab760]
mov eax, dword [esp + ebp + 0x34]
lea esi, [esp + ebp + 0x34]
test eax, eax
jne 0x457019
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x418
ret
mov edi, dword [esp + 0x430]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x418
ret
Function at 0x4571d0
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp edi, ebx
jne 0x4571eb
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0xc
cmp dword [esp + 0x20], ebx
jne 0x4571fc
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0xc
push 0x1c
call fcn.0049d300
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0xc], esi
je 0x4571f1
mov al, byte [esp + 0x18]
push ebp
lea ebp, [esi + 0xc]
or ecx, 0xffffffff
mov byte [ebp], al
xor eax, eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x45723b
call dword [0x4ab304]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x457261
mov al, byte [ecx - 1]
test al, al
je 0x457261
cmp al, 0xff
je 0x457261
test ebx, ebx
jne 0x457287
dec al
push ebx
mov byte [ecx - 1], al
mov ecx, ebp
call dword [0x4ab28c]
jmp 0x4572b5
test ebx, ebx
jne 0x457271
push 1
mov ecx, ebp
call dword [0x4ab28c]
jmp 0x4572b5
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x45727d
cmp eax, ebx
jae 0x457290
push 1
mov ecx, ebp
call dword [0x4ab28c]
push ebx
mov ecx, ebp
call dword [0x4ab290]
mov esi, dword [esp + 0x1c]
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov esi, dword [esp + 0x10]
mov dword [ebp + 8], ebx
mov byte [eax + ebx], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi], ecx
lea ecx, [esp + 0x14]
xor eax, eax
push ecx
push eax
push esi
push 0x457040
push eax
mov dword [esi + 4], edx
mov dword [esi + 8], eax
push eax
mov dword [esp + 0x2c], eax
call dword [0x4ab4c0]
add esp, 0x18
push eax
call dword [0x4ab11c]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 0xc

Function at 0x4585d0
Capabilities:
Create udp socket

Disassembly:
sub esp, 0x10
push edi
push 0x11
push 2
push 2
call dword [0x4ab7b4]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4585f0
or eax, eax
pop edi
add esp, 0x10
ret 8
xor eax, eax
push esi
mov esi, dword [0x4ab770]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
mov dword [esp + 0x10], eax
push eax
mov dword [esp + 0x18], eax
call esi
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
push ecx
call dword [0x4ab774]
mov word [esp + 0xa], ax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x45863d
cmp eax, 0x100007f
je 0x45863d
push eax
call esi
mov dword [esp + 0xc], eax
lea edx, [esp + 8]
push 0x10
push edx
push edi
call dword [0x4ab76c]
test eax, eax
pop esi
je 0x45865a
or eax, 0xffffffff
pop edi
add esp, 0x10
ret 8
mov eax, edi
pop edi
add esp, 0x10
ret 8
Function at 0x458a50
Capabilities:
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push edi
mov esi, ecx
call fcn.00459df0
cmp eax, 0xffffffff
je 0x458a7d
push 0x2735
call dword [0x4ab7b8]
mov dword [esi + 0x10], 0x2735
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
mov ecx, esi
call fcn.00458fe0
test eax, eax
jne 0x458aa4
push 0x276d
call dword [0x4ab7b8]
mov dword [esi + 0x10], 0x276d
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x458acc
mov edx, dword [esp + 0x28]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push edx
call dword [eax + 0x28]
pop edi
pop esi
add esp, 0x10
ret 0x10
mov eax, dword [esp + 0x20]
push 0
push eax
push 2
call dword [0x4ab7b4]
cmp eax, 0xffffffff
jne 0x458af3
call dword [0x4ab750]
mov dword [esi + 0x10], eax
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
push eax
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00458e10
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00459c30
test eax, eax
jne 0x458b28
call dword [0x4ab750]
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x10], eax
call dword [edx + 8]
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
mov eax, dword [esi + 0x24]
test eax, eax
je 0x458b50
mov eax, dword [esi + 8]
push 0x3f
add eax, 0x402
mov ecx, esi
push eax
call fcn.00459e00
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [0x4ab780]
test eax, eax
jne 0x458b0e
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x458b95
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x458bbd
push eax
mov word [esp + 0xc], 2
call dword [0x4ab770]
push edi
mov dword [esp + 0x10], eax
call dword [0x4ab774]
mov word [esp + 0xa], ax
lea eax, [esp + 8]
push 0x10
push eax
mov ecx, esi
call fcn.00458db0
test eax, eax
jne 0x458bbd
jmp 0x458b0e
push 0x10
push eax
mov ecx, esi
call fcn.00458db0
test eax, eax
jne 0x458bbd
call dword [0x4ab750]
mov dword [esi + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret 0x10

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

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x4598d8
mov edx, dword [esp + 0x28]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push edx
call dword [eax + 0x38]
pop esi
add esp, 0x10
ret 0x14
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 4], eax
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call dword [0x4ab770]
mov edx, dword [esp + 0x20]
mov dword [esp + 8], eax
push edx
call dword [0x4ab774]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov word [esp + 6], ax
lea eax, [esp + 4]
push 0x10
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [0x4ab794]
pop esi
add esp, 0x10
ret 0x14