Function at 0x445684
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x47e084]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
xor edi, edi
inc edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x20], 6
mov dword [esp + 0x18], 0x47
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], 0x52
mov eax, dword [esp + 0x30]
mov esi, ecx
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jne 0x445733
add dword [esp + 0x18], 3
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
imul eax, ecx
mov ecx, dword [esp + 0x10]
imul ecx, ecx, 0xffffffa2
sub ecx, eax
mov eax, dword [esp + 0x10]
lea eax, [ecx + eax - 0x17]
add eax, dword [esp + 0x30]
push 0x25
add eax, dword [esp + 0x24]
pop ecx
add eax, dword [esp + 0x38]
add eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
sub ecx, eax
mov eax, dword [esp + 0x38]
sub ecx, eax
add ecx, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
imul eax, ecx
mov dword [esp + 0x18], eax
add esi, 0x70
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ebx
jb 0x445743
mov eax, dword [esi]
jmp 0x445745
mov eax, esi
xor ecx, ecx
mov word [eax], cx
call fcn.004423cb
fld qword [0x478b38]
mov dword [esp + 0x40], ebx
fst qword [esp + 0x20]
fld qword [0x478b30]
lea ecx, [esp + 0x40]
fst qword [esp + 0x28]
push ecx
fxch st(1)
push eax
fstp qword [esp + 0x38]
fstp qword [esp + 0x20]
fld qword [esp + 0x30]
fadd qword [esp + 0x30]
fsub qword [0x478b40]
fld qword [esp + 0x20]
fmul qword [esp + 0x30]
fsubp st(1)
fsub qword [0x478a80]
fld qword [esp + 0x20]
fmul qword [esp + 0x20]
faddp st(1)
fsub qword [0x478ae0]
fld qword [esp + 0x28]
fmul qword [0x478ad8]
faddp st(1)
fld qword [esp + 0x38]
fdiv qword [0x478ad0]
faddp st(1)
fstp qword [esp + 0x28]
fld qword [esp + 0x30]
fld qword [esp + 0x30]
fmul qword [esp + 0x30]
fsubp st(1)
fadd qword [esp + 0x28]
fstp qword [esp + 0x30]
call fcn.004410e1
mov ebx, eax
test ebx, ebx
je 0x446045
cmp dword [esp + 0x40], edi
jle 0x445ed5
push dword [0x47f8dc]
push dword [ebx + edi*4]
call fcn.004144fc
pop ecx
pop ecx
test eax, eax
je 0x4458a2
mov dword [esp + 0x10], 0x39
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov ecx, dword [esp + 0x10]
imul eax, eax, 0x45
sub eax, ecx
mov ecx, dword [esp + 0x10]
lea eax, [eax + ecx - 0xa]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov ecx, dword [esp + 0x10]
imul eax, eax, 0x15
imul ecx, ecx, 0x38
sub ecx, eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
imul eax, edx
add ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, eax
mov eax, dword [esp + 0x10]
lea eax, [ecx + eax - 0x55]
add eax, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], eax
cmp edi, dword [esp + 0x40]
jl 0x4457f0
jmp 0x445ed5
fld qword [0x478b38]
lea eax, [edi + 1]
fst qword [esp + 0x20]
fld qword [0x478b30]
fst qword [esp + 0x28]
fxch st(1)
fstp qword [esp + 0x30]
fstp qword [esp + 0x18]
fld qword [esp + 0x28]
fadd qword [esp + 0x28]
fsub qword [0x478b40]
fld qword [esp + 0x18]
fmul qword [esp + 0x28]
fsubp st(1)
fsub qword [0x478a80]
fld qword [esp + 0x18]
fmul qword [esp + 0x18]
faddp st(1)
fsub qword [0x478ae0]
fld qword [esp + 0x20]
fmul qword [0x478ad8]
faddp st(1)
fld qword [esp + 0x30]
fdiv qword [0x478ad0]
faddp st(1)
fstp qword [esp + 0x20]
fld qword [esp + 0x28]
fld qword [esp + 0x28]
fmul qword [esp + 0x28]
fsubp st(1)
fadd qword [esp + 0x20]
fstp qword [esp + 0x28]
cmp eax, dword [esp + 0x40]
jge 0x445941
mov eax, dword [ebx + edi*4 + 4]
push eax
mov dword [esp + 0x2c], eax
call fcn.00413a6b
pop ecx
mov ecx, dword [esp + 0x28]
call fcn.00406150
lea eax, [edi + 4]
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x40]
jge 0x445ed5
fld qword [0x478a98]
xor eax, eax
fst qword [esp + 0x18]
fld qword [0x478a30]
fst qword [esp + 0x30]
fld qword [0x478a90]
fstp qword [esp + 0x20]
fld qword [0x478a88]
fstp qword [esp + 0x38]
fxch st(1)
fstp qword [esp + 0x10]
fld qword [0x478a80]
fstp qword [esp + 0x10]
fld qword [esp + 0x18]
fadd qword [0x478a78]
fadd qword [esp + 0x30]
fadd qword [esp + 0x38]
fld qword [esp + 0x38]
fmul qword [0x478a70]
fsubp st(1)
fstp qword [esp + 0x20]
fld qword [esp + 0x10]
fmul qword [0x478a68]
fadd qword [esp + 0x20]
fld qword [esp + 0x20]
fmul qword [esp + 0x18]
fmul qword [0x478a60]
fdiv qword [0x478a58]
fsubp st(1)
fstp qword [esp + 0x10]
fld qword [esp + 0x30]
fld qword [esp + 0x10]
fmul qword [0x478a50]
fsubp st(1)
fadd qword [esp + 0x30]
fstp qword [esp + 0x38]
fld qword [esp + 0x20]
fmul qword [esp + 0x30]
fmul qword [esp + 0x30]
fsub qword [esp + 0x18]
fadd qword [0x478a48]
fsub qword [esp + 0x18]
fadd qword [0x478a40]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fadd qword [esp + 0x18]
fstp qword [esp + 0x18]
fld qword [esp + 0x38]
fsub qword [esp + 0x18]
fld qword [esp + 0x38]
mov dword [esp + 0x44], eax
fmul qword [0x478a38]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
faddp st(1)
push eax
fstp qword [esp + 0x24]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
push dword [0x47f8e0]
fsub qword [0x478a28]
push dword [ebx + edi*4 + 8]
fstp qword [esp + 0x24]
call fcn.00414650
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
push dword [0x47f8e4]
push dword [ebx + edi*4 + 0xc]
call fcn.00414650
fld qword [0x478a30]
fstp qword [esp + 0x24]
add esp, 0xc
fld qword [esp + 0x18]
lea eax, [esp + 0x48]
fsub qword [0x478a28]
push eax
push dword [0x47f8e4]
mov eax, dword [esp + 0x30]
fstp qword [esp + 0x20]
push dword [ebx + eax*4]
call fcn.00414650
mov dword [esp + 0x1c], 0x2d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
imul eax, ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
imul eax, eax, 0x34
shl ecx, 6
sub ecx, eax
mov eax, dword [esp + 0x1c]
cdq
add esp, 0xc
push 0xc
pop edi
idiv edi
xor edi, edi
add ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xffffffbf
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, eax, 0x58
sub ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x44], edi
je 0x445ed5
cmp dword [esp + 0x4c], edi
je 0x445ed5
cmp dword [esp + 0x48], edi
je 0x445ed5
push dword [esp + 0x44]
call fcn.004428dc
mov dword [esp + 0x38], 0x61
mov dword [esp + 0x20], 0x43
mov dword [esp + 0x10], 0x16
mov dword [esp + 0x30], 0x33
mov dword [esp + 0x18], 0x2e
mov ecx, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x28], eax
cmp edx, ecx
jge 0x445bee
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
sub edx, ecx
mov ecx, dword [esp + 0x10]
sub edx, ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x30]
push 0x75
pop edx
sub edx, ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
add edx, dword [esp + 0x18]
push 0xffffffffffffffcd
add edx, dword [esp + 0x34]
add edx, dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x34]
pop edx
sub edx, ecx
add edx, dword [esp + 0x30]
add edx, dword [esp + 0x10]
add edx, dword [esp + 0x10]
add edx, dword [esp + 0x10]
add edx, dword [esp + 0x20]
mov dword [esp + 0x18], edx
cmp eax, edi
je 0x445e4b
push 0x480fec
push ecx
call fcn.0044228e
pop ecx
push eax
push dword [esp + 0x54]
push dword [esp + 0x34]
call fcn.004428bb
push 0x480ff0
push ecx
call fcn.0044228e
pop ecx
push eax
push dword [esp + 0x50]
push dword [esp + 0x34]
call fcn.004428bb
cmp dword [esi + 0x14], 8
jb 0x445c32
mov esi, dword [esi]
push esi
call fcn.0044101f
test eax, eax
jne 0x445d62
push 0x206
mov word [esp + 0x54], ax
lea eax, [esp + 0x56]
push edi
push eax
call fcn.004142a0
add esp, 0xc
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x2c]
call fcn.004408ef
cmp word [esp + 0x50], di
je 0x445d62
push 0x2d
pop esi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
imul eax, eax, 0x34
shl ecx, 6
sub ecx, eax
mov eax, dword [esp + 0x10]
cdq
push 0xc
pop edi
idiv edi
add ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xffffffbf
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, eax, 0x58
sub ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x50]
push eax
call fcn.00440f61
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
imul eax, eax, 0x34
shl ecx, 6
sub ecx, eax
mov eax, dword [esp + 0x10]
cdq
push edi
pop esi
idiv esi
add ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xffffffbf
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, eax, 0x58
sub ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
fld qword [0x478a98]
push dword [esp + 0x28]
fst qword [esp + 0x1c]
fld qword [0x478a30]
fstp qword [esp + 0x34]
fld qword [0x478a90]
fstp qword [esp + 0x24]
fld qword [0x478a88]
fstp qword [esp + 0x3c]
fstp qword [esp + 0x14]
fld qword [0x478a80]
fstp qword [esp + 0x14]
fld qword [esp + 0x1c]
fadd qword [0x478a78]
fadd qword [esp + 0x34]
fadd qword [esp + 0x3c]
fld qword [esp + 0x3c]
fmul qword [0x478a70]
fsubp st(1)
fstp qword [esp + 0x24]
fld qword [esp + 0x14]
fmul qword [0x478a68]
fadd qword [esp + 0x24]
fld qword [esp + 0x24]
fmul qword [esp + 0x1c]
fmul qword [0x478a60]
fdiv qword [0x478a58]
fsubp st(1)
fstp qword [esp + 0x14]
fld qword [esp + 0x34]
fld qword [esp + 0x14]
fmul qword [0x478a50]
fsubp st(1)
fadd qword [esp + 0x34]
fstp qword [esp + 0x3c]
fld qword [esp + 0x24]
fmul qword [esp + 0x34]
fmul qword [esp + 0x34]
fsub qword [esp + 0x1c]
fadd qword [0x478a48]
fsub qword [esp + 0x1c]
fadd qword [0x478a40]
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
fadd qword [esp + 0x1c]
fstp qword [esp + 0x1c]
fld qword [esp + 0x3c]
fsub qword [esp + 0x1c]
fld qword [esp + 0x3c]
fmul qword [0x478a38]
faddp st(1)
fstp qword [esp + 0x24]
call fcn.00440851
mov dword [esp + 0x10], 0x39
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov ecx, dword [esp + 0x10]
imul eax, eax, 0x45
sub eax, ecx
mov ecx, dword [esp + 0x10]
lea eax, [eax + ecx - 0xa]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov ecx, dword [esp + 0x10]
imul eax, eax, 0x15
imul ecx, ecx, 0x38
sub ecx, eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
imul eax, edx
add ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, eax
mov eax, dword [esp + 0x10]
lea eax, [ecx + eax - 0x55]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x10], 0x39
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x10]
push ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
imul eax, ecx
mov ecx, dword [esp + 0x14]
imul eax, eax, 0x45
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx - 0xa]
add eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
imul eax, ecx
mov ecx, dword [esp + 0x14]
imul eax, eax, 0x15
imul ecx, ecx, 0x38
sub ecx, eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
imul eax, edx
add ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, eax
mov eax, dword [esp + 0x14]
lea eax, [ecx + eax - 0x55]
add eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.00441cec
fld qword [0x478a98]
fst qword [esp + 0x28]
fld qword [0x478a30]
fstp qword [esp + 0x20]
fld qword [0x478a90]
fstp qword [esp + 0x18]
fld qword [0x478a88]
fstp qword [esp + 0x30]
fstp qword [esp + 0x38]
fld qword [0x478a80]
fstp qword [esp + 0x38]
fld qword [esp + 0x28]
fadd qword [0x478a78]
fadd qword [esp + 0x20]
fadd qword [esp + 0x30]
fld qword [esp + 0x30]
fmul qword [0x478a70]
fsubp st(1)
fstp qword [esp + 0x18]
fld qword [esp + 0x38]
fmul qword [0x478a68]
fadd qword [esp + 0x18]
fld qword [esp + 0x18]
fmul qword [esp + 0x28]
fmul qword [0x478a60]
fdiv qword [0x478a58]
fsubp st(1)
fstp qword [esp + 0x38]
fld qword [esp + 0x20]
fld qword [esp + 0x38]
fmul qword [0x478a50]
fsubp st(1)
fadd qword [esp + 0x20]
fstp qword [esp + 0x30]
fld qword [esp + 0x18]
fmul qword [esp + 0x20]
fmul qword [esp + 0x20]
fsub qword [esp + 0x28]
fadd qword [0x478a48]
fsub qword [esp + 0x28]
fadd qword [0x478a40]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fadd qword [esp + 0x28]
fstp qword [esp + 0x28]
fld qword [esp + 0x30]
fsub qword [esp + 0x28]
fld qword [esp + 0x30]
fmul qword [0x478a38]
faddp st(1)
fstp qword [esp + 0x18]
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004121cb
mov esp, ebp
pop ebp
ret