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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x4256a5
call dword [sym.imp.DENKIPM.dll_Ordinal_1301]
movzx ecx, al
test ecx, ecx
jne 0x4256a5
mov eax, 0x3f3
jmp 0x42586b
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.DENKIPM.dll_Ordinal_1175]
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
call dword [sym.imp.DENKIPM.dll_Ordinal_1168]
movzx eax, al
test eax, eax
jne 0x4256dd
mov ecx, dword [ebp + 8]
push ecx
push 0
call fcn.00428fc0
add esp, 8
mov eax, 0x3e8
jmp 0x42586b
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp - 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1384]
lea ecx, [ebp - 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1153]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x425714
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1208]
mov eax, dword [ebp - 0x34]
jmp 0x42586b
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.DENKIPM.dll_Ordinal_1251]
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
call dword [sym.imp.DENKIPM.dll_Ordinal_1168]
movzx ecx, al
test ecx, ecx
je 0x42573c
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], edx
jmp 0x425742
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x425775
mov eax, dword [ebp - 0x10]
and eax, 0x10
je 0x4257a8
mov ecx, dword [ebp + 0x10]
push ecx
push 0x10
push 0
push 0x3fc
push 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.00428d20
add esp, 0x18
mov dword [ebp - 0x38], 0x3fc
lea ecx, [ebp - 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1208]
mov eax, dword [ebp - 0x38]
jmp 0x42586b
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1154]
jmp 0x4257c3
lea ecx, [ebp - 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1156]
lea ecx, [ebp - 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1155]
movzx eax, al
test eax, eax
jne 0x425826
lea ecx, [ebp - 0x30]
call dword [sym.imp.DENKIPM.dll_Ordinal_1215]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1210]
movzx edx, al
test edx, edx
jne 0x4257fb
lea ecx, [ebp - 0x30]
call dword [sym.imp.DENKIPM.dll_Ordinal_1216]
jmp 0x4257ba
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.00425870
add esp, 8
movzx edx, al
test edx, edx
jne 0x42581b
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.DENKIPM.dll_Ordinal_1216]
jmp 0x4257ba
cmp dword [ebp - 0xc], 0
jle 0x425858
push 0x10
push 0
push 0x3ff
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00428e30
add esp, 0x14
mov dword [ebp - 0x3c], 0x3ff
lea ecx, [ebp - 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1208]
mov eax, dword [ebp - 0x3c]
jmp 0x42586b
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 8]
call dword [sym.imp.DENKIPM.dll_Ordinal_1208]
mov eax, dword [ebp - 0x40]
mov esp, ebp
pop ebp
ret