Function at 0x4547d0
Capabilities:
Create directory
Get common file path
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x4f0100]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov dword [ebp - 0x28c], edx
mov ebx, ecx
mov dword [ebp - 0x268], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x290], eax
mov al, byte [ebp + 0x24]
mov esi, dword [ebp + 0x14]
mov byte [ebp - 0x235], al
mov byte [ebp - 0x294], al
mov eax, dword [ebp + 0x28]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x21c]
push eax
push 0x104
mov dword [ebp - 0x25c], edi
mov dword [ebp - 0x260], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x27c], 2
mov dword [ebp - 0x270], 0xffffffff
mov ecx, dword [edx]
mov eax, ecx
and eax, dword [edx + 4]
cmp eax, 0xffffffff
je 0x45499c
mov eax, dword [edx + 8]
and eax, dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x45499c
mov eax, dword [ebp - 0x280]
add eax, ecx
mov dword [ebp - 0x248], eax
mov ecx, dword [eax]
movzx eax, word [ecx + ebx]
add ecx, ebx
add ecx, 4
lea eax, [ecx + eax*4]
mov ebx, eax
mov dword [ebp - 0x274], eax
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4548b4
sub ebx, ecx
lea eax, [ebx + 1]
mul dword [ebp - 0x27c]
mov esi, eax
cmovb esi, dword [ebp - 0x270]
push esi
call fcn.0047bdec
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.0047d590
add esp, 0xc
push ebx
push edi
push 0xffffffffffffffff
push dword [ebp - 0x274]
push 0
push 0x3a4
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
call fcn.0047b4f0
mov ecx, dword [ebp - 0x248]
add esp, 4
mov ecx, dword [ecx]
add ecx, dword [ebp - 0x268]
movzx eax, word [ecx]
add ecx, 4
lea eax, [ecx + eax*4]
mov ebx, eax
mov dword [ebp - 0x274], eax
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x454931
sub ebx, ecx
lea eax, [ebx + 1]
mul dword [ebp - 0x27c]
mov esi, eax
cmovb esi, dword [ebp - 0x270]
push esi
call fcn.0047bdec
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.0047d590
add esp, 0xc
push ebx
push edi
push 0xffffffffffffffff
push dword [ebp - 0x274]
push 0
push 0x3a4
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edi
call fcn.0047b4f0
mov esi, dword [ebp - 0x260]
add esp, 4
mov edi, dword [ebp - 0x25c]
mov edx, dword [ebp - 0x284]
mov ebx, dword [edx + 0x18]
add ebx, dword [ebp - 0x280]
cmp dword [edx + 0x14], 0
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x274], 0
jb 0x455444
ja 0x4549d0
cmp dword [edx + 0x10], 0
jbe 0x455444
nop dword [eax + eax]
mov eax, dword [ebx + 8]
and eax, 0x10
or eax, 0
je 0x454a21
push dword [ebp - 0x288]
mov eax, dword [ebx + 0x28]
push dword [ebp - 0x294]
add eax, dword [ebp - 0x28c]
push dword [ebp + 0x20]
mov edx, dword [ebp - 0x28c]
push dword [ebp - 0x290]
mov ecx, dword [ebp - 0x268]
push dword [ebp - 0x298]
push esi
push eax
push edi
push dword [ebp - 0x280]
call fcn.004547d0
add esp, 0x24
jmp 0x455412
push 0x1000000
call fcn.0048b49b
add esp, 4
mov dword [ebp - 0x264], eax
test eax, eax
je 0x455464
mov edx, dword [ebx]
add edx, dword [ebp - 0x268]
movzx ecx, word [edx]
inc ecx
lea eax, [edx + ecx*4]
mov edi, eax
mov dword [ebp - 0x240], eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x454a56
sub edi, ecx
lea eax, [edi + 1]
mul dword [ebp - 0x27c]
mov esi, eax
cmovb esi, dword [ebp - 0x270]
push esi
call fcn.0047bdec
add esp, 4
mov dword [ebp - 0x248], eax
push esi
mov esi, eax
push 0
push esi
call fcn.0047d590
add esp, 0xc
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x240]
push 0
push 0x3a4
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x4deb74
push esi
call fcn.0048c5b4
add esp, 8
mov dword [ebp - 0x278], eax
cmp byte [ebp - 0x235], 0
jne 0x454b0d
mov edi, dword [ebp - 0x288]
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x25c]
mov edx, dword [ebp - 0x290]
push edi
push dword [ebp - 0x268]
mov ecx, dword [ecx + 0x28]
push dword [ebp - 0x28c]
push dword [ebp - 0x280]
push ebx
push eax
push dword [ebp + 0x20]
call fcn.00453260
add esp, 0x1c
lea ecx, [ebp - 0x10]
mov edx, eax
push ecx
mov ecx, edi
call fcn.004533a0
add esp, 4
push esi
call fcn.0047b4f0
mov eax, dword [ebx + 0x30]
lea esi, [ebx + 0x30]
add esp, 4
mov dword [ebp - 0x258], esi
or eax, dword [esi + 4]
je 0x45527e
mov edi, dword [ebp - 0x260]
push edi
call fcn.0048c3cb
mov ecx, eax
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x25c]
add esp, 4
mov eax, dword [eax + 8]
add eax, dword [ebx + 0x28]
cdq
cmp ecx, eax
jne 0x454b5b
cmp dword [ebp - 0x248], edx
je 0x454b7a
mov edx, dword [ebp - 0x25c]
mov ecx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
push 0
add ecx, dword [edx + 8]
adc eax, dword [edx + 0xc]
push eax
push ecx
push edi
call fcn.0048b1a1
add esp, 0x10
mov eax, dword [ebx + 0x38]
and eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x40]
cmp eax, 0xffffffff
mov edx, dword [ebx + 0x44]
mov eax, ecx
je 0x454ed2
and eax, edx
cmp eax, 0xffffffff
mov eax, dword [esi]
je 0x454dd7
add eax, ecx
add eax, dword [ebx + 0x38]
push eax
call fcn.0048b49b
mov edx, dword [ebx + 0x44]
mov esi, eax
mov eax, dword [ebp - 0x258]
add esp, 4
mov dword [ebp - 0x244], edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x23c], ecx
xor ecx, ecx
cmp byte [ebp - 0x235], cl
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x10]
cmovne eax, ecx
mov ecx, dword [ebx + 0x40]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x254], ecx
test eax, eax
je 0x454c5e
mov eax, dword [ebp - 0x23c]
and eax, dword [ebp - 0x250]
cmp eax, 0xffffffff
jne 0x454c21
push edi
call fcn.0048c3cb
mov ecx, dword [ebp - 0x254]
add esp, 4
mov dword [ebp - 0x250], edx
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x23c], eax
push edx
mov eax, esi
mov dword [ebp - 0x248], edi
push ecx
mov edx, edi
mov ecx, eax
call fcn.004531e0
push dword [ebp - 0x250]
mov edx, dword [ebp - 0x240]
mov ecx, esi
push dword [ebp - 0x23c]
push dword [ebp - 0x244]
push dword [ebp - 0x254]
call fcn.004535a0
add esp, 0x18
jmp 0x454c6c
push edx
push ecx
mov edx, edi
mov ecx, esi
call fcn.004531e0
add esp, 8
mov edx, dword [ebx + 0x40]
mov ecx, esi
add edx, esi
call fcn.00461fe0
mov eax, dword [ebp - 0x25c]
mov al, byte [eax + 0x30]
cmp al, 0xff
je 0x454dba
mov edx, dword [ebx + 0x38]
movzx ecx, al
mov eax, ecx
shl eax, 0xb
cmp dword [ebx + 0x3c], 0
jb 0x454dba
ja 0x454ca8
cmp edx, eax
jbe 0x454dba
shl ecx, 0xa
mov dword [ebp - 0x248], ecx
mov ecx, dword [ebx + 0x40]
mov edi, dword [ebp - 0x248]
sub edx, edi
push edi
add edx, ecx
add edx, esi
lea eax, [edi + ecx]
add eax, esi
push eax
push edx
call fcn.0047ce50
mov eax, dword [ebp - 0x258]
add esp, 0xc
mov edx, dword [ebx + 0x40]
mov edi, dword [ebx + 0x38]
add edx, dword [eax]
mov eax, dword [eax + 4]
adc eax, dword [ebx + 0x44]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x254], edx
movzx edx, byte [eax + 0x30]
mov eax, edx
shl eax, 0xb
sub edi, eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x23c], edi
mov edi, dword [ebp - 0x260]
sbb eax, 0
shl edx, 0xa
add edx, dword [ebx + 0x40]
add edx, esi
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x240], 0
mov dword [ebp - 0x248], edx
je 0x454da3
mov eax, dword [ebp - 0x254]
and eax, dword [ebp - 0x250]
cmp eax, 0xffffffff
jne 0x454d5e
push edi
call fcn.0048c3cb
mov ecx, dword [ebp - 0x248]
add esp, 4
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], edx
jmp 0x454d60
mov ecx, edx
mov edx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x23c]
push edx
push eax
mov edx, edi
call fcn.004531e0
push dword [ebp - 0x250]
mov edx, dword [ebp - 0x240]
push dword [ebp - 0x254]
mov ecx, dword [ebp - 0x248]
push dword [ebp - 0x244]
push dword [ebp - 0x23c]
call fcn.004535a0
add esp, 0x18
jmp 0x454dba
mov ecx, dword [ebp - 0x248]
mov edx, edi
push eax
push dword [ebp - 0x23c]
call fcn.004531e0
add esp, 8
mov eax, dword [ebx + 0x40]
mov edx, dword [ebx + 0x38]
add edx, eax
add edx, esi
lea ecx, [eax + esi]
call fcn.00456020
mov ecx, dword [ebx + 0x38]
add ecx, dword [ebx + 0x40]
jmp 0x454eac
add eax, dword [ebx + 0x38]
push eax
call fcn.0048b49b
mov edx, dword [ebx + 0x3c]
mov esi, eax
mov eax, dword [ebp - 0x258]
add esp, 4
mov dword [ebp - 0x244], edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x240], ecx
xor ecx, ecx
cmp byte [ebp - 0x235], cl
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x10]
cmovne eax, ecx
mov ecx, dword [ebx + 0x38]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x250], ecx
test eax, eax
je 0x454e8f
mov eax, dword [ebp - 0x240]
and eax, dword [ebp - 0x248]
cmp eax, 0xffffffff
jne 0x454e58
push edi
call fcn.0048c3cb
mov ecx, dword [ebp - 0x250]
add esp, 4
mov dword [ebp - 0x248], edx
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x240], eax
push edx
mov eax, esi
mov edx, edi
push ecx
mov ecx, eax
call fcn.004531e0
push dword [ebp - 0x248]
mov edx, dword [ebp - 0x23c]
mov ecx, esi
push dword [ebp - 0x240]
push dword [ebp - 0x244]
push dword [ebp - 0x250]
call fcn.004535a0
add esp, 0x18
jmp 0x454e9d
push edx
push ecx
mov edx, edi
mov ecx, esi
call fcn.004531e0
add esp, 8
mov edx, dword [ebx + 0x38]
mov ecx, esi
add edx, esi
call fcn.00456020
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebp - 0x258]
add ecx, esi
mov edx, dword [ebp - 0x278]
push dword [eax + 4]
push dword [eax]
call fcn.00453160
push esi
call fcn.0048aa64
add esp, 0xc
jmp 0x45527e
and eax, edx
cmp eax, 0xffffffff
je 0x455131
mov eax, dword [esi]
add eax, ecx
push eax
call fcn.0048b49b
mov ecx, eax
xor edx, edx
mov eax, dword [esi]
add esp, 4
cmp byte [ebp - 0x235], dl
mov dword [ebp - 0x240], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x10]
cmovne eax, edx
mov dword [ebp - 0x258], ecx
mov edx, dword [ebx + 0x40]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x244], eax
je 0x454fa7
mov eax, dword [ebp - 0x240]
and eax, dword [ebp - 0x248]
cmp eax, 0xffffffff
jne 0x454f64
push edi
call fcn.0048c3cb
mov ecx, dword [ebp - 0x258]
add esp, 4
mov dword [ebp - 0x248], edx
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x244]
push eax
push edx
mov edx, edi
mov dword [ebp - 0x23c], edi
call fcn.004531e0
push dword [ebp - 0x248]
mov edx, dword [ebp - 0x250]
push dword [ebp - 0x240]
mov ecx, dword [ebp - 0x258]
push dword [ebp - 0x244]
push dword [ebp - 0x254]
call fcn.004535a0
add esp, 0x18
jmp 0x454fb3
push eax
push edx
mov edx, edi
call fcn.004531e0
add esp, 8
mov edx, dword [ebx + 0x40]
add edx, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x258]
call fcn.00461fe0
mov eax, dword [ebp - 0x25c]
mov al, byte [eax + 0x30]
cmp al, 0xff
je 0x455108
mov ecx, dword [esi]
movzx edx, al
mov eax, edx
shl eax, 0xb
cmp dword [esi + 4], 0
jb 0x455108
ja 0x454ff6
cmp ecx, eax
jbe 0x455108
mov ecx, dword [ebx + 0x40]
shl edx, 0xa
push edx
lea eax, [edx + ecx]
add eax, dword [ebp - 0x258]
push eax
mov eax, dword [esi]
sub eax, edx
add eax, ecx
add eax, dword [ebp - 0x258]
push eax
call fcn.0047ce50
mov eax, dword [esi]
add esp, 0xc
mov edx, dword [esi + 4]
mov dword [ebp - 0x254], eax
add eax, dword [ebx + 0x40]
mov dword [ebp - 0x23c], edx
adc edx, dword [ebx + 0x44]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x248], edx
movzx edx, byte [eax + 0x30]
mov eax, edx
shl eax, 0xb
sub dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x23c]
sbb eax, 0
shl edx, 0xa
add edx, dword [ebx + 0x40]
add edx, dword [ebp - 0x258]
cmp dword [ebp - 0x250], 0
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x244], edx
je 0x4550f1
mov eax, dword [ebp - 0x240]
and eax, dword [ebp - 0x248]
cmp eax, 0xffffffff
jne 0x4550ac
push edi
call fcn.0048c3cb
mov ecx, dword [ebp - 0x244]
add esp, 4
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x248], edx
jmp 0x4550ae
mov ecx, edx
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 0x254]
push edx
push eax
mov edx, edi
call fcn.004531e0
push dword [ebp - 0x248]
mov edx, dword [ebp - 0x250]
push dword [ebp - 0x240]
mov ecx, dword [ebp - 0x244]
push dword [ebp - 0x23c]
push dword [ebp - 0x254]
call fcn.004535a0
add esp, 0x18
jmp 0x455108
mov ecx, dword [ebp - 0x244]
mov edx, edi
push eax
push dword [ebp - 0x254]
call fcn.004531e0
add esp, 8
push dword [esi + 4]
mov ecx, dword [ebx + 0x40]
push dword [esi]
mov esi, dword [ebp - 0x258]
add ecx, esi
mov edx, dword [ebp - 0x278]
call fcn.00453160
push esi
call fcn.0048aa64
add esp, 0xc
jmp 0x45527e
mov ecx, dword [esi + 4]
xorps xmm0, xmm0
mov ebx, dword [esi]
movlpd qword [ebp - 0x24c], xmm0
test ecx, ecx
jb 0x455278
ja 0x455153
test ebx, ebx
je 0x455278
xor edx, edx
lea eax, [ebp - 0x10]
cmp byte [ebp - 0x235], dl
cmovne eax, edx
mov edx, dword [ebp - 0x248]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x250], eax
nop
mov esi, ebx
mov edi, ecx
sub esi, eax
mov dword [ebp - 0x248], esi
sbb edi, edx
jne 0x455198
cmp esi, 0x1000000
jbe 0x4551a5
mov esi, 0x1000000
xor edi, edi
mov dword [ebp - 0x248], esi
add ebx, eax
adc ecx, edx
cmp dword [ebp - 0x244], 0
mov dword [ebp - 0x240], ecx
je 0x455213
mov eax, ebx
and eax, ecx
cmp eax, 0xffffffff
jne 0x4551d7
push dword [ebp - 0x260]
call fcn.0048c3cb
add esp, 4
mov dword [ebp - 0x240], edx
mov ebx, eax
mov ecx, dword [ebp - 0x264]
mov edx, edi
mov eax, esi
mov esi, dword [ebp - 0x248]
push edx
mov edx, dword [ebp - 0x260]
push eax
call fcn.004531e0
push dword [ebp - 0x240]
mov edx, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x264]
push ebx
push edi
push esi
call fcn.004535a0
add esp, 0x18
jmp 0x455229
mov edx, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x264]
push edi
push esi
call fcn.004531e0
add esp, 8
mov edx, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x264]
push edi
push esi
call fcn.00453160
mov eax, dword [ebp - 0x250]
add esp, 8
mov ecx, dword [ebp - 0x258]
add eax, esi
mov edx, dword [ebp - 0x23c]
adc edx, edi
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x23c], edx
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
cmp edx, ecx
jb 0x455180
ja 0x455278
cmp eax, ebx
jb 0x455180
mov ebx, dword [ebp - 0x26c]
push dword [ebp - 0x278]
call fcn.00483fbe
add esp, 4
push dword [ebp - 0x264]
call fcn.0048aa64
mov ecx, dword [ebx]
add esp, 4
add ecx, dword [ebp - 0x268]
movzx eax, word [ecx]
add ecx, 4
lea eax, [ecx + eax*4]
mov ebx, eax
mov dword [ebp - 0x248], eax
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4552b6
sub ebx, ecx
lea eax, [ebx + 1]
mul dword [ebp - 0x27c]
mov esi, eax
cmovb esi, dword [ebp - 0x270]
push esi
call fcn.0047bdec
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.0047d590
add esp, 0xc
push ebx
push edi
push 0xffffffffffffffff
push dword [ebp - 0x248]
push 0
push 0x3a4
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
mov esi, eax
call fcn.0047b4f0
mov edi, dword [ebp - 0x26c]
add esp, 4
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x228], eax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], ecx
mov ecx, dword [edi + 0x18]
push eax
lea eax, [ebp - 0x234]
mov dword [ebp - 0x22c], ecx
mov ecx, dword [edi + 0x20]
push eax
push esi
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x224], ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi]
add ecx, dword [ebp - 0x268]
movzx eax, word [ecx]
add ecx, 4
lea eax, [ecx + eax*4]
mov ebx, eax
mov dword [ebp - 0x248], eax
lea ecx, [ebx + 1]
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4553a0
sub ebx, ecx
lea eax, [ebx + 1]
mul dword [ebp - 0x27c]
mov esi, eax
cmovb esi, dword [ebp - 0x270]
push esi
call fcn.0047bdec
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.0047d590
add esp, 0xc
push ebx
push edi
push 0xffffffffffffffff
push dword [ebp - 0x248]
push 0
push 0x3a4
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, dword [ebp - 0x26c]
mov eax, dword [ebx + 8]
and eax, 0xfffffff9
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call fcn.0047b4f0
mov esi, dword [ebp - 0x260]
add esp, 4
mov edi, dword [ebp - 0x25c]
mov edx, dword [ebp - 0x284]
add ebx, 0x48
mov ecx, dword [ebp - 0x274]
xor eax, eax
inc ecx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x274], ecx
cmp eax, dword [edx + 0x14]
jb 0x4549d0
ja 0x455444
cmp ecx, dword [edx + 0x10]
jb 0x4549d0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047b4e2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x270]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0047b4e2
mov esp, ebp
pop ebp
ret