Function at 0x452fb0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478d80
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x54], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov byte [ebp - 0x4d], bl
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 4], ebx
call fcn.0042f5b0
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, eax
call fcn.0042f890
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x453017
mov eax, dword [eax]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call edi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb0]
call fcn.00404570
mov ecx, esi
call fcn.0044eaf0
mov esi, eax
mov dword [ebp - 0x58], esi
test esi, esi
je 0x4533a0
push 8
call fcn.0046c08a
add esp, 4
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004370f0
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x5c], eax
call fcn.0042f5b0
lea ecx, [ebp - 0x98]
push ecx
mov ecx, eax
call fcn.0042f890
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x453084
mov eax, dword [eax]
push eax
call edi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98]
call fcn.00404570
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
xor eax, eax
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x48]
push eax
push esi
call fcn.004371c0
mov edi, eax
mov dword [ebp - 0x64], edi
mov ecx, esi
call fcn.004165b0
neg eax
sbb eax, eax
and eax, esi
mov dword [ebp - 0x58], eax
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4530f2
mov ecx, esi
call fcn.004147b0
neg eax
sbb eax, eax
and eax, esi
mov dword [ebp - 0x5c], eax
test edi, edi
je 0x453360
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test eax, eax
je 0x453358
mov ebx, dword [ebp - 0x54]
mov ecx, ebx
call fcn.00455ec0
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
lea ecx, [ebp - 0x28]
call fcn.00457d30
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x6c]
call fcn.00457c70
mov byte [ebp - 4], 6
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.004245c0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00416630
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
call fcn.0040d120
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
lea ecx, [ebp - 0x20]
call fcn.0041cd60
mov byte [ebp - 4], 8
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
lea ecx, [ebp - 0x30]
call fcn.0041cd60
mov byte [ebp - 4], 9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov dword [ebp - 0x18], 0
mov edi, dword [eax]
mov esi, dword [edi]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], edi
nop dword [eax]
cmp esi, edi
je 0x45321d
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
push 0x1d8
call fcn.0046c08a
mov ebx, eax
mov dword [ebp - 0x68], ebx
mov byte [ebp - 4], 0xa
push 0x1d8
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push dword [ebp - 0x18]
mov ecx, ebx
call fcn.00468750
mov ebx, eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x4c], ebx
lea ecx, [ebx + 0x118]
call fcn.0042c810
mov dword [ebp - 0x70], ebx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041ccb0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041ccb0
mov esi, dword [esi]
mov dword [ebp - 0x18], esi
jmp 0x4531b0
mov ebx, dword [ebp - 0x54]
cmp dword [ebp - 0x2c], 0
je 0x453263
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
lea edx, [ebx + 0x1c]
lea ecx, [ebp - 0x78]
call fcn.00457e20
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
push eax
call fcn.004245c0
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xb
mov ecx, esi
call fcn.00416630
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x78]
call fcn.0040d120
cmp dword [ebp - 0x1c], 0
je 0x453301
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
add eax, 8
mov dword [ebp - 0x54], ebx
push eax
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x80]
call fcn.004244f0
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x68], esp
push eax
call fcn.004245c0
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xd
mov ecx, esi
call fcn.00416630
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x80]
call fcn.0040d120
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx]
push 0
call dword [eax + 8]
mov ecx, dword [0x49fbb0]
call fcn.00420ea0
mov edi, eax
mov eax, dword [edi]
mov esi, dword [eax + 4]
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea eax, [ebp - 0x28]
push eax
call fcn.00457ef0
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 9
mov ecx, edi
call esi
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx]
push 1
call dword [eax + 8]
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x68], eax
cmp esi, eax
je 0x45332a
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x453326
call fcn.004147b0
mov eax, dword [ebp - 0x20]
mov esi, dword [esi]
jmp 0x45330d
mov byte [ebp - 0x4d], 1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x30]
call fcn.00414b00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00414b00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0040d120
mov ebx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x64]
lea ecx, [edi + 4]
call fcn.004147b0
cmp dword [ebp - 0x38], 0
je 0x453388
lea esi, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
cmovae esi, dword [ebp - 0x48]
call fcn.0042f5b0
mov eax, dword [eax + 0xc]
push 0x10
push str.Error
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00404570
mov dword [ebp - 4], 0xffffffff
jmp 0x453455
push 0x481760
call fcn.00988742
nop
mov esi, eax
call fcn.0042f5b0
mov ecx, dword [eax + 0xc]
push 0x10
push str.Error
push esi
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
add edi, eax
inc ebp
cld
invalid
invalid
invalid
invalid
jmp 0x453455
call fcn.0042f5b0
mov dword [ebp - 4], 0x11
add eax, 0x34
push eax
lea ecx, [ebp - 0x98]
call fcn.00407a80
or ebx, 1
mov dword [ebp - 0x60], ebx
cmp dword [eax + 0x14], 8
jb 0x45347e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
and ebx, 0xfffffffe
mov dword [ebp - 0x60], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.00404570
mov al, byte [ebp - 0x4d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046c079
mov esp, ebp
pop ebp
ret 4