joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bab1
Capabilities:
Initialize winsock library

Disassembly:
push ebx
push edi
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.0042087c
mov ecx, edi
call fcn.00420890
xor ebx, ebx
cmp eax, ebx
jge 0x41bad0
push eax
call fcn.004027e9
lea edi, [esi + 0x28]
mov ecx, edi
call fcn.0042087c
mov ecx, edi
call fcn.00420890
cmp eax, ebx
jl 0x41baca
or dword [esi + 0x40], 0xffffffff
mov dword [esi], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov byte [esi + 0x44], bl
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x2710
cmp dword [0x46ffd0], ebx
je 0x41bb1f
push 0x46fe40
push 2
call dword [0x45e23c]
mov dword [0x46ffd0], eax
pop edi
mov eax, esi
pop ebx
ret

Function at 0x41bc24
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
cmp byte [esi + 0x44], bl
je 0x41bc36
mov al, 1
jmp 0x41bca8
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
mov byte [ebp - 1], 1
jne 0x41bc46
xor al, al
jmp 0x41bca8
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [0x45e220]
test eax, eax
je 0x41bca2
call dword [0x45e224]
cmp eax, 0x2733
jne 0x41bc9c
push dword [esi + 0x4c]
push dword [esi + 0xc]
call dword [0x45e070]
test eax, eax
jne 0x41bc9f
push 0x2c
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.00428080
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push ebx
push dword [esi + 0x40]
call dword [0x45e240]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x41bca2
mov dword [esi + 0x48], eax
mov byte [ebp - 1], bl
mov al, byte [ebp - 1]
mov byte [esi + 0x44], al
pop ebx
leave
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
push dword [esi + 0x4c]
mov edi, dword [0x45e070]
push dword [esi + 0xc]
call edi
test eax, eax
je 0x41bcd4
mov dword [esi + 0x48], 0x2749
xor al, al
jmp 0x41bd7b
push ebx
xor ebx, ebx
push ebx
push dword [esi + 8]
call edi
cmp eax, 0x102
jne 0x41bcf2
mov dword [esi + 0x48], 0x2734
xor al, al
jmp 0x41bd7a
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
lea eax, [esi + 0x28]
push eax
mov dword [ebp - 4], eax
call dword [0x45e044]
mov eax, dword [esi + 8]
push eax
mov dword [ebp - 8], eax
call dword [0x45e24c]
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x40]
call dword [0x45e250]
test eax, eax
je 0x41bd3a
call dword [0x45e224]
cmp eax, 0x3e5
jne 0x41bd6c
push dword [esi + 0x4c]
push dword [esi + 8]
call edi
test eax, eax
jne 0x41bd6f
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x40]
mov dword [ebp + 0xc], ebx
call dword [0x45e258]
test eax, eax
je 0x41bd66
mov bl, 1
jmp 0x41bd6f
call dword [0x45e02c]
mov dword [esi + 0x48], eax
push dword [ebp - 4]
call dword [0x45e04c]
mov al, bl
pop ebx
pop edi
leave
ret 0xc
Function at 0x41bd80
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push dword [esi + 0x4c]
push dword [esi + 0xc]
call dword [0x45e070]
test eax, eax
je 0x41bda4
mov dword [esi + 0x48], 0x2749
xor al, al
jmp 0x41be6c
push ebx
xor ebx, ebx
push ebx
push dword [esi + 4]
call dword [0x45e070]
cmp eax, 0x80
jne 0x41bdc6
mov dword [esi + 0x48], 0x2734
xor al, al
jmp 0x41be6b
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [edi]
push 0x14
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
push ebx
push eax
mov dword [edi], ebx
mov dword [ebp - 4], ebx
call fcn.00428080
lea eax, [esi + 0x10]
add esp, 0xc
push eax
mov dword [ebp + 8], eax
call dword [0x45e044]
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x10], eax
call dword [0x45e24c]
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
push edi
push 1
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x40]
call dword [0x45e298]
test eax, eax
je 0x41be29
call dword [0x45e224]
cmp eax, 0x3e5
jne 0x41be5d
push dword [esi + 0x4c]
push dword [ebp - 0x10]
call dword [0x45e070]
test eax, eax
jne 0x41be60
lea eax, [ebp - 4]
push eax
push ebx
push edi
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x40]
mov dword [ebp - 4], ebx
call dword [0x45e258]
test eax, eax
je 0x41be57
mov bl, 1
jmp 0x41be60
call dword [0x45e02c]
mov dword [esi + 0x48], eax
push dword [ebp + 8]
call dword [0x45e04c]
mov al, bl
pop ebx
leave
ret 4
Function at 0x41bf5c
Capabilities:
Initialize winsock library

Disassembly:
push 0x1b0
mov eax, 0x45b95f
call fcn.0042a730
mov eax, dword [ebp + 8]
and dword [ebp - 0x1b8], 0
mov esi, ecx
mov dword [ebp - 0x1bc], esi
mov dword [ebp - 0x1a8], eax
call fcn.00401409
and dword [ebp - 4], 0
mov eax, dword [0x46ffec]
xor ebx, ebx
mov edi, 0x46ffec
inc ebx
mov ecx, edi
mov dword [ebp - 0x1b8], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 4], ebx
mov eax, dword [0x46ffec]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1b0], eax
xor ebx, ebx
push 0x18e
lea eax, [ebp - 0x1a2]
push ebx
mov byte [ebp - 4], 2
push eax
mov word [ebp - 0x1a4], bx
call fcn.00428080
add esp, 0xc
lea eax, [ebp - 0x1b4]
push eax
call fcn.0041c0e5
mov edi, esi
mov byte [ebp - 4], 3
call fcn.00401484
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1b4]
add eax, 0xfffffff0
call fcn.00402801
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x41c0bf
lea eax, [ebp - 0x1a4]
push eax
push 0x202
call dword [0x45e23c]
cmp eax, ebx
jne 0x41c0bf
push dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a8]
push eax
call fcn.0041c2af
lea edi, [ebp - 0x1ac]
mov byte [ebp - 4], 4
call fcn.00401484
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1a8]
add eax, 0xfffffff0
call fcn.00402801
mov ecx, dword [ebp - 0x1ac]
cmp dword [ecx - 0xc], ebx
je 0x41c0bf
lea eax, [ebp - 0x1b0]
push eax
call fcn.0041c638
cmp eax, ebx
jne 0x41c0bf
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x1a8]
push eax
call fcn.0041c1a7
mov edi, esi
mov byte [ebp - 4], 5
call fcn.00401484
mov eax, dword [ebp - 0x1a8]
add eax, 0xfffffff0
call fcn.00402801
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x41c0bf
push eax
call fcn.0041c154
call dword [0x45e238]
mov eax, dword [ebp - 0x1b0]
add eax, 0xfffffff0
call fcn.00402801
mov eax, dword [ebp - 0x1ac]
add eax, 0xfffffff0
call fcn.00402801
mov eax, esi
call fcn.0042a7b3
ret 4

Function at 0x41c520
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa0
mov eax, dword [0x46e3d4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
push 0x9a
lea eax, [ebp - 0x27]
push 0
push eax
mov byte [ebp - 0x28], 0
call fcn.00428080
add esp, 0xc
push 0x9b
lea eax, [ebp - 0x28]
push eax
xor esi, esi
call dword [0x45e254]
test eax, eax
jne 0x41c577
lea eax, [ebp - 0x28]
push eax
call dword [0x45e294]
test eax, eax
je 0x41c577
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov esi, dword [eax]
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004255db
add ebp, 0x78
leave
ret
Function at 0x41c589
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
xor esi, esi
mov dword [ebp - 4], 0x288
push dword [ebp - 4]
call fcn.00425343
mov edi, eax
test edi, edi
pop ecx
je 0x41c5d6
push dword [ebp - 4]
push 0
push edi
call fcn.00428080
add esp, 0xc
lea eax, [ebp - 4]
push eax
push edi
call fcn.00442c24
mov esi, eax
cmp esi, 0x6f
jne 0x41c5dc
push edi
call fcn.0042899f
pop ecx
xor edi, edi
inc ebx
cmp ebx, 2
jl 0x41c59f
test esi, esi
jne 0x41c623
test edi, edi
mov esi, edi
je 0x41c62e
push 6
lea eax, [esi + 0x10c]
push str.vmware
push eax
call fcn.00429b76
add esp, 0xc
test eax, eax
jne 0x41c608
mov esi, dword [esi]
test esi, esi
jne 0x41c5e6
jmp 0x41c623
push 8
add esi, 0x194
push esi
push dword [ebp + 8]
call fcn.00427c60
add esp, 0xc
mov dword [ebp - 8], 1
test edi, edi
je 0x41c62e
push edi
call fcn.0042899f
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41c797
Capabilities:
Encode data using xor

Disassembly:
push ebp
sub esp, 0x80
lea ebp, [esp - 4]
mov eax, dword [0x46e3d4]
xor eax, ebp
mov dword [ebp + 0x80], eax
push 0x1a4
mov eax, 0x45a851
call fcn.0042a6c7
mov eax, dword [ebp + 0x8c]
xor ebx, ebx
push 0x7f
mov dword [ebp - 0x14], eax
lea eax, [ebp + 1]
push ebx
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], 5
mov byte [ebp], bl
call fcn.00428080
add esp, 0xc
push 0x465fcc
lea esi, [ebp - 0xac]
call fcn.00405fd4
mov edi, dword [eax]
cmp edi, ebx
je 0x41c847
push edi
call fcn.00425b80
xor esi, esi
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
jle 0x41c847
lea eax, [ebp]
sub edi, eax
mov eax, esi
cdq
push 5
pop ebx
idiv ebx
lea ecx, [ebp + esi]
mov al, byte [ebp + edx*4 - 0x28]
xor al, byte [edi + ecx]
inc esi
cmp esi, dword [ebp - 0x10]
mov byte [ecx], al
jl 0x41c82c
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0xac], eax
je 0x41c861
push dword [ebp - 0xac]
call fcn.00427fc5
pop ecx
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x1b0], eax
call dword [section..data]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.004072cf
and dword [ebp - 4], 0
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1b0]
call fcn.0040141e
lea eax, [ebp - 0x1ac]
cmp dword [ebp - 0x1b0], eax
je 0x41c8b0
push dword [ebp - 0x1b0]
call fcn.00427fc5
pop ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x80]
xor ecx, ebp
call fcn.004255db
add ebp, 0x84
leave
ret
Function at 0x420a08
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x420a21
mov eax, dword [ebp - 4]
jmp 0x420afb
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x420ad6
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
nop
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x464a00]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x464a00]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x464a00]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x464a00]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x464a00]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x464a00]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x464a00]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x464a00]
dec ebp
jne 0x420a40
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x420af2
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x464a00]
dec ecx
jne 0x420ae0
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x420dbf
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x420dd7
mov eax, dword [esp + 4]
add eax, ecx
xor byte [eax], 0x88
inc ecx
cmp ecx, dword [esp + 8]
jl 0x420dc7
ret 8
Function at 0x421417
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x46e3d4]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x45ab98
call fcn.0042a6c7
xor ebx, ebx
push 0x206
lea eax, [ebp + 2]
mov esi, ecx
push ebx
mov dword [ebp - 0x18], ebx
push eax
mov dword [ebp - 0x1c], esi
mov word [ebp], bx
call fcn.00428080
add esp, 0xc
call fcn.00401409
xor edi, edi
inc edi
push edi
push 0x23
lea eax, [ebp]
push eax
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x18], edi
call dword [0x45e208]
cmp eax, ebx
lea eax, [ebp]
jne 0x4214df
push 0x104
push eax
call dword [0x45e08c]
cmp eax, ebx
je 0x421539
lea eax, [ebp]
push eax
push esi
call fcn.004014c5
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov eax, esi
call fcn.00404fea
mov dword [ebp - 4], edi
mov edi, 0x464e90
push edi
push eax
call fcn.00401c89
test eax, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
setne byte [ebp - 0xd]
add eax, 0xfffffff0
call fcn.00402801
cmp byte [ebp - 0xd], bl
je 0x4214d8
push edi
push esi
call fcn.0041d4ab
push str.All_UsersApplication_Data_
jmp 0x421520
push eax
push esi
call fcn.004014c5
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov eax, esi
call fcn.00404fea
mov edi, 0x464e90
push edi
push eax
mov dword [ebp - 4], 2
call fcn.00401c89
test eax, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
setne byte [ebp - 0xd]
add eax, 0xfffffff0
call fcn.00402801
cmp byte [ebp - 0xd], bl
je 0x421526
push edi
push esi
call fcn.0041d4ab
push str.KingsoftKISkich_
push esi
call fcn.0041d4ab
push dword [esi]
call fcn.00421c98
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004255db
add ebp, 0x20c
leave
ret

Function at 0x421b3f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x421bbe
push edi
mov edi, dword [0x45e010]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call edi
cmp dword [ebp - 8], 1
je 0x421b76
cmp dword [ebp - 8], 2
jne 0x421bbd
push esi
mov esi, dword [ebp + 0xc]
call fcn.00401517
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.00401709
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x421bb4
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov dword [ebp - 0xc], 1
mov esi, dword [ebp + 0xc]
call fcn.00405076
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8
Function at 0x423b4b
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x46e3d4]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 0x58
xor esi, esi
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.00428080
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], esi
push ebx
lea esi, [ebp - 0x64]
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
call fcn.00423bb1
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.00423c47
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.004255db
leave
ret

Function at 0x442c2a
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x46e3d4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [0x45e23c]
test eax, eax
jne 0x442c6b
cmp byte [ebp - 0x194], 2
jne 0x442c65
cmp byte [ebp - 0x193], 2
je 0x442c6e
call dword [0x45e238]
push 2
pop eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004255db
leave
ret

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

Disassembly:
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [0x45e25c]
cmp eax, 0xffffffff
jne 0x44a94c
call dword [0x45e224]
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, 0xffffffe7
add eax, 0x51
ret
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
xor eax, eax
ret

Function at 0x44aa6d
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esi + 0x164]
test ecx, ecx
je 0x44aa8d
push dword [esi + 0xf4]
push dword [esp + 0xc]
push dword [esp + 0xc]
push eax
push esi
call ecx
add esp, 0x14
ret
test eax, eax
jl 0x44aac6
cmp eax, 2
jg 0x44aac6
push dword [esi + 0xf0]
imul eax, eax, 3
push 1
add eax, 0x461878
push 2
push eax
call fcn.0045584d
push dword [esi + 0xf0]
push 1
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.0045584d
add esp, 0x20
xor eax, eax
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + eax*4 + 0x12c]
push edi
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [0x45e260]
mov edi, dword [ebp + 0x18]
and dword [edi], 0
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x44acfe
push ebx
call dword [0x45e224]
mov ebx, eax
cmp ebx, 0x2733
jne 0x44acd8
and dword [ebp + 8], 0
mov dword [edi], 0x51
jmp 0x44acfd
push ebx
push esi
call fcn.00453e3d
push eax
push str.Send_failure:__s
push dword [esi]
call fcn.0044abf8
mov eax, dword [esi]
mov dword [eax + 0x855c], ebx
add esp, 0x14
mov dword [edi], 0x37
pop ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret
Function at 0x44b3ad
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x46e3d4]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push ebx
push esi
mov esi, dword [ebp + 0x98]
cmp dword [esi + 0x198], 0
mov ebx, dword [esi]
push edi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x80], ebx
jne 0x44b4ca
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 0x9c]
mov edi, 0x80
mov dword [ebp - 0x7c], edi
call dword [0x45e278]
test eax, eax
je 0x44b42a
call dword [0x45e224]
mov edi, eax
push edi
push esi
call fcn.00453e3d
push eax
push edi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.0044abf8
add esp, 0x18
jmp 0x44b4d1
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x9c]
mov dword [ebp - 0x7c], edi
call dword [0x45e264]
test eax, eax
je 0x44b45d
call dword [0x45e224]
mov edi, eax
push edi
push esi
call fcn.00453e3d
push eax
push edi
push str.getsockname___failed_with_errno__d:__s
jmp 0x44b41c
lea edi, [esi + 0xc8]
lea ebx, [esi + 0x9a]
lea esi, [ebp - 0x74]
call fcn.0044b374
test eax, eax
jne 0x44b492
call dword [0x45e02c]
mov esi, eax
push esi
push dword [ebp - 0x78]
call fcn.00453e3d
push eax
push esi
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push dword [ebp - 0x80]
jmp 0x44b41d
mov eax, dword [ebp - 0x78]
lea edi, [eax + 0xfc]
lea ebx, [eax + 0xcc]
lea esi, [ebp + 0xc]
call fcn.0044b374
test eax, eax
jne 0x44b4c7
call dword [0x45e02c]
mov esi, eax
push esi
push dword [ebp - 0x78]
call fcn.00453e3d
push eax
push esi
push str.ssloc_inet_ntop___failed_with_errno__d:__s
jmp 0x44b48d
mov esi, dword [ebp - 0x78]
push esi
call fcn.0044b325
pop ecx
mov ecx, dword [ebp + 0x8c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004255db
add ebp, 0x90
leave
ret

Function at 0x44b4e9
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [edi]
mov eax, dword [esi + 0x308]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push 6
push dword [ebp + 8]
call dword [0x45e27c]
test eax, eax
jge 0x44b52e
call dword [0x45e224]
push eax
push edi
call fcn.00453e3d
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.0044ab85
add esp, 0x14
jmp 0x44b53b
push str.TCP_NODELAY_set_n
push esi
call fcn.0044ab85
pop ecx
pop ecx
pop esi
leave
ret
Function at 0x44b992
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x520]
cmp eax, 0xffffffff
push esi
je 0x44b9e5
mov ecx, dword [ecx + 0x514]
mov ecx, dword [ecx]
lea eax, [ecx + eax*4]
cmp dword [eax], 0
je 0x44b9e5
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov eax, dword [eax]
je 0x44b9bf
mov dword [ecx], eax
cmp dword [eax + 0x144], 0
mov esi, dword [eax + 0x12c]
jne 0x44b9e5
push 2
push 1
lea eax, [ebp + 0xb]
push eax
push esi
call dword [0x45e25c]
test eax, eax
je 0x44b9e5
mov eax, esi
jmp 0x44b9e8
or eax, 0xffffffff
pop esi
pop ebp
ret

Function at 0x44caba
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
and dword [eax], 0
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x45e248]
test eax, eax
mov dword [ebp - 8], eax
jne 0x44cc2c
push esi
mov esi, dword [ebp - 0x10]
test esi, esi
mov dword [ebp - 0xc], esi
je 0x44cc11
push ebx
push edi
jmp 0x44cb02
mov esi, dword [ebp - 0xc]
cmp dword [esi + 4], 2
jne 0x44cba5
cmp dword [esi + 0x18], 0
je 0x44cba5
mov eax, dword [esi + 0x10]
test eax, eax
jbe 0x44cba5
push 0x10
pop edi
cmp eax, edi
jb 0x44cba5
push 0x20
call dword [0x46f67c]
mov ebx, eax
xor eax, eax
cmp ebx, eax
pop ecx
je 0x44cbb5
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov ecx, dword [esi + 0xc]
push edi
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x1c], eax
call dword [0x46f67c]
test eax, eax
pop ecx
mov dword [ebx + 0x18], eax
je 0x44cbbe
mov esi, dword [esi + 0x18]
mov edi, eax
mov eax, dword [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x44cb8c
push eax
call dword [0x46f688]
test eax, eax
pop ecx
mov dword [ebx + 0x14], eax
je 0x44cbce
cmp dword [ebp - 4], 0
jne 0x44cb95
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44cb9f
mov dword [eax + 0x1c], ebx
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x14], ebx
mov esi, dword [esi + 0x1c]
test esi, esi
mov dword [ebp - 0xc], esi
jne 0x44caff
jmp 0x44cbe7
mov dword [ebp - 8], 8
jmp 0x44cbe7
push ebx
mov dword [ebp - 8], 8
call dword [0x46f680]
jmp 0x44cbe6
push dword [ebx + 0x18]
mov dword [ebp - 8], 8
call dword [0x46f680]
push ebx
call dword [0x46f680]
pop ecx
pop ecx
xor esi, esi
cmp dword [ebp - 0x10], esi
pop edi
pop ebx
je 0x44cbf9
push dword [ebp - 0x10]
call dword [0x45e244]
cmp dword [ebp - 8], esi
je 0x44cc0c
push dword [ebp - 4]
call fcn.0044ca7e
pop ecx
mov dword [ebp - 4], esi
jmp 0x44cc20
cmp dword [ebp - 4], esi
jne 0x44cc20
mov eax, 0x2af9
push eax
mov dword [ebp - 8], eax
call dword [0x45e234]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
pop esi
leave
ret
Function at 0x44cf7e
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x48
push 1
mov ebx, eax
mov edi, ecx
call dword [0x46f68c]
mov esi, eax
xor eax, eax
cmp esi, eax
pop ecx
pop ecx
mov dword [ebp - 4], 0xc
mov dword [edi + 0x3ac], esi
je 0x44d030
mov dword [edi + 0x3a4], eax
mov dword [edi + 0x3a8], eax
mov dword [edi + 0x3a0], eax
mov dword [edi + 0x39c], ebx
or dword [esi + 4], 0xffffffff
push ebx
push dword [ebp + 8]
mov dword [esi], eax
lea eax, [esi + 0x10]
call fcn.0044ce3a
test eax, eax
pop ecx
pop ecx
je 0x44d030
lea ebx, [edi + 0x398]
push dword [ebx]
call fcn.00443318
push dword [ebp + 8]
call dword [0x46f688]
test eax, eax
pop ecx
pop ecx
mov dword [ebx], eax
je 0x44d030
push 0
push 2
push 2
call dword [0x45e284]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x44d030
lea eax, [esi + 0x10]
push eax
push 0x44ceae
call fcn.00454662
test eax, eax
pop ecx
pop ecx
mov dword [esi], eax
jne 0x44d04a
call fcn.00428a4c
mov eax, dword [eax]
mov dword [ebp - 4], eax
add edi, 0x398
push edi
call fcn.0044cf2c
pop ecx
push dword [ebp - 4]
call dword [0x45e1b8]
xor eax, eax
jmp 0x44d04d
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret