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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8c
mov eax, dword [0x30001dbc]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push edx
push ecx
push eax
mov dword [ebp - 0xa7c], eax
lea eax, [ebp - 0xa6c]
push ebx
push eax
mov dword [ebp - 0xa8c], esi
mov dword [ebp - 0xa88], ebx
mov dword [ebp - 0xa80], ecx
mov dword [ebp - 0xa84], edx
call fcn.3000d7b8
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x14
lea eax, [ebp - 0xa6c]
push eax
call edi
cmp eax, 0xffffffff
jne 0x3000d98d
lea eax, [ebp - 0xa6c]
push eax
push dword [ebp + 0xc]
push esi
call fcn.3000691b
xor eax, eax
inc eax
jmp 0x3000dbb0
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0xa74]
xor esi, esi
inc esi
push eax
push esi
mov dword [ebp - 0xa70], esi
call fcn.3000d870
push dword [ebp - 0xa74]
lea eax, [ebp - 0x44]
push 0x20
push eax
push esi
call fcn.3000d7da
push dword [ebp - 0xa80]
mov esi, 0x104
push esi
lea eax, [ebp - 0x24c]
push eax
call fcn.3000691b
lea eax, [ebp - 0x44]
push eax
push esi
lea eax, [ebp - 0x24c]
push eax
call fcn.30007498
push dword [ebp - 0xa84]
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0xa7c]
lea eax, [ebp - 0x65c]
push ebx
push dword [ebp + 0xc]
mov ebx, dword [sym.imp.MSVCR80.dll__wmakepath_s]
push eax
call ebx
add esp, 0x18
lea eax, [ebp - 0x65c]
push eax
call edi
cmp eax, 0xffffffff
je 0x3000db77
push dword [ebp - 0xa74]
lea eax, [ebp - 0x44]
push 0x20
push eax
push dword [ebp - 0xa70]
call fcn.3000d7da
push dword [ebp - 0xa80]
lea eax, [ebp - 0x24c]
push esi
push eax
call fcn.3000691b
lea eax, [ebp - 0x44]
push eax
push esi
lea eax, [ebp - 0x24c]
push eax
call fcn.30007498
push dword [ebp - 0xa84]
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0xa7c]
lea eax, [ebp - 0x65c]
push dword [ebp - 0xa88]
push dword [ebp + 0xc]
push eax
call ebx
add esp, 0x18
lea eax, [ebp - 0x65c]
push eax
call edi
add dword [ebp - 0xa70], 0xc8
mov ecx, dword [ebp - 0xa78]
cmp dword [ebp - 0xa70], ecx
jb 0x3000dab3
inc dword [ebp - 0xa74]
imul ecx, ecx, 0xa
mov dword [ebp - 0xa78], ecx
cmp eax, 0xffffffff
jne 0x3000da20
sub dword [ebp - 0xa70], 0x190
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0xa74]
push eax
push dword [ebp - 0xa70]
call fcn.3000d870
push dword [ebp - 0xa74]
lea eax, [ebp - 0x44]
push 0x20
push eax
push dword [ebp - 0xa70]
call fcn.3000d7da
push dword [ebp - 0xa80]
lea eax, [ebp - 0x24c]
push esi
push eax
call fcn.3000691b
lea eax, [ebp - 0x44]
push eax
push esi
lea eax, [ebp - 0x24c]
push eax
call fcn.30007498
push dword [ebp - 0xa84]
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0xa7c]
lea eax, [ebp - 0x65c]
push dword [ebp - 0xa88]
push dword [ebp + 0xc]
push eax
call ebx
add esp, 0x18
lea eax, [ebp - 0x65c]
push eax
call edi
inc dword [ebp - 0xa70]
mov ecx, dword [ebp - 0xa78]
cmp dword [ebp - 0xa70], ecx
jne 0x3000db6e
inc dword [ebp - 0xa74]
imul ecx, ecx, 0xa
mov dword [ebp - 0xa78], ecx
cmp eax, 0xffffffff
jne 0x3000dadf
xor edi, edi
lea eax, [ebp - 0x65c]
inc edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x3000db83
sub eax, edx
sar eax, 1
cmp eax, esi
jb 0x3000db99
xor edi, edi
jmp 0x3000dbae
lea eax, [ebp - 0x65c]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0xa8c]
call fcn.3000691b
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.3000adb6
leave
ret 0x18