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

Disassembly:
push 0xffffffffffffffff
push 0x595a17
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
mov dword [0x5f2258], esi
xor ebx, ebx
lea edi, [esi + 0x50]
mov ecx, edi
mov dword [esp + 0x80], ebx
mov dword [esi], 0x5b13f8
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.004e5260
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x60]
mov ecx, edi
mov byte [esp + 0x80], 1
mov dword [esi + 0x5c], ebx
call fcn.004e5260
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x7c]
mov ecx, edi
mov byte [esp + 0x80], 2
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
call fcn.004f4da0
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x88]
mov ecx, edi
mov byte [esp + 0x80], 3
call fcn.004e5260
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x94]
mov ecx, edi
mov byte [esp + 0x80], 4
call fcn.004e5260
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea ebp, [esi + 0xa4]
mov ecx, ebp
mov byte [esp + 0x80], 5
call fcn.004e5260
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
lea edi, [esi + 0xb0]
mov ecx, edi
mov byte [esp + 0x80], 6
call fcn.00513ef0
mov dword [edi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
push 0x84
mov byte [esp + 0x84], 7
call fcn.00479702
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x80], 8
je 0x545f16
push ebx
mov ecx, eax
call fcn.00551c80
jmp 0x545f18
xor eax, eax
push str.root
mov ecx, eax
mov byte [esp + 0x84], 7
mov dword [esi + 0xa0], eax
call fcn.00552200
mov ecx, dword [esi + 0xa0]
call fcn.0054f490
mov dword [esp + 0x28], str.GAME
mov dword [esp + 0x2c], str.UI_BOTTOM
mov dword [esp + 0x30], 0x5b13dc
mov dword [esp + 0x34], str.TOP_MOST
mov dword [esp + 0x38], str.CURTAIN
mov dword [esp + 0x14], ebx
lea esp, [esp]
push 0x84
call fcn.00479702
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x80], 9
je 0x545fa5
push ebx
mov ecx, eax
call fcn.00551c80
mov ecx, dword [esp + 0x10]
mov dword [ecx], 0x5b1338
mov dword [esp + 0x10], ecx
jmp 0x545fab
mov dword [esp + 0x10], ebx
mov ecx, ebx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x28]
push eax
mov byte [esp + 0x84], 7
mov dword [esp + 0x1c], ecx
call fcn.00552200
mov ecx, dword [esp + 0x10]
call fcn.0054f490
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + ecx*4 + 0x28]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x545ff0
mov edx, dword [esp + 0x14]
sub eax, ecx
push eax
mov eax, dword [esp + edx*4 + 0x2c]
push eax
lea ecx, [esp + 0x44]
call fcn.00404250
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 0xa
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00403f50
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
mov byte [esp + 0x88], 0xb
call fcn.00545780
cmp dword [esp + 0x70], 0x10
jb 0x54606a
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004796fd
add esp, 4
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x80], 7
jb 0x546096
mov edx, dword [esp + 0x40]
push edx
call fcn.004796fd
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xa0]
push eax
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00552530
mov eax, dword [ebp + 4]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.004e6f90
push 1
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.005445a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], eax
mov edx, dword [eax + 4]
mov dword [edx], eax
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 5
mov dword [esp + 0x14], eax
jb 0x545f70
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x54]
mov dword [ecx + 4], ecx
cmp eax, dword [esi + 0x54]
mov dword [esi + 0x58], ebx
je 0x546126
mov edi, dword [eax]
push eax
call fcn.004796fd
mov ecx, dword [esi + 0x54]
add esp, 4
cmp edi, ecx
mov eax, edi
jne 0x546112
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x64]
mov dword [ecx + 4], ecx
cmp eax, dword [esi + 0x64]
mov dword [esi + 0x68], ebx
je 0x546154
jmp 0x546140
mov edi, dword [eax]
push eax
call fcn.004796fd
mov ecx, dword [esi + 0x64]
add esp, 4
cmp edi, ecx
mov eax, edi
jne 0x546140
push 0x599d38
call dword [sym.imp.python22.dll_Py_BuildValue]
mov ecx, dword [esp + 0x7c]
add esp, 4
pop edi
mov dword [0x62f528], eax
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret