Function at 0x451183
Capabilities:
Set current directory

Disassembly:
mov eax, 0x630ee3
call fcn.00600064
sub esp, 0x360
mov eax, dword [0x6b55d0]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [ebx + 4]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x350], edi
call fcn.00493e74
xor esi, esi
push 0x5c
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.004935c3
push eax
call fcn.006022d0
test eax, eax
pop ecx
pop ecx
push edi
jne 0x45123b
lea eax, [ebp - 0x64]
push 0x6c0954
push eax
call fcn.00494034
add esp, 0xc
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00494014
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.00402a58
mov ecx, edi
call fcn.004935c3
push eax
call fcn.00600410
test eax, eax
pop ecx
jne 0x451243
push str.select_file
lea ecx, [ebp - 0x2c]
call fcn.00493e85
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00494024
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00402a58
jmp 0x451243
lea ecx, [ebp - 0x48]
call fcn.00494014
lea eax, [ebp - 0x36c]
push eax
mov ecx, ebx
call fcn.00450356
push esi
push esi
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00493639
push eax
push 4
lea ecx, [ebp - 0x48]
call fcn.004935c3
push eax
push esi
push 1
lea ecx, [ebp - 0x244]
call fcn.0061d866
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 5
call fcn.00402a58
lea ecx, [ebp - 0x244]
call fcn.0061d637
mov esi, eax
mov byte [ebp - 0x348], 0
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x347]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x348]
mov edi, 0x95e6f4
mov ecx, edi
mov dword [esi + 0x1c], eax
call fcn.004935c3
lea ecx, [ebp - 0x244]
mov dword [esi + 0x2c], eax
call fcn.0061d63b
mov esi, 0x6c0954
mov ecx, esi
mov dword [ebp + 8], eax
call fcn.004935c3
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp dword [ebp + 8], 1
jne 0x451464
call fcn.006226a4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 6
call fcn.0061da06
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.00451136
mov ecx, dword [ebp - 0x34c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00405ba7
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.00493e85
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004935c3
push eax
call fcn.00600410
pop ecx
push eax
mov ecx, esi
call fcn.004935c3
push eax
lea ecx, [ebp - 0x2c]
call fcn.004935c3
push eax
call fcn.00618523
add esp, 0xc
test eax, eax
jne 0x4513bd
mov ecx, esi
call fcn.004935c3
push eax
call fcn.00600410
pop ecx
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.004935c3
add esi, eax
push esi
lea ecx, [ebp - 0x36c]
call fcn.00493e85
mov ecx, dword [ebp - 0x350]
lea eax, [ebp - 0x36c]
push eax
mov byte [ebp - 4], 9
call fcn.00494014
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 8
call fcn.00402a58
jmp 0x4513cc
mov ecx, dword [ebp - 0x350]
lea eax, [ebp - 0x2c]
push eax
call fcn.00494014
lea eax, [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x244]
call fcn.0061db1d
push dword [eax]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xa
call fcn.00493e85
mov ecx, dword [ebp - 0x34c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xc
call fcn.00405ba7
lea ecx, [ebp - 0x64]
call fcn.004933f5
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.004933f5
sub eax, esi
push eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00493ce1
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xd
call fcn.00494014
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xc
call fcn.00402a58
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.00402a58
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00402a58
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00405ba7
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0
call fcn.0061d825
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00402a58
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.006009d4
leave
ret 4