Function at 0x59c960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x669c1a
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70903c]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov dword [0x712510], esi
xor ebx, ebx
lea ecx, [esi + 0x50]
mov dword [esp + 0x88], ebx
mov dword [esi], vtable.UI::CWindowManager.0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
call fcn.005d2cc0
lea ecx, [esi + 0x70]
mov byte [esp + 0x88], 1
mov dword [esi + 0x6c], ebx
call fcn.005d2cc0
lea eax, [esp + 0x17]
push eax
lea edx, [esp + 0x1b]
lea ecx, [esi + 0x9c]
push edx
mov byte [esp + 0x90], 2
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
call fcn.00567670
lea ecx, [esi + 0xbc]
mov byte [esp + 0x88], 3
call fcn.005d2cc0
lea ecx, [esi + 0xd8]
mov byte [esp + 0x88], 4
call fcn.005d2cc0
lea ecx, [esi + 0xf8]
mov byte [esp + 0x88], 5
call fcn.005d2cc0
lea eax, [esp + 0x17]
push eax
lea edx, [esp + 0x1b]
lea ecx, [esi + 0x114]
push edx
mov byte [esp + 0x90], 6
call fcn.0059a810
push 0xa4
mov byte [esp + 0x8c], 7
call fcn.00613a23
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x88], 8
cmp eax, ebx
je 0x59ca95
push ebx
mov ecx, eax
call fcn.005a7d80
jmp 0x59ca97
xor eax, eax
push str.root
mov ecx, eax
mov byte [esp + 0x8c], 7
mov dword [esi + 0xf4], eax
call fcn.005a8540
mov ecx, dword [esi + 0xf4]
call fcn.005a5760
mov dword [esp + 0x30], str.GAME
mov dword [esp + 0x34], str.UI_BOTTOM
mov dword [esp + 0x38], 0x691600
mov dword [esp + 0x3c], str.TOP_MOST
mov dword [esp + 0x40], str.CURTAIN
mov dword [esp + 0x18], ebx
push 0xa4
call fcn.00613a23
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov byte [esp + 0x88], 9
cmp edi, ebx
je 0x59cb17
push ebx
mov ecx, edi
call fcn.005a7d80
mov dword [edi], vtable.UI::CLayer.0
jmp 0x59cb19
xor edi, edi
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + eax*4 + 0x30]
push ebp
mov ecx, edi
mov byte [esp + 0x8c], 7
mov dword [esp + 0x20], edi
call fcn.005a8540
mov ecx, edi
call fcn.005a5760
mov eax, ebp
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x59cb51
sub eax, ecx
push eax
push ebp
lea ecx, [esp + 0x4c]
call fcn.00417040
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x4c]
push ecx
mov ebp, 0xf
lea ecx, [esp + 0x6c]
mov byte [esp + 0x94], 0xa
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.00417560
mov dword [esp + 0x7c], edi
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 0x114]
mov byte [esp + 0x90], 0xb
call fcn.0057df70
cmp dword [esp + 0x78], 0x10
jb 0x59cbca
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00613a18
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov byte [esp + 0x88], 7
jb 0x59cbf2
mov edx, dword [esp + 0x48]
push edx
call fcn.00613a18
add esp, 4
mov ecx, dword [esi + 0xf4]
push edi
call fcn.005a8d50
mov edi, dword [esi + 0x10c]
mov edx, dword [edi + 4]
lea ecx, [esi + 0xf8]
lea eax, [esp + 0x1c]
push eax
push edx
push edi
call fcn.0059a1e0
push 1
lea ecx, [esi + 0xf8]
mov ebp, eax
call fcn.0059ad60
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 5
jb 0x59cae8
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x64]
mov dword [ecx + 4], ecx
mov dword [esi + 0x68], ebx
cmp eax, dword [esi + 0x64]
je 0x59cc69
mov edi, dword [eax]
push eax
call fcn.00613a18
add esp, 4
mov eax, edi
cmp edi, dword [esi + 0x64]
jne 0x59cc57
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x84]
mov dword [ecx + 4], ecx
mov dword [esi + 0x88], ebx
cmp eax, dword [esi + 0x84]
je 0x59cca5
lea ebx, [ebx]
mov edi, dword [eax]
push eax
call fcn.00613a18
add esp, 4
mov eax, edi
cmp edi, dword [esi + 0x84]
jne 0x59cc90
push 0x69162c
call dword [sym.imp.python22.dll_Py_BuildValue]
mov dword [0x754b20], eax
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret