Function at 0x4054c0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4381ae
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x209c
call fcn.00426260
mov eax, dword [0x4493b4]
xor eax, esp
mov dword [esp + 0x2098], eax
push ebx
push esi
push edi
mov eax, dword [0x4493b4]
xor eax, esp
push eax
lea eax, [esp + 0x20b0]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov esi, ecx
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.0040fece
xor ebx, ebx
push ebx
call fcn.00410f4d
add esp, 4
push str.Local_AppWizard_Generated_Applications
mov ecx, esi
call fcn.004114c2
call fcn.00411edb
mov edx, dword [eax + 8]
mov ecx, 0x44d258
call fcn.00404a50
push str.SSBoot
push 0x100
push 0x44d27c
call fcn.00422999
mov ecx, dword [esi + 0x48]
add esp, 0xc
push ecx
push str.Command_Parameter_:__s
mov ecx, 0x44d258
call fcn.00404e20
add esp, 8
push 0x43e748
lea ecx, [esp + 0x14]
call fcn.00402f70
mov dword [esp + 0x20b8], ebx
push 0xc0c
lea edx, [esp + 0x20]
push 0x30
push edx
call fcn.00423cc0
mov ecx, dword [esi + 0x48]
add esp, 0xc
cmp ecx, ebx
mov byte [esp + 0xc1d], 1
mov byte [esp + 0xc1c], 1
mov dword [esp + 0xc24], ebx
mov byte [esp + 0xc1e], 1
jne 0x4055d2
xor eax, eax
jmp 0x4055e2
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x4055d7
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00403310
lea eax, [esp + 0x10]
push eax
call fcn.00405d20
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push 0x400
push edx
call fcn.00422999
add esp, 0xc
lea edx, [esp + 0x81c]
lea ecx, [esp + 0x41c]
call fcn.00405930
lea eax, [esp + 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, esi
call fcn.00405b30
mov al, byte [esi + 0xa8]
cmp al, bl
je 0x40572e
mov byte [esp + 0xc1c], bl
mov byte [esi + 0xa9], 1
cmp al, bl
je 0x4056b3
lea edx, [esp + 0xc2c]
push edx
call fcn.004014e0
mov byte [esp + 0x20b8], 2
lea eax, [esp + 0xc2c]
push eax
lea ecx, [esp + 0x820]
lea edx, [esp + 0x420]
call fcn.00401660
lea ecx, [esp + 0xc2c]
call fcn.00401950
mov dword [esp + 0xc20], eax
mov dword [esi + 0xa4], eax
mov byte [esp + 0x20b8], bl
lea ecx, [esp + 0xc2c]
push ecx
call fcn.004015d0
mov eax, dword [esi + 0xa4]
cmp eax, ebx
je 0x4056dd
cmp byte [esi + 0xa9], bl
jne 0x4056dd
push eax
push str.Error______Not_Satisfy_the_requirement.
mov ecx, 0x44d258
call fcn.00404e20
add esp, 8
call fcn.00405830
mov dword [esp + 0x20b8], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405708
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2098]
xor ecx, esp
call fcn.00422383
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0xc1c], bl
je 0x405652
cmp byte [esi + 0xac], bl
je 0x40575a
mov byte [esp + 0xc1d], bl
mov byte [esp + 0xc1e], bl
mov byte [esi + 0xa9], 1
jmp 0x405774
mov cl, byte [esi + 0xaa]
mov dl, byte [esi + 0xab]
mov byte [esp + 0xc1d], cl
mov byte [esp + 0xc1e], dl
cmp byte [esi + 0xa9], bl
jne 0x4057e1
lea eax, [esp + 0xc2c]
push eax
call fcn.00401010
mov byte [esp + 0x20b8], 1
push 0xc0c
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xca8]
push 0xc0c
push edx
call fcn.004223d7
add esp, 0x10
lea ecx, [esp + 0xc2c]
call fcn.0040d1be
mov eax, dword [esp + 0x18a4]
mov dword [esi + 0xa4], eax
mov byte [esp + 0x20b8], bl
lea ecx, [esp + 0xc2c]
call fcn.004010f0
jmp 0x4056b3
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401190
add esp, 4
mov dword [esi + 0xa4], eax
jmp 0x4056b3