Function at 0x4045b0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421ca0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0
mov eax, dword [0x42b70c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
push 0x42ee60
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0041b48e
push 0x42ee60
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0041b48e
mov al, byte [ebp + 0x1c]
mov byte [ebp - 4], 5
test al, al
je 0x404667
lea eax, [ebp - 0x24]
mov byte [ebp + 0x1c], 0
push eax
call fcn.00407800
mov ecx, dword [ebp - 0x24]
push 0x42ee60
push ecx
call fcn.00408d42
add esp, 0xc
test eax, eax
je 0x404667
lea edx, [ebp - 0x20]
push edx
call fcn.00407890
mov eax, dword [ebp - 0x20]
push 0x42ee60
push eax
call fcn.00408d42
add esp, 0xc
test eax, eax
je 0x404667
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x404667
mov byte [ebp + 0x1c], 1
mov al, byte [ebp + 0x10]
test al, al
je 0x4048a8
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push edi
call fcn.0041b50d
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.0041635f
cmp eax, 0xffffffff
je 0x4046b4
inc eax
lea edx, [ebp + 0x10]
push eax
push edx
lea ecx, [ebp - 0x18]
call fcn.004162e7
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0041b50d
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 5
call fcn.0041b420
lea eax, [esi + 0x28]
push str.l.mst_
lea ecx, [ebp + 0x10]
push eax
push ecx
call fcn.0041b669
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.0041b50d
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 5
call fcn.0041b420
push 0x42b43c
lea ecx, [ebp - 0x1c]
call fcn.00416406
lea edx, [ebp - 0x11]
lea eax, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
push eax
push ecx
call fcn.00406ed0
add esp, 0xc
test al, al
jne 0x404719
lea edx, [ebp - 0x28]
push 0x426c00
push edx
mov dword [ebp - 0x28], 0xc
call fcn.00409136
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.00416459
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x30]
push eax
push str.TRANSFORMS_
push ecx
call fcn.0041b6dd
push 0x5c
lea edx, [ebp - 0x2c]
push eax
push edx
mov byte [ebp - 4], 8
call fcn.00415f62
lea ecx, [ebp - 0x1c]
lea edx, [ebp + 8]
push ecx
push eax
push edx
mov byte [ebp - 4], 9
call fcn.0041b603
push 0x42b43c
push eax
lea eax, [ebp + 0x10]
mov bl, 0xa
push eax
mov byte [ebp - 4], bl
call fcn.0041b669
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.0041b50d
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.0041b420
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
call fcn.0041b420
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.0041b420
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.0041b420
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx - 8]
test eax, eax
je 0x404802
lea edx, [ebp - 0x18]
push 0x42b528
lea eax, [ebp + 8]
push edx
push eax
call fcn.0041b669
lea ecx, [ebp + 0x24]
lea edx, [ebp + 0x10]
push ecx
mov bl, 0xc
push eax
push edx
mov byte [ebp - 4], bl
call fcn.0041b603
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xd
call fcn.0041b50d
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.0041b420
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.0041b420
lea ecx, [ebp - 0x18]
call fcn.0041649b
mov eax, dword [ebp + 0x20]
lea edx, [ebp + 0xc]
push eax
push ecx
mov bl, 0xe
mov ecx, esp
mov dword [ebp + 0x10], esp
push edx
mov byte [ebp - 4], bl
call fcn.0041b195
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xf
call fcn.00404e60
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push ecx
push edx
push eax
push edi
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.00404170
test eax, eax
je 0x404849
push 0
push eax
call fcn.00401bb0
add esp, 8
mov dword [ebp - 4], 5
jmp 0x404915
push 0x42ee60
lea ecx, [ebp - 0x18]
call fcn.0041b55d
mov cl, byte [ebp + 0x18]
mov eax, dword [esi + 0x30]
test cl, cl
mov dword [ebp + 0x10], eax
je 0x4048d1
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x4048d1
mov edx, dword [esi + 0x38]
push edx
push 0x22
jmp 0x4048da
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 0x38]
push eax
push 0x23
mov ecx, esi
call fcn.00403d50
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
push ecx
push edx
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.00404130
jmp 0x4048ff
mov eax, dword [esi + 0x38]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
mov ecx, esi
mov dword [ebp - 4], 5
call fcn.00403d50
mov al, byte [ebp + 0x1c]
test al, al
je 0x404926
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0041b420
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0041b420
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0041b420
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0041b420
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.0041b420
lea ecx, [ebp + 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0041b420
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x20