Function at 0x43eb90
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4a600d
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4e0c44]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e0c44]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov esi, dword [esp + 0xb4]
push esi
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor ebx, ebx
mov edi, 0xf
mov eax, esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x43ebf8
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x70]
call fcn.00406230
push str.GFXFileManager.dll
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x8c]
push ecx
mov dword [esp + 0xb8], ebx
call fcn.0040e110
add esp, 0xc
mov eax, dword [esp + 0x80]
cmp eax, 0x10
mov byte [esp + 0xac], 2
jb 0x43ec54
mov edx, dword [esp + 0x6c]
add eax, 1
push eax
push edx
call fcn.00406140
add esp, 8
cmp dword [esp + 0x9c], 0x10
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jae 0x43ec7b
lea ebp, [esp + 0x88]
sub esp, 0x1c
mov edi, esp
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x30], esp
mov byte [edi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x43ec96
sub eax, edx
push eax
push ebp
mov ecx, edi
call fcn.00406230
mov ecx, dword [esp + 0x34]
call fcn.00408670
cmp al, bl
jne 0x43ece1
mov eax, dword [esp + 0x9c]
cmp eax, 0x10
jb 0x43ecd7
add eax, 1
push eax
mov eax, dword [esp + 0x8c]
push eax
call fcn.00406140
add esp, 8
mov eax, 0xf0000000
jmp 0x43f26e
push str.169841
push fcn.00406b10
push 1
push 2
sub esp, 0x1c
mov edi, esp
mov eax, esi
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x40], esp
mov byte [edi + 4], bl
lea ebp, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x43ed10
sub eax, ebp
push eax
push esi
mov ecx, edi
call fcn.00406230
mov ebp, dword [esp + 0x44]
mov ecx, ebp
call fcn.00408780
mov edi, eax
cmp edi, ebx
jne 0x43ed5f
mov eax, dword [esp + 0x9c]
cmp eax, 0x10
jb 0x43ed55
mov ecx, dword [esp + 0x88]
add eax, 1
push eax
push ecx
call fcn.00406140
add esp, 8
mov eax, 0xf0000001
jmp 0x43f26e
push 0x13
push str.WINDOWS_FILE_SYSTEM
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.00406230
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 3
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00406300
mov dword [esp + 0x3c], edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x60]
lea edi, [ebp + 0xc]
push ecx
mov ecx, edi
mov byte [esp + 0xb4], 4
call fcn.0040c870
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x43ede2
mov edx, dword [esp + 0x24]
add eax, 1
push eax
push edx
call fcn.00406140
add esp, 8
mov eax, dword [esp + 0x58]
cmp eax, 0x10
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov byte [esp + 0xac], 2
jb 0x43ee14
add eax, 1
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.00406140
add esp, 8
call fcn.00466e93
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x43ee2e
push 0x80004005
call fcn.00432500
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [str.data]
push 0x4b4dcc
push ecx
push esi
lea edx, [esp + 0x20]
push str._s_s._s
push edx
mov byte [esp + 0xc0], 5
call fcn.004355e0
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp dword [eax - 4], 1
push str.169841
push fcn.00406b10
push 1
push 1
jle 0x43ee8e
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x28]
call fcn.004325d0
mov eax, dword [esp + 0x24]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00406b90
mov ecx, ebp
call fcn.00408780
mov ebp, eax
cmp ebp, ebx
jne 0x43eee8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xac], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43eed2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x84]
call fcn.00406db0
mov eax, 0xf0000001
jmp 0x43f26e
mov ecx, dword [str.data]
push ecx
lea ecx, [esp + 0x44]
call fcn.00406b90
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 6
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00406300
mov dword [esp + 0x3c], ebp
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
mov byte [esp + 0xb4], 7
call fcn.0040c870
lea ecx, [esp + 0x20]
call fcn.00401620
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 5
call fcn.00406db0
mov edx, dword [str.media]
push 0x4b4dcc
push edx
push esi
lea eax, [esp + 0x20]
push str._s_s._s
push eax
call fcn.004355e0
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp dword [eax - 4], 1
push str.169841
push fcn.00406b10
push 1
push 1
jle 0x43efa0
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x28]
call fcn.004325d0
mov eax, dword [esp + 0x24]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00406b90
mov ebp, dword [esp + 0x44]
mov ecx, ebp
call fcn.00408780
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x43efe1
lea ecx, [esp + 0x14]
call fcn.00432810
lea ecx, [esp + 0x84]
call fcn.00406db0
mov eax, 0xf0000001
jmp 0x43f26e
mov edx, dword [str.media]
push edx
lea ecx, [esp + 0x44]
call fcn.00406b90
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 8
call fcn.0040ca00
push eax
lea edx, [esp + 0x60]
push edx
mov ecx, edi
mov byte [esp + 0xb4], 9
call fcn.0040c870
lea ecx, [esp + 0x20]
call fcn.00401620
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 5
call fcn.00406db0
mov eax, dword [0x4de19c]
push 0x4b4dcc
push eax
push esi
lea ecx, [esp + 0x20]
push str._s_s._s
push ecx
call fcn.004355e0
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp dword [eax - 4], 1
push str.169841
push fcn.00406b10
push 1
push 1
jle 0x43f082
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x28]
call fcn.004325d0
mov eax, dword [esp + 0x24]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00406b90
mov ecx, ebp
call fcn.00408780
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x43efc2
mov eax, dword [0x4de19c]
push eax
lea ecx, [esp + 0x44]
call fcn.00406b90
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 0xa
call fcn.0040ca00
push eax
lea eax, [esp + 0x60]
push eax
mov ecx, edi
mov byte [esp + 0xb4], 0xb
call fcn.0040c870
lea ecx, [esp + 0x20]
call fcn.00401620
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 5
call fcn.00406db0
mov ecx, dword [str.particles]
push 0x4b4dcc
push ecx
push esi
lea edx, [esp + 0x20]
push str._s_s._s
push edx
call fcn.004355e0
add esp, 0x14
push str.169841
push fcn.00406b10
push 1
push 1
lea ecx, [esp + 0x24]
call fcn.0043c6b0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00406b90
mov ecx, ebp
call fcn.00408780
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x43efc2
mov eax, dword [str.particles]
push eax
lea ecx, [esp + 0x44]
call fcn.00406b90
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 0xc
call fcn.0040ca00
push eax
lea eax, [esp + 0x60]
push eax
mov ecx, edi
mov byte [esp + 0xb4], 0xd
call fcn.0040c870
lea ecx, [esp + 0x20]
call fcn.00401620
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 5
call fcn.00406db0
mov ecx, dword [str.music]
push 0x4b4dcc
push ecx
push esi
lea edx, [esp + 0x20]
push str._s_s._s
push edx
call fcn.004355e0
add esp, 0x14
push str.169841
push fcn.00406b10
push 1
push 1
lea ecx, [esp + 0x24]
call fcn.0043c6b0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00406b90
mov ecx, ebp
call fcn.00408780
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x43efc2
mov eax, dword [str.music]
push eax
lea ecx, [esp + 0x44]
call fcn.00406b90
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 0xe
call fcn.0040ca00
push eax
lea eax, [esp + 0x60]
push eax
mov ecx, edi
mov byte [esp + 0xb4], 0xf
call fcn.0040c870
lea ecx, [esp + 0x20]
call fcn.00401620
lea ecx, [esp + 0x40]
call fcn.00406db0
lea ecx, [esp + 0x14]
call fcn.00432810
lea ecx, [esp + 0x84]
call fcn.00406db0
xor eax, eax
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.0047e4dd
add esp, 0x9c
ret 4