joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ac1a0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [ebx + eax*4 + 0x1a8]
push edi
call fcn.005ac0f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
push eax
push ecx
push esi
call dword [sym.imp.WS2_32.dll_send]
mov edi, dword [esp + 0x20]
mov esi, eax
mov dword [edi], 0
cmp esi, 0xffffffff
jne 0x5ac222
push ebp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
cmp ebp, 0x2733
jne 0x5ac1f9
pop ebp
mov dword [edi], 0x51
pop edi
pop esi
xor eax, eax
pop ebx
ret
push ebp
push ebx
call fcn.005caa90
mov edx, dword [ebx]
push eax
push str.Send_failure:__s
push edx
call fcn.005abcb0
mov eax, dword [ebx]
mov dword [eax + 0xde0], ebp
add esp, 0x14
mov dword [edi], 0x37
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5ae051
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + eax]
mov ebx, 0x1505
cmp esi, edi
jae 0x5ae080
movzx eax, byte [esi]
push eax
call fcn.005afea0
mov edx, ebx
shl edx, 5
movsx ecx, al
add edx, ebx
xor ecx, edx
inc esi
add esp, 4
mov ebx, ecx
cmp esi, edi
jb 0x5ae061
pop edi
pop esi
movzx eax, bl
pop ebx
ret
push ecx
push esi
mov esi, eax
test esi, esi
je 0x5ae0bd
call fcn.005adea0
test eax, eax
jne 0x5ae0bd
lea eax, [esp + 4]
push eax
call fcn.005adff0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 4]
pop esi
add esp, 4
jmp 0x5ae050
xor eax, eax
pop esi
pop ecx
ret

Function at 0x5ae6f0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x14
xor eax, eax
cmp dword [esi + 0xb40], eax
push 4
lea ecx, [esp + 4]
push ecx
setne al
push 8
push 0xffff
push edi
mov dword [esp + 0x14], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x5ae72e
push edi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push esi
call fcn.005abc20
add esp, 0xc
add esp, 0x14
ret
mov edx, dword [esi + 0xb44]
push edx
mov dword [esp + 0xc], 1
call fcn.005adca0
imul eax, eax, 0x3e8
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xb48]
push eax
call fcn.005adca0
imul eax, eax, 0x3e8
add esp, 8
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0xc
lea edx, [esp + 0x20]
push edx
push 0x98000004
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x5ae7a7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
push esi
call fcn.005abc20
add esp, 0x10
add esp, 0x14
ret
Function at 0x5aef30
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x108
mov eax, dword [0x6be5a4]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
cmp dword [ebx + 0x90], 2
push ebp
mov ebp, dword [ebx]
je 0x5af0bf
cmp dword [ebx + 0x290], 0
push esi
push edi
jne 0x5af0b4
cmp dword [ebx + 0x300], 0
jne 0x5af0b4
mov esi, dword [esp + 0x120]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x98]
push ecx
mov edi, 0x80
push esi
mov dword [esp + 0x1c], edi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x5aefc4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.005caa90
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebp
call fcn.005abcb0
add esp, 0x18
jmp 0x5af0bd
push edi
lea edx, [esp + 0x18]
push 0
push edx
mov dword [esp + 0x1c], edi
call fcn.005f6220
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x5af011
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.005caa90
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebp
call fcn.005abcb0
add esp, 0x18
jmp 0x5af0bd
lea edx, [ebx + 0x134]
push edx
lea esi, [ebx + 0x106]
lea eax, [esp + 0x98]
push esi
push eax
call fcn.005aee90
add esp, 0xc
test eax, eax
jne 0x5af05e
call fcn.005f486a
mov esi, eax
call fcn.005f486a
mov ecx, dword [esi]
push ecx
push ebx
mov edi, eax
call fcn.005caa90
mov edx, dword [edi]
push eax
push edx
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.005abcb0
add esp, 0x18
jmp 0x5af0bd
lea edi, [ebx + 0x5c]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x168]
push eax
lea ecx, [ebx + 0x138]
push ecx
lea edx, [esp + 0x1c]
push edx
movsw word es:[edi], word [esi]
call fcn.005aee90
add esp, 0xc
test eax, eax
jne 0x5af0b4
call fcn.005f486a
mov esi, eax
call fcn.005f486a
mov edi, eax
mov eax, dword [esi]
push eax
push ebx
call fcn.005caa90
mov ecx, dword [edi]
push eax
push ecx
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.005abcb0
add esp, 0x18
jmp 0x5af0bd
push ebx
call fcn.005aee10
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x10c]
pop ebp
pop ebx
xor ecx, esp
call fcn.005f60cd
add esp, 0x108
ret

Function at 0x5af0e0
Capabilities:
Set socket configuration

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, dword [edi]
push 4
lea eax, [esp + 0x10]
push eax
push 1
push 6
push ecx
mov dword [esp + 0x20], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x5af129
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
call fcn.005caa90
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.005abc20
add esp, 0x14
pop edi
pop esi
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.005abc20
add esp, 8
pop edi
pop esi
ret
Function at 0x5b1c30
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
push 0
call fcn.005f9fc6
add esp, 0x18
test eax, eax
je 0x5b1c53
cmp eax, 0xffffffff
jne 0x5b1c55
xor eax, eax
ret
Function at 0x5b9670
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
push str.Connected_for_receive
push 0x689920
push ecx
call fcn.005abc20
add esp, 0xc
mov eax, esi
mov dword [esi], 1
call fcn.005b87c0
test eax, eax
jne 0x5b96a0
mov eax, esi
jmp fcn.005b8c60
ret
Function at 0x5bb810
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
mov edx, dword [edi + 0x1a8]
mov al, byte [esp + 8]
push esi
mov esi, dword [edi]
push 0
push 3
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], al
mov byte [esp + 0x16], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x5bb854
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.005abcb0
add esp, 0xc
mov esi, dword [esp + 0xc]
mov ecx, dword [edi]
push str.SENT
mov eax, ebx
call fcn.005bb710
add esp, 4
pop esi
pop ecx
ret
Function at 0x5bc180
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x90c
mov eax, dword [0x6be5a4]
xor eax, esp
mov dword [esp + 0x908], eax
push ebx
push ebp
push esi
push edi
push 0x7f
lea eax, [esp + 0x9d]
mov ebx, ecx
push 0
push eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0xa4], 0
call fcn.005f6220
push 0x7f
lea ecx, [esp + 0x29]
push 0
push ecx
mov byte [esp + 0x30], 0
call fcn.005f6220
mov ebp, dword [ebx]
mov edi, dword [ebp + 0x164]
mov edx, dword [edi + 0x1eb4]
sub edx, dword [edi + 0x1eb0]
lea eax, [edi + 0x1cb0]
add edx, 2
push edx
push 0x3c
mov esi, ebp
mov dword [esp + 0x30], ebp
call fcn.005bbba0
mov eax, dword [edi + 0x1eb0]
movzx ecx, byte [eax]
inc eax
add esp, 0x20
mov dword [edi + 0x1eb0], eax
cmp ecx, 0x18
je 0x5bc368
cmp ecx, 0x23
je 0x5bc342
cmp ecx, 0x27
jne 0x5bc3fa
push 0
push ecx
push 0xfa
push 0xff
push str._c_c_c_c
lea eax, [esp + 0x12c]
push 0x800
push eax
call fcn.005b10c0
mov esi, dword [edi + 0x1cac]
add esp, 0x1c
mov ebp, 4
test esi, esi
je 0x5bc2d6
lea esp, [esp]
mov ebx, dword [esi]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5bc267
sub eax, edx
lea edi, [eax + ebp + 1]
cmp edi, 0x7fa
jae 0x5bc2cb
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x9c]
push edx
push str._127_____127s
push ebx
call fcn.005f4fd3
add esp, 0x10
test eax, eax
je 0x5bc2cb
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0xa0]
push ecx
push 0
mov edx, 0x800
push str._c_s_c_s
sub edx, ebp
push edx
lea eax, [esp + ebp + 0x130]
push eax
call fcn.005b10c0
add esp, 0x1c
mov ebp, edi
mov esi, dword [esi + 4]
test esi, esi
jne 0x5bc260
mov ebx, dword [esp + 0x14]
push 0xf0
push 0xff
mov ecx, 0x800
push 0x68be80
sub ecx, ebp
push ecx
lea edx, [esp + ebp + 0x128]
push edx
call fcn.005b10c0
mov ecx, dword [ebx + 0x1a8]
add esp, 0x14
push 0
add ebp, 2
push ebp
lea eax, [esp + 0x120]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x5bc335
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [esp + 0x10]
push eax
push str.Sending_data_failed___d_
push edx
call fcn.005abcb0
add esp, 0xc
mov esi, dword [esp + 0x10]
add ebp, 0xfffffffe
push ebp
jmp 0x5bc3e9
lea ecx, [edi + 0x1c28]
mov eax, ecx
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5bc350
push 0xf0
push 0xff
push ecx
push 0
push 0x23
jmp 0x5bc389
lea ecx, [edi + 0x1c08]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5bc373
push 0xf0
push 0xff
push ecx
push 0
push 0x18
push 0xfa
push 0xff
sub eax, esi
push str._c_c_c_c_s_c_c
lea edi, [eax + 6]
lea eax, [esp + 0x138]
push 0x800
push eax
call fcn.005b10c0
mov edx, dword [ebx + 0x1a8]
add esp, 0x28
push 0
push edi
lea ecx, [esp + 0x120]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x5bc3e3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebp
call fcn.005abcb0
add esp, 0xc
add edi, 0xfffffffe
mov esi, ebp
push edi
push 0x3e
lea eax, [esp + 0x122]
call fcn.005bbba0
add esp, 8
mov ecx, dword [esp + 0x918]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005f60cd
add esp, 0x90c
ret
Function at 0x5bc5e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
cmp dword [esp + 0xc], 0x1f
mov eax, dword [esp + 8]
mov eax, dword [eax]
push ebp
mov ebp, dword [eax + 0x164]
mov dword [esp + 4], eax
jne 0x5bc739
push ebx
push esi
push edi
lea ebx, [ebp + 0x1cb0]
lea edi, [ebp + 0x1eb0]
mov dword [edi], ebx
cmp ebx, edi
jae 0x5bc617
mov byte [ebx], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x5bc622
mov byte [eax], 0xfa
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x5bc62d
mov byte [eax], 0x1f
inc dword [edi]
movzx ecx, word [ebp + 0x1ca8]
mov esi, dword [sym.imp.WS2_32.dll_htons]
push ecx
call esi
movzx edx, ax
movzx eax, word [ebp + 0x1caa]
push eax
mov dword [esp + 0x20], edx
call esi
movzx ecx, ax
mov eax, dword [edi]
cmp eax, edi
jae 0x5bc65f
mov dl, byte [esp + 0x1c]
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x5bc66d
mov dl, byte [esp + 0x1d]
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x5bc677
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x5bc681
mov byte [eax], ch
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x5bc68c
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x5bc697
mov byte [eax], 0xf0
inc dword [edi]
mov eax, dword [edi]
mov esi, dword [esp + 0x10]
mov ecx, eax
sub ecx, ebx
sub ecx, 2
push ecx
mov dword [ebp + 0x1eb4], eax
lea eax, [ebp + 0x1cb2]
push 0x3e
mov dword [edi], ebx
call fcn.005bbba0
mov edi, dword [esp + 0x20]
mov edx, dword [edi + 0x1a8]
add esp, 8
push 0
push 3
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_send]
push edx
call ebx
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jge 0x5bc6f4
call esi
push eax
mov eax, dword [esp + 0x14]
push str.Sending_data_failed___d_
push eax
call fcn.005abcb0
add esp, 0xc
lea ecx, [ebp + 0x1cb3]
push ecx
push edi
mov eax, 4
call fcn.005bc420
mov edx, dword [edi + 0x1a8]
add esp, 8
push 0
push 2
add ebp, 0x1cb7
push ebp
push edx
call ebx
test eax, eax
jge 0x5bc736
call esi
push eax
mov eax, dword [esp + 0x14]
push str.Sending_data_failed___d_
push eax
call fcn.005abcb0
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret
Function at 0x5bd1f0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x88
mov eax, dword [0x6be5a4]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ebp, dword [esi + 0x1ac]
mov edi, dword [esi]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
or ebx, 0xffffffff
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x5bd24d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push ebp
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
push ebp
push esi
call fcn.005af220
add esp, 8
cmp ebx, 0xffffffff
jne 0x5bd271
push str.Error_accept__ing_server_connect
push edi
call fcn.005abcb0
add esp, 8
mov eax, 0x1e
jmp 0x5bd2e3
push str.Connection_accepted_from_server_n
push edi
call fcn.005abc20
push 1
push ebx
mov dword [esi + 0x2b8], 0
mov dword [esi + 0x1ac], ebx
call fcn.005ccbb0
add esp, 0x10
mov dword [esi + 0x1bc], 1
cmp dword [edi + 0x620], 0
je 0x5bd2e1
push 1
push edi
call fcn.005ab7e0
mov ecx, dword [edi + 0x624]
mov edx, dword [edi + 0x620]
push 1
push ebx
push ecx
call edx
push 0
push edi
mov ebx, eax
call fcn.005ab7e0
add esp, 0x1c
test ebx, ebx
je 0x5bd2e1
call fcn.005bd120
mov eax, 0x2a
jmp 0x5bd2e3
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005f60cd
add esp, 0x88
ret
Function at 0x5c0950
Capabilities:
Check http status code

Disassembly:
push ebx
mov ebx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
push ebp
mov ebp, dword [esp + 0xc]
mov eax, edx
shr eax, 0x1f
push esi
add eax, edx
xor esi, esi
push edi
mov edi, dword [ebx]
cmp eax, 2
je 0x5c098a
push str.Couldnt_set_desired_mode
push edi
call fcn.005abcb0
add esp, 8
pop edi
lea eax, [esi + 0x11]
pop esi
pop ebp
pop ebx
ret
cmp ecx, 0xc8
je 0x5c09a1
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push edi
call fcn.005abc20
add esp, 0xc
cmp ebp, 0x13
jne 0x5c09b6
push ebx
call fcn.005c08e0
add esp, 4
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x14
jne 0x5c09c7
call fcn.005bdd70
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x15
jne 0x5c09da
mov eax, ebx
call fcn.005c0930
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x16
jne 0x5c09e8
mov eax, ebx
call fcn.005c0940
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x5cd020
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov ebp, dword [esi + 0x34]
mov ebx, dword [ebp]
push edi
mov edi, dword [ebx + 0x660]
test edi, edi
jne 0x5cd03e
mov edi, dword [esi + 0x30]
lea eax, [esp + 0x10]
push eax
call fcn.005b02a0
lea ecx, [esi + 0x20]
mov esi, dword [ecx]
sub esp, 0xc
mov edx, esp
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], esi
mov dword [edx + 0xc], ecx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.005b02e0
mov ecx, eax
mov eax, edx
mov dword [esp + 0x44], eax
mov eax, edi
cdq
add esp, 0x20
mov edi, eax
sub edi, ecx
mov ecx, dword [esp + 0x24]
mov esi, edx
sbb esi, ecx
cmp dword [ebx + 0x650], 0
je 0x5cd110
lea edx, [esp + 0x10]
push edx
call fcn.005b02a0
lea ecx, [ebp + 0x188]
mov ebp, dword [ecx]
sub esp, 0xc
mov edx, esp
mov dword [edx], ebp
mov ebp, dword [ecx + 4]
mov dword [edx + 4], ebp
mov ebp, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ecx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.005b02e0
mov ecx, eax
mov eax, dword [ebx + 0x650]
mov ebp, edx
cdq
add esp, 0x20
sub eax, ecx
sbb edx, ebp
cmp esi, edx
jl 0x5cd110
jg 0x5cd114
cmp edi, eax
jae 0x5cd114
mov eax, edi
mov edx, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x5d8f30
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x6b61ac]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x5d8f43
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x5d8f84
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x6b6254]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x5d8fb6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x5d8fba
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x5d8fab
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x5d8fd8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x5d8fdc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x5d8fcd
xor ecx, ecx
mov eax, 0x6b61bc
xor ebx, ebx
mov bl, byte [ecx + 0x6b6264]
cmp byte [esp + ebx + 0x14], 0
je 0x5d9007
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x6b627c]
cmp byte [esp + ebx + 0x14], 0
je 0x5d901e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x5d8fee
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x5d8f77
lea edx, [esp + 0x84]
push edx
call fcn.005d9060
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x5dbea0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x5dbee7
mov edi, dword [esp + 0x10]
push edi
call fcn.00612a1e
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 0xa4]
mov ecx, dword [ecx]
push eax
push edi
push 1
push ecx
call fcn.005f4f4c
sub eax, edi
add esp, 0x14
neg eax
sbb eax, eax
pop edi
and eax, 0x21
pop esi
ret 0xc
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x5dbf1b
mov eax, dword [esi + 0x18]
test eax, eax
je 0x5dbf1b
mov edx, dword [ecx]
call dword [edx + 0x40]
test al, al
je 0x5dbf05
mov eax, dword [esi + 0x7c]
test eax, eax
jg 0x5dbf1b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.005dbfe0
pop edi
pop esi
ret 0xc
mov ecx, dword [esi + 0x18]
push ebx
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [esi + 0x14]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ebx, eax
cmp ebx, 0x5a
jle 0x5dbf4e
cmp edi, 0x5a
jle 0x5dbf4e
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx]
call dword [edx + 0x44]
test al, al
je 0x5dbf4e
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi + 0x7c]
imul eax, dword [esi + 0x3c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x1fff
add eax, edx
mov edi, eax
mov eax, dword [esi + 0x40]
sar edi, 0xd
cmp edi, eax
jbe 0x5dbf7d
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov al, byte [esp + 0x18]
test al, al
je 0x5dbfc3
cmp ebx, 1
jge 0x5dbfc3
mov ecx, dword [esi + 0x18]
mov edx, edi
shr edx, 1
cmp dword [ecx + 0xc], edx
jae 0x5dbfc3
mov al, byte [esi + 0x1d]
test al, al
jne 0x5dbfc3
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call ebx
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0xc], edi
jae 0x5dbfc3
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0x5a
jg 0x5dbfc3
mov al, byte [esi + 0x1d]
test al, al
je 0x5dbfa3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.005dbfe0
pop ebx
pop edi
pop esi
ret 0xc

Function at 0x5dd180
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, ecx
mov al, byte [ebp + 0x24]
test al, al
jne 0x5dd1a7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
push 1
push edx
call fcn.005f4f4c
add esp, 0x10
pop ebp
ret 0xc
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
call fcn.005f54da
mov ebx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x1c]
push esi
push eax
push 1
push ebx
call fcn.005f4f4c
mov esi, eax
add esp, 0x14
test esi, esi
jbe 0x5dd1db
push esi
push ebx
push edi
mov ecx, ebp
call fcn.005dd3a0
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x5dd1f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6e2454]
xor edx, edx
cmp eax, edx
jne 0x5dd216
xor eax, eax
mov byte [eax + 0x6e2354], al
inc eax
cmp eax, 0x100
jl 0x5dd1fe
mov dword [0x6e2454], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6e2354
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x5dd2a7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x5dd27a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x5dd248
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x5dd320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x5dd373
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x5dd35a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5e3d10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x621f1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.005e4630
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x691ab4
call fcn.00612a1e
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x5e3da3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00612a1e
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x5e3d9c
push 0
mov ecx, eax
call fcn.005dae60
mov dword [esi + 0xc], eax
jmp 0x5e3da5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x5e3da5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x5f60cd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6be5a4]
jne 0x5f60d7
repz ret
jmp fcn.0060937a