Function at 0x1000d1ba
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov dword [ebp - 4], ecx
push 0x230
push 0
push dword [ebp + 8]
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
push dword [ebp - 0x14]
push 0x104
mov eax, dword [ebp + 8]
add eax, 0x24
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy_s]
add esp, 0x10
push eax
call fcn.100072d4
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp eax, dword [0x1004cd34]
je 0x1000d42b
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x1000d237
xor eax, eax
jmp 0x1000d42e
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1000d252
xor eax, eax
jmp 0x1000d42e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1000d27c
mov dword [ebp - 0xc], 1
jmp 0x1000d280
and dword [ebp - 0xc], 0
movzx eax, byte [ebp - 0xc]
test eax, eax
je 0x1000d291
mov eax, dword [ebp + 8]
and dword [eax + 0x20], 0
jmp 0x1000d30e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1000d2db
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xac]
push eax
push 0
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
call fcn.1000cc01
test eax, eax
je 0x1000d2d5
mov eax, dword [ebp - 0xac]
mov dword [ebp - 8], eax
jmp 0x1000d2d9
and dword [ebp - 8], 0
jmp 0x1000d2f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x1000d305
mov eax, dword [ebp + 8]
and dword [eax + 0x20], 0
jmp 0x1000d30e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x20], ecx
lea eax, [ebp - 0x5c]
push eax
call fcn.1000cc80
test eax, eax
je 0x1000d338
push 0xffffffffffffffff
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x78]
call fcn.1000cf01
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov dword [edx + 4], eax
jmp 0x1000d350
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov dword [edx + 4], ecx
lea eax, [ebp - 0x64]
push eax
call fcn.1000cc80
test eax, eax
je 0x1000d37b
push 0xffffffffffffffff
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x80]
call fcn.1000cf01
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
jmp 0x1000d394
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.1000cc80
test eax, eax
je 0x1000d3c2
push 0xffffffffffffffff
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x88]
call fcn.1000cf01
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [ebp + 8]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
jmp 0x1000d3db
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
or eax, dword [ebp - 0x40]
jne 0x1000d402
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x4c]
or eax, dword [ebp - 0x48]
jne 0x1000d42b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
xor eax, eax
inc eax
leave
ret 4