Function at 0x4035f0
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x419298
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x41f2b0]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41f2b0]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84]
mov edi, ecx
push edi
mov ebx, str.Program_
lea esi, [esp + 0x1c]
mov dword [esp + 0x38], eax
call fcn.004054c0
mov esi, 8
add esp, 4
cmp dword [eax + 0x18], esi
jb 0x403650
mov eax, dword [eax + 4]
jmp 0x403653
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [esp + 0x30], esi
jb 0x40366d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0040c0bb
add esp, 4
push edi
mov ebx, str.programlibexpat.dll
lea esi, [esp + 0x3c]
call fcn.004054c0
add esp, 4
mov dword [esp + 0x7c], 0
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0x403696
lea eax, [esp + 0x3c]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call ebp
push edi
mov ebx, str.programlibpng13.dll
lea esi, [esp + 0x1c]
call fcn.004054c0
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 1
call fcn.00401250
mov esi, 8
mov byte [esp + 0x7c], 0
cmp dword [esp + 0x30], esi
jb 0x4036e3
mov edx, dword [esp + 0x1c]
push edx
call fcn.0040c0bb
add esp, 4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x4036f1
lea eax, [esp + 0x3c]
push eax
call ebp
push edi
mov ebx, str.programXLFSIO.dll
lea esi, [esp + 0x1c]
call fcn.004054c0
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 2
call fcn.00401250
mov esi, 8
mov byte [esp + 0x7c], 0
cmp dword [esp + 0x30], esi
jb 0x403738
mov eax, dword [esp + 0x1c]
push eax
call fcn.0040c0bb
add esp, 4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x403746
lea eax, [esp + 0x3c]
push eax
call ebp
push edi
mov ebx, str.programXLGraphic.dll
lea esi, [esp + 0x1c]
call fcn.004054c0
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 3
call fcn.00401250
mov esi, 8
mov byte [esp + 0x7c], 0
cmp dword [esp + 0x30], esi
jb 0x40378d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0040c0bb
add esp, 4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x40379b
lea eax, [esp + 0x3c]
push eax
call ebp
push edi
mov ebx, str.programXLLuaRuntime.dll
lea esi, [esp + 0x1c]
call fcn.004054c0
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 4
call fcn.00401250
mov esi, 8
mov byte [esp + 0x7c], 0
cmp dword [esp + 0x30], esi
jb 0x4037e2
mov edx, dword [esp + 0x1c]
push edx
call fcn.0040c0bb
add esp, 4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x4037f0
lea eax, [esp + 0x3c]
push eax
call ebp
push edi
mov ebx, str.programXLUE.dll
lea esi, [esp + 0x1c]
call fcn.004054c0
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 5
call fcn.00401250
mov esi, 8
mov byte [esp + 0x7c], 0
cmp dword [esp + 0x30], esi
jb 0x403837
mov eax, dword [esp + 0x1c]
push eax
call fcn.0040c0bb
add esp, 4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x403845
lea eax, [esp + 0x3c]
push eax
call ebp
push edi
mov ebx, str.programzlib1.dll
lea esi, [esp + 0x1c]
call fcn.004054c0
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 6
call fcn.00401250
mov esi, 8
mov byte [esp + 0x7c], 0
cmp dword [esp + 0x30], esi
jb 0x40388c
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0040c0bb
add esp, 4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x40389a
lea eax, [esp + 0x3c]
push eax
call ebp
push edi
mov ebx, str.programXLShuijingSetupUI.dll
lea esi, [esp + 0x1c]
call fcn.004054c0
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 7
call fcn.00401250
mov ebx, 8
mov byte [esp + 0x7c], 0
cmp dword [esp + 0x30], ebx
jb 0x4038e1
mov edx, dword [esp + 0x1c]
push edx
call fcn.0040c0bb
add esp, 4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebx
jae 0x4038ef
lea eax, [esp + 0x3c]
push eax
call ebp
mov esi, eax
test esi, esi
je 0x4039b0
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41c238
push esi
call ebp
push str.ReleaseUI
push esi
mov ebx, eax
call ebp
mov dword [edi + 0x3c], eax
test ebx, ebx
je 0x4039ab
mov ebp, 7
xor eax, eax
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 8
call fcn.004039f0
mov eax, dword [esp + 0x58]
mov esi, 8
cmp dword [esp + 0x6c], esi
jae 0x403958
lea eax, [esp + 0x58]
cmp dword [edi + 0x18], esi
jb 0x403962
mov edi, dword [edi + 4]
jmp 0x403965
add edi, 4
mov ecx, dword [esp + 0x34]
push ecx
push eax
push edi
call ebx
cmp dword [esp + 0x6c], esi
jb 0x403981
mov edx, dword [esp + 0x58]
push edx
call fcn.0040c0bb
add esp, 4
xor eax, eax
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
cmp dword [esp + 0x50], esi
jb 0x4039a7
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0040c0bb
add esp, 4
mov al, 1
jmp 0x4039c5
mov ebx, 8
cmp dword [esp + 0x50], ebx
jb 0x4039c3
mov edx, dword [esp + 0x3c]
push edx
call fcn.0040c0bb
add esp, 4
xor al, al
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0040c0c6
add esp, 0x6c
ret 4