joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5dbae4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5dbc55
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5dbc30
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00504ef4
lea eax, [ebp - 0x118]
mov edx, 0x5dbc6c
call fcn.00504fe4
mov eax, dword [ebp - 0x118]
call fcn.005051dc
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x5dbba2
lea eax, [ebp - 0x111]
call fcn.0050a724
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00504dfc
jmp 0x5dbba9
mov eax, esi
call fcn.00504d0c
cmp bl, 0x61
jae 0x5dbbca
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0050e840
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00504d60
jmp 0x5dbbe4
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0050e7b4
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00504d60
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x5dbc78
call fcn.0050ae44
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00504d60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dbc37
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x5e4404
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x170]
mov edx, ebx
mov eax, edi
call fcn.005e4638
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.005e4638
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0x5e4478
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x5e449d
inc esi
mov eax, edi
call fcn.005e445c
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.005e4404
inc ebx
dec esi
jne 0x5e4487
pop edi
pop esi
pop ebx
ret
Function at 0x5e452c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.005051cc
xor eax, eax
push ebp
push 0x5e45a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.005e44a4
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.005e445c
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.005e4404
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x5e456c
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e45a8
lea eax, [ebp - 4]
call fcn.00504d0c
ret
Function at 0x5e5164
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5e5348
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x5e5304
mov eax, dword [ebp - 4]
call fcn.005e6ae0
cmp ebx, eax
jge 0x5e5304
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.005d48ac
mov edx, dword [0x5d5554]
call fcn.0050403c
mov esi, eax
mov eax, esi
call fcn.005d6408
test al, al
je 0x5e52fa
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x5e52ee
xor eax, eax
push ebp
push 0x5e52e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005e571c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0051e63c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00505368
mov eax, dword [ebp - 8]
call fcn.00505234
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005e54e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e5332
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x5e52e6
mov eax, dword [ebp - 4]
call fcn.005e57a0
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0050a92c
jmp 0x5e5332
mov eax, dword [ebp - 8]
call fcn.00504d0c
jmp 0x5e5332
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.00509e64
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x518c6c]
call fcn.0050d97c
call fcn.00504660
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e534f
lea eax, [ebp - 0x54]
call fcn.00504d0c
ret
Function at 0x5ed4bc
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 0x5ed545
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x629ec0
push 0x202
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x5ed52f
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0050d0f8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x5ed55c
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x627b34]
mov dl, 1
mov eax, dword [0x5eccbc]
call fcn.0050da38
call fcn.00504660
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ed54c
lea eax, [ebp - 0x1c]
call fcn.00504d0c
ret

Function at 0x5edc00
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.005edb1c
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00504088
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, eax
mov ecx, 0x5edc68
mov eax, ebx
call fcn.005ed400
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x5edc5a
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.00504088
pop esi
pop ebx
ret

Function at 0x5edd38
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.005051dc
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.005036a0
test ebx, ebx
je 0x5edd83
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x5ede60
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 0x5ede91
mov ecx, dword [0x6279c4]
mov dl, 1
mov eax, dword [0x5eccbc]
call fcn.0050d9fc
call fcn.00504660
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 0x5edebe
mov ecx, dword [0x627908]
mov dl, 1
mov eax, dword [0x5eccbc]
call fcn.0050d9fc
call fcn.00504660
xor eax, eax
push ebp
push 0x5edf3a
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.00504088
cmp byte [ebp + 8], 0
je 0x5edf16
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.005eddc8
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 eax, dword [ebp - 4]
call fcn.005edc00
jmp 0x5edf30
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.005ed6f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5edf57
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5ee144
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
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.005ed9b4
xor eax, eax
push ebp
push 0x5ee2b5
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 0x5ee29f
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x5ee18f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x5ee199
call fcn.0050470c
jmp 0x5ee2bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0051e63c
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 0x5ee294
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 ecx, eax
cmp ecx, 0xffffffff
jne 0x5ee247
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x5ee234
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00504088
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.005ee0fc
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x5ee2c8]
cmp dl, byte [eax + 0x28]
je 0x5ee29b
call fcn.0050d914
jmp 0x5ee29b
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0051e65c
jmp 0x5ee29b
cmp ecx, ebx
jge 0x5ee263
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0051e65c
jmp 0x5ee199
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.0051e63c
cmp edx, dword [esp + 4]
jne 0x5ee283
cmp eax, dword [esp]
pop edx
pop eax
jne 0x5ee199
push ebp
call fcn.005ee0fc
pop ecx
jmp 0x5ee29b
push ebp
call fcn.005ee0fc
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ee2bc
mov eax, dword [ebp - 4]
call fcn.005ed9c0
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ee2cc
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov esi, ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5ee466
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005ed9b4
xor edx, edx
push ebp
push 0x5ee449
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x5ee31d
call fcn.0050470c
jmp 0x5ee450
cmp byte [ebp + 8], 0
jne 0x5ee338
push 0
push esi
push edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
jmp 0x5ee3aa
xor eax, eax
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x10], eax
cmp esi, dword [ebp - 8]
jle 0x5ee3aa
mov eax, edi
add eax, dword [ebp - 8]
push 0
mov edx, esi
sub edx, dword [ebp - 8]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5ee380
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x5ee3aa
push 0xa
call sub.kernel32.dll_Sleep
jmp 0x5ee383
add dword [ebp - 8], ebx
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x10]
cmp eax, 0xea60
jae 0x5ee3aa
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x5ee3a5
call fcn.0050470c
jmp 0x5ee450
cmp esi, dword [ebp - 8]
jg 0x5ee34a
inc ebx
jne 0x5ee433
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x5ee433
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00504088
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 0x5ee433
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.0050d0f8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x5ee484
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x627b34]
mov dl, 1
mov eax, dword [0x5eccbc]
call fcn.0050da38
call fcn.00504660
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ee450
mov eax, dword [ebp - 4]
call fcn.005ed9c0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ee46d
lea eax, [ebp - 0x2c]
call fcn.00504d0c
ret
Function at 0x5ee4d0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5ee61a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005ed9b4
xor eax, eax
push ebp
push 0x5ee5fd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x5ee535
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x5ee535
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 0x5ee5e7
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x5ee548
call fcn.0050470c
jmp 0x5ee604
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x5ee5e7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x5ee5e7
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00504088
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 0x5ee5e7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0050d0f8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x5ee634
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x627b34]
mov dl, 1
mov eax, dword [0x5eccbc]
call fcn.0050da38
call fcn.00504660
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ee604
mov eax, dword [ebp - 4]
call fcn.005ed9c0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ee621
lea eax, [ebp - 0x28]
call fcn.00504d0c
ret
Function at 0x5ff338
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x5ff362
cmp dword [ebx + 0x64], 0
jne 0x5ff362
cmp dword [ebx + 0x6c], 0
jne 0x5ff362
mov edi, esi
jmp 0x5ff3e9
cmp edi, 0xffffffff
jne 0x5ff36a
dec edi
jmp 0x5ff3e9
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x5ff3e9
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.005fe734
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x5ff3b7
mov cx, word [esp]
sub cx, si
jmp 0x5ff3b9
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x5ff3a0
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x5ff3df
mov cx, word [esp]
sub cx, si
jmp 0x5ff3e1
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x5ff3c8
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x5ff446
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.005ff0d4
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x5ff431
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x5ff446
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x5ff342
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x60569c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x62a138
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x6056be
shr eax, 1
xor eax, 0xedb88320
jmp 0x6056c0
shr eax, 1
dec edx
jne 0x6056ac
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x6056a5
mov byte [0x62a538], 1
pop esi
pop ebx
ret

Function at 0x6056dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x62a538], 0
jne 0x6056f3
call fcn.0060569c
mov eax, edi
dec eax
test eax, eax
jl 0x60571c
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x62a138]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6056fd
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x607cb8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x607ce9
dec al
je 0x607d25
dec al
je 0x607d69
dec al
je 0x607dd4
jmp 0x607e5e
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x607e5e
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, 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 0x607cf9
jmp 0x607e5e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x607e5e
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x607d35
jmp 0x607e5e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x607e5e
mov esi, 1
mov al, 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 0x607d97
xor ebp, ebp
jmp 0x607da8
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x607db1
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x607d79
jmp 0x607e5e
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x607e5e
mov esi, 1
mov al, 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 0x607e2c
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, 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
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00605724
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x607de8
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4bcb00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov ecx, ebx
call dword [method.QAction.isEnabled___const]
test al, al
jne 0x4bcb31
add esp, 0x1c
mov ecx, esi
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00422cc0
mov eax, dword [edi + 0x14]
test byte [eax + 5], 0x80
jne 0x4bcb90
mov ecx, edi
call dword [method.QWidget.show__]
mov eax, ebp
test al, al
je 0x4bcb70
mov ecx, ebx
mov dword [esp], 1
call dword [method.QAction.setChecked_bool_]
sub esp, 4
mov ecx, esi
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00422cc0
mov ecx, edi
mov dword [esp], esi
call fcn.0049c450
mov ecx, edi
sub esp, 4
call dword [method.QWidget.repaint__]
jmp 0x4bcb48
mov ecx, edi
mov dword [esp], esi
call fcn.0049c290
sub esp, 4
mov ecx, ebx
mov dword [esp], 0
call dword [method.QAction.setChecked_bool_]
sub esp, 4
mov ecx, esi
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00422cc0

Function at 0x4db870
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.004db8d0