Function at 0x43a130
Capabilities:
Access peb ldr_data
Check os version
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x498ae0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, dword [0x4bb98c]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x2d0]
push edi
lea edx, [esp + 0x88]
mov dword [esp + 0xa4], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
push 1
xor ebx, ebx
push 0x4a65c8
lea ecx, [esp + 0x90]
mov dword [esp + 0xb8], ebx
call fcn.00405970
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x90]
mov edi, 0xf
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.00403ae0
push 9
push str.stage.xml
lea ecx, [esp + 0x74]
mov byte [esp + 0xb8], 1
call fcn.00405970
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], 2
call fcn.00424030
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 3
mov dword [esp + 0x20], 0x4a6d3c
mov dword [esp + 0x2c], 0x4a16b8
call fcn.00440b40
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], 0x4a7a24
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x1c], 0x4a1e74
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x18], ebx
mov eax, dword [esi + 0x14c]
xor edi, edi
cmp eax, 1
mov byte [esp + 0xb0], 4
jne 0x43a277
call fcn.00441c90
cmp dword [esp + 0x84], 0x10
mov ecx, dword [esp + 0x70]
jae 0x43a25d
lea ecx, [esp + 0x70]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x34]
mov edi, eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edi + 4]
lea ecx, [ecx + edi + 4]
call dword [edx]
mov eax, dword [esi + 0x14c]
cmp eax, 8
ja case.default.0x43a286
jmp dword [eax*4 + 0x43a784]
mov ecx, esi
call fcn.00438ab0
mov dword [esi + 0x14c], 1
jmp case.default.0x43a286
push esi
lea ecx, [esp + 0x30]
call fcn.004165f0
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.004484f0
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + edi + 4]
lea ecx, [edx + edi + 4]
add esp, 8
call dword [eax + 4]
mov dword [esi + 0x14c], 2
jmp case.default.0x43a286
sub esp, 0x1c
lea edx, [esi + 0x2f0]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00403cc0
sub esp, 0x1c
lea eax, [esi + 0x30c]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0xec], 5
call fcn.00403cc0
sub esp, 0x1c
lea edx, [esi + 0x2d4]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
mov byte [esp + 0x108], 6
call fcn.00403cc0
mov eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x104], 4
call dword [eax + 0x190]
mov dword [esi + 0x14c], 3
jmp case.default.0x43a286
sub esp, 0x1c
lea edx, [esi + 0x27c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00403cc0
sub esp, 0x1c
lea eax, [esi + 0x244]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0xec], 7
call fcn.00403cc0
sub esp, 0x1c
lea edx, [esi + 0x228]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
mov byte [esp + 0x108], 8
call fcn.00403cc0
mov eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x104], 4
call dword [eax + 0x1a0]
mov dword [esi + 0x14c], 4
jmp case.default.0x43a286
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1a4]
mov dword [esi + 0x14c], 5
jmp case.default.0x43a286
mov ecx, dword [esi + 0x2a0]
cmp ecx, ebx
jne 0x43a3e2
xor eax, eax
jmp 0x43a3ed
mov eax, dword [esi + 0x2a4]
sub eax, ecx
sar eax, 2
mov ecx, dword [esi + 0x150]
cmp ecx, eax
jge 0x43a410
mov eax, dword [esi + 0x2a0]
mov ecx, dword [eax + ecx*4]
call fcn.00420680
inc dword [esi + 0x150]
jmp case.default.0x43a286
mov ecx, dword [esi + 0x1c4]
xor eax, eax
cmp ecx, 5
setne al
dec eax
and eax, 3
add eax, 6
mov dword [esi + 0x14c], eax
jmp case.default.0x43a286
cmp dword [esi + 0x1c4], 5
je 0x43a4b3
push 0x1f0
call fcn.00461221
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
mov byte [esp + 0xb0], 9
je 0x43a45f
mov ecx, eax
call fcn.004217c0
jmp 0x43a461
xor eax, eax
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.config_fishMermaid.xml
mov byte [esp + 0xd4], 4
mov dword [esi + 0x2ac], eax
call fcn.00403cf0
mov ecx, dword [esi + 0x2ac]
call fcn.0041df10
mov ecx, dword [esi + 0x2ac]
call fcn.00420680
mov ecx, dword [esi + 0x2ac]
push ebx
call fcn.0041d950
mov ecx, dword [esi + 0x2ac]
push 3
call fcn.0041deb0
mov dword [esi + 0x14c], 7
jmp case.default.0x43a286
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x5c]
call fcn.00403ae0
push str.startScreen.xml
lea ecx, [esp + 0x54]
call fcn.00405a80
push 0x15c
call fcn.00461221
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
mov byte [esp + 0xb0], 0xa
je 0x43a50d
push 1
push esi
mov ecx, eax
call fcn.00429b20
jmp 0x43a50f
xor eax, eax
sub esp, 0x1c
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0xd0], 4
mov dword [esi + 0x1b0], eax
call fcn.00403cc0
mov ecx, dword [esi + 0x1b0]
mov eax, dword [ecx]
call dword [eax + 0xf0]
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], 8
jmp case.default.0x43a286
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x5c]
call fcn.00403ae0
push str.completeScreen.xml
lea ecx, [esp + 0x54]
call fcn.00405a80
push 0x2f8
call fcn.00461221
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
mov byte [esp + 0xb0], 0xb
je 0x43a5ac
push 1
push esi
mov ecx, eax
call fcn.004297c0
jmp 0x43a5ae
xor eax, eax
sub esp, 0x1c
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0xd0], 4
mov dword [esi + 0x1b4], eax
call fcn.00403cc0
mov ecx, dword [esi + 0x1b4]
call fcn.00426730
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.00461221
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
mov byte [esp + 0xb0], 0xc
je 0x43a617
push 1
push esi
mov ecx, eax
call fcn.00429b20
jmp 0x43a619
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 + 0xb0], 4
call dword [eax]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
push str.configgameOverContinue.xml
call fcn.00403cf0
mov ecx, dword [esi + 0x1b8]
mov edx, dword [ecx]
call dword [edx + 0xf0]
push 0x15c
call fcn.00461221
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
mov byte [esp + 0xb0], 0xd
je 0x43a67f
push 1
push esi
mov ecx, eax
call fcn.00429b20
jmp 0x43a681
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 + 0xb0], 4
call dword [eax]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
push str.configgameOver.xml
call fcn.00403cf0
mov ecx, dword [esi + 0x1bc]
mov edx, dword [ecx]
call dword [edx + 0xf0]
mov ecx, esi
call fcn.00437d80
mov dword [esi + 0x14c], 9
lea ecx, [esp + 0x18]
mov byte [esp + 0xb0], 3
call fcn.00440ad0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb0], 2
call fcn.00423f70
mov eax, dword [esp + 0x68]
mov esi, 0x10
cmp eax, esi
jb 0x43a70b
mov eax, dword [esp + 0x54]
push eax
call fcn.00461bad
add esp, 4
cmp dword [esp + 0x84], esi
mov edi, 0xf
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x43a732
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00461bad
add esp, 4
cmp dword [esp + 0xa0], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
jb 0x43a75d
mov edx, dword [esp + 0x8c]
push edx
call fcn.00461bad
add esp, 4
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xa4]
call fcn.00461d91
pop edi
pop esi
pop ebx
add esp, 0xa8
ret 4