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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48aee5
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x4a7008]
xor eax, esp
mov dword [esp + 0x1e0], eax
push esi
mov eax, dword [0x4a7008]
xor eax, esp
push eax
lea eax, [esp + 0x1f0]
mov dword fs:[0], eax
mov eax, dword [0x4d1ba0]
test al, 1
jne 0x4534eb
or eax, 1
mov dword [0x4d1ba0], eax
push 0x88
push 0
push 0x4d1a70
mov dword [esp + 0x204], 0
call fcn.00479b40
add esp, 0xc
call fcn.00401850
push 0x48cc60
call fcn.0046fb6c
add esp, 4
mov dword [esp + 0x1f8], 0xffffffff
push ecx
lea eax, [esp + 0xb0]
mov ecx, 0x4d1a70
push eax
call fcn.00401460
push 0xd
push str._savegame.ini
lea ecx, [esp + 0xb4]
mov dword [esp + 0x200], 1
call fcn.004033e0
push 0x58
lea eax, [esp + 0x58]
push 0
push eax
call fcn.00479b40
add esp, 0xc
mov dword [esp + 0x54], vtable.IniLoader.0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
mov byte [esp + 0xa8], 0
push 6
push str.config
lea ecx, [esp + 0x80]
mov byte [esp + 0x200], 2
call fcn.00403610
mov eax, dword [0x4d1d8c]
test al, 1
jne 0x453608
or eax, 1
mov dword [0x4d1d8c], eax
push 0x190
push 0
push 0x4d1bc0
mov byte [esp + 0x204], 3
call fcn.00479b40
add esp, 0xc
call fcn.004494f0
push 0x48cea0
call fcn.0046fb6c
add esp, 4
mov byte [esp + 0x1f8], 2
mov ecx, dword [0x4d1cc0]
lea eax, [esp + 0x24]
push eax
call fcn.0040f560
push 0xffffffffffffffff
push 5
lea eax, [esp + 0x44]
mov byte [esp + 0x200], 4
push eax
lea ecx, [esp + 0x30]
call fcn.004151e0
mov byte [esp + 0x1f8], 5
lea eax, [esp + 0x3c]
cmp dword [esp + 0x50], 0x10
cmovae eax, dword [esp + 0x3c]
push eax
call fcn.0046ff0d
add esp, 4
inc eax
push eax
push str.level_d
lea eax, [esp + 0xec]
push 0x100
push eax
call fcn.0046f311
add esp, 0x10
cmp byte [esp + 0xe4], 0
jne 0x45367b
xor ecx, ecx
jmp 0x45368e
lea ecx, [esp + 0xe4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x453685
sub ecx, edx
push ecx
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x2c]
call fcn.00403610
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0xe0], 0xf
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
call fcn.004034d0
mov byte [esp + 0x1f8], 6
lea eax, [esp + 0xc4]
cmp dword [esp + 0xd8], 0x10
lea ecx, [esp + 0x54]
cmovae eax, dword [esp + 0xc4]
push eax
push str.nextlevel
call fcn.00463020
mov byte [esp + 0x1f8], 5
cmp dword [esp + 0xd8], 0x10
jb 0x453722
push dword [esp + 0xc4]
call fcn.0046fdb4
add esp, 4
mov eax, dword [0x4d1d8c]
test al, 1
jne 0x453769
or eax, 1
mov dword [0x4d1d8c], eax
push 0x190
push 0
push 0x4d1bc0
mov byte [esp + 0x204], 7
call fcn.00479b40
add esp, 0xc
call fcn.004494f0
push 0x48cea0
call fcn.0046fb6c
add esp, 4
mov byte [esp + 0x1f8], 5
push dword [0x4d1ce4]
lea eax, [esp + 0xc8]
push 0x494bcc
push 0x20
push eax
call fcn.0046f311
add esp, 0x10
lea eax, [esp + 0xc4]
lea ecx, [esp + 0x54]
push eax
push str.cash
call fcn.00463020
mov eax, dword [0x4d1d8c]
test al, 1
jne 0x4537e3
or eax, 1
mov dword [0x4d1d8c], eax
push 0x190
push 0
push 0x4d1bc0
mov byte [esp + 0x204], 8
call fcn.00479b40
add esp, 0xc
call fcn.004494f0
push 0x48cea0
call fcn.0046fb6c
add esp, 4
mov byte [esp + 0x1f8], 5
push dword [0x4d1ce0]
lea eax, [esp + 0xc8]
push 0x494bcc
push 0x20
push eax
call fcn.0046f311
add esp, 0x10
lea eax, [esp + 0xc4]
lea ecx, [esp + 0x54]
push eax
push str.highscore
call fcn.00463020
mov eax, dword [0x4d1d8c]
test al, 1
jne 0x45385d
or eax, 1
mov dword [0x4d1d8c], eax
push 0x190
push 0
push 0x4d1bc0
mov byte [esp + 0x204], 9
call fcn.00479b40
add esp, 0xc
call fcn.004494f0
push 0x48cea0
call fcn.0046fb6c
add esp, 4
mov byte [esp + 0x1f8], 5
push dword [0x4d1d20]
lea eax, [esp + 0xc8]
push 0x494bcc
push 0x20
push eax
call fcn.0046f311
add esp, 0x10
lea eax, [esp + 0xc4]
lea ecx, [esp + 0x54]
push eax
push str.lives
call fcn.00463020
mov eax, dword [0x4f1994]
test al, 1
jne 0x4538a6
or eax, 1
mov dword [0x4f1994], eax
call fcn.004493b0
push dword [0x4f1930]
lea eax, [esp + 0xc8]
push 0x494bcc
push 0x20
push eax
call fcn.0046f311
add esp, 0x10
lea eax, [esp + 0xc4]
lea ecx, [esp + 0x54]
push eax
push str.difficulty
call fcn.00463020
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
mov byte [esp + 0x1f8], 0xa
mov eax, dword [0x5039c4]
test al, 1
jne 0x45393f
or eax, 1
mov dword [0x5039c4], eax
push 0x3c
push 0
push 0x503960
mov byte [esp + 0x204], 0xb
call fcn.00479b40
add esp, 0xc
call fcn.0044f220
push 0x48d360
call fcn.0046fb6c
mov byte [esp + 0x1fc], 0xa
add esp, 4
mov eax, dword [0x5039c4]
mov esi, dword [0x503960]
mov esi, dword [esi]
test al, 1
jne 0x45398b
or eax, 1
mov dword [0x5039c4], eax
push 0x3c
push 0
push 0x503960
mov byte [esp + 0x204], 0xc
call fcn.00479b40
add esp, 0xc
call fcn.0044f220
push 0x48d360
call fcn.0046fb6c
mov byte [esp + 0x1fc], 0xa
add esp, 4
mov eax, dword [0x5039c4]
cmp esi, dword [0x503960]
je 0x4539f9
mov ecx, dword [esi + 8]
cmp dword [ecx], 5
je 0x453945
lea eax, [esp + 0xc4]
push eax
call fcn.00453420
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x204], 0xd
call fcn.00403320
mov byte [esp + 0x1f8], 0xa
cmp dword [esp + 0xd8], 0x10
jb 0x4539df
push dword [esp + 0xc4]
call fcn.0046fdb4
add esp, 4
push 1
push 0x496c24
lea ecx, [esp + 0x14]
call fcn.004033e0
mov eax, dword [0x5039c4]
jmp 0x453945
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0xe0], 0xf
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
call fcn.004034d0
mov byte [esp + 0x1f8], 0xe
lea eax, [esp + 0xc4]
cmp dword [esp + 0xd8], 0x10
lea ecx, [esp + 0x54]
cmovae eax, dword [esp + 0xc4]
push eax
push str.upgrades
call fcn.00463020
mov byte [esp + 0x1f8], 0xa
cmp dword [esp + 0xd8], 0x10
jb 0x453a7b
push dword [esp + 0xc4]
call fcn.0046fdb4
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xb4]
mov dword [esp + 0xe0], 0xf
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
call fcn.004034d0
mov byte [esp + 0x1f8], 0xf
lea eax, [esp + 0xc4]
cmp dword [esp + 0xd8], 0x10
lea ecx, [esp + 0x54]
cmovae eax, dword [esp + 0xc4]
push eax
call fcn.004635d0
cmp dword [esp + 0xd8], 0x10
jb 0x453af3
push dword [esp + 0xc4]
call fcn.0046fdb4
add esp, 4
cmp dword [esp + 0x20], 0x10
jb 0x453b06
push dword [esp + 0xc]
call fcn.0046fdb4
add esp, 4
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
jb 0x453b2e
push dword [esp + 0x3c]
call fcn.0046fdb4
add esp, 4
cmp dword [esp + 0x38], 0x10
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
jb 0x453b56
push dword [esp + 0x24]
call fcn.0046fdb4
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.004632d0
cmp dword [esp + 0xc0], 0x10
jb 0x453b8d
push dword [esp + 0xac]
call fcn.0046fdb4
add esp, 4
mov ecx, dword [esp + 0x1f0]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1e0]
xor ecx, esp
call fcn.0046f27e
mov esp, ebp
pop ebp
ret