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

Disassembly:
push 0xffffffffffffffff
push 0x5f3b6a
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x676890]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov dword [0x67d690], 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.00538610
lea ecx, [esi + 0x70]
mov byte [esp + 0x88], 1
mov dword [esi + 0x6c], ebx
call fcn.00538610
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.004ba840
lea ecx, [esi + 0xbc]
mov byte [esp + 0x88], 3
call fcn.00538610
lea ecx, [esi + 0xd8]
mov byte [esp + 0x88], 4
call fcn.00538610
lea ecx, [esi + 0xf8]
mov byte [esp + 0x88], 5
call fcn.00538610
lea eax, [esp + 0x17]
push eax
lea edx, [esp + 0x1b]
lea ecx, [esi + 0x114]
push edx
mov byte [esp + 0x90], 6
call fcn.00526b80
push 0xa4
mov byte [esp + 0x8c], 7
call fcn.005a01ed
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x88], 8
cmp eax, ebx
je 0x5288b5
push ebx
mov ecx, eax
call fcn.00533b70
jmp 0x5288b7
xor eax, eax
push str.root
mov ecx, eax
mov byte [esp + 0x8c], 7
mov dword [esi + 0xf4], eax
call fcn.00534330
mov ecx, dword [esi + 0xf4]
call fcn.00531530
mov dword [esp + 0x30], str.GAME
mov dword [esp + 0x34], str.UI_BOTTOM
mov dword [esp + 0x38], 0x613830
mov dword [esp + 0x3c], str.TOP_MOST
mov dword [esp + 0x40], str.CURTAIN
mov dword [esp + 0x18], ebx
push 0xa4
call fcn.005a01ed
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov byte [esp + 0x88], 9
cmp edi, ebx
je 0x528937
push ebx
mov ecx, edi
call fcn.00533b70
mov dword [edi], vtable.UI::CLayer.0
jmp 0x528939
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.00534330
mov ecx, edi
call fcn.00531530
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 0x528971
sub eax, ecx
push eax
push ebp
lea ecx, [esp + 0x4c]
call fcn.00403f00
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.004046b0
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.0044b050
cmp dword [esp + 0x78], 0x10
jb 0x5289ea
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0059fc2a
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 0x528a12
mov edx, dword [esp + 0x48]
push edx
call fcn.0059fc2a
add esp, 4
mov ecx, dword [esi + 0xf4]
push edi
call fcn.00534b40
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.00536f90
push 1
lea ecx, [esi + 0xf8]
mov ebp, eax
call fcn.004c0210
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 0x528908
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 0x528a89
mov edi, dword [eax]
push eax
call fcn.0059fc2a
add esp, 4
mov eax, edi
cmp edi, dword [esi + 0x64]
jne 0x528a77
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 0x528ac5
lea ebx, [ebx]
mov edi, dword [eax]
push eax
call fcn.0059fc2a
add esp, 4
mov eax, edi
cmp edi, dword [esi + 0x84]
jne 0x528ab0
push 0x600e94
call dword [sym.imp.python27.dll_Py_BuildValue]
mov dword [0x6bfa70], 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