joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ae880
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xc2], 0
je 0x5ae8ac
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xc4]
call dword [esi + 0xc0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040a5d8
push eax
push ebx
call sub.advapi32.dll_OpenServiceW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5ae8d1
call fcn.004297c4
xor eax, eax
push ebp
push 0x5ae908
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x5ae8f1
call fcn.004297c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ae90f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x5b1d70
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x5b1df9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x690760
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x5b1de3
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00426790
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x5b1e14
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x68ac0c]
mov dl, 1
mov eax, dword [0x5af52c]
call fcn.00427b68
call fcn.00408ea4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b1e00
lea eax, [ebp - 0x1c]
call fcn.004097e8
ret

Function at 0x5b249c
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
xor esi, esi
xor edi, edi
movzx eax, byte [0x5b24f8]
cmp al, byte [ebx + 0x28]
je 0x5b24c0
mov esi, 0x401
mov eax, ebx
call fcn.005b2608
mov edi, eax
movzx eax, byte [ebx + 0x28]
push eax
push esi
push edi
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
movzx eax, byte [0x5b24f8]
cmp al, byte [ebx + 0x28]
jne 0x5b24f0
xor eax, eax
mov dword [esp], eax
push esp
push 0x8004667e
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_ioctlsocket
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5b2590
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.005b249c
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00407e80
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x5b25f8
call fcn.005b1cb8
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x5b25e6
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00407e80
pop esi
pop ebx
ret
Function at 0x5b2a80
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x5b2b0c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, ebx
mov ecx, 0
call fcn.0040a36c
mov eax, dword [ebp - 0xc]
call fcn.0040a230
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, 4
call fcn.00407284
test ebx, ebx
je 0x5b2af0
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [ebp - 8], cl
movzx ecx, byte [edx + 1]
mov byte [ebp - 7], cl
movzx ecx, byte [edx + 2]
mov byte [ebp - 6], cl
movzx eax, byte [edx + 3]
mov byte [ebp - 5], al
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b2b13
lea eax, [ebp - 0xc]
call fcn.0040980c
ret

Function at 0x5b2c70
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x5b2ca1
mov ecx, dword [0x68adc8]
mov dl, 1
mov eax, dword [0x5af52c]
call fcn.00427b2c
call fcn.00408ea4
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x5b2cce
mov ecx, dword [0x68a990]
mov dl, 1
mov eax, dword [0x5af52c]
call fcn.00427b2c
call fcn.00408ea4
xor eax, eax
push ebp
push 0x5b2d4f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00407e80
cmp byte [ebp + 8], 0
je 0x5b2d29
mov eax, dword [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.005b2b94
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
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 edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.005b24fc
jmp 0x5b2d45
mov eax, dword [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.005b1fc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b2d6c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5b2f84
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.005b2328
xor eax, eax
push ebp
push 0x5b30f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x5b30e1
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x5b2fd0
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x5b2fda
call fcn.00408f98
jmp 0x5b30fe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0049c7b4
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x5b30d6
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x5b3089
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x5b3076
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00407e80
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.005b2f3c
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x5b310c]
cmp dl, byte [eax + 0x28]
je 0x5b30dd
call fcn.00427a44
jmp 0x5b30dd
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0049c7dc
jmp 0x5b30dd
cmp edi, ebx
jge 0x5b30a5
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0049c7dc
jmp 0x5b2fda
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0049c7b4
cmp edx, dword [esp + 4]
jne 0x5b30c5
cmp eax, dword [esp]
pop edx
pop eax
jne 0x5b2fda
push ebp
call fcn.005b2f3c
pop ecx
jmp 0x5b30dd
push ebp
call fcn.005b2f3c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b30fe
mov eax, dword [ebp - 4]
call fcn.005b2330
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5b3110
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b3232
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005b2328
xor eax, eax
push ebp
push 0x5b3215
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x5b3160
call fcn.00408f98
jmp 0x5b321c
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x5b31ff
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x5b31ff
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00407e80
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x5b31ff
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00426790
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x5b3250
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x68ac0c]
mov dl, 1
mov eax, dword [0x5af52c]
call fcn.00427b68
call fcn.00408ea4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b321c
mov eax, dword [ebp - 4]
call fcn.005b2330
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b3239
lea eax, [ebp - 0x28]
call fcn.004097e8
ret
Function at 0x5b32a0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5b3411
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005b2328
xor eax, eax
push ebp
push 0x5b33f4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x5b3305
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x5b3305
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x5b33de
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x5b3318
call fcn.00408f98
jmp 0x5b33fb
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
test eax, eax
jne 0x5b333f
cmp dword [ebp - 0x10], 0
jle 0x5b333f
cmp ebx, dword [ebp - 0x10]
jle 0x5b333f
mov ebx, dword [ebp - 0x10]
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x5b33de
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x5b33de
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00407e80
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x5b33de
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00426790
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x5b3430
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x68ac0c]
mov dl, 1
mov eax, dword [0x5af52c]
call fcn.00427b68
call fcn.00408ea4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b33fb
mov eax, dword [ebp - 4]
call fcn.005b2330
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b3418
lea eax, [ebp - 0x2c]
call fcn.004097e8
ret
Function at 0x5fefd8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x690fc4], 0
jne 0x5fefef
call fcn.005fef94
mov eax, edi
dec eax
test eax, eax
jl 0x5ff017
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x690bc4]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5feff9
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x601cb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x601d4a.0
jmp dword [ecx*4 + 0x601ce3]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x601d15
sub dl, 8
je 0x601d24
jmp case.0x601d4a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x60197c
jmp case.0x601d4a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6019d0
jmp case.0x601d4a.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x601d4a.0
movzx ecx, byte [ecx + 0x601d51]
jmp dword [ecx*4 + 0x601d62]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x601a70
jmp case.0x601d4a.0
cmp dl, 3
jne 0x601d8f
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x601ac8
jmp case.0x601d4a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x601a84
jmp case.0x601d4a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x601b0c
jmp case.0x601d4a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x601dba
sub dl, 8
je 0x601dc6
jmp case.0x601d4a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x601b38
jmp case.0x601d4a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x601b9c
jmp case.0x601d4a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x601de5
sub dl, 8
je 0x601df1
jmp case.0x601d4a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x601c4c
jmp case.0x601d4a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x601c74
mov ecx, dword [eax + 0x468]
mov edx, dword [ebx + 0x1c]
dec edx
imul ecx, edx
mov esi, ecx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add ecx, dword [eax + 0x44c]
mov dword [ebp - 0x10], ecx
mov esi, edx
test esi, esi
jb 0x601e93
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00600ec4
test eax, eax
je 0x601e93
mov eax, ebx
call fcn.00601e9c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x601e2c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x601e9c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x601ecd
dec al
je 0x601f08
dec al
je 0x601f45
dec al
je 0x601fae
jmp 0x602038
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x602038
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x601edd
jmp 0x602038
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x602038
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov ecx, eax
xor cl, 1
and ecx, 0x7f
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ecx, byte [ecx + esi]
movzx edx, al
mov edx, dword [ebx + edx*4 + 0x40]
add cl, byte [edx + esi]
and cl, 0xff
mov byte [edx + esi], cl
inc esi
dec edi
jne 0x601f18
jmp 0x602038
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x602038
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x601f74
xor ebp, ebp
jmp 0x601f84
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x601f8d
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x601f55
jmp 0x602038
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x602038
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x602007
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.005ff020
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x601fc2
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x60d2a4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov byte [ebp - 5], dl
mov esi, eax
xor eax, eax
push ebp
push 0x60d456
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [esi + 0x1c]
call fcn.004097e8
xor eax, eax
mov dword [esi + 0x18], eax
xor eax, eax
mov dword [esi + 0x7c], eax
movzx eax, byte [esi + 0x20]
cmp eax, 5
ja case.default.0x60d2e4
jmp dword [eax*4 + 0x60d2eb]
call fcn.00608e84
call fcn.00608e14
mov dword [esi + 0x7c], eax
jmp 0x60d35b
call fcn.00608ea0
call fcn.00608e14
mov dword [esi + 0x7c], eax
jmp 0x60d35b
call fcn.00608ebc
call fcn.00608e14
mov dword [esi + 0x7c], eax
jmp 0x60d35b
call fcn.00608ed8
call fcn.00608e14
mov dword [esi + 0x7c], eax
jmp 0x60d35b
call fcn.00608ef4
call fcn.00608e14
mov dword [esi + 0x7c], eax
jmp 0x60d35b
call fcn.00608f10
call fcn.00608e14
mov dword [esi + 0x7c], eax
cmp dword [esi + 0x7c], 0
jne 0x60d36d
mov eax, esi
call fcn.0060ca14
jmp case.default.0x60d2e4
lea eax, [ebp - 4]
mov edx, dword [esi + 0x28]
mov ecx, 0
call fcn.0040a36c
lea edx, [ebp - 4]
mov eax, dword [esi + 0x7c]
call fcn.00608de0
cmp byte [esi + 0x54], 0
je 0x60d39f
xor ecx, ecx
mov edx, 1
mov eax, dword [esi + 0x7c]
call fcn.00609320
jmp 0x60d3ab
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x7c]
call fcn.00609320
mov edx, 0x60c83c
mov eax, dword [esi + 0x7c]
call fcn.0060910c
mov edx, esi
mov eax, dword [esi + 0x7c]
call fcn.00609134
cmp byte [ebp - 5], 0
je 0x60d407
cmp dword [esi + 0x2c], 0
jne 0x60d407
cmp dword [esi + 0x34], 0
jne 0x60d407
cmp dword [esi + 0x40], 0
jne 0x60d407
cmp dword [esi + 0x3c], 0
jne 0x60d407
lea edx, [ebp - 0x10]
mov edi, dword [esi + 0x10]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
mov eax, edi
call fcn.005cbfe0
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, esi
call fcn.0060cf60
test al, al
je case.default.0x60d2e4
xor eax, eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x7c]
call fcn.0060918c
mov edi, eax
mov dword [esi + 0x78], edi
test edi, edi
jne 0x60d431
mov eax, esi
call fcn.0060ca14
jmp case.default.0x60d2e4
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60d45d
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00409848
lea eax, [ebp - 4]
call fcn.0040980c
ret
Function at 0x611630
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x61165e
mov eax, ebx
call fcn.006120ec
cmp dword [ebx + 0x40], 0
je 0x611657
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x6116cf
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x6116c1
cmp dword [ebx + 8], 0
je 0x611680
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x611692
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x6116c1
cmp dword [ebx + 8], 0
je 0x611673
cmp eax, 3
je 0x6116a5
dec eax
jne 0x611673
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x611673
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x611673
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x6116ed
cmp dword [ebx + 0x14], 0xcc
je 0x6116ed
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.006116f8
pop ebx
ret

Function at 0x6289a8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x6289f9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x6289e0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x6289d0
jmp 0x6289f9
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x6289e1
pop ebx
mov esp, ebp
pop ebp
ret