Function at 0x40f600
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59388f
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x601ffc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x31c], 0
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x38], 8
lea edx, [ebp + 0x24]
lea ecx, [ebp - 0x298]
cmovae edx, dword [ebp + 0x24]
call fcn.0040a860
push 6
push ecx
push str._f2c:_
mov ecx, eax
call fcn.004073d0
mov edi, eax
mov eax, dword [ebp - 0x284]
cmp eax, 8
jb 0x40f69e
inc eax
lea ecx, [ebp - 0x298]
push eax
push dword [ebp - 0x298]
call fcn.004030d0
cmp edi, 0xffffffff
je 0x40f8ba
push 6
xor eax, eax
mov dword [ebp - 0x26c], 7
push str._f2c:_
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x270], 0
mov word [ebp - 0x280], ax
call fcn.00402fd0
mov esi, dword [ebp - 0x270]
mov eax, dword [ebp - 0x26c]
add esi, edi
cmp eax, 8
jb 0x40f6fc
inc eax
lea ecx, [ebp - 0x280]
push eax
push dword [ebp - 0x280]
call fcn.004030d0
mov eax, dword [ebp + 0x34]
lea ecx, [ebp + 0x24]
sub eax, esi
inc eax
push eax
push esi
lea eax, [ebp - 0x298]
push eax
call fcn.00409f90
mov esi, eax
lea eax, [edi + 3]
mov byte [ebp - 4], 2
push eax
push 0
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebp + 0x24]
call fcn.00409f90
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x2e4]
call fcn.00413440
push 0x5dea04
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
call fcn.00413440
push esi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x280]
call fcn.00413130
add esp, 0xc
mov esi, eax
lea eax, [ebp + 0x24]
cmp eax, esi
je 0x40f7ac
mov eax, dword [ebp + 0x38]
cmp eax, 8
jb 0x40f78f
inc eax
lea ecx, [ebp + 0x24]
push eax
push dword [ebp + 0x24]
call fcn.004030d0
xor eax, eax
mov dword [ebp + 0x38], 7
push esi
lea ecx, [ebp + 0x24]
mov dword [ebp + 0x34], 0
mov word [ebp + 0x24], ax
call fcn.00403740
mov eax, dword [ebp - 0x26c]
cmp eax, 8
jb 0x40f7ca
inc eax
lea ecx, [ebp - 0x280]
push eax
push dword [ebp - 0x280]
call fcn.004030d0
xor eax, eax
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x270], 0
cmp eax, 8
jb 0x40f805
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004030d0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x40f840
inc eax
lea ecx, [ebp - 0x2e4]
push eax
push dword [ebp - 0x2e4]
call fcn.004030d0
xor eax, eax
mov dword [ebp - 0x2d0], 7
mov word [ebp - 0x2e4], ax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2d4], 0
cmp eax, 8
jb 0x40f87b
inc eax
lea ecx, [ebp - 0x2fc]
push eax
push dword [ebp - 0x2fc]
call fcn.004030d0
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x2fc], ax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x2e8], 7
mov dword [ebp - 0x2ec], 0
cmp eax, 8
jb 0x40f8ba
inc eax
lea ecx, [ebp - 0x298]
push eax
push dword [ebp - 0x298]
call fcn.004030d0
cmp dword [ebp + 0x38], 8
lea edx, [ebp + 0x24]
lea ecx, [ebp - 0x298]
cmovae edx, dword [ebp + 0x24]
call fcn.0040a860
push 6
push ecx
push str._f1c:_
mov ecx, eax
call fcn.004073d0
mov esi, eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x300], esi
cmp eax, 8
jb 0x40f905
inc eax
lea ecx, [ebp - 0x298]
push eax
push dword [ebp - 0x298]
call fcn.004030d0
cmp esi, 0xffffffff
je 0x410625
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], eax
mov word [ebp - 0x268], ax
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x24]
mov eax, dword [ebp + 0x34]
sub eax, esi
inc eax
push eax
push esi
lea eax, [ebp - 0x280]
push eax
call fcn.00409f90
push 1
push ecx
push 0x5df04c
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 9
call fcn.004073d0
lea ecx, [ebp - 0x280]
test eax, eax
jne 0x40f99a
mov eax, dword [ebp - 0x270]
add eax, 0xfffffffa
push eax
push 6
lea eax, [ebp - 0x2bc]
push eax
call fcn.00409f90
mov esi, eax
jmp 0x40f9ae
add eax, 0xfffffffa
push eax
push 6
lea eax, [ebp - 0x2bc]
push eax
call fcn.00409f90
mov esi, eax
lea eax, [ebp - 0x248]
cmp eax, esi
je 0x40f9fb
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x40f9d6
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.004030d0
xor eax, eax
mov dword [ebp - 0x234], 7
push esi
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov word [ebp - 0x248], ax
call fcn.00403740
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x2a8]
cmp eax, 8
jb 0x40fa1d
inc eax
lea ecx, [ebp - 0x2bc]
push eax
push dword [ebp - 0x2bc]
call fcn.004030d0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x40fa47
xor ecx, ecx
jmp 0x40fa5f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fa50
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402fd0
push 0x5dea04
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2e4]
call fcn.00413440
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0xd
push ecx
mov edx, eax
lea ecx, [ebp - 0x2fc]
call fcn.004130e0
add esp, 8
mov esi, eax
lea eax, [ebp - 0x268]
cmp eax, esi
je 0x40fafa
mov eax, dword [ebp - 0x254]
cmp eax, 8
jb 0x40fad1
inc eax
lea ecx, [ebp - 0x268]
push eax
push dword [ebp - 0x268]
call fcn.004030d0
xor eax, eax
mov dword [ebp - 0x254], 7
push esi
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
call fcn.00403740
mov eax, dword [ebp - 0x2e8]
cmp eax, 8
jb 0x40fb18
inc eax
lea ecx, [ebp - 0x2fc]
push eax
push dword [ebp - 0x2fc]
call fcn.004030d0
xor eax, eax
mov dword [ebp - 0x2e8], 7
mov word [ebp - 0x2fc], ax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x2ec], 0
cmp eax, 8
jb 0x40fb53
inc eax
lea ecx, [ebp - 0x2e4]
push eax
push dword [ebp - 0x2e4]
call fcn.004030d0
xor eax, eax
mov byte [ebp - 4], 9
mov word [ebp - 0x2e4], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x2d0], 7
mov dword [ebp - 0x2d4], 0
cmp eax, 8
jb 0x40fb92
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004030d0
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x2bc]
call fcn.00408d70
cmp dword [ebp - 0x254], 8
lea ecx, [ebp - 0x268]
lea edx, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x268]
cmp dword [ebp - 0x234], 8
cmovae edx, dword [ebp - 0x248]
cmp dword [eax + 0x14], 8
jb 0x40fbd0
mov eax, dword [eax]
push ecx
push edx
mov edx, eax
call fcn.0041b100
add esp, 8
test al, al
mov eax, dword [ebp - 0x2a8]
sete byte [ebp - 0x299]
cmp eax, 8
jb 0x40fc03
inc eax
lea ecx, [ebp - 0x2bc]
push eax
push dword [ebp - 0x2bc]
call fcn.004030d0
cmp byte [ebp - 0x299], 0
lea edx, [ebp + 0xc]
je 0x40fed3
lea ecx, [ebp - 0x2bc]
call fcn.00408d70
push eax
mov edx, str.From
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x318]
call fcn.0040b360
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x10
push ecx
mov edx, eax
lea ecx, [ebp - 0x2e4]
call fcn.004130e0
push 0x5df050
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2fc]
call fcn.00413440
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x12
push ecx
mov edx, eax
lea ecx, [ebp - 0x230]
call fcn.004130e0
add esp, 0x10
mov eax, dword [ebp - 0x2e8]
cmp eax, 8
jb 0x40fc9a
inc eax
lea ecx, [ebp - 0x2fc]
push eax
push dword [ebp - 0x2fc]
call fcn.004030d0
xor eax, eax
mov dword [ebp - 0x2e8], 7
mov dword [ebp - 0x2ec], 0
mov word [ebp - 0x2fc], ax
mov eax, dword [ebp - 0x2d0]
cmp eax, 8
jb 0x40fcd5
inc eax
lea ecx, [ebp - 0x2e4]
push eax
push dword [ebp - 0x2e4]
call fcn.004030d0
xor eax, eax
mov dword [ebp - 0x2d0], 7
mov dword [ebp - 0x2d4], 0
mov word [ebp - 0x2e4], ax
mov eax, dword [ebp - 0x304]
cmp eax, 8
jb 0x40fd10
inc eax
lea ecx, [ebp - 0x318]
push eax
push dword [ebp - 0x318]
call fcn.004030d0
xor eax, eax
mov dword [ebp - 0x304], 7
mov dword [ebp - 0x308], 0
mov word [ebp - 0x318], ax
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x2a8]
cmp eax, 8
jb 0x40fd4f
inc eax
lea ecx, [ebp - 0x2bc]
push eax
push dword [ebp - 0x2bc]
call fcn.004030d0
xor eax, eax
mov dword [ebp - 0x2a8], 7
cmp dword [ebp - 0x21c], 8
mov word [ebp - 0x2bc], ax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push str.Failed_to_copy_files
push eax
push 0
mov dword [ebp - 0x2ac], 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, dword [ebp - 0x2c4]
mov ecx, esi
push 0x5de72c
call fcn.00404fe0
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x40fdc0
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004030d0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x40fdfb
inc eax
lea ecx, [ebp - 0x280]
push eax
push dword [ebp - 0x280]
call fcn.004030d0
xor eax, eax
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x270], 0
cmp eax, 8
jb 0x40fe36
inc eax
lea ecx, [ebp - 0x268]
push eax
push dword [ebp - 0x268]
call fcn.004030d0
xor eax, eax
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x258], 0
cmp eax, 8
jb 0x40fe71
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.004030d0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x238], 0
cmp eax, 8
jb 0x40fea3
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.004030d0
mov ecx, dword [ebp + 0x38]
xor eax, eax
mov dword [ebp + 0x20], 7
mov dword [ebp + 0x1c], 0
mov word [ebp + 0xc], ax
cmp ecx, 8
jb 0x40fecc
inc ecx
push ecx
push dword [ebp + 0x24]
lea ecx, [ebp + 0x24]
call fcn.004030d0
mov eax, esi
jmp 0x41064a
lea ecx, [ebp - 0x318]
call fcn.00408d70
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x18
push ecx
mov edx, eax
lea ecx, [ebp - 0x2bc]
call fcn.004130e0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x248]
cmp eax, esi
je 0x40ff4c
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x40ff23
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.004030d0
xor eax, eax
mov dword [ebp - 0x234], 7
push esi
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
call fcn.00403740
mov eax, dword [ebp - 0x2a8]
cmp eax, 8
jb 0x40ff6a
inc eax
lea ecx, [ebp - 0x2bc]
push eax
push dword [ebp - 0x2bc]
call fcn.004030d0
xor eax, eax
mov byte [ebp - 4], 9
mov word [ebp - 0x2bc], ax
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x2a8], 7
mov dword [ebp - 0x2ac], 0
cmp eax, 8
jb 0x40ffa9
inc eax
lea ecx, [ebp - 0x318]
push eax
push dword [ebp - 0x318]
call fcn.004030d0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.00404fe0
push 3
push 0
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, eax
call fcn.00409f90
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x2a8]
cmp eax, 8
jb 0x40fff3
inc eax
lea ecx, [ebp - 0x2bc]
push eax
push dword [ebp - 0x2bc]
call fcn.004030d0
xor eax, eax
mov dword [ebp - 0x2a8], 7
xorps xmm0, xmm0
mov dword [ebp - 0x2ac], 0
push eax
movq qword [ebp - 0x250], xmm0
push eax
mov word [ebp - 0x2bc], ax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], eax
call fcn.00412e60
mov edi, eax
mov dword [ebp - 0x2c0], edi
mov dword [ebp - 0x250], edi
push 0x20
mov byte [ebp - 4], 0x1d
call fcn.004250ed
mov ecx, eax
add esp, 4
mov dword [ebp - 0x2a4], ecx
mov byte [ebp - 4], 0x1e
test ecx, ecx
je 0x410086
xorps xmm0, xmm0
lea eax, [ebp - 0x268]
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
cmp dword [ebp - 0x254], 8
cmovae eax, dword [ebp - 0x268]
push eax
call fcn.004071f0
mov dword [ebp - 0x2a0], eax
jmp 0x410090
mov dword [ebp - 0x2a0], 0
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
movq qword [ebp - 0x224], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x268]
cmp dword [ebp - 0x254], 8
lea ecx, [ebp - 0x224]
cmovae eax, dword [ebp - 0x268]
push eax
call fcn.00406b20
test al, al
jne 0x410155
mov ecx, dword [ebp - 0x2c4]
push 0x5de72c
call fcn.00404fe0
push 2
push dword [ebp - 0x224]
call fcn.0056a32f
add esp, 8
lea ecx, [ebp - 0x250]
call fcn.00412880
push dword [ebp - 0x250]
call fcn.00425124
add esp, 4
lea ecx, [ebp - 0x298]
call fcn.00402f10
lea ecx, [ebp - 0x280]
call fcn.00402f10
lea ecx, [ebp - 0x268]
call fcn.00402f10
lea ecx, [ebp - 0x248]
call fcn.00402f10
jmp 0x410634
mov esi, dword [ebp - 0x220]
cmp word [esi], 0
je 0x41022c
mov edi, dword [ebp - 0x21c]
nop dword [eax + eax]
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x224]
call fcn.00406bc0
push eax
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x2c0]
push dword [eax + 4]
push eax
call fcn.004136a0
mov edx, dword [ebp - 0x24c]
mov ecx, 0x7fffffe
sub ecx, edx
mov dword [ebp - 0x2a4], eax
cmp ecx, 1
jb 0x410295
mov eax, dword [ebp - 0x2c0]
inc edx
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x24c], edx
mov dword [eax + 4], ecx
mov eax, dword [ecx + 4]
mov byte [ebp - 4], 0x1f
mov dword [eax], ecx
mov eax, dword [ebp - 0x2a8]
cmp eax, 8
jb 0x4101ef
inc eax
lea ecx, [ebp - 0x2bc]
push eax
push dword [ebp - 0x2bc]
call fcn.004030d0
cmp esi, edi
je 0x410200
cmp word [esi], 0
je 0x410200
add esi, 2
cmp esi, edi
jne 0x4101f3
add esi, 2
mov dword [ebp - 0x220], esi
cmp word [esi], 0
je 0x410220
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x2c0], eax
jmp 0x410170
mov edi, dword [ebp - 0x250]
mov dword [ebp - 0x2c0], edi
push 2
push dword [ebp - 0x224]
call fcn.0056a32f
mov esi, dword [edi]
add esp, 8
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
cmp esi, edi
je 0x41058b
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2a4], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x41029f
mov eax, dword [ecx]
jmp 0x4102a1
push str.list_T__too_long
call fcn.0056b6d4
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x298]
push edx
push eax
call fcn.004031e0
sub esp, 0x18
mov byte [ebp - 4], 0x21
mov ecx, esp
mov dword [ebp - 0x2c8], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x4102ea
mov eax, dword [ecx]
jmp 0x4102ec
mov eax, ecx
push 5
xor edx, edx
push str.szDir
mov word [eax], dx
call fcn.00402fd0
sub esp, 0x18
mov byte [ebp - 4], 0x22
mov ecx, esp
lea edi, [esi + 8]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x41032f
mov eax, dword [ecx]
jmp 0x410331
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push edi
mov word [eax], dx
call fcn.004031e0
push dword [ebp - 0x2a0]
mov byte [ebp - 4], 0x1f
call fcn.00410690
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2cc], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x41037f
mov eax, dword [ecx]
jmp 0x410381
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x298]
push edx
push eax
call fcn.004031e0
sub esp, 0x18
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x2c8], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x4103ca
mov eax, dword [ecx]
jmp 0x4103cc
mov eax, ecx
push 6
xor edx, edx
push str.szPath
mov word [eax], dx
call fcn.00402fd0
sub esp, 0x18
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x41040c
mov eax, dword [ecx]
jmp 0x41040e
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push edi
mov word [eax], dx
call fcn.004031e0
push dword [ebp - 0x2a0]
mov byte [ebp - 4], 0x1f
call fcn.00410690
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2cc], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x41045c
mov eax, dword [ecx]
jmp 0x41045e
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x298]
push edx
push eax
call fcn.004031e0
sub esp, 0x18
mov byte [ebp - 4], 0x25
mov ecx, esp
mov dword [ebp - 0x2c8], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x4104a7
mov eax, dword [ecx]
jmp 0x4104a9
mov eax, ecx
push 8
xor edx, edx
push str.szFolder
mov word [eax], dx
call fcn.00402fd0
sub esp, 0x18
mov byte [ebp - 4], 0x26
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x4104e9
mov eax, dword [ecx]
jmp 0x4104eb
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push edi
mov word [eax], dx
call fcn.004031e0
push dword [ebp - 0x2a0]
mov byte [ebp - 4], 0x1f
call fcn.00410690
sub esp, 0x18
mov edi, esp
mov dword [ebp - 0x2cc], esp
mov ecx, edi
push 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 7
call fcn.004031b0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x298]
mov ecx, edi
push eax
call fcn.004031e0
sub esp, 0x18
mov byte [ebp - 4], 0x27
mov ecx, esp
mov dword [ebp - 0x2c8], esp
push str.szResultFolder
call fcn.00404fe0
sub esp, 0x18
mov byte [ebp - 4], 0x28
lea eax, [esi + 8]
mov ecx, esp
push eax
call fcn.0040a070
push dword [ebp - 0x2a0]
mov byte [ebp - 4], 0x1f
call fcn.00410690
mov esi, dword [esi]
cmp esi, dword [ebp - 0x2c0]
jne 0x410264
mov esi, dword [ebp - 0x2a0]
mov ecx, esi
call fcn.00406db0
test esi, esi
je 0x4105a4
push ecx
mov ecx, esi
call fcn.00410670
mov esi, dword [ebp - 0x300]
lea ecx, [ebp + 0x24]
push 2
add esi, 3
push esi
call fcn.00403470
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.00404fe0
push eax
push esi
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0x29
call fcn.00407330
lea ecx, [ebp - 0x2bc]
call fcn.00402f10
lea ecx, [ebp - 0x224]
call fcn.00406af0
lea ecx, [ebp - 0x250]
call fcn.00412390
lea ecx, [ebp - 0x298]
call fcn.00402f10
lea ecx, [ebp - 0x280]
call fcn.00402f10
lea ecx, [ebp - 0x268]
call fcn.00402f10
lea ecx, [ebp - 0x248]
call fcn.00402f10
mov ecx, dword [ebp - 0x2c4]
lea eax, [ebp + 0x24]
push eax
call fcn.00403590
lea ecx, [ebp + 0xc]
call fcn.00402f10
lea ecx, [ebp + 0x24]
call fcn.00402f10
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056a31e
mov esp, ebp
pop ebp
ret 0x34