joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480470
Capabilities:
Get socket status

Disassembly:
sub esp, 0x114
mov eax, dword [esp + 0x12c]
push ebp
push edi
mov edi, dword [esp + 0x120]
test edi, edi
mov dword [esp + 0xc], ecx
mov byte [eax], 0
je 0x48049b
cmp edi, 0x32
jae 0x48049b
mov edi, 0x32
mov ebp, dword [esp + 0x128]
test ebp, ebp
jne 0x4804ab
mov ebp, 0x1499700
cmp dword [esp + 0x130], 0
je 0x48069b
test edi, edi
je 0x48069b
cmp dword [ecx + 0x4c], 0xffffffff
jne 0x4804e7
mov ecx, dword [esp + 0x12c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push str.invalid_socket__not_ready_for_writing.
call eax
pop edi
xor al, al
pop ebp
add esp, 0x114
ret 0x18
push ebx
mov ebx, dword [esp + 0x128]
xor eax, eax
test ebx, ebx
push esi
mov dword [esp + 0x10], eax
je 0x48053a
lea ebx, [ebx]
cmp edi, ebx
mov esi, edi
jbe 0x480508
mov esi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x138]
push 0x71
push edi
call fcn.0046fca0
mov ecx, dword [esp + 0x138]
call fcn.0046fbd0
test al, al
jne 0x4805f0
sub ebx, esi
jne 0x480500
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.WS2_32.dll_select]
test ebp, ebp
je 0x48054c
cmp eax, ebp
jae 0x48064d
test ebp, ebp
mov esi, edi
je 0x480560
cmp ebp, eax
jbe 0x480560
mov esi, ebp
sub esi, eax
cmp esi, edi
jbe 0x480560
mov esi, edi
mov eax, 0x10624dd3
mul esi
shr edx, 6
mov dword [esp + 0x18], edx
imul edx, edx, 0x3e8
mov ecx, esi
sub ecx, edx
mov edx, dword [esp + 0x14]
imul ecx, ecx, 0x3e8
mov eax, dword [edx + 0x4c]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x28]
push edx
push 0
push 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], 1
call ebx
cmp eax, 0xffffffff
je 0x48061c
cmp eax, 1
je 0x48063e
add dword [esp + 0x10], esi
test ebp, ebp
je 0x4805c7
cmp dword [esp + 0x10], ebp
jae 0x48064d
mov esi, dword [esp + 0x138]
push 0x72
push edi
mov ecx, esi
call fcn.0046fca0
mov ecx, esi
call fcn.0046fbd0
test al, al
jne 0x48066f
mov eax, dword [esp + 0x10]
jmp 0x480540
mov ecx, dword [esp + 0x13c]
mov byte [ecx], 1
mov ecx, dword [esp + 0x134]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push str.socket_operation_aborted_by_application_callback..
call eax
pop esi
pop ebx
pop edi
xor al, al
pop ebp
add esp, 0x114
ret 0x18
mov ecx, dword [esp + 0x134]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.select_returned_a_socket_error
call edx
pop esi
pop ebx
pop edi
xor al, al
pop ebp
add esp, 0x114
ret 0x18
pop esi
pop ebx
pop edi
mov al, 1
pop ebp
add esp, 0x114
ret 0x18
mov ecx, dword [esp + 0x134]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.socket_is_not_ready_for_writing
call edx
pop esi
pop ebx
pop edi
xor al, al
pop ebp
add esp, 0x114
ret 0x18
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x134]
mov byte [eax], 1
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push str.socket_operation_aborted_by_application_callback
call eax
pop esi
pop ebx
pop edi
xor al, al
pop ebp
add esp, 0x114
ret 0x18
mov edx, dword [esp + 0x12c]
push edx
push ebp
call fcn.004803b0
pop edi
pop ebp
add esp, 0x114
ret 0x18
Function at 0x480740
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x11c]
push esi
mov esi, dword [esp + 0x11c]
test esi, esi
push edi
mov edi, ecx
mov byte [ebx], 0
je 0x480797
push 0x78
push 0
mov ecx, esi
call fcn.0046fcf0
mov ecx, esi
call fcn.0046fbd0
test al, al
je 0x480797
mov ecx, dword [esp + 0x128]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.Wait_for_data_aborted_by_app
call edx
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x10c
ret 0x14
push ebp
mov ebp, dword [edi + 0x4c]
cmp ebp, 0xffffffff
jne 0x4807c5
mov ecx, dword [esp + 0x12c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.Wait_for_data_passed_invalid_socket.
call edx
pop ebp
pop edi
pop esi
mov byte [ebx], 1
xor al, al
pop ebx
add esp, 0x10c
ret 0x14
mov ecx, dword [esp + 0x120]
test ecx, ecx
jne 0x4807d5
mov ecx, 0x14
mov eax, 0x10624dd3
mul ecx
mov esi, edx
shr esi, 6
mov eax, esi
imul eax, eax, 0xfffffc18
add ecx, eax
cmp ecx, 0x7a120
jbe 0x4807f8
mov ecx, 0x7a120
imul ecx, ecx, 0x3e8
test esi, esi
mov ebx, ecx
jne 0x48080d
test ebx, ebx
jne 0x48080d
mov ebx, 0x3e8
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
lea edx, [esp + 0x24]
push edx
push 0
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x480889
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x12c]
mov byte [eax], 1
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push str.The_peer_has_closed_the_socket__TCP__connection
call eax
mov ecx, dword [edi + 0x4c]
push 2
push ecx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [edi + 0x4c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
pop ebp
mov dword [edi + 0x4c], 0xffffffff
mov byte [edi + 0x48], 0
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x10c
ret 0x14
test eax, eax
jne 0x4808c1
mov edi, dword [esp + 0x12c]
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
push esi
push str.numSec
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
push ebx
push str.microSec
mov ecx, edi
call edx
pop ebp
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x10c
ret 0x14
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x10c
ret 0x14
Function at 0x4808d0
Capabilities:
Get socket status

Disassembly:
mov eax, dword [esp + 0x14]
sub esp, 0x110
push ebx
push ebp
push esi
mov esi, dword [esp + 0x12c]
push edi
mov edi, dword [esp + 0x124]
test edi, edi
mov ebx, ecx
mov ecx, dword [esp + 0x138]
mov byte [eax], 0
mov byte [esi], 0
mov byte [ecx], 0
je 0x48090c
cmp edi, 0x32
jae 0x48090c
mov edi, 0x32
mov ebp, dword [esp + 0x128]
test ebp, ebp
jne 0x48091c
mov ebp, 0x1499700
cmp dword [ebx + 0x4c], 0xffffffff
jne 0x480947
mov ecx, dword [esp + 0x13c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push str.Invalid_socket.
call eax
pop edi
mov byte [esi], 1
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x110
ret 0x1c
xor eax, eax
mov dword [esp + 0x10], eax
mov cl, 1
nop
test ebp, ebp
je 0x48095c
cmp eax, ebp
jae 0x480a7f
test edi, edi
mov esi, edi
jne 0x480964
mov esi, ebp
test ebp, ebp
je 0x48097a
cmp ebp, eax
jbe 0x48097a
mov esi, ebp
sub esi, eax
test edi, edi
je 0x48097a
cmp esi, edi
jbe 0x48097a
mov esi, edi
test cl, cl
je 0x48098a
shr esi, 1
cmp esi, 0x32
jae 0x48098a
mov esi, 0x32
mov eax, 0x10624dd3
mul esi
shr edx, 6
mov dword [esp + 0x14], edx
imul edx, edx, 0x3e8
mov ecx, esi
sub ecx, edx
mov edx, dword [ebx + 0x4c]
imul ecx, ecx, 0x3e8
lea eax, [esp + 0x14]
push eax
push 0
mov dword [esp + 0x20], ecx
push 0
lea ecx, [esp + 0x28]
push ecx
push 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x480a23
test eax, eax
jne 0x480a70
add dword [esp + 0x10], esi
test ebp, ebp
je 0x4809f0
cmp dword [esp + 0x10], ebp
jae 0x480a7f
mov esi, dword [esp + 0x12c]
test esi, esi
je 0x480a18
test edi, edi
je 0x480a18
push 0x73
push edi
mov ecx, esi
call fcn.0046fca0
mov ecx, esi
call fcn.0046fbd0
test al, al
jne 0x480aab
mov eax, dword [esp + 0x10]
xor cl, cl
jmp 0x480950
mov edx, dword [esp + 0x130]
mov ecx, dword [esp + 0x13c]
mov byte [edx], 1
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.Error_waiting_for_socket_to_become_ready_for_reading.
call edx
mov eax, dword [ebx + 0x4c]
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [ebx + 0x4c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
pop ebp
mov dword [ebx + 0x4c], 0xffffffff
mov byte [ebx + 0x48], 0
xor al, al
pop ebx
add esp, 0x110
ret 0x1c
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x110
ret 0x1c
mov ecx, dword [esp + 0x13c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push str.Timeout_waiting_to_read_socket_or_accept_connection
call eax
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
mov byte [ecx], 1
xor al, al
pop ebx
add esp, 0x110
ret 0x1c
mov edx, dword [esp + 0x134]
mov ecx, dword [esp + 0x13c]
mov byte [edx], 1
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.socket_operation_aborted_by_application_callback
call edx
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x110
ret 0x1c
Function at 0x480d40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x4f9bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e4ce0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
mov byte [ecx], 0
mov byte [edx], 0
mov byte [ebp], 0
cmp dword [esi + 0x4c], 0xffffffff
jne 0x480daa
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov dword [eax], 0
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push str.This_socket_is_not_connected
call eax
mov byte [ebp], 1
xor al, al
jmp 0x480ed3
mov eax, dword [esi + 0x68]
test eax, eax
jne 0x480db6
mov eax, 0x1499700
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
push edi
push ecx
mov ecx, dword [esp + 0x50]
push edx
push ebp
push ebx
push eax
push ecx
mov ecx, esi
call fcn.004808d0
test al, al
jne 0x480de3
mov edx, dword [esp + 0x44]
mov dword [edx], 0
jmp 0x480ed3
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 0x4c]
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
mov ecx, dword [esp + 0x44]
mov dword [ecx], 0
jne 0x480e43
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push str.Failed_to_received_data_on_socket.
mov ecx, edi
call eax
mov ecx, dword [esi + 0x4c]
push 2
push ecx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [esi + 0x4c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x4c], 0xffffffff
mov byte [esi + 0x48], 0
mov byte [ebp], 1
xor al, al
jmp 0x480ed3
cmp eax, 0xffffffff
jne 0x480e9c
lea ecx, [esp + 0x14]
call fcn.00451c20
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
call fcn.00453240
mov esi, dword [edi]
lea ecx, [esp + 0x14]
call fcn.004c06c0
push eax
mov eax, dword [esi + 0x10]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push str.Failed_to_receive_data_on_the_TCP_socket
mov ecx, edi
call eax
lea ecx, [esp + 0x14]
mov byte [ebp], 1
mov dword [esp + 0x38], 0xffffffff
call fcn.00451e70
xor al, al
jmp 0x480ed3
test eax, eax
mov dword [ecx], eax
jle 0x480eb9
cmp byte [esi + 0x94], 0
je 0x480eb9
push ebx
push eax
lea ecx, [esi + 8]
call fcn.004b2380
mov ecx, dword [esp + 0x44]
test ebx, ebx
je 0x480ed1
mov eax, dword [ecx]
lea edx, [esp + 0x44]
push edx
push eax
mov ecx, ebx
mov byte [esp + 0x4c], 0
call fcn.0046fee0
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x20
Function at 0x481170
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
cmp byte [0x5ddcf4], 0
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
je 0x481193
push edi
call fcn.0047f6c0
add esp, 4
test al, al
jne 0x481193
pop edi
pop esi
ret 4
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4811bd
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [esi + 0x4c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esi + 0x54]
mov dword [esi + 0x4c], 0xffffffff
call fcn.004b21e0
push ebx
push 0
push 1
push 2
mov byte [esi + 0x48], 0
mov bl, 1
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x4c], eax
jne 0x4811e9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push edi
push eax
mov ecx, esi
call fcn.0047f990
xor bl, bl
mov al, bl
pop ebx
pop edi
pop esi
ret 4
Function at 0x481cd0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x4f9bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e4ce0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x48]
mov byte [ebp], 0
cmp dword [esi + 0x4c], 0xffffffff
jne 0x481d28
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov dword [eax], 0
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push str.This_socket_is_not_connected
call eax
xor al, al
jmp 0x481e5e
mov eax, dword [esi + 0x68]
test eax, eax
jne 0x481d34
mov eax, 0xea60
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
push 0xabc
push 0
push 0
push ebx
push edi
push eax
call fcn.00481bd0
test al, al
jne 0x481d7a
cmp dword [esi + 0x4c], 0xffffffff
je 0x481d69
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push str.WaitForData_timed_out.
mov ecx, edi
call eax
mov byte [ebp], 1
mov ecx, dword [esp + 0x44]
mov dword [ecx], 0
xor al, al
jmp 0x481e5e
mov ebp, dword [esp + 0x44]
mov edx, dword [ebp]
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x4c]
push 0
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
mov dword [ebp], 0
jne 0x481dd4
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push str.The_peer_has_closed_the_socket__TCP__connection
mov ecx, edi
call eax
mov ecx, dword [esi + 0x4c]
push 2
push ecx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [esi + 0x4c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x4c], 0xffffffff
mov byte [esi + 0x48], 0
xor al, al
jmp 0x481e5e
cmp eax, 0xffffffff
jne 0x481e29
lea ecx, [esp + 0x14]
call fcn.00451c20
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
call fcn.00453240
mov esi, dword [edi]
lea ecx, [esp + 0x14]
call fcn.004c06c0
push eax
mov eax, dword [esi + 0x10]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push str.Failed_to_receive_on_the_TCP_socket
mov ecx, edi
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.00451e70
xor al, al
jmp 0x481e5e
test eax, eax
mov dword [ebp], eax
jle 0x481e43
cmp byte [esi + 0x94], 0
je 0x481e43
push ebx
push eax
lea ecx, [esi + 8]
call fcn.004b2380
test ebx, ebx
je 0x481e5c
mov edx, dword [ebp]
lea ecx, [esp + 0x44]
push ecx
push edx
mov ecx, ebx
mov byte [esp + 0x4c], 0
call fcn.0046fee0
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x14

Function at 0x482530
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x48256c
mov edx, dword [esp + 0xc]
test edx, edx
je 0x48256c
push ebx
push edi
mov eax, dword [ecx + 4]
movzx ebx, byte [esi]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x5e6e28]
sub edx, 1
add esi, 1
test edx, edx
mov dword [ecx + 4], eax
jne 0x482543
pop edi
pop ebx
pop esi
ret 8
Function at 0x482580
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x400
push edi
mov edi, dword [esp + 0x40c]
test edi, edi
jne 0x48259e
xor eax, eax
pop edi
add esp, 0x400
ret 0xc
push ebx
mov ebx, dword [esp + 0x414]
push esi
or esi, 0xffffffff
test ebx, ebx
jne 0x4825e6
mov eax, dword [esp + 0x410]
movzx edx, byte [eax]
mov ecx, esi
and ecx, 0xff
xor ecx, edx
shr esi, 8
xor esi, dword [ecx*4 + 0x5e6e28]
sub edi, 1
add eax, 1
test edi, edi
jne 0x4825b5
mov eax, esi
pop esi
pop ebx
not eax
pop edi
add esp, 0x400
ret 0xc
push 0x400
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004db150
mov ecx, dword [esp + 0x41c]
add esp, 0xc
movzx eax, byte [ecx]
add dword [esp + eax*4 + 0xc], 1
mov edx, esi
and edx, 0xff
xor edx, eax
shr esi, 8
xor esi, dword [edx*4 + 0x5e6e28]
sub edi, 1
add ecx, 1
test edi, edi
jne 0x482601
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add eax, ecx
add eax, dword [esp + 0x14]
xor edx, edx
add eax, dword [esp + 0x18]
mov ecx, 7
add eax, dword [esp + 0x1c]
add eax, dword [esp + 0x20]
add eax, dword [esp + 0x24]
lea esp, [esp]
add edx, dword [esp + ecx*4 + 0xc]
add ecx, 1
cmp ecx, 0x80
jl 0x482650
cmp ecx, 0x100
jge 0x48267f
jmp 0x482670
add eax, dword [esp + ecx*4 + 0xc]
add ecx, 1
cmp ecx, 0x100
jl 0x482670
shr edx, 2
cmp edx, eax
sbb edx, edx
mov eax, esi
neg edx
pop esi
mov word [ebx], dx
pop ebx
not eax
pop edi
add esp, 0x400
ret 0xc

Function at 0x4826a0
Capabilities:
Hash data using crc32b

Disassembly:
mov eax, ecx
mov dword [eax], vtable.ZipCRC.0
cmp byte [0x5e7228], 0
jne 0x48280b
push ebx
push esi
push edi
xor ebx, ebx
lea ebx, [ebx]
xor edx, edx
test bl, 1
je 0x4826cc
mov edx, 0x80
mov ecx, ebx
shr ecx, 1
test cl, 1
je 0x4826d8
or edx, 0x40
shr ecx, 1
test cl, 1
je 0x4826e2
or edx, 0x20
shr ecx, 1
test cl, 1
je 0x4826ec
or edx, 0x10
shr ecx, 1
test cl, 1
je 0x4826f6
or edx, 8
shr ecx, 1
test cl, 1
je 0x482700
or edx, 4
shr ecx, 1
test cl, 1
je 0x48270a
or edx, 2
test cl, 2
je 0x482712
or edx, 1
shl edx, 0x18
mov ecx, edx
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
add edx, edx
and ecx, 0x4c11db7
xor ecx, edx
mov edx, ecx
and edx, 0x80000000
neg edx
sbb edx, edx
add ecx, ecx
and edx, 0x4c11db7
xor edx, ecx
mov ecx, edx
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
add edx, edx
and ecx, 0x4c11db7
xor ecx, edx
mov edx, ecx
and edx, 0x80000000
neg edx
sbb edx, edx
add ecx, ecx
and edx, 0x4c11db7
xor edx, ecx
mov ecx, edx
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
add edx, edx
and ecx, 0x4c11db7
xor ecx, edx
mov edx, ecx
and edx, 0x80000000
neg edx
sbb edx, edx
add ecx, ecx
and edx, 0x4c11db7
xor edx, ecx
mov ecx, edx
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
add edx, edx
and ecx, 0x4c11db7
xor ecx, edx
mov edx, ecx
and edx, 0x80000000
neg edx
sbb edx, edx
add ecx, ecx
and edx, 0x4c11db7
xor edx, ecx
mov dword [ebx*4 + 0x5e6e28], edx
xor esi, esi
mov ecx, 0x1f
test dl, 1
je 0x4827e1
mov edi, 1
shl edi, cl
or esi, edi
sub ecx, 1
shr edx, 1
cmp ecx, 0xffffffff
jg 0x4827d3
mov dword [ebx*4 + 0x5e6e28], esi
add ebx, 1
cmp ebx, 0xff
jle 0x4826c0
pop edi
pop esi
mov byte [0x5e7228], 1
pop ebx
ret
Function at 0x4836b0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4f8388
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5e4ce0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e4ce0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x98]
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa4]
mov ebx, dword [esp + 0xb8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.004b3e80
mov ecx, dword [esp + 0xa8]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x94], 0
call fcn.004b3fa0
push ebp
lea ecx, [esp + 0x20]
call fcn.004b4020
push esi
lea ecx, [esp + 0x20]
call fcn.004b40e0
push edi
lea ecx, [esp + 0x20]
call fcn.004b4010
push ebx
lea ecx, [esp + 0x20]
call fcn.004b4190
mov edx, dword [esp + 0xac]
push edx
lea ecx, [esp + 0x20]
call fcn.004b3e40
mov eax, dword [esp + 0xb0]
push eax
lea ecx, [esp + 0x20]
call fcn.004b3e50
mov ecx, dword [esp + 0xb4]
push ecx
lea ecx, [esp + 0x20]
call fcn.004b3e60
cmp byte [esp + 0xa8], 0
lea ecx, [esp + 0x1c]
jne 0x4837a7
push 0
call fcn.004b3e70
jmp 0x4837ac
call fcn.004b3e30
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push esi
call fcn.00483220
lea ecx, [esp + 0x1c]
mov bl, al
mov dword [esp + 0x90], 0xffffffff
call fcn.004b3f00
mov al, bl
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004d99c4
add esp, 0x80
ret 0x24

Function at 0x483810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f83f7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5e4ce0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.00465c50
lea edi, [esi + 8]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.004b6d30
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.HttpClient.1.0
mov dword [edi], vtable.HttpClient.0
call fcn.00451c20
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 2
mov dword [esi + 0x28], 0x50
mov byte [esi + 0x2c], bl
call fcn.0047f8b0
lea ecx, [esi + 0xc8]
mov byte [esp + 0x1c], 3
call fcn.004b4a70
lea ecx, [esi + 0x230]
mov byte [esp + 0x1c], 4
call fcn.00451c20
mov dword [esi + 0x24c], ebx
mov dword [esi + 0x250], ebx
mov dword [esi + 0x254], ebx
mov dword [esi + 0x258], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4838d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f8481
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5e4ce0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea edi, [esi + 8]
mov dword [esi], vtable.HttpClient.1.0
mov dword [edi], vtable.HttpClient.0
lea ebx, [esi + 0xc]
mov ecx, ebx
mov dword [esp + 0x20], 5
call fcn.00451240
lea ecx, [esi + 0x230]
mov byte [esp + 0x20], 4
call fcn.00451e70
lea ecx, [esi + 0xc8]
mov byte [esp + 0x20], 3
call fcn.004b4c10
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 2
call fcn.00481200
mov ecx, ebx
mov byte [esp + 0x20], 1
call fcn.00451e70
mov ecx, edi
mov byte [esp + 0x20], 0
call fcn.004b6d40
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.00465c70
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x48a650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f8db9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5e4ce0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.MemoryData.0
mov eax, dword [esi + 0xc]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], 3
je 0x48a69e
cmp byte [esi + 9], bl
je 0x48a69e
push eax
call fcn.004cac16
add esp, 4
lea ecx, [esi + 0x4c]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
mov byte [esp + 0x18], 2
call fcn.004b76a0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00451e70
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], bl
call fcn.00454dd0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00465c70
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x48a7f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f8dfe
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5e4ce0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00465c50
xor eax, eax
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esi], vtable.MemoryData.0
mov byte [esi + 8], al
mov byte [esi + 9], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
call fcn.004547e0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.00451c20
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 2
call fcn.004b7680
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret