joyce8/EMBER2024-capa huggingface dataset:
Function at 0x523180
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x84]
or esi, 0xffffffff
push ecx
mov ebx, dword [edi + 0xc]
mov eax, dword [ebx + 0x14c]
push eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x5231f4
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 0x80
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x8c]
call dword [sym.imp.WS2_32.dll_accept]
mov esi, eax
push dword [ebp - 0x8c]
push ebx
push edi
call fcn.00504f30
add esp, 0xc
cmp esi, 0xffffffff
jne 0x52322d
push str.Error_accept__ing_server_connect
push edi
call fcn.00504610
add esp, 8
mov eax, 0x1e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret
push str.Connection_accepted_from_server
push edi
call fcn.005046d0
push 1
push esi
mov byte [ebx + 0x266], 0
mov dword [ebx + 0x14c], esi
call fcn.00531af0
add esp, 0x10
mov byte [ebx + 0x279], 1
cmp dword [edi + 0x1b8], 0
je 0x5232aa
push 1
push edi
call fcn.004f5aa0
mov eax, dword [edi + 0x1b8]
push 1
push esi
push dword [edi + 0x1bc]
call eax
push 0
push edi
mov esi, eax
call fcn.004f5aa0
add esp, 0x1c
test esi, esi
je 0x5232aa
push ebx
push edi
call fcn.005236f0
add esp, 8
mov eax, 0x2a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0075c173
mov esp, ebp
pop ebp
ret

Function at 0x525730
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ecx - 0xc8]
xor edi, edi
mov ebx, dword [esi + 0xc]
cmp eax, 0x64
jb 0x525762
push str.Couldnt_set_desired_mode
push esi
call fcn.00504610
add esp, 8
lea eax, [edi + 0x11]
pop edi
pop esi
pop ebx
pop ebp
ret
cmp ecx, 0xc8
je 0x525779
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200
push esi
call fcn.005046d0
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp eax, 0x13
jne 0x525792
push ebx
push esi
call fcn.005253f0
add esp, 8
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x14
jne 0x5257a7
push esi
call fcn.005243e0
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x15
jne 0x5257bc
push esi
call fcn.005253d0
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x16
jne 0x5257cc
push esi
call fcn.00525610
add esp, 4
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x52bd30
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push 0
mov byte [ebp + 0xa], cl
lea ecx, [ebp + 8]
push 3
mov eax, dword [esi + 0xc]
push ecx
mov byte [ebp + 8], 0xff
mov byte [ebp + 9], bl
push dword [eax + 0x148]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x52bd78
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.00504610
add esp, 0xc
push dword [ebp + 0x10]
push ebx
push str.SENT
push esi
call fcn.0052b5e0
add esp, 0x10
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 0x1f
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x134]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jne 0x52c01d
push edi
lea ecx, [eax + 0x1cb4]
lea edi, [eax + 0x1eb4]
mov dword [edi], ecx
cmp ecx, edi
jae 0x52bf10
mov byte [ecx], 0xff
inc ecx
mov dword [edi], ecx
cmp ecx, edi
jae 0x52bf10
mov byte [ecx], 0xfa
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x52bf10
mov byte [ecx], 0x1f
inc dword [edi]
movzx eax, word [eax + 0x1ca8]
push esi
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
call esi
movzx eax, ax
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x1caa]
push eax
call esi
mov edx, dword [ebp + 8]
movzx ecx, ax
mov eax, dword [edi]
cmp eax, edi
jae 0x52bf7c
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x52bf7c
mov byte [eax], dh
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x52bf7c
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x52bf7c
shr ecx, 8
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x52bf7c
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x52bf7c
mov byte [eax], 0xf0
mov eax, dword [edi]
inc eax
mov esi, dword [ebp - 4]
mov dword [esi + 0x1eb8], eax
lea ecx, [esi + 0x1cb4]
sub eax, ecx
mov dword [edi], ecx
sub eax, 2
push eax
lea eax, [esi + 0x1cb6]
push eax
push 0x3e
push ebx
call fcn.0052b6e0
add esp, 0x10
lea eax, [esi + 0x1cb4]
push 0
push 3
push eax
mov eax, dword [ebp - 8]
push dword [eax + 0x148]
call dword [sym.imp.WS2_32.dll_send]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jns 0x52bfda
call edi
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.00504610
add esp, 0xc
push 4
lea eax, [esi + 0x1cb7]
push eax
push ebx
call fcn.0052bd90
add esp, 0xc
lea eax, [esi + 0x1cbb]
push 0
push 2
push eax
mov eax, dword [ebp - 8]
push dword [eax + 0x148]
call dword [sym.imp.WS2_32.dll_send]
pop esi
test eax, eax
jns 0x52c01c
call edi
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.00504610
add esp, 0xc
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52d170
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 0x318]
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], 0x80
lea eax, [ebp - 0x84]
push eax
mov eax, dword [edi + 0x13c]
lea esi, [edi + 0x148]
push 0
add eax, 4
push eax
push dword [esi]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [edi + 0x130], 0
mov dword [edi + 0x134], eax
jne 0x52d1fe
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
lea eax, [edi + 0xb0]
push eax
call fcn.00774520
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov dword [edi + 0x130], eax
mov edx, dword [edi + 0x134]
cmp edx, 4
jge 0x52d231
push str.Received_too_short_packet
push ebx
call fcn.00504610
add esp, 8
mov dword [edi + 0xc], 7
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret
push esi
call fcn.0052cd60
movzx eax, ax
add esp, 4
mov dword [edi + 0xc], eax
dec eax
cmp eax, 5
ja case.0x52d24a.1
jmp dword [eax*4 + 0x52d38c]
cmp edx, 4
jle case.0x52d24a.4
push esi
call fcn.0052cd40
movzx ecx, word [edi + 0x144]
add esp, 4
inc ecx
cmp cx, ax
jne case.0x52d24a.4
lea eax, [edx - 4]
push eax
mov eax, dword [esi]
add eax, 4
push eax
push 1
push ebx
call fcn.00504560
mov esi, eax
add esp, 0x10
test esi, esi
je 0x52d2ad
push 5
push edi
call fcn.0052dbe0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x134]
sub eax, 4
cdq
add dword [ebx + 0x90], eax
adc dword [ebx + 0x94], edx
push dword [ebx + 0x94]
push dword [ebx + 0x90]
push ebx
call fcn.00512c20
jmp 0x52d355
mov eax, dword [esi]
lea esi, [edx - 4]
add eax, 4
mov dword [ebp - 0x8c], eax
lea eax, [edi + 0x148]
push eax
call fcn.0052cd40
push esi
push dword [ebp - 0x8c]
movzx eax, ax
mov dword [edi + 8], eax
call fcn.0052dd10
add esp, 0xc
cmp eax, esi
jae case.0x52d24a.4
push dword [ebp - 0x8c]
push str.TFTP_error:__s
push ebx
call fcn.005046d0
jmp 0x52d355
lea eax, [edx - 2]
push eax
mov eax, dword [esi]
add eax, 2
push eax
push edi
call fcn.0052cf20
add esp, 0xc
test eax, eax
je case.0x52d24a.4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret
push str.Internal_error:_Unexpected_packet
push 0x7c2e3c
push ebx
call fcn.00504610
add esp, 0xc
push ebx
call fcn.00512f30
add esp, 4
test eax, eax
je 0x52d21e
push 5
push edi
call fcn.0052dbe0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 0x2a
pop edi
pop esi
pop ebx
call fcn.0075c173
mov esp, ebp
pop ebp
ret
Function at 0x52dbe0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
cmp edx, 3
ja case.default.0x52dbf0
jmp dword [edx*4 + 0x52dc44]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0052d690
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0052d3b0
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0052de40
push str.TFTP_finished
push 0x7c2e3c
push ecx
call fcn.005046d0
add esp, 0xc
xor eax, eax
pop ebp
ret
push str.Internal_state_machine_error
push 0x7c2e3c
push ecx
call fcn.00504610
add esp, 0xc
mov eax, 0x47
pop ebp
ret
Function at 0x537d00
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [edi + esi - 1], 0
test eax, eax
jne 0x537d33
push 0x2e
push edi
call fcn.00774200
add esp, 8
test eax, eax
je 0x537d31
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x89c1a4]
mov edi, eax
add esp, 4
test edi, edi
jne 0x53979d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x5397e7
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [ebp + 0x10], ebx
jmp 0x5397ed
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x53984b
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop dword [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x539810
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x539877
mov eax, dword [esi + 4]
push 1
push 0x7cf22c
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x7cf22d
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x539850
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x53a5e0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x53a61f
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret
Function at 0x53c390
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
push dword [esp + 0x14]
call fcn.0055c960
push 0x62
push esi
mov edi, eax
mov ebx, 1
call fcn.00774200
add esp, 0x10
mov ecx, 0x11
test eax, eax
cmove ebx, ecx
test edi, edi
jne 0x53c449
call fcn.0055b2b0
push str.BIO_new_file
push 0x43
push str.crypto_bio_bss_file.c
call fcn.0055b3b0
add esp, 0xc
push esi
push dword [esp + 0x14]
push str.calling_fopen__s___s_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
call fcn.0055b460
add esp, 0x14
call fcn.0077d350
cmp dword [eax], 2
je 0x53c419
call fcn.0077d350
cmp dword [eax], 6
je 0x53c419
mov esi, 0x80002
mov edi, 0x4d
jmp 0x53c421
mov esi, 0x80
lea edi, [esi - 0x35]
call fcn.0055b2b0
push str.BIO_new_file
push edi
push str.crypto_bio_bss_file.c
call fcn.0055b3b0
push 0
push esi
push 0x20
call fcn.0055b460
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0x7cf468
call fcn.0053cd90
mov esi, eax
add esp, 4
test esi, esi
jne 0x53c46b
push edi
call fcn.0077dd25
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0
push esi
call fcn.0053c610
push edi
push ebx
push 0x6a
push esi
call fcn.0053c640
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x5554a0
Capabilities:
Terminate process

Disassembly:
mov eax, 8
call fcn.0075cd80
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
push ebx
xor edi, edi
call fcn.0053ac20
add esp, 4
test eax, eax
jle 0x55567a
push edi
push ebx
call fcn.0053ade0
mov esi, eax
mov dword [esp + 0x18], 0
push 0x9c
push esi
xor ebp, ebp
call fcn.005ab050
add esp, 0x10
test eax, eax
je 0x5554f1
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
push 0x9d
push esi
call fcn.005ab050
add esp, 8
test eax, eax
je 0x555506
mov ebp, dword [eax + 4]
push esi
call fcn.005ab140
add eax, 0xffffff6a
add esp, 4
cmp eax, 5
ja case.0x55551d.153
jmp dword [eax*4 + 0x55569c]
mov ebp, dword [esp + 0x28]
test ebp, ebp
je case.0x55551d.153
cmp dword [ebp], 0
jne case.0x55551d.153
push esi
call fcn.005ab070
push eax
call fcn.005986b0
add esp, 8
mov dword [ebp], eax
jmp 0x555664
mov ebp, dword [esp + 0x28]
test ebp, ebp
je case.0x55551d.153
cmp dword [ebp], 0
jne case.0x55551d.153
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call fcn.005ab150
mov esi, eax
add esp, 0xc
test esi, esi
je 0x555690
push esi
call fcn.005986b0
push esi
mov dword [ebp], eax
call fcn.00598580
add esp, 8
cmp dword [ebp], 0
jmp 0x555666
cmp dword [esp + 0x2c], 0
je case.0x55551d.153
push esi
call fcn.005ab100
add esp, 4
cmp eax, 0x9e
jne case.0x55551d.153
push esi
call fcn.005ab0b0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x555690
test ebp, ebp
je 0x5555ea
push dword [ebp]
push dword [ebp + 8]
push ebx
call fcn.005a08f0
add esp, 0xc
test eax, eax
je 0x555687
mov eax, dword [esp + 0x10]
test eax, eax
je 0x55562b
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00541cc0
add esp, 8
test eax, eax
js 0x55562b
push eax
push dword [esp + 0x18]
push ebx
call fcn.005a07e0
push 0xec
push str.cryptopkcs12p12_kiss.c
push dword [esp + 0x28]
mov esi, eax
call fcn.0053bb50
add esp, 0x18
test esi, esi
je 0x555687
push ebx
push dword [esp + 0x30]
call fcn.0053acb0
add esp, 8
test eax, eax
je 0x555687
mov ebx, dword [esp + 0x1c]
jmp case.0x55551d.153
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push esi
call fcn.005ab090
add esp, 4
push eax
call fcn.005554a0
add esp, 0x14
test eax, eax
je 0x555690
push ebx
inc edi
call fcn.0053ac20
add esp, 4
cmp edi, eax
jl 0x5554c5
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
push ebx
call fcn.0054ff40
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x55d770
Capabilities:
Get common file path

Disassembly:
mov eax, 0x230
call fcn.0075cd80
mov eax, dword [0x8a0204]
xor eax, esp
mov dword [esp + 0x22c], eax
cmp dword [0x8a5e18], 0
mov dword [esp], 0x7d4a8c
mov dword [esp + 4], 0x55d160
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x55d520
mov dword [esp + 0x10], 0x7d4aa4
mov dword [esp + 0x14], 0x55d110
jne 0x55d8cb
push 0x104
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x55d8c1
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.0078b856
push str.ws2_32
lea eax, [esp + 0x38]
push 0x10c
push eax
call fcn.0078b8b0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0x40]
add esp, 0x18
push eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test edi, edi
je 0x55d83f
push 0x7d4a8c
push edi
call ebx
test eax, eax
jne 0x55d886
push edi
call ebp
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.0078b856
push str.wship6
lea eax, [esp + 0x38]
push 0x10c
push eax
call fcn.0078b8b0
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call esi
mov edi, eax
test edi, edi
je 0x55d8bd
push 0x7d4a8c
push edi
call ebx
test eax, eax
je 0x55d8ba
xor esi, esi
push dword [esp + esi*8 + 0x10]
push edi
call ebx
mov dword [esp + esi*8 + 0x14], eax
test eax, eax
je 0x55d8ba
inc esi
cmp esi, 3
jl 0x55d888
mov eax, dword [esp + 0x14]
mov dword [0x89c608], eax
mov eax, dword [esp + 0x1c]
mov dword [0x89c610], eax
mov eax, dword [esp + 0x24]
mov dword [0x89c618], eax
jmp 0x55d8bd
push edi
call ebp
pop edi
pop esi
pop ebp
pop ebx
mov dword [0x8a5e18], 1
movzx eax, word [esp + 0x234]
mov ecx, dword [esp + 0x22c]
xor ecx, esp
mov eax, dword [eax*8 + 0x89c608]
call fcn.0075c173
add esp, 0x230
ret 4
Function at 0x55d900
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x820
call fcn.0075cd80
mov eax, dword [0x8a0204]
xor eax, esp
mov dword [esp + 0x81c], eax
push ebx
mov ebx, dword [esp + 0x83c]
lea eax, [esp + 0x18]
push ebp
push esi
mov esi, dword [esp + 0x830]
push edi
push 0x401
push 0
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], 0
call fcn.00774aa0
push 0x401
lea eax, [esp + 0x438]
push 0
push eax
call fcn.00774aa0
push 0x400
push esi
lea eax, [esp + 0x44]
push 0x401
push eax
mov dword [esp + 0x3c], eax
lea ebp, [esp + 0x450]
call fcn.0078b9ca
add esp, 0x28
push esi
mov edi, ebx
mov dword [ebx], 0
mov byte [ebp], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x55dacf
cmp word [ebx + 8], 2
jne 0x55d9f2
cmp word [ebx + 0xa], 4
jne 0x55d9f2
mov esi, dword [ebx + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x55d9f2
nop word [eax + eax]
push dword [eax]
push dword [esp + 0x844]
push dword [esp + 0x844]
push dword [esp + 0x844]
call fcn.0055db30
mov dword [edi], eax
test eax, eax
je 0x55dac8
add esi, 4
lea edi, [eax + 0x1c]
mov eax, dword [esi]
test eax, eax
jne 0x55d9c0
push 0x400
push dword [ebx]
push 0x401
push ebp
call fcn.0078b9ca
mov ebx, dword [esp + 0x28]
xor esi, esi
add esp, 0x10
cmp dword [ebx], esi
jne 0x55da80
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x55da16
sub ecx, edx
je case.0x55dadf.11003
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov eax, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x55da50
test dl, dl
je 0x55da4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x55da50
add eax, 2
add ecx, 2
test dl, dl
jne 0x55da30
xor eax, eax
jmp 0x55da55
sbb eax, eax
or eax, 1
test eax, eax
je case.0x55dadf.11003
mov esi, dword [esp + 0x10]
inc esi
mov dword [esp + 0x10], esi
cmp esi, 0x10
je case.0x55dadf.11003
mov esi, dword [esp + 0x1c]
mov eax, edi
mov dword [esp + 0x14], ebp
mov ebp, eax
jmp 0x55d982
cmp dword [esp + 0x844], esi
je 0x55daf9
mov ecx, ebp
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x55da90
sub ecx, edx
lea ebx, [ecx + 1]
push ebx
push 1
call fcn.0077d75b
mov edi, eax
add esp, 8
test edi, edi
je 0x55dab8
push ebp
push ebx
push edi
call fcn.0078b856
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov dword [eax + 0x14], edi
mov eax, dword [ecx]
cmp dword [eax + 0x14], esi
jne 0x55daf9
mov esi, 8
jmp 0x55daf9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x55dadf.11001
jmp dword [eax*4 + 0x55db18]
mov esi, 0x2afa
jmp 0x55daf9
mov esi, 0x2afb
jmp 0x55daf9
mov esi, 0x2af9
mov ecx, dword [esp + 0x82c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0075c173
add esp, 0x820
ret 0x18
Function at 0x590fb0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov cl, byte [esp + 0x10]
movzx eax, cl
push esi
mov esi, dword [esp + 0x10]
and eax, 1
test esi, esi
je 0x590ff2
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
add edi, esi
add ebx, esi
movzx edx, byte [edi - 1]
lea edi, [edi - 1]
movzx ecx, cl
lea ebx, [ebx - 1]
xor edx, ecx
mov cl, byte [esp + 0x1c]
add eax, edx
mov byte [ebx], al
shr eax, 8
sub esi, 1
jne 0x590fd1
pop edi
pop ebx
pop esi
ret
Function at 0x5af8b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push ebp
call fcn.0053ac20
mov ebx, eax
add esp, 4
test ebx, ebx
jg 0x5af8ca
xor eax, eax
jmp 0x5af8cd
lea eax, [ebx - 1]
push 0x121
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x20]
push str.cryptopropertyproperty_parse.c
push eax
call fcn.0053bb20
mov esi, eax
add esp, 0xc
test esi, esi
je 0x5af94b
push ebp
call fcn.0053ada0
and dword [esi + 4], 0xfffffffe
add esp, 4
xor ebp, ebp
test ebx, ebx
jle 0x5af949
push edi
lea edi, [esi + 0x14]
nop word [eax + eax]
push ebp
push dword [esp + 0x18]
call fcn.0053ade0
inc ebp
lea edi, [edi + 0x18]
add esp, 8
movups xmm0, xmmword [eax]
movups xmmword [edi - 0x24], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi - 0x14], xmm0
mov eax, dword [esi + 4]
mov ecx, dword [edi - 0x18]
or ecx, eax
xor ecx, eax
and ecx, 1
xor ecx, eax
mov dword [esi + 4], ecx
cmp ebp, ebx
jl 0x5af910
pop edi
mov dword [esi], ebx
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x5d8780
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x5d87a7
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x5d8796
pop edi
movzx eax, dl
pop esi
ret