joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e548cd0
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 + 0x4e5db030], ecx
mov dword [eax*8 + 0x4e5db034], edi
inc eax
cmp eax, 0x100
jl 0x4e548cd4
xorps xmm0, xmm0
pop edi
movlpd qword [0x4e5db838], xmm0
movlpd qword [0x4e5db830], xmm0
mov byte [0x4e5db020], 1
pop esi
ret

Function at 0x4e548d50
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 + 0x4e5ba130]
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 + 0x4e5dba68], eax
mov dword [edx*8 + 0x4e5dba6c], ecx
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x100
jl 0x4e548d60
pop edi
pop esi
pop ebp
mov byte [0x4e5db021], 1
pop ebx
add esp, 0x10
ret
Function at 0x4e54a5d0
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 0x4e54a61d
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 0x4e54a600
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 0x4e54a640
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 0x4e54a6f4
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 0x4e54a6b0
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 0x4e54a6b0
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 0x4e55b020
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x4e5a5e5f
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 0x4e55b0c6
push 0
mov ecx, dword [ebp + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4e55b0b7
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.4e513ee0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp - 0x38]
call fcn.4e54e1b0
push 0x4e5cf96c
lea ecx, [ebp - 0x38]
push ecx
call fcn.4e58707b
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 0x30]
call fcn.4e514040
mov edx, dword [ebp + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4e55b1b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x60], eax
cmp dword [ebp + 0x60], 5
je 0x4e55b0e3
cmp dword [ebp + 0x60], 0x490
je 0x4e55b12c
jmp 0x4e55b16f
push str.cannot_kill_process
lea ecx, [ebp + 0x18]
call fcn.4e513ee0
mov dword [ebp - 4], 1
push 0
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x90]
call fcn.4e54f020
push 0x4e5cb114
lea ecx, [ebp - 0x90]
push ecx
call fcn.4e58707b
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 0x18]
call fcn.4e514040
push str.cannot_kill_process
lea ecx, [ebp + 0x48]
call fcn.4e513ee0
mov dword [ebp - 4], 2
push 0
lea edx, [ebp + 0x48]
push edx
lea ecx, [ebp - 0x64]
call fcn.4e54db80
push 0x4e5caed4
lea eax, [ebp - 0x64]
push eax
call fcn.4e58707b
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 0x48]
call fcn.4e514040
push str.cannot_kill_process
lea ecx, [ebp]
call fcn.4e513ee0
mov dword [ebp - 4], 3
push 0
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.4e54e1b0
push 0x4e5cf96c
lea edx, [ebp - 0xbc]
push edx
call fcn.4e58707b
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp]
call fcn.4e514040
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x68
mov esp, ebp
pop ebp
ret
Function at 0x4e55d840
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 0x4e55d863
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 1
jne 0x4e55d868
or eax, 0xffffffff
jmp 0x4e55d8da
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
and eax, 2
je 0x4e55d886
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 0x4e55d8c0
mov eax, dword [ebp - 4]
add eax, 0x50
push eax
call fcn.4e561410
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 0x4e55d8e0
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 0x4e55d903
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 2
jne 0x4e55d90b
or eax, 0xffffffff
jmp 0x4e55d9c1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
and eax, 8
je 0x4e55d96d
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 0x4e55d95e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4e55d95e
mov edx, dword [ebp - 4]
add edx, 0x50
push edx
call fcn.4e561410
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 0x4e55d9a7
mov edx, dword [ebp - 4]
add edx, 0x50
push edx
call fcn.4e561410
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 0x4e55f350
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 0x4e55f36b
mov dword [ebp - 0x14], 1
jmp 0x4e55f372
mov dword [ebp - 0x14], 0
movzx ecx, byte [ebp - 0x14]
test ecx, ecx
je 0x4e55f38e
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.4e566360
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 0x4e55f3b0
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 0x4e55f3b6
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 0x4e55f405
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.0x4e55f3eb.2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x4e55f414]
jmp dword [edx*4 + 0x4e55f40c]
xor al, al
jmp 0x4e55f407
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
call fcn.4e560430
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4e55f430
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 0x4e55f44b
mov dword [ebp - 0x10], 1
jmp 0x4e55f452
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x4e55f471
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.4e566360
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 0x4e55f493
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 0x4e55f499
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 0x4e55f4d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 5
je 0x4e55f4bd
jmp 0x4e55f4c1
xor al, al
jmp 0x4e55f4d2
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.4e560430
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x4e55f4e0
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 0x4e55f4fb
mov dword [ebp - 0x10], 1
jmp 0x4e55f502
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x4e55f521
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.4e566360
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 0x4e55f543
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 0x4e55f549
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 0x4e55f56b
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.4e560430
add esp, 4
mov ecx, dword [ebp - 0x14]
and ecx, 1
jne 0x4e55f57c
mov dword [ebp - 0x18], 1
jmp 0x4e55f583
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov esp, ebp
pop ebp
ret

Function at 0x4e55f690
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 0x4e55f6ab
mov dword [ebp - 0x10], 1
jmp 0x4e55f6b2
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x4e55f6d1
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.4e566360
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 0x4e55f6f3
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 0x4e55f6f9
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 0x4e55f71b
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.4e560430
add esp, 4
mov ecx, dword [ebp - 0x14]
and ecx, 0x10
je 0x4e55f72c
mov dword [ebp - 0x18], 1
jmp 0x4e55f733
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x4e55f920
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 0x4e55f93b
mov dword [ebp - 0x10], 1
jmp 0x4e55f942
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x4e55f961
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.4e566360
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 0x4e55f983
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 0x4e55f989
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 0x4e55f9ab
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.4e560430
add esp, 4
mov ecx, dword [ebp - 0x14]
and ecx, 2
je 0x4e55f9bc
mov dword [ebp - 0x18], 1
jmp 0x4e55f9c3
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x4e55fe70
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 0x4e55fe8b
mov dword [ebp - 0x1c], 1
jmp 0x4e55fe92
mov dword [ebp - 0x1c], 0
movzx ecx, byte [ebp - 0x1c]
test ecx, ecx
je 0x4e55feb1
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.4e566360
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 0x4e55fed3
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 0x4e55fed9
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 0x4e55fefb
mov eax, dword [ebp - 8]
add eax, 4
push eax
call fcn.4e560430
add esp, 4
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x4e55ff0e
mov edx, dword [ebp - 4]
and edx, 0xfffffffe
mov dword [ebp - 4], edx
jmp 0x4e55ff17
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 0x4e55ff39
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 0x4e55ff3f
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 0x4e55ff60
mov eax, dword [ebp - 8]
add eax, 4
push eax
call fcn.4e560430
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x4e55ff80
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5a6236
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
jne 0x4e55ffb0
mov dword [ebp - 0x20], 1
jmp 0x4e55ffb7
mov dword [ebp - 0x20], 0
movzx ecx, byte [ebp - 0x20]
test ecx, ecx
je 0x4e55ffd6
push 0x139
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.4e566360
add esp, 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.4e524340
mov dword [ebp - 4], 0
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.4e563410
add esp, 8
cmp dword [ebp - 0x2c], 8
jb 0x4e56001b
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], edx
jmp 0x4e560021
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x1c
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 8
jb 0x4e560043
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
jmp 0x4e560049
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4e560085
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x74]
call fcn.4e55eff0
mov byte [ebp - 4], 1
push 1
lea ecx, [ebp - 0x74]
call fcn.4e55fe70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.4e55f190
jmp 0x4e560094
mov ecx, dword [ebp - 0x1c]
add ecx, 4
push ecx
call fcn.4e560430
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.4e524340
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4e5600c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5a6248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
jne 0x4e5600f0
mov dword [ebp - 0x20], 1
jmp 0x4e5600f7
mov dword [ebp - 0x20], 0
movzx ecx, byte [ebp - 0x20]
test ecx, ecx
je 0x4e560116
push 0x148
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.4e566360
add esp, 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.4e524340
mov dword [ebp - 4], 0
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.4e563410
add esp, 8
cmp dword [ebp - 0x2c], 8
jb 0x4e56015b
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], edx
jmp 0x4e560161
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x1c
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 8
jb 0x4e560183
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
jmp 0x4e560189
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4e5601aa
mov eax, dword [ebp - 0x1c]
add eax, 4
push eax
call fcn.4e560430
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.4e524340
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4