joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f90a
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, eax
mov esi, dword [edi + 0x5a0]
test esi, esi
je 0x40f946
mov eax, dword [edi + 0x44]
test eax, eax
je 0x40f946
mov eax, dword [eax + 0x30]
and dword [ebp - 8], 0
lea ecx, [ebp - 0xc]
push ecx
mov dword [ebp - 0xc], esi
call fcn.0040e9cc
cmp dword [ebp - 8], 0
pop ecx
jne 0x40f94d
and dword [edi + 0x5a0], 0
or eax, 0xffffffff
pop edi
pop esi
leave
ret
mov eax, dword [ebp + 8]
test eax, eax
je 0x40f956
mov dword [eax], esi
cmp dword [esi + 0x178], 0
mov edi, dword [esi + 0x150]
jne 0x40f946
push 2
push 1
lea eax, [ebp - 1]
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x40f946
mov eax, edi
jmp 0x40f949
Function at 0x410d4f
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 [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 8], eax
test eax, eax
jne 0x410ec0
push esi
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0xc], esi
test esi, esi
je 0x410ea5
push ebx
push edi
jmp 0x410d97
mov esi, dword [ebp - 0xc]
cmp dword [esi + 4], 2
jne 0x410e3a
cmp dword [esi + 0x18], 0
je 0x410e3a
mov eax, dword [esi + 0x10]
test eax, eax
jbe 0x410e3a
push 0x10
pop edi
cmp eax, edi
jb 0x410e3a
push 0x20
call dword [0x4a183c]
mov ebx, eax
xor eax, eax
pop ecx
cmp ebx, eax
je 0x410e4a
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 [0x4a183c]
pop ecx
mov dword [ebx + 0x18], eax
test eax, eax
je 0x410e53
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 0x410e21
push eax
call dword [0x4a1848]
pop ecx
mov dword [ebx + 0x14], eax
test eax, eax
je 0x410e63
cmp dword [ebp - 4], 0
jne 0x410e2a
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x410e34
mov dword [eax + 0x1c], ebx
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x14], ebx
mov esi, dword [esi + 0x1c]
mov dword [ebp - 0xc], esi
test esi, esi
jne 0x410d94
jmp 0x410e7c
mov dword [ebp - 8], 8
jmp 0x410e7c
push ebx
mov dword [ebp - 8], 8
call dword [0x4a1840]
jmp 0x410e7b
push dword [ebx + 0x18]
mov dword [ebp - 8], 8
call dword [0x4a1840]
push ebx
call dword [0x4a1840]
pop ecx
pop ecx
xor esi, esi
pop edi
pop ebx
cmp dword [ebp - 0x10], esi
je 0x410e8e
push dword [ebp - 0x10]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [ebp - 8], esi
je 0x410ea0
mov eax, dword [ebp - 4]
call fcn.00410d15
mov dword [ebp - 4], esi
jmp 0x410eb4
cmp dword [ebp - 4], esi
jne 0x410eb4
mov eax, 0x2af9
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
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 0x4123dd
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x4a0590]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x412422
mov eax, dword [esp]
cmp al, 2
jne 0x41241c
shr eax, 8
cmp al, 2
jne 0x41241c
xor eax, eax
jmp 0x412425
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 2
pop eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00453655
mov esp, ebp
pop ebp
ret
Function at 0x4146f7
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esi]
cmp dword [eax + 4], 2
push edi
jne 0x41471c
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x41470b
xor eax, eax
pop edi
ret
push dword [eax + 8]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call ecx
jmp 0x41474f
cmp dword [esi + 8], 0
jne 0x41473d
push 0x47e86c
push dword [eax + 8]
call fcn.00453e7e
pop ecx
pop ecx
mov dword [esi + 8], eax
test eax, eax
jne 0x41473d
or eax, 0xffffffff
pop edi
ret
push dword [esi + 8]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00454595
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x41476f
mov eax, dword [esi + 8]
test eax, eax
je 0x414769
push eax
call fcn.00453f5f
and dword [esi + 8], edi
pop ecx
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
ret

Function at 0x4148b2
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4a0590]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x18], 0xffffffff
push ebx
mov ebx, dword [edi]
push esi
mov esi, dword [edi + 0x154]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x414903
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov dword [ebp - 0x18], eax
mov eax, edi
call fcn.0040f97c
cmp dword [ebp - 0x18], 0xffffffff
mov esi, ebx
jne 0x414922
push str.Error_accept__ing_server_connect
call fcn.00429149
pop ecx
push 0x1e
pop eax
jmp 0x414978
push str.Connection_accepted_from_server_n
call fcn.004290d9
mov esi, dword [ebp - 0x18]
push 1
push esi
mov dword [edi + 0x154], esi
call fcn.00424efd
xor ecx, ecx
inc ecx
mov dword [edi + 0x164], ecx
mov eax, dword [ebx + 0x1b0]
add esp, 0xc
test eax, eax
je 0x414976
push ecx
push esi
push dword [ebx + 0x1b4]
call eax
add esp, 0xc
test eax, eax
je 0x414976
mov eax, edi
call fcn.0040f97c
or dword [edi + 0x154], 0xffffffff
push 0x2a
jmp 0x41491f
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00453655
leave
ret
Function at 0x4163c9
Capabilities:
Check http status code

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push esi
push 0x64
cdq
pop ecx
idiv ecx
mov esi, dword [edi]
xor ebx, ebx
cmp eax, 2
je 0x4163ef
push str.Couldnt_set_desired_mode
call fcn.00429149
pop ecx
push 0x11
pop eax
jmp 0x416446
cmp dword [esp + 0x10], 0xc8
je 0x416409
push dword [esp + 0x10]
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
call fcn.004290d9
pop ecx
pop ecx
mov eax, dword [esp + 0x14]
cmp eax, 0x13
jne 0x41641a
push edi
call fcn.00415785
jmp 0x416441
cmp eax, 0x14
jne 0x416427
push edi
call fcn.004157d5
jmp 0x416441
cmp eax, 0x15
jne 0x416430
push 0xd
jmp 0x416437
cmp eax, 0x16
jne 0x416444
push 0xe
push 1
mov eax, edi
call fcn.00415b78
pop ecx
mov ebx, eax
pop ecx
mov eax, ebx
pop esi
pop ebx
pop ecx
ret

Function at 0x419db1
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x2c
mov ebx, eax
mov edi, ecx
call dword [0x4a183c]
mov esi, eax
pop ecx
test esi, esi
je 0x419e9a
lea eax, [esi + 0xc]
lea ecx, [eax + 8]
mov dword [esi], fcn.004219f7
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
cmp ebx, 0x40
jbe 0x419e10
push eax
call dword [0x47a5e8]
push ebx
push edi
push dword [esi + 4]
call dword [0x47a5ec]
mov edi, dword [esi + 8]
push dword [esi + 4]
add edi, 8
push edi
call dword [0x47a5f0]
add esp, 0x18
push 0x10
pop ebx
push dword [esi + 4]
call dword [0x47a5e8]
push dword [esi + 8]
call dword [0x47a5e8]
and dword [ebp - 0xc], 0
pop ecx
pop ecx
test ebx, ebx
jbe 0x419e6c
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov al, byte [edi]
xor al, 0x36
mov byte [ebp - 1], al
push 1
lea eax, [ebp - 1]
push eax
push dword [esi + 4]
call dword [0x47a5ec]
mov al, byte [edi]
xor al, 0x5c
mov byte [ebp - 1], al
push 1
lea eax, [ebp - 1]
push eax
push dword [esi + 8]
inc edi
call dword [0x47a5ec]
add esp, 0x18
dec dword [ebp - 8]
jne 0x419e32
cmp ebx, 0x40
jae 0x419e98
push 0x40
pop edi
sub edi, dword [ebp - 0xc]
push 1
push 0x477ede
push dword [esi + 4]
call dword [0x47a5ec]
push 1
push 0x477edf
push dword [esi + 8]
call dword [0x47a5ec]
add esp, 0x18
dec edi
jne 0x419e72
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4219f7
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0xf0000000
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x421a27
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x8003
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop esi
ret
Function at 0x4245a8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x10], ebx
call fcn.0042f5a7
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
cmp dword [ebp + 0xc], ebx
je 0x4245fc
push dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
push ebx
call sym.stella.exe_curl_multi_perform
mov edi, eax
pop ecx
pop ecx
cmp edi, 1
je 0x4245f5
mov esi, dword [ebx + 4]
jmp 0x4245f1
push esi
push ebx
call fcn.00424266
mov esi, dword [esi]
pop ecx
pop ecx
test esi, esi
jne 0x4245e6
mov eax, edi
jmp 0x42475b
cmp dword [ebp + 0x10], 0xffffffff
mov edi, dword [ebp + 8]
je 0x4246de
mov esi, dword [edi + 0x28]
lea eax, [ebp + 0x10]
push 4
push eax
call fcn.00419c13
pop ecx
pop ecx
test eax, eax
je 0x4246e5
mov esi, dword [eax]
cmp dword [esi + 0x8794], 0xc0dedbad
je 0x424637
push 4
pop eax
jmp 0x42475b
mov eax, dword [esi + 8]
test eax, eax
je 0x42466e
test byte [ebp + 0x14], 2
je 0x424656
mov ecx, dword [eax + 0x284]
test ecx, ecx
je 0x424656
cmp dword [ecx], ebx
je 0x424656
mov eax, dword [ecx]
jmp 0x42466c
test byte [ebp + 0x14], 1
je 0x42466e
mov eax, dword [eax + 0x288]
test eax, eax
je 0x42466e
cmp dword [eax], ebx
je 0x42466e
mov eax, dword [eax]
mov esi, dword [eax]
mov eax, dword [esi + 8]
test eax, eax
je 0x42468a
mov ecx, dword [eax + 0x23c]
test byte [ecx + 0x40], 8
jne 0x42468a
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x4c0], ecx
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push esi
push edi
call fcn.004233ca
add esp, 0x10
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x42468a
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, ebx
je 0x4246c0
mov ecx, dword [eax + 0x23c]
test byte [ecx + 0x40], 8
jne 0x4246c0
mov dword [eax + 0x4c0], ebx
cmp dword [esp + 0x10], ebx
jg 0x4246cf
push esi
push edi
call fcn.00424266
pop ecx
pop ecx
call fcn.0042f5a7
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jmp 0x4246e5
xor eax, eax
add edi, 0x60
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test ebx, ebx
je 0x424715
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push ebx
push dword [ebp + 8]
call fcn.004233ca
add esp, 0x10
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x4246e9
test eax, eax
jg 0x424715
push ebx
push dword [ebp + 8]
call fcn.00424266
pop ecx
pop ecx
push dword [esp + 0x1c]
mov esi, dword [ebp + 8]
push dword [esp + 0x1c]
mov eax, dword [esi + 0x24]
lea edi, [esp + 0x1c]
call fcn.0042c24f
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
je 0x42474f
push dword [esp + 0x1c]
mov ebx, dword [eax + 0x14]
push dword [esp + 0x1c]
push esi
call fcn.00424512
add esp, 0xc
jmp 0x4246e5
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4254ad
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, dword [eax + 0x2c]
push esi
push edi
mov edi, dword [ebx]
mov esi, dword [edi + 0x1ec]
test esi, esi
jne 0x4254c2
mov esi, dword [eax + 0x28]
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.0042f5a7
push edx
push eax
call fcn.0042f5bd
add edi, 0x1e0
add esp, 0x10
sub esi, eax
cmp dword [edi], 0
je 0x425509
push dword [ebx + 0x144]
push dword [ebx + 0x140]
call fcn.0042f5a7
push edx
push eax
call fcn.0042f5bd
mov edi, dword [edi]
sub edi, eax
add esp, 0x10
cmp esi, edi
jl 0x425509
mov esi, edi
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x427d94
Capabilities:
Parse pe header

Disassembly:
movsx eax, byte [esp + 4]
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x427da1
jmp dword [eax*4 + 0x427dfc]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
mov al, byte [esp + 4]
ret
Function at 0x4292b5
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + eax*4 + 0x150]
push esi
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov esi, dword [ebp + 0x18]
and dword [esi], 0
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
jne 0x429329
push edi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x429301
and dword [ebp + 8], 0
mov dword [esi], 0x51
jmp 0x429328
push ebx
call fcn.0042cb77
mov esi, dword [ebx]
push eax
push str.Send_failure:__s
call fcn.00429149
mov eax, dword [ebx]
mov dword [eax + 0x85dc], edi
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov dword [eax], 0x37
pop edi
mov eax, dword [ebp + 8]
pop esi
pop ebx
pop ebp
ret

Function at 0x429660
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esi + 0x1a8]
test ecx, ecx
je 0x429680
push dword [esi + 0x134]
push dword [esp + 0xc]
push dword [esp + 0xc]
push eax
push esi
call ecx
add esp, 0x14
ret
test eax, eax
jl 0x4296b9
cmp eax, 2
jg 0x4296b9
push dword [esi + 0x130]
imul eax, eax, 3
push 1
add eax, 0x47a0c4
push 2
push eax
call fcn.0045557f
push dword [esi + 0x130]
push 1
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.0045557f
add esp, 0x20
xor eax, eax
ret

Function at 0x42afdf
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4a0590]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x86a0]
xor ebx, ebx
cmp byte [ecx], bl
jne 0x42b04a
push 0x401
lea eax, [ebp - 0x408]
push eax
mov byte [ebp - 0x408], bl
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [ebp - 8], bl
cmp eax, ebx
jne 0x42b045
lea eax, [ebp - 0x408]
push 0x2e
push eax
call fcn.00453c70
pop ecx
pop ecx
cmp eax, ebx
je 0x42b039
mov byte [eax], bl
xor eax, eax
lea ecx, [ebp - 0x408]
cmp eax, ebx
je 0x42b04a
mov ecx, str.localhost
push 1
push ebx
add esi, 0x430
push esi
xor eax, eax
call fcn.00412ca6
mov ecx, dword [ebp - 4]
add esp, 0xc
pop esi
xor ecx, ebp
pop ebx
call fcn.00453655
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebx], 0
push edi
jmp 0x42b393
push eax
or edi, 0xffffffff
push edi
push edi
push dword [ebp + 8]
call fcn.00428bdb
add esp, 0x10
test eax, eax
jle 0x42b3b2
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, edi
jne 0x42b381
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x42b393
push 0x38
pop eax
jmp 0x42b3b4
cmp dword [ebp + 0x10], eax
je 0x42b3a7
test eax, eax
je 0x42b3b2
sub dword [ebp + 0x10], eax
add dword [ebp + 0xc], eax
add dword [ebp - 4], eax
mov edi, dword [esi]
push 1
xor edx, edx
call fcn.0040eaf0
pop ecx
test eax, eax
jge 0x42b345
push 0x1c
jmp 0x42b37e
mov ecx, dword [ebp - 4]
add eax, ecx
mov dword [ebx], eax
xor eax, eax
jmp 0x42b3b4
mov eax, edi
pop edi
leave
ret
Function at 0x42ccab
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x4a0590]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x198]
push eax
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x42cce2
push eax
push str.WSAStartup_failed___d_
call fcn.00429149
pop ecx
jmp 0x42cd07
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 0x198]
cmp al, 2
jne 0x42ccfd
shr eax, 8
test al, al
jne 0x42ccfd
xor eax, eax
jmp 0x42cd0b
push str.insufficient_winsock_version_to_support_telnet
call fcn.00429149
pop ecx
push 2
pop eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00453655
leave
ret
Function at 0x42d623
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x890]
sub esp, 0x910
mov eax, dword [0x4a0590]
xor eax, ebp
mov dword [ebp + 0x88c], eax
push ebx
mov ebx, ecx
mov ecx, dword [ebx]
push esi
push edi
mov edi, dword [ecx + 0x128]
mov eax, dword [edi + 0x1eb4]
sub eax, dword [edi + 0x1eb0]
mov dword [ebp - 0x7c], ebx
inc eax
inc eax
push eax
lea eax, [edi + 0x1cb0]
push 0x3c
mov dword [ebp - 0x78], ecx
call fcn.0042d15d
mov eax, dword [edi + 0x1eb0]
pop ecx
pop ecx
movzx ecx, byte [eax]
inc eax
mov dword [edi + 0x1eb0], eax
cmp ecx, 0x18
je 0x42d7b5
cmp ecx, 0x23
je 0x42d78f
cmp ecx, 0x27
jne 0x42d838
push 0
push ecx
push 0xfa
mov esi, 0xff
push esi
push str._c_c_c_c
lea eax, [ebp - 0x74]
push 0x800
push eax
call sym.stella.exe_curl_msnprintf
mov edi, dword [edi + 0x1cac]
add esp, 0x1c
push 4
pop ebx
jmp 0x42d731
mov eax, dword [edi]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42d6ce
sub eax, ecx
lea eax, [eax + ebx + 1]
mov dword [ebp - 0x80], eax
cmp eax, 0x7fa
jae 0x42d72e
lea eax, [ebp + 0x80c]
push eax
lea eax, [ebp + 0x78c]
push eax
push str._127_____127s
push dword [edi]
call fcn.00453d98
lea eax, [ebp + 0x80c]
push eax
push 1
lea eax, [ebp + 0x78c]
push eax
push 0
mov eax, 0x800
sub eax, ebx
push str._c_s_c_s
push eax
lea eax, [ebp + ebx - 0x74]
push eax
call sym.stella.exe_curl_msnprintf
mov ebx, dword [ebp - 0x80]
add esp, 0x2c
mov edi, dword [edi + 4]
test edi, edi
jne 0x42d6c9
push 0xf0
push esi
mov eax, 0x800
sub eax, ebx
push str._c_c
push eax
lea eax, [ebp + ebx - 0x74]
push eax
call sym.stella.exe_curl_msnprintf
add esp, 0x14
push edi
inc ebx
inc ebx
push ebx
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x7c]
push dword [eax + 0x150]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x42d786
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, dword [ebp - 0x78]
push eax
push str.Sending_data_failed___d_
call fcn.00429149
pop ecx
pop ecx
add ebx, 0xfffffffe
push ebx
jmp 0x42d829
lea ecx, [edi + 0x1c28]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42d79a
push 0xf0
sub eax, esi
mov esi, 0xff
push esi
push ecx
push 0
push 0x23
jmp 0x42d7d9
lea ecx, [edi + 0x1c08]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42d7c0
push 0xf0
sub eax, esi
mov esi, 0xff
push esi
push ecx
push 0
push 0x18
push 0xfa
push esi
push str._c_c_c_c_s_c_c
lea edi, [eax + 6]
lea eax, [ebp - 0x74]
push 0x800
push eax
call sym.stella.exe_curl_msnprintf
add esp, 0x28
push 0
push edi
lea eax, [ebp - 0x74]
push eax
push dword [ebx + 0x150]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x42d825
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, dword [ebp - 0x78]
push eax
push str.Sending_data_failed___d_
call fcn.00429149
pop ecx
pop ecx
add edi, 0xfffffffe
push edi
mov ecx, dword [ebp - 0x78]
push 0x3e
lea eax, [ebp - 0x72]
call fcn.0042d15d
pop ecx
pop ecx
mov ecx, dword [ebp + 0x88c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453655
add ebp, 0x890
leave
ret
Function at 0x42d850
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0x1f
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push esi
push edi
mov edi, dword [eax + 0x128]
mov dword [ebp - 4], eax
jne 0x42d997
lea ebx, [edi + 0x1cb0]
lea esi, [edi + 0x1eb0]
mov dword [esi], ebx
cmp ebx, esi
jae 0x42d886
mov byte [ebx], 0xff
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x42d891
mov byte [eax], 0xfa
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x42d89c
mov byte [eax], 0x1f
inc dword [esi]
movzx eax, word [edi + 0x1ca8]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
mov dword [ebp + 0xc], eax
movzx eax, word [edi + 0x1caa]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx ecx, ax
mov eax, dword [esi]
cmp eax, esi
jae 0x42d8ce
mov dl, byte [ebp + 0xc]
mov byte [eax], dl
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x42d8db
mov dl, byte [ebp + 0xd]
mov byte [eax], dl
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x42d8e5
mov byte [eax], cl
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x42d8ef
mov byte [eax], ch
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x42d8fa
mov byte [eax], 0xff
inc dword [esi]
mov eax, dword [esi]
cmp eax, esi
jae 0x42d905
mov byte [eax], 0xf0
inc dword [esi]
mov ecx, dword [esi]
lea eax, [edi + 0x1eb4]
mov dword [eax], ecx
mov eax, ecx
sub eax, ebx
dec eax
dec eax
mov dword [esi], ebx
mov esi, dword [ebp - 4]
push eax
lea eax, [edi + 0x1cb2]
push 0x3e
mov ecx, esi
call fcn.0042d15d
pop ecx
pop ecx
push 0
push 3
push ebx
mov ebx, dword [ebp + 8]
push dword [ebx + 0x150]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x42d957
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
call fcn.00429149
pop ecx
pop ecx
lea eax, [edi + 0x1cb3]
push 4
push eax
call fcn.0042dccc
pop ecx
pop ecx
push 0
push 2
add edi, 0x1cb7
push edi
mov eax, ebx
push dword [eax + 0x150]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x42d997
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
call fcn.00429149
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret