joyce8/EMBER2024-capa huggingface dataset:
Function at 0x589100
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x5891e4
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x58917f
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00588ca0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x58914d
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x58929d
call 0x589191
pop edx
lea ecx, [edx + 0x12f]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x58923c
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00588dd0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x5891f5
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x58929d
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00588dd0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x589298
jmp 0x58929d
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5973a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x5973be
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
ret
Function at 0x597400
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x59741e
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
ret

Function at 0x597460
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x597482
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
ret

Function at 0x5974e0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x597502
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
ret

Function at 0x597560
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
shl ecx, 4
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
nop dword [eax]
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x59758a
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
ret
Function at 0x5975f0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
shl ecx, 4
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
nop dword [eax]
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x59761a
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
ret

Function at 0x597680
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesenc xmm2, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesenc xmm3, xmm1
lea edx, [edx + ecx + 0x20]
neg ecx
aesenc xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [edx + ecx]
add ecx, 0x10
jmp 0x5976df

Function at 0x5976ee
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x5976d0
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
ret

Function at 0x597760
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesdec xmm2, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesdec xmm3, xmm1
lea edx, [edx + ecx + 0x20]
neg ecx
aesdec xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [edx + ecx]
add ecx, 0x10
jmp 0x5977bf

Function at 0x5977ce
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x5977b0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
ret
Function at 0x59a3a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.00599e40
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x59a411
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x59a3d6
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret
Function at 0x59df00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x59dfea
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x59df7d
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0059d6c0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x59df43
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x59e0b3
call 0x59df8f
pop edx
lea ecx, [edx + 0x171]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x59e04a
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0059dae0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x59dffb
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x59e0b3
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0059dae0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x59e0ae
jmp 0x59e0b3
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5dcf8a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6c6e10]
jne 0x5dcf94
repz ret
jmp fcn.005ed001

Function at 0x601476
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6c6e10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.005eb8e9
and dword [ebp - 0x14], 0
cmp dword [0x6d1e30], 0
mov dword [ebp - 0x18], eax
jne 0x601529
push 0x64e9f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x6015d1
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x64e9e4
push ebx
call edi
test eax, eax
je 0x6015d1
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x64e9d4
push ebx
mov dword [0x6d1e30], eax
call edi
push eax
call esi
push 0x64e9c0
push ebx
mov dword [0x6d1e34], eax
call edi
push eax
call esi
push 0x64e9a4
push ebx
mov dword [0x6d1e38], eax
call edi
push eax
call esi
mov dword [0x6d1e40], eax
test eax, eax
je 0x601529
push 0x64e98c
push ebx
call edi
push eax
call esi
mov dword [0x6d1e3c], eax
mov eax, dword [0x6d1e3c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x601582
cmp dword [0x6d1e40], ecx
je 0x601582
push eax
call esi
push dword [0x6d1e40]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x601582
test ebx, ebx
je 0x601582
call edi
test eax, eax
je 0x601579
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x601579
test byte [ebp - 8], 1
jne 0x601582
or dword [ebp + 0x10], 0x200000
jmp 0x6015b5
mov eax, dword [0x6d1e34]
cmp eax, dword [ebp - 0x18]
je 0x6015b5
push eax
call esi
test eax, eax
je 0x6015b5
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x6015b5
mov eax, dword [0x6d1e38]
cmp eax, dword [ebp - 0x18]
je 0x6015b5
push eax
call esi
test eax, eax
je 0x6015b5
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x6d1e30]
call esi
test eax, eax
je 0x6015d1
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x6015d3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dcf8a
leave
ret

Function at 0x609e30
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x74], 0xffffffff
je 0x609e8f
mov eax, dword [esi + 0x50]
test al, 1
je 0x609e8f
test al, 2
je 0x609e4c
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
call edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 0x74]
push ecx
push edx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x609e7f
lea ecx, [esi + 0x58]
push ecx
call fcn.00618c30
add esp, 4
mov eax, dword [esp + 4]
add dword [esi + 0x78], eax
adc dword [esi + 0x7c], 0
pop esi
pop ecx
ret 0xc
or eax, 0xffffffff
pop esi
pop ecx
ret 0xc
Function at 0x609ea0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x74]
cmp eax, 0xffffffff
je 0x609f4a
mov ecx, dword [esi + 0x50]
test cl, 2
je 0x609f4a
push edi
xor edi, edi
test cl, 8
je 0x609f0a
push 2
lea ecx, [esp + 0x14]
push ecx
push edi
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x609efc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x609efc
lea edx, [esi + 0x58]
push edx
call fcn.00618c30
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edi
lea edx, [esp + 0xc]
push edx
mov edx, dword [esi + 0x74]
push eax
push ecx
push edx
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x609f38
lea eax, [esi + 0x58]
push eax
call fcn.00618c30
add esp, 4
mov eax, dword [esp + 8]
add dword [esi + 0x78], eax
adc dword [esi + 0x7c], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
or eax, 0xffffffff
pop esi
add esp, 0xc
ret 0xc
Function at 0x613310
Capabilities:
Generate random numbers via winapi

Disassembly:
push ecx
push esi
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 4]
push ecx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov eax, dword [esp + 4]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop esi
pop ecx
ret 0xc

Function at 0x6143b0
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6418a8
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x614424
push 0x22
push str.cannot_allocate_thread_context_key
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
call fcn.00573a5b
push 0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x60], 0
call fcn.00607180
push 0x6be588
lea ecx, [esp + 0x24]
push ecx
call fcn.005dcab3
mov ecx, dword [esp + 0x50]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x58
ret

Function at 0x6144e0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x6418f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push esi
lea eax, [esp + 8]
push eax
mov esi, ecx
mov ecx, dword [esp + 0xb8]
mov edx, dword [esi + 0x14]
xor ebx, ebx
push ebx
push esi
push ecx
push edx
push ebx
call fcn.00636c70
mov ecx, dword [esp + 0x20]
add esp, 0x18
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
cmp eax, ebx
jne 0x614570
push 0x14
push str.cannot_create_thread
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00573a5b
push ebx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0xb4], ebx
call fcn.00607180
push 0x6be588
lea eax, [esp + 0x48]
push eax
call fcn.005dcab3
mov esi, dword [esi + 0x10]
cmp esi, ebx
je 0x6145cc
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x6145cc
push 0x1a
push str.cannot_set_thread_priority
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call fcn.00573a5b
push ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0xb4], 1
call fcn.00607180
push 0x6be588
lea edx, [esp + 0x78]
push edx
call fcn.005dcab3
mov ecx, dword [esp + 0xa4]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret 8
Function at 0x616000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x641ba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.005730d5
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov dword [esi + 0x3c], 0xffffffff
mov byte [esi + 0x40], bl
mov dword [eax], ebx
mov ecx, dword [esi + 0x20]
mov dword [ecx], ebx
mov edx, dword [esi + 0x30]
mov dword [edx], ebx
mov eax, dword [esi + 0x14]
mov dword [eax], ebx
mov ecx, dword [esi + 0x24]
mov dword [ecx], ebx
mov edx, dword [esi + 0x34]
mov dword [edx], ebx
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x44], edi
and edi, 1
mov dword [esi], vtable.Poco::Base64DecoderBuf.0
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax + 0x38]
mov dword [esi + 0x54], eax
mov dword [esp + 0x18], ebx
mov eax, 0x6d1f80
jne 0x616084
mov eax, 0x6d1e80
mov ecx, 0x6d2084
mov dword [esi + 0x58], eax
mov dword [esp + 0x24], ecx
call fcn.0057ec50
cmp edi, ebx
je 0x6160e2
cmp byte [0x6d2081], bl
jne 0x616130
push 0x100
push 0xff
push 0x6d1f80
call fcn.005dd9b0
add esp, 0xc
xor eax, eax
mov edi, edi
movzx ecx, byte [eax + 0x64f8b8]
mov byte [ecx + 0x6d1f80], al
inc eax
cmp eax, 0x40
jb 0x6160c0
mov byte [0x6d1fbd], bl
mov byte [0x6d2081], 1
jmp 0x616130
cmp byte [0x6d2080], bl
jne 0x616130
push 0x100
push 0xff
push 0x6d1e80
call fcn.005dd9b0
add esp, 0xc
xor eax, eax
jmp 0x616110
movzx edx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [edx + 0x6d1e80], al
inc eax
cmp eax, 0x40
jb 0x616110
mov byte [0x6d1ebd], bl
mov byte [0x6d2080], 1
lea ecx, [esp + 0x24]
call fcn.0057ee80
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x619000
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x61901f
push 0
push 0x5e
push str.d:pocopoco_1.9.4_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00612f80
add esp, 0x10
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x61902a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x61905f
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 0x13
ja case.0x61904b.4
movzx eax, byte [eax + 0x61906c]
jmp dword [eax*4 + 0x619064]
xor al, al
pop esi
ret
add esi, 4
push esi
call fcn.00618500
mov al, 1
pop esi
ret

Function at 0x619130
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x619152
push 0
push 0x9f
push str.d:pocopoco_1.9.4_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00612f80
add esp, 0x10
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x61915d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x619172
add esi, 4
push esi
call fcn.00618500
shr eax, 4
and eax, 1
pop esi
ret

Function at 0x619180
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x6191a2
push 0
push 0xaa
push str.d:pocopoco_1.9.4_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00612f80
add esp, 0x10
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x6191ad
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x6191c2
add esi, 4
push esi
call fcn.00618500
test al, 0x10
jne 0x6191d4
test eax, 0x400
je 0x6191d4
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
jmp 0x619180

Function at 0x619550
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x14], 0
jne 0x619573
push 0
push 0x112
push str.d:pocopoco_1.9.4_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00612f80
add esp, 0x10
cmp dword [edi + 0x34], 8
lea esi, [edi + 0x20]
jb 0x619580
mov eax, dword [esi]
jmp 0x619582
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x619597
add edi, 4
push edi
call fcn.00618500
cmp byte [esp + 0xc], 0
je 0x6195a3
and eax, 0xfffffffe
jmp 0x6195a6
or eax, 1
cmp dword [esi + 0x14], 8
jb 0x6195ae
mov esi, dword [esi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x6195c3
add edi, 4
push edi
call fcn.00618500
pop edi
pop esi
ret 4