Function at 0x4258f7
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.004549af
mov dword [ebp - 8], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436a01
push dword [ebp + 8]
mov edi, eax
push edi
mov dword [ebp - 4], edi
call fcn.00454699
add esp, 0x10
call fcn.0042508a
test al, al
je 0x42594a
add ch, byte [eax]
in eax, 0x3d
cmp dword [edx], esp
push 0xffffffffffffff81
popfd
xor ch, bl
bound ebx, qword [eax*2 + 0x458b594c]
clc
mov eax, dword [ebp - 8]
xor esi, esi
xor ebx, ebx
inc esi
mov dword [ebp - 0xc], ebx
test eax, eax
js 0x425a14
add byte [eax], al
add byte [esi - 0x7d], ah
cmp al, 0x5f
pop esp
cmp word [edi + ebx*2], 0x5c
jne 0x425a05
call fcn.00424dd8
test al, al
je 0x425985
cmp ah, byte [eax*4 - 0x45fee1fc]
xor ebp, edx
cmp al, 0x8b
mov bl, 0xfd
sub al, 0xd6
sbb cl, al
sbb dword [ecx], eax
xchg ebp, eax
call fcn.00424bf5
test al, al
je 0x4259af
popal
mov ah, 0xb4
aaa
out 0x4a, eax
pop ds
outsd dx, dword [esi]
out 0x42, al
dec eax
dec edx
fidiv dword [edx + ebx*2 + 0x3b]
lahf
xchg byte [0x306f701a], cl
loop 0x42599b
je 0x4259f7
cmp ebx, dword [edi + 0x701a0d86]
outsd dx, dword [esi]
xor dl, ah
hlt
mov ch, 0x58
dec ebx
push es
ja 0x425938
jge 0x4259ab
call fcn.00424cc4
test al, al
je 0x4259da
or ebx, dword [edi]
and edx, esi
adc byte [edi], dh
test eax, 0x8dce3ee7
jle 0x42595a
ret
mov ebx, dword [ebp - 0xc]
xor eax, eax
push edi
movzx esi, word [edi + ebx*2]
mov word [edi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4259fe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x425a24
jno 0x425a53
add byte [ebp - 0x74d98b40], al
inc ebp
clc
mov eax, dword [ebp - 8]
mov word [edi + ebx*2], si
inc ebx
mov dword [ebp - 0xc], ebx
cmp ebx, eax
jle 0x42595d
xor esi, esi
inc esi
push edi
call fcn.004369fc
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x425a14
push 0x1a
push ecx
push eax
mov dword [ebp - 0x210], ebx
call fcn.00426e25
lea eax, [ebp - 0x20c]
push eax
call fcn.004549af
add esp, 0x14
mov dword [ebp - 0x214], eax
call fcn.00424b6b
test al, al
je 0x425a9f
mov al, byte fs:[0x661b1dc7]
xchg byte [edi + 0x15], cl
sbb al, 0x9e
and esp, dword [edx - 0x35]
jecxz 0x425a8e
sbb bh, byte [ecx + 0x595b38b3]
sub eax, 0x9d8b3e33
invalid
cmp dword [ebp - 0x214], 0
je 0x425bab
mov esi, 0x623448
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00454668
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00454668
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00454668
add esp, 0x18
call fcn.00425114
test al, al
je 0x425aff
cmp dword [edi], 0xffffff92
mov cl, 0x8e
lodsb al, byte [esi]
inc esp
fldenv [eax]
inc esi
push edx
push esi
cmp al, 0xfe
push 0x7f336520
pop es
pop ds
jae 0x425b33
sbb eax, 0x858d31cb
hlt
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x425b1d
lea eax, [ebp - 0x20c]
push eax
call fcn.004258f7
pop ecx
call fcn.00424c3a
test al, al
je 0x425b3a
mov ah, 0x2a
and eax, 0x412e6758
add ah, byte es:[eax]
add edx, dword [esp + edi*2 + 0x356123ab]
stosd dword es:[edi], eax
and esp, dword [ecx + 0x35]
dec edi
sal byte [eax + ebp*8 - 0x53], 1
invalid
call fcn.00424eec
test al, al
je 0x425b5f
jnp 0x425ba9
sub byte [ecx + edx*2 - 0x23a7e8a7], dh
bound ebp, qword [ebx]
cmp bl, byte [0x506b24a4]
mov ecx, 0x29e1ee16
invalid
call fcn.00425114
test al, al
je 0x425b7d
imul ebp, dword [ecx - 0x23], 0x5e
add eax, 0x13e19eed
jle 0x425aff
pop ebx
and eax, 0x775c5f73
pop ecx
xor byte [eax - 0x427c997c], cl
hlt
cmp word [ebp - 0x20c], 0
jne 0x425b8b
xor eax, eax
jmp 0x425b98
lea eax, [ebp - 0x20c]
push eax
call fcn.004549af
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00401ac0
std
dec dword [ebx + 0x5e5ffc4d]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043671f
mov esp, ebp
pop ebp
ret