Function at 0x43a680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x494b39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov eax, dword [0x4b792c]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x2d4]
push edi
lea edx, [esp + 0xac]
mov dword [esp + 0xc8], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
push 1
xor ebp, ebp
push 0x4a2354
lea ecx, [esp + 0xb4]
mov dword [esp + 0xdc], ebp
call fcn.00405960
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0xb4]
mov edi, 0xf
push eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebp
mov byte [esp + 0xa0], 0
call fcn.00403a70
push 9
push str.stage.xml
lea ecx, [esp + 0x98]
mov byte [esp + 0xdc], 1
call fcn.00405960
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebp
mov byte [esp + 0x78], 0
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0xd8], 2
call fcn.00423cc0
push ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 3
mov dword [esp + 0x24], 0x49fb4c
mov dword [esp + 0x30], 0x4a44d0
call fcn.00453cc0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], 0x4a46fc
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x20], 0x4a1e2c
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x1c], ebp
cmp dword [esp + 0xa8], 0x10
mov eax, dword [esp + 0x94]
mov byte [esp + 0xd4], 4
jae 0x43a7b3
lea eax, [esp + 0x94]
push 1
push eax
lea ecx, [esp + 0x5c]
call fcn.00456390
mov eax, dword [esi + 0x14c]
cmp eax, 9
mov ebx, 5
mov byte [esp + 0xd4], bl
ja case.default.0x43a7da
jmp dword [eax*4 + 0x43ad60]
mov ecx, esi
call fcn.00439000
push 0x10
call fcn.0045d051
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0xd4], 6
je 0x43a80b
mov ecx, eax
call fcn.0042ccd0
jmp 0x43a80d
xor eax, eax
mov dword [esi + 0x2c4], eax
mov dword [esi + 0x14c], 1
jmp case.default.0x43a7da
push esi
lea ecx, [esp + 0x34]
call fcn.0042bdd0
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.004570f0
add esp, 8
mov dword [esi + 0x14c], 2
jmp case.default.0x43a7da
sub esp, 0x1c
lea edx, [esi + 0x2f4]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00403c50
sub esp, 0x1c
lea eax, [esi + 0x310]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0x110], 7
call fcn.00403c50
sub esp, 0x1c
lea edx, [esi + 0x2d8]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
mov byte [esp + 0x12c], 8
call fcn.00403c50
mov eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x128], bl
call dword [eax + 0x190]
mov dword [esi + 0x14c], 3
jmp case.default.0x43a7da
sub esp, 0x1c
lea edx, [esi + 0x27c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00403c50
sub esp, 0x1c
lea eax, [esi + 0x244]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0x110], 9
call fcn.00403c50
sub esp, 0x1c
lea edx, [esi + 0x228]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
mov byte [esp + 0x12c], 0xa
call fcn.00403c50
mov eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x128], bl
call dword [eax + 0x1a0]
mov dword [esi + 0x14c], 4
jmp case.default.0x43a7da
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1a4]
mov dword [esi + 0x14c], ebx
jmp case.default.0x43a7da
mov ecx, dword [esi + 0x2a0]
cmp ecx, ebp
jne 0x43a94e
xor eax, eax
jmp 0x43a959
mov eax, dword [esi + 0x2a4]
sub eax, ecx
sar eax, 2
mov ecx, dword [esi + 0x150]
cmp ecx, eax
jge 0x43a97c
mov eax, dword [esi + 0x2a0]
mov ecx, dword [eax + ecx*4]
call fcn.00420340
inc dword [esi + 0x150]
jmp case.default.0x43a7da
mov ecx, dword [esi + 0x1c4]
xor eax, eax
cmp ecx, ebx
sete al
lea eax, [eax*4 + 6]
mov dword [esi + 0x14c], eax
jmp case.default.0x43a7da
xor edi, edi
lea ecx, [ecx]
mov ecx, dword [esi + 0x358]
cmp ecx, ebp
jne 0x43a9ae
xor eax, eax
jmp 0x43a9b9
mov eax, dword [esi + 0x35c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jge 0x43a9d3
mov ecx, dword [esi + 0x358]
lea eax, [ecx + edi*4]
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 0x10c]
inc edi
jmp 0x43a9a0
mov dword [esi + 0x14c], 7
mov edi, 0xf
jmp case.default.0x43a7da
cmp dword [esi + 0x1c4], ebx
je 0x43aa68
push 0x1f0
call fcn.0045d051
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0xd4], 0xb
je 0x43aa15
mov ecx, eax
call fcn.00421480
jmp 0x43aa17
xor eax, eax
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str.config_fishMermaid.xml
mov byte [esp + 0xf8], bl
mov dword [esi + 0x2ac], eax
call fcn.00403c80
mov ecx, dword [esi + 0x2ac]
call fcn.0041dbd0
mov ecx, dword [esi + 0x2ac]
call fcn.00420340
mov ecx, dword [esi + 0x2ac]
push ebp
call fcn.0041d550
mov ecx, dword [esi + 0x2ac]
push 3
call fcn.0041db70
mov dword [esi + 0x14c], 8
jmp case.default.0x43a7da
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x80]
call fcn.00403a70
push str.startScreen.xml
lea ecx, [esp + 0x78]
call fcn.00405a70
push 0x15c
call fcn.0045d051
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0xd4], 0xc
je 0x43aac5
push 1
push esi
mov ecx, eax
call fcn.0042a4a0
jmp 0x43aac7
xor eax, eax
sub esp, 0x1c
lea edx, [esp + 0x90]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0xf4], bl
mov dword [esi + 0x1b0], eax
call fcn.00403c50
mov ecx, dword [esi + 0x1b0]
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x14c], 9
jmp case.default.0x43a7da
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x80]
call fcn.00403a70
push str.completeScreen.xml
lea ecx, [esp + 0x78]
call fcn.00405a70
push 0x2f8
call fcn.0045d051
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0xd4], 0xd
je 0x43ab69
push 1
push esi
mov ecx, eax
call fcn.0042a190
jmp 0x43ab6b
xor eax, eax
sub esp, 0x1c
lea edx, [esp + 0x90]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0xf4], bl
mov dword [esi + 0x1b4], eax
call fcn.00403c50
mov ecx, dword [esi + 0x1b4]
call fcn.00427110
mov eax, dword [esi + 0x1b4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
call dword [eax]
push 0x15c
call fcn.0045d051
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0xd4], 0xe
je 0x43abd6
push 1
push esi
mov ecx, eax
call fcn.0042a4a0
jmp 0x43abd8
xor eax, eax
mov dword [esi + 0x1b8], eax
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov byte [esp + 0xd4], bl
call dword [eax]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.configgameOverContinue.xml
call fcn.00403c80
mov ecx, dword [esi + 0x1b8]
mov edx, dword [ecx]
call dword [edx + pe_nt_image_headers32]
push 0x15c
call fcn.0045d051
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0xd4], 0xf
je 0x43ac3d
push 1
push esi
mov ecx, eax
call fcn.0042a4a0
jmp 0x43ac3f
xor eax, eax
mov dword [esi + 0x1bc], eax
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov byte [esp + 0xd4], bl
call dword [eax]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.configgameOver.xml
call fcn.00403c80
mov ecx, dword [esi + 0x1bc]
mov edx, dword [ecx]
call dword [edx + pe_nt_image_headers32]
mov ecx, esi
call fcn.00438320
mov dword [esi + 0x14c], 0xa
lea ecx, [esp + 0x54]
mov byte [esp + 0xd4], 4
call fcn.00456340
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd4], 3
call fcn.00453c50
lea ecx, [esp + 0x30]
mov byte [esp + 0xd4], 2
call fcn.00423c00
mov eax, dword [esp + 0x8c]
mov esi, 0x10
cmp eax, esi
jb 0x43acdc
mov eax, dword [esp + 0x78]
push eax
call fcn.0045d9dd
add esp, 4
cmp dword [esp + 0xa8], esi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebp
mov byte [esp + 0x78], 0
jb 0x43ad08
mov ecx, dword [esp + 0x94]
push ecx
call fcn.0045d9dd
add esp, 4
cmp dword [esp + 0xc4], esi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebp
mov byte [esp + 0x94], 0
jb 0x43ad37
mov edx, dword [esp + 0xb0]
push edx
call fcn.0045d9dd
add esp, 4
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xc8]
call fcn.0045dbc1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret 4