joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6332b8c2
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x2c
cmp dword [ebp + 0x10], 0x1f
jbe 0x6332b8e2
cmp dword [ebp + 0x10], 0x1c0
ja 0x6332b8e2
mov eax, dword [ebp + 0x10]
and eax, 7
test eax, eax
je 0x6332b8ec
mov eax, 0xffffffea
jmp 0x6332ba8f
shr dword [ebp + 0x10], 3
mov dword [ebp - 8], 0
jmp 0x6332b93e
mov dword [ebp - 0xc], 0
jmp 0x6332b931
mov eax, dword [ebp - 8]
shl eax, 8
mov edx, eax
mov eax, dword [ebp - 0xc]
add eax, edx
mov ecx, dword [eax*4 + 0x633f6e80]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov ebx, edx
shl ebx, 8
mov edx, dword [ebp - 0xc]
add edx, ebx
add edx, 0x10
mov dword [eax + edx*4 + 8], ecx
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0xff
jbe 0x6332b902
add dword [ebp - 8], 1
cmp dword [ebp - 8], 3
jbe 0x6332b8f9
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x6332b9b8
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x6332b998
mov eax, dword [ebp - 0x14]
shl eax, 8
mov ecx, eax
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 0xc]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
or eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jb 0x6332b994
mov dword [ebp - 0xc], 0
add dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 3
jbe 0x6332b964
mov eax, dword [ebp - 8]
mov eax, dword [eax*4 + 0x633f6e20]
xor eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
add dword [ebp - 8], 1
cmp dword [ebp - 8], 0x11
jbe 0x6332b954
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
jmp 0x6332ba0d
lea eax, [ebp - 0x1c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.6332b745
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [eax + edx*4], ecx
mov eax, dword [ebp - 8]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov dword [eax + edx*4], ecx
add dword [ebp - 8], 2
cmp dword [ebp - 8], 0x11
jbe 0x6332b9d5
mov dword [ebp - 8], 0
jmp 0x6332ba84
mov dword [ebp - 0xc], 0
jmp 0x6332ba77
lea eax, [ebp - 0x1c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.6332b745
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov ebx, edx
shl ebx, 8
mov edx, dword [ebp - 0xc]
add edx, ebx
add edx, 0x10
mov dword [eax + edx*4 + 8], ecx
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 8]
shl ebx, 8
add edx, ebx
add edx, 0x10
mov dword [eax + edx*4 + 8], ecx
add dword [ebp - 0xc], 2
cmp dword [ebp - 0xc], 0xff
jbe 0x6332ba25
add dword [ebp - 8], 1
cmp dword [ebp - 8], 3
jbe 0x6332ba1c
mov eax, 0
add esp, 0x2c
pop ebx
pop ebp
ret
Function at 0x6332be2b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x6332bed2
cmp dword [ebp - 8], 0
jne 0x6332be95
mov eax, dword [ebp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.6332ba95
mov dword [ebp - 4], 8
jmp 0x6332be8c
mov eax, dword [ebp - 4]
lea edx, [eax - 1]
mov eax, dword [ebp + 0x14]
add eax, edx
movzx edx, byte [eax]
add edx, 1
mov byte [eax], dl
movzx eax, byte [eax]
test al, al
jne 0x6332be94
sub dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jg 0x6332be6e
jmp 0x6332be95
nop
mov eax, dword [ebp + 0x1c]
lea edx, [eax + 1]
mov dword [ebp + 0x1c], edx
movzx eax, byte [eax]
movzx eax, al
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, eax
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 8]
add eax, edx
movzx eax, byte [eax]
xor ecx, eax
mov eax, dword [ebp + 0x20]
lea edx, [eax + 1]
mov dword [ebp + 0x20], edx
mov edx, ecx
mov byte [eax], dl
mov eax, dword [ebp - 8]
add eax, 1
and eax, 7
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
lea edx, [eax - 1]
mov dword [ebp + 0xc], edx
test eax, eax
jne 0x6332be3e
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov dword [eax], edx
mov eax, 0
leave
ret
Function at 0x6332bf1e
Capabilities:
Encrypt data using camellia

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
xor eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
add eax, 4
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
add eax, 4
mov eax, dword [eax]
xor eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
shr eax, 0x18
movzx eax, byte [eax + 0x633f7ec0]
movzx eax, al
shl eax, 0x18
mov edx, eax
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + 0x633f7fc0]
movzx eax, al
shl eax, 0x10
or edx, eax
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
movzx eax, byte [eax + 0x633f80c0]
movzx eax, al
shl eax, 8
or edx, eax
mov eax, dword [ebp - 4]
movzx eax, al
movzx eax, byte [eax + 0x633f81c0]
movzx eax, al
or eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
shr eax, 0x18
movzx eax, byte [eax + 0x633f7fc0]
movzx eax, al
shl eax, 0x18
mov edx, eax
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + 0x633f80c0]
movzx eax, al
shl eax, 0x10
or edx, eax
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
movzx eax, byte [eax + 0x633f81c0]
movzx eax, al
shl eax, 8
or edx, eax
mov eax, dword [ebp - 8]
movzx eax, al
movzx eax, byte [eax + 0x633f7ec0]
movzx eax, al
or eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
rol eax, 8
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
rol eax, 0x10
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
ror eax, 8
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
ror eax, 8
xor dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
xor eax, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
add eax, 4
mov eax, dword [eax]
mov edx, dword [ebp + 0x10]
add edx, 4
xor eax, dword [ebp - 4]
mov dword [edx], eax
nop
leave
ret
Function at 0x6332d53a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x6332d5e1
cmp dword [ebp - 8], 0
jne 0x6332d5a4
mov eax, dword [ebp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.6332ced4
mov dword [ebp - 4], 0x10
jmp 0x6332d59b
mov eax, dword [ebp - 4]
lea edx, [eax - 1]
mov eax, dword [ebp + 0x14]
add eax, edx
movzx edx, byte [eax]
add edx, 1
mov byte [eax], dl
movzx eax, byte [eax]
test al, al
jne 0x6332d5a3
sub dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jg 0x6332d57d
jmp 0x6332d5a4
nop
mov eax, dword [ebp + 0x1c]
lea edx, [eax + 1]
mov dword [ebp + 0x1c], edx
movzx eax, byte [eax]
movzx eax, al
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, eax
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 8]
add eax, edx
movzx eax, byte [eax]
xor ecx, eax
mov eax, dword [ebp + 0x20]
lea edx, [eax + 1]
mov dword [ebp + 0x20], edx
mov edx, ecx
mov byte [eax], dl
mov eax, dword [ebp - 8]
add eax, 1
and eax, 0xf
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
lea edx, [eax - 1]
mov dword [ebp + 0xc], edx
test eax, eax
jne 0x6332d54d
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov dword [eax], edx
mov eax, 0
leave
ret

Function at 0x6332e5f7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x28], eax
lea eax, [ebp - 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.6332df10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x6332e65d
mov eax, dword [ebp - 0x14]
jmp 0x6332e6be
mov dword [ebp - 0x10], 0
mov byte [ebp - 9], 0
jmp 0x6332e691
movzx eax, byte [ebp - 9]
mov edx, dword [ebp + 0x28]
add eax, edx
movzx edx, byte [eax]
movzx eax, byte [ebp - 9]
movzx eax, byte [ebp + eax - 0x24]
xor eax, edx
movzx eax, al
or dword [ebp - 0x10], eax
movzx eax, byte [ebp - 9]
add eax, 1
mov byte [ebp - 9], al
movzx eax, byte [ebp - 9]
cmp dword [ebp + 0x2c], eax
ja 0x6332e66a
cmp dword [ebp - 0x10], 0
je 0x6332e6b9
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x24]
mov dword [esp], eax
call fcn.6332ddf8
mov eax, 0xfffffff1
jmp 0x6332e6be
mov eax, 0
leave
ret
Function at 0x6332fbbf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov dword [esp + 4], 0x633f89a0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.msvcr100.dll_fopen
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x6332fbeb
mov eax, 0xfffffff9
jmp 0x6332fc5e
mov dword [esp + 8], 0x100
lea eax, [ebp - 0x110]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.6332fb53
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x6332fc4f
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x100
mov dword [esp + 4], 1
lea eax, [ebp - 0x110]
mov dword [esp], eax
call sub.msvcr100.dll_fwrite
cmp eax, 0x100
je 0x6332fc46
mov dword [ebp - 0xc], 0xfffffff9
jmp 0x6332fc50
mov dword [ebp - 0xc], 0
jmp 0x6332fc50
nop
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.msvcr100.dll_fclose
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x63331ea4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
je 0x63331f2f
mov eax, dword [ebp + 0xc]
movzx eax, word [eax]
test ax, ax
je 0x63331f2f
mov dword [esp + 0x20], 0
lea eax, [ebp - 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call eax
sub esp, 0x24
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
setne al
test al, al
je 0x63331f29
mov eax, dword [ebp - 0x10]
jmp 0x63331f88
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call eax
sub esp, 0x18
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x63331f85
mov eax, dword [ebp - 0x14]
cmp dword [ebp + 8], eax
je 0x63331f85
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
leave
ret
Function at 0x633323b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac8
mov dword [esp + 0x14], 0x20
lea eax, [ebp - 0x54]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call eax
sub esp, 0x18
mov dword [esp + 0x14], 0x20
lea eax, [ebp - 0x94]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call eax
sub esp, 0x18
lea eax, [ebp - 0x98]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareValveSteam
mov dword [esp], 0x80000001
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call eax
sub esp, 0x14
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x63332489
mov dword [esp], 2
mov eax, dword [fcn.63375280]
call eax
mov dword [esp + 4], str.Error_opening_Steam_key_n
mov dword [esp], eax
call fcn.63331e26
jmp 0x633325a0
mov dword [ebp - 0x2a4], 0x208
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x2a4]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x2a0]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SteamExe
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call eax
sub esp, 0x18
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
cmp dword [ebp - 0x10], 0
jne 0x633324f8
mov eax, dword [ebp - 0x2a4]
test eax, eax
jne 0x6333251b
mov dword [esp], 2
mov eax, dword [fcn.63375280]
call eax
mov dword [esp + 4], str.Error_reading_SteamExe_key_n
mov dword [esp], eax
call fcn.63331e26
jmp 0x633325a0
mov eax, dword [ebp - 0x2a4]
shr eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jae 0x63332559
mov eax, dword [ebp - 0xc]
movzx eax, word [ebp + eax*2 - 0x2a0]
cmp ax, 0x2f
jne 0x63332553
mov eax, dword [ebp - 0xc]
mov word [ebp + eax*2 - 0x2a0], 0x5c
add dword [ebp - 0xc], 1
jmp 0x6333252d
lea eax, [ebp - 0x94]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x2a0]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.__s__steam:__rungameid__s
mov dword [esp + 4], 0x800
lea eax, [ebp - 0xaa4]
mov dword [esp], eax
call fcn.63331e53
lea eax, [ebp - 0xaa4]
mov dword [esp + 4], eax
lea eax, [ebp - 0x54]
mov dword [esp], eax
call fcn.63331f8a
leave
ret
Function at 0x63334a2e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x4c], ecx
mov eax, dword [str._pipediscord_ipc_0]
mov dword [ebp - 0x42], eax
mov eax, dword [0x633fd31c]
mov dword [ebp - 0x3e], eax
mov eax, dword [0x633fd320]
mov dword [ebp - 0x3a], eax
mov eax, dword [0x633fd324]
mov dword [ebp - 0x36], eax
mov eax, dword [0x633fd328]
mov dword [ebp - 0x32], eax
mov eax, dword [0x633fd32c]
mov dword [ebp - 0x2e], eax
mov eax, dword [0x633fd330]
mov dword [ebp - 0x2a], eax
mov eax, dword [0x633fd334]
mov dword [ebp - 0x26], eax
mov eax, dword [0x633fd338]
mov dword [ebp - 0x22], eax
mov eax, dword [0x633fd33c]
mov dword [ebp - 0x1e], eax
mov eax, dword [0x633fd340]
mov dword [ebp - 0x1a], eax
movzx eax, word [0x633fd344]
mov word [ebp - 0x16], ax
mov dword [ebp - 0xc], 0x15
mov word [ebp - 0x18], 0x30
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc0000000
lea eax, [ebp - 0x42]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileW]
call eax
sub esp, 0x1c
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x63334b0d
mov eax, dword [ebp - 0x10]
mov byte [eax], 1
mov eax, 1
jmp 0x63334b72
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jne 0x63334b34
movzx eax, word [ebp - 0x18]
cmp ax, 0x38
ja 0x63334b65
movzx eax, word [ebp - 0x18]
add eax, 1
mov word [ebp - 0x18], ax
jmp 0x63334b6d
cmp dword [ebp - 0x14], 0xe7
jne 0x63334b65
mov dword [esp + 4], 0x2710
lea eax, [ebp - 0x42]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
call eax
sub esp, 8
test eax, eax
sete al
test al, al
je 0x63334b6c
mov eax, 0
jmp 0x63334b72
mov eax, 0
jmp 0x63334b72
nop
jmp 0x63334aad
leave
ret
Function at 0x63334bae
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 0xc], 0
jne 0x63334bc7
mov eax, 1
jmp 0x63334c9a
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x63334bef
mov dword [esp + 8], 0x4f
mov dword [esp + 4], str.src_connection_win.cpp
mov dword [esp], str.self
call fcn.63384990
cmp dword [ebp - 0xc], 0
jne 0x63334bff
mov eax, 0
jmp 0x63334c9a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jne 0x63334c14
mov eax, 0
jmp 0x63334c9a
cmp dword [ebp + 8], 0
jne 0x63334c36
mov dword [esp + 8], 0x56
mov dword [esp + 4], str.src_connection_win.cpp
mov dword [esp], str.data
call fcn.63384990
cmp dword [ebp + 8], 0
jne 0x63334c43
mov eax, 0
jmp 0x63334c9a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x14]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 8], edx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WriteFile]
call eax
sub esp, 0x14
cmp eax, 1
jne 0x63334c94
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], eax
jne 0x63334c94
mov eax, 1
jmp 0x63334c99
mov eax, 0
nop
leave
ret 8
Function at 0x63334c9e
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 8], 0
jne 0x63334cc9
mov dword [esp + 8], 0x62
mov dword [esp + 4], str.src_connection_win.cpp
mov dword [esp], str.data
call fcn.63384990
cmp dword [ebp + 8], 0
jne 0x63334cd9
mov eax, 0
jmp 0x63334e0d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x63334d01
mov dword [esp + 8], 0x67
mov dword [esp + 4], str.src_connection_win.cpp
mov dword [esp], str.self
call fcn.63384990
cmp dword [ebp - 0xc], 0
jne 0x63334d11
mov eax, 0
jmp 0x63334e0d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jne 0x63334d26
mov eax, 0
jmp 0x63334e0d
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], 0
lea edx, [ebp - 0x14]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
call eax
sub esp, 0x18
test eax, eax
setne al
test al, al
je 0x63334dfe
mov eax, dword [ebp - 0x14]
cmp dword [ebp + 0xc], eax
ja 0x63334e08
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x18]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 8], edx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
call eax
sub esp, 0x14
cmp eax, 1
sete al
test al, al
je 0x63334df2
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x10], eax
je 0x63334deb
mov dword [esp + 8], 0x74
mov dword [esp + 4], str.src_connection_win.cpp
mov dword [esp], str.bytesToRead__bytesRead
call fcn.63384990
mov eax, 1
jmp 0x63334e0d
mov eax, dword [ebp - 0x1c]
mov ecx, eax
call fcn.63334b74
jmp 0x63334e08
mov eax, dword [ebp - 0x1c]
mov ecx, eax
call fcn.63334b74
mov eax, 0
leave
ret 8
Function at 0x63334fb0
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1ac
mov dword [esp], str.FREETYPE_PROPERTIES
mov ebx, dword [esp + 0x1c0]
call sub.msvcr100.dll_getenv
test eax, eax
je 0x633350ec
movzx edx, byte [eax]
test dl, dl
je 0x633350ec
lea edi, [esp + 0x11f]
lea esi, [esp + 0x9e]
nop
mov ebp, eax
cmp dl, 0x20
je 0x633350dd
cmp dl, 9
je 0x633350dd
xor ecx, ecx
jmp 0x63335027
cmp dl, 0x3a
je 0x6333502f
mov byte [esp + ecx + 0x1d], dl
add ecx, 1
add ebp, 1
cmp ecx, 0x80
je 0x6333502f
movzx edx, byte [ebp]
test dl, dl
jne 0x63335010
mov byte [esp + ecx + 0x1d], 0
cmp byte [ebp], 0x3a
jne 0x633350ec
cmp ebp, eax
je 0x633350ec
add ebp, 1
xor edx, edx
mov ecx, ebp
jmp 0x63335065
cmp al, 0x3d
je 0x6333506c
mov byte [edx + esi], al
add edx, 1
add ecx, 1
cmp edx, 0x80
je 0x6333506c
movzx eax, byte [ecx]
test al, al
jne 0x63335050
mov byte [esp + edx + 0x9e], 0
cmp byte [ecx], 0x3d
jne 0x633350ec
cmp ecx, ebp
je 0x633350ec
add ecx, 1
xor edx, edx
mov ebp, ecx
jmp 0x633350a5
cmp al, 9
je 0x633350ad
mov byte [edx + edi], al
add edx, 1
add ebp, 1
cmp edx, 0x80
je 0x633350ad
movzx eax, byte [ebp]
test al, 0xdf
jne 0x63335090
mov byte [esp + edx + 0x11f], 0
movzx eax, byte [ebp]
test al, 0xdf
je 0x633350c1
cmp al, 9
jne 0x633350ec
cmp ebp, ecx
je 0x633350ec
lea eax, [esp + 0x1d]
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.6333ae30
movzx edx, byte [ebp + 1]
lea eax, [ebp + 1]
test dl, dl
jne 0x63334ff0
add esp, 0x1ac
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6333a920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebx
sub esp, 0x14
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
test ebx, ebx
je 0x6333a970
mov edx, dword [ebx + 0x5c]
test edx, edx
je 0x6333a954
mov ecx, dword [edx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call dword [ecx + 0xc]
mov edx, 0
cmp eax, dword [ebx + 0x10]
cmovae eax, edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
add esp, 0x14
pop ebx
pop esi
jmp fcn.63339df0
add esp, 0x14
mov eax, 0x23
pop ebx
pop esi
ret
Function at 0x6337f090
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x675bc798]
test esi, esi
jle 0x6337f1a0
mov edi, dword [0x675bc79c]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x6337f0c4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x6337f145
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x6337f0b0
mov dword [esp], eax
mov ebx, eax
call fcn.6337f7e0
test eax, eax
mov edi, eax
je 0x6337f1c7
mov eax, dword [0x675bc79c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.6337f8e0
add eax, dword [edi + 0xc]
mov edx, dword [0x675bc79c]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6337f1a7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6337f13e
sub eax, 4
and eax, 0xfffffffb
jne 0x6337f150
add dword [0x675bc798], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x675bc79c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x6337f13e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.633a4e24
lea esi, [esi]
xor esi, esi
jmp 0x6337f0ce
mov eax, dword [0x675bc79c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.633a4e24
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.633a4e24
mov esi, esi
lea edi, [edi]

Function at 0x63384070
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0x1c
mov dword [0x675bc7f4], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xffff
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
sub esp, 0x10
mov dword [0x675bc7f8], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x633840e0
mov dword [esp + 4], 0x63383f90
mov dword [esp], eax
mov dword [0x675bc7f0], eax
call fcn.6338d1d0
test eax, eax
jne 0x633a4ec9
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x633840ca