joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e544a80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e5ae330
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4e5d94e0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x4e5d94e0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x2c], ebx
cmp byte [ebp + 0x14], 0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], eax
je 0x4e544bd7
mov edi, dword [edi]
mov ecx, dword [esp + 0x20]
mov ebx, dword [ebx + 0x14]
mov ecx, dword [ecx + 4]
mov eax, edi
or eax, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], ecx
je 0x4e544b57
lea ebx, [ebx]
test ebx, ebx
je 0x4e544b57
mov esi, dword [ebx + 0x14]
sub esi, dword [ebx + 0x10]
test ecx, ecx
ja 0x4e544b16
jb 0x4e544b14
cmp edi, esi
jae 0x4e544b16
mov esi, edi
lea ecx, [ebx + 4]
call fcn.4e51c890
add eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x1c]
push 1
mov edx, dword [ecx]
push 0
push esi
push eax
push dword [esp + 0x28]
call dword [edx + 0x8c]
add dword [ebx + 0x10], esi
mov ecx, dword [esp + 0x14]
mov ebx, dword [ebx]
sub edi, esi
sbb ecx, 0
mov eax, edi
or eax, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], ecx
jne 0x4e544b00
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
call fcn.4e5447d0
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 0x20]
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
cmp ecx, esi
ja 0x4e544b83
jb 0x4e544b7d
cmp eax, edi
jae 0x4e544b83
lea eax, [esp + 0x2c]
jmp 0x4e544b87
lea eax, [esp + 0x24]
mov ecx, dword [eax]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x4e544bca
cmp byte [ebx + 0x24], 0
mov edx, dword [esp + 0x1c]
push 1
mov eax, dword [edx]
push 0
push ecx
push dword [ebx + 0x1c]
mov ecx, edx
push dword [esp + 0x28]
je 0x4e544bb3
call dword [eax + 0x8c]
jmp 0x4e544bb9
call dword [eax + 0x88]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
add dword [ebx + 0x1c], eax
sub dword [ebx + 0x20], eax
sub edi, eax
sbb esi, 0
mov eax, dword [esp + 0x20]
sub dword [eax], edi
sbb dword [eax + 4], esi
xor eax, eax
jmp 0x4e544c49
lea ecx, [esp + 0x34]
call fcn.4e5188b0
mov dword [esp + 0x78], 0
push dword [0x4e5dea2c]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], vtable.CryptoPP::ByteQueue::Walker.1.0
mov dword [esp + 0x3c], vtable.CryptoPP::ByteQueue::Walker.0
mov dword [esp + 0x44], ebx
call dword [0x4e5be590]
push 0
push dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
push edi
push esi
mov dword [esp + 0x88], 1
call fcn.4e545040
push dword [edi + 4]
mov edx, dword [ebx]
push dword [edi]
mov ecx, ebx
mov esi, eax
call dword [edx + 0x54]
lea ecx, [esp + 0x34]
mov dword [esp + 0x78], 0xffffffff
call fcn.4e518860
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.4e587fd7
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4e5455d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e5add29
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e5d94e0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.4e53ccb0
push 1
push dword [esp + 0x2c]
mov dword [esp + 0x20], 0
push dword [esp + 0x2c]
mov edx, dword [edi]
push esi
mov ecx, edi
mov dword [esp + 0x1c], 1
call dword [edx + 0x30]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x4e549e90
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push esi
xor eax, eax
push edi
movzx edx, byte [eax + str.cw]
mov edi, edx
shr edi, 7
mov esi, edi
imul edi, edi, 0x11b
imul esi, esi, 0x1b000000
mov ecx, edx
shl ecx, 0x19
xor esi, ecx
mov ecx, edx
shl ecx, 8
or ecx, edx
shl ecx, 8
or esi, ecx
lea ecx, [edx + edx]
xor edi, ecx
xor edi, edx
xor ecx, ecx
or edi, esi
or ecx, esi
mov dword [eax*8 + 0x4e5de090], ecx
mov dword [eax*8 + 0x4e5de094], edi
inc eax
cmp eax, 0x100
jl 0x4e549e94
xorps xmm0, xmm0
pop edi
movlpd qword [0x4e5de898], xmm0
movlpd qword [0x4e5de890], xmm0
mov byte [0x4e5de080], 1
pop esi
ret

Function at 0x4e549f10
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
xor edx, edx
push esi
mov dword [esp + 0x18], edx
push edi
lea ecx, [ecx]
movzx edi, byte [edx + 0x4e5bcc60]
mov eax, edi
shr eax, 5
mov edx, eax
mov ebx, eax
and eax, 1
mov dword [esp + 0x14], eax
and edx, 4
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edi
lea ecx, [edi + edi]
xor ecx, edi
mov edx, edi
lea ebp, [ecx + ecx]
xor ebp, dword [esp + 0x10]
shr edi, 7
mov eax, edi
imul edi, edi, 0x11b
imul eax, eax, 0x1b000000
shl ebp, 0x19
xor ebp, eax
mov eax, dword [esp + 0x14]
imul eax, eax, 0x1b000000
xor ebp, eax
and ebx, 2
mov eax, ebx
imul eax, eax, 0x1b000000
xor ebp, eax
shr edx, 6
mov esi, edx
and edx, 1
mov eax, edx
imul edx, edx, 0x11b00
imul eax, eax, 0x1b000000
xor ebp, eax
and esi, 2
mov eax, esi
imul esi, esi, 0x11b00
imul eax, eax, 0x1b000000
xor ebp, eax
mov eax, dword [esp + 0x18]
imul eax, eax, 0x1b000000
xor ebp, eax
mov eax, dword [esp + 0x14]
shl ecx, 2
imul eax, eax, 0x11b00
xor ecx, dword [esp + 0x10]
shl ecx, 8
xor ecx, eax
mov eax, ebx
imul eax, eax, 0x11b00
xor ecx, eax
xor ecx, edx
xor ecx, esi
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, esi
imul eax, eax, 0x11b00
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*8]
xor ecx, eax
mov eax, edx
imul edx, edx, 0x11b
imul eax, eax, 0x11b0000
shl ecx, 0x10
xor ecx, eax
mov eax, ebx
imul eax, eax, 0x11b0000
xor ecx, eax
mov eax, esi
imul eax, eax, 0x11b0000
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*4]
xor ecx, eax
add ecx, ecx
xor ecx, edi
xor ecx, edx
imul ebx, ebx, 0x11b
imul esi, esi, 0x11b
xor ecx, ebx
mov edx, eax
xor ecx, esi
xor ecx, edx
or edx, ebp
xor eax, eax
or eax, edx
mov edx, dword [esp + 0x1c]
or ecx, ebp
mov dword [edx*8 + 0x4e5deac8], eax
mov dword [edx*8 + 0x4e5deacc], ecx
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x100
jl 0x4e549f20
pop edi
pop esi
pop ebp
mov byte [0x4e5de081], 1
pop ebx
add esp, 0x10
ret
Function at 0x4e54b790
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
movdqa xmm0, xmmword [eax]
push edi
mov edi, dword [ebp + 0xc]
lea edx, [esi - 1]
pxor xmm0, xmmword [edi]
movdqa xmmword [eax], xmm0
cmp edx, 1
jbe 0x4e54b7dd
add edx, 0xfffffffe
shr edx, 1
lea ecx, [edi + 0x10]
inc edx
mov edi, edi
movdqa xmm0, xmmword [eax]
aesenc xmm0, xmmword [ecx]
movdqa xmmword [eax], xmm0
aesenc xmm0, xmmword [ecx + 0x10]
movdqa xmmword [eax], xmm0
lea ecx, [ecx + 0x20]
dec edx
jne 0x4e54b7c0
movdqa xmm0, xmmword [eax]
add esi, esi
aesenc xmm0, xmmword [edi + esi*8 - 0x10]
movdqa xmmword [eax], xmm0
aesenclast xmm0, xmmword [edi + esi*8]
pop edi
movdqa xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
movdqa xmm1, xmmword [eax]
movdqa xmm0, xmmword [ecx]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
pxor xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
sub esp, 8
pxor xmm0, xmm1
movdqa xmmword [edx], xmm0
push esi
mov esi, dword [ebp + 0x10]
push edi
movdqa xmm0, xmmword [esi]
mov edi, dword [ebp + 0x1c]
pxor xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
pxor xmm0, xmm1
movdqa xmmword [eax], xmm0
cmp edi, 1
jbe 0x4e54b8b4
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
add edi, 0x10
dec ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
jmp 0x4e54b870
dec dword [esp + 0xc]
movdqa xmm1, xmmword [edi]
movdqa xmm0, xmmword [ecx]
aesenc xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
aesenc xmm0, xmm1
movdqa xmmword [edx], xmm0
movdqa xmm0, xmmword [esi]
aesenc xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
aesenc xmm0, xmm1
movdqa xmmword [eax], xmm0
lea edi, [edi + 0x10]
jne 0x4e54b870
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
movdqa xmm0, xmmword [ecx]
add edi, edi
movdqa xmm1, xmmword [eax + edi*8]
mov eax, dword [ebp + 0x14]
aesenclast xmm0, xmm1
movdqa xmmword [ecx], xmm0
movdqa xmm0, xmmword [edx]
aesenclast xmm0, xmm1
movdqa xmmword [edx], xmm0
movdqa xmm0, xmmword [esi]
aesenclast xmm0, xmm1
movdqa xmmword [esi], xmm0
movdqa xmm0, xmmword [eax]
pop edi
aesenclast xmm0, xmm1
movdqa xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4e55c2d0
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x4e5a923f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov eax, dword [ebp + 0x70]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0
je 0x4e55c376
push 0
mov ecx, dword [ebp + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4e55c367
mov edx, dword [ebp + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.cannot_kill_process
lea ecx, [ebp + 0x30]
call fcn.4e514340
mov dword [ebp - 4], 0
push 0
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp - 0x38]
call fcn.4e54f470
push 0x4e5d2f54
lea ecx, [ebp - 0x38]
push ecx
call fcn.4e58a47b
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 0x30]
call fcn.4e5144a0
mov edx, dword [ebp + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4e55c468
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x60], eax
cmp dword [ebp + 0x60], 5
je 0x4e55c393
cmp dword [ebp + 0x60], 0x490
je 0x4e55c3dc
jmp 0x4e55c41f
push str.cannot_kill_process
lea ecx, [ebp + 0x18]
call fcn.4e514340
mov dword [ebp - 4], 1
push 0
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x90]
call fcn.4e5502e0
push 0x4e5ce404
lea ecx, [ebp - 0x90]
push ecx
call fcn.4e58a47b
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 0x18]
call fcn.4e5144a0
push str.cannot_kill_process
lea ecx, [ebp + 0x48]
call fcn.4e514340
mov dword [ebp - 4], 2
push 0
lea edx, [ebp + 0x48]
push edx
lea ecx, [ebp - 0x64]
call fcn.4e54ee40
push 0x4e5ce1c4
lea eax, [ebp - 0x64]
push eax
call fcn.4e58a47b
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 0x48]
call fcn.4e5144a0
push str.cannot_kill_process
lea ecx, [ebp]
call fcn.4e514340
mov dword [ebp - 4], 3
push 0
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.4e54f470
push 0x4e5d2f54
lea edx, [ebp - 0xbc]
push edx
call fcn.4e58a47b
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp]
call fcn.4e5144a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x68
mov esp, ebp
pop ebp
ret
Function at 0x4e55ec30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0xffffffff
je 0x4e55ec53
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 1
jne 0x4e55ec58
or eax, 0xffffffff
jmp 0x4e55ecca
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
and eax, 2
je 0x4e55ec76
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 8], 0
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4e55ecb0
mov eax, dword [ebp - 4]
add eax, 0x50
push eax
call fcn.4e562800
add esp, 4
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 4]
add ecx, dword [eax + 0x70]
adc edx, dword [eax + 0x74]
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4e55ecd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0xffffffff
je 0x4e55ecf3
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 2
jne 0x4e55ecfb
or eax, 0xffffffff
jmp 0x4e55edb1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
and eax, 8
je 0x4e55ed5d
xorpd xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push 2
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4e55ed4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4e55ed4e
mov edx, dword [ebp - 4]
add edx, 0x50
push edx
call fcn.4e562800
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x70], ecx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x74], edx
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4e55ed97
mov edx, dword [ebp - 4]
add edx, 0x50
push edx
call fcn.4e562800
add esp, 4
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x70]
adc ecx, dword [edx + 0x74]
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], eax
mov dword [edx + 0x74], ecx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4e560740
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 0
jne 0x4e56075b
mov dword [ebp - 0x14], 1
jmp 0x4e560762
mov dword [ebp - 0x14], 0
movzx ecx, byte [ebp - 0x14]
test ecx, ecx
je 0x4e56077e
push 0x74
push str.d:_src.gamesecurity.org_test_libraryfactory_srcpoco_poco_1.5.2_releasepoco_poco_1.5.2_release_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.4e567750
add esp, 0xc
mov edx, dword [ebp - 0x10]
add edx, 0x1c
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 8
jb 0x4e5607a0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
jmp 0x4e5607a6
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4e5607f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub eax, 2
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x13
ja case.0x4e5607db.2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x4e560804]
jmp dword [edx*4 + 0x4e5607fc]
xor al, al
jmp 0x4e5607f7
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
call fcn.4e561820
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4e560820
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
jne 0x4e56083b
mov dword [ebp - 0x10], 1
jmp 0x4e560842
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x4e560861
push 0x8a
push str.d:_src.gamesecurity.org_test_libraryfactory_srcpoco_poco_1.5.2_releasepoco_poco_1.5.2_release_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.4e567750
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, 0x1c
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 8
jb 0x4e560883
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x4e560889
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4e5608c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 5
je 0x4e5608ad
jmp 0x4e5608b1
xor al, al
jmp 0x4e5608c2
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.4e561820
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x4e5608d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
jne 0x4e5608eb
mov dword [ebp - 0x10], 1
jmp 0x4e5608f2
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x4e560911
push 0x9d
push str.d:_src.gamesecurity.org_test_libraryfactory_srcpoco_poco_1.5.2_releasepoco_poco_1.5.2_release_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.4e567750
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, 0x1c
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 8
jb 0x4e560933
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x4e560939
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4e56095b
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.4e561820
add esp, 4
mov ecx, dword [ebp - 0x14]
and ecx, 1
jne 0x4e56096c
mov dword [ebp - 0x18], 1
jmp 0x4e560973
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov esp, ebp
pop ebp
ret

Function at 0x4e560a80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
jne 0x4e560a9b
mov dword [ebp - 0x10], 1
jmp 0x4e560aa2
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x4e560ac1
push 0xb5
push str.d:_src.gamesecurity.org_test_libraryfactory_srcpoco_poco_1.5.2_releasepoco_poco_1.5.2_release_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.4e567750
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, 0x1c
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 8
jb 0x4e560ae3
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x4e560ae9
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4e560b0b
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.4e561820
add esp, 4
mov ecx, dword [ebp - 0x14]
and ecx, 0x10
je 0x4e560b1c
mov dword [ebp - 0x18], 1
jmp 0x4e560b23
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x4e560d10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
jne 0x4e560d2b
mov dword [ebp - 0x10], 1
jmp 0x4e560d32
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x4e560d51
push 0xd6
push str.d:_src.gamesecurity.org_test_libraryfactory_srcpoco_poco_1.5.2_releasepoco_poco_1.5.2_release_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.4e567750
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, 0x1c
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 8
jb 0x4e560d73
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x4e560d79
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4e560d9b
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.4e561820
add esp, 4
mov ecx, dword [ebp - 0x14]
and ecx, 2
je 0x4e560dac
mov dword [ebp - 0x18], 1
jmp 0x4e560db3
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x4e561260
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
jne 0x4e56127b
mov dword [ebp - 0x1c], 1
jmp 0x4e561282
mov dword [ebp - 0x1c], 0
movzx ecx, byte [ebp - 0x1c]
test ecx, ecx
je 0x4e5612a1
push 0x123
push str.d:_src.gamesecurity.org_test_libraryfactory_srcpoco_poco_1.5.2_releasepoco_poco_1.5.2_release_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.4e567750
add esp, 0xc
mov edx, dword [ebp - 8]
add edx, 0x1c
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 8
jb 0x4e5612c3
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
jmp 0x4e5612c9
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4e5612eb
mov eax, dword [ebp - 8]
add eax, 4
push eax
call fcn.4e561820
add esp, 4
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x4e5612fe
mov edx, dword [ebp - 4]
and edx, 0xfffffffe
mov dword [ebp - 4], edx
jmp 0x4e561307
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 0x1c
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x14], 8
jb 0x4e561329
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
jmp 0x4e56132f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4e561350
mov eax, dword [ebp - 8]
add eax, 4
push eax
call fcn.4e561820
add esp, 4
mov esp, ebp
pop ebp
ret 4