Function at 0x429ac0
Capabilities:
Packed with generic packer

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64f538
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [eax + 4]
mov eax, dword [ebp + 0x8c]
cmp dword [eax + 0x7f8], 0x2b
push esi
mov esi, dword [esp + 0x48]
mov ebx, dword [esi + 0x10]
push edi
jne 0x429b2a
mov ecx, dword [ebp + 0x554c]
cmp ecx, 6
je 0x429b0e
cmp ecx, 8
je 0x429b0e
cmp ecx, 7
jne 0x429b2a
mov esi, dword [esi + 0x14]
mov eax, dword [eax + 0x81c]
mov edi, ebx
call fcn.00521450
mov esi, dword [esp + 0x4c]
mov edi, eax
mov dword [esp + 0x14], edi
jmp 0x429b39
lea eax, [ebx + ebx*4]
shl eax, 4
add eax, 0x28
mov dword [esp + 0x14], eax
mov edi, eax
mov eax, dword [esi + 0x14]
mov ecx, ebx
mov ebx, ebp
call fcn.0041c740
mov ebx, eax
mov eax, dword [esi + 0x44]
sub eax, 1
mov dword [esp + 0x18], ebx
je 0x429b9e
sub eax, 1
je 0x429b84
sub eax, 1
jne 0x429bb4
mov ebp, dword [esi + 0x50]
test ebp, ebp
jle 0x429bb4
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx + 4]
push 2
push 4
push ebx
push edi
call fcn.0040cb10
add edi, 0xf
sub ebp, 1
jne 0x429b64
mov dword [esp + 0x14], edi
jmp 0x429bb4
jmp 0x7cc642
push 2
push 0x10
push ebx
add edi, 0x14
push edi
mov ecx, ebp
call fcn.0040cb10
mov ecx, dword [esi + 0x40]
mov dword [eax + 0x68], ecx
call fcn.0044d000
mov edi, dword [esp + 0x48]
mov edx, dword [edi + 4]
cmp dword [edx + 0x55ec], 0x2e
jne 0x429c4f
push 0x25
mov ebp, 0xf
xor esi, esi
push str._ADVICE_DESTROY_POTS_TO_FINISH_LEVEL_
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
call fcn.00404330
mov dword [esp + 0x40], esi
mov ebx, dword [edi + 4]
cmp byte [ebx + 0x55d5], 0
jne 0x429c26
mov esi, dword [ebx + 0x140]
lea ecx, [ebp - 8]
lea edx, [esp + 0x1c]
mov byte [ebx + 0x55d5], 1
call fcn.00459010
mov dword [ebx + 0x55ec], 0x2d
xor esi, esi
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x429c42
mov eax, dword [esp + 0x20]
push eax
call fcn.0061c19a
add esp, 4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], esi
mov byte [esp + 0x20], 0
call fcn.004296a0
test al, al
mov esi, dword [esp + 0x48]
je 0x429cae
mov ecx, dword [esi]
mov eax, dword [ecx + 0x7f8]
cmp eax, 0x33
jl 0x429c6e
cmp eax, 0x3c
jle 0x429c7e
test eax, eax
jne 0x429c9e
mov ecx, dword [ecx + 0x82c]
cmp dword [ecx + 0x24], 0x23
jne 0x429c9e
mov edx, dword [esi + 4]
call fcn.004138d0
test al, al
jne 0x429c9e
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
push edx
mov ecx, esi
call fcn.00429980
jmp 0x429cae
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x10]
push esi
call fcn.00424a40
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [0x6a791c]
mov eax, dword [eax + 0xd8]
push edx
call eax
mov eax, dword [esi]
cmp byte [eax + 0x8c5], 0
jne 0x429d15
fldz
mov ecx, dword [0x6a9f00]
mov edi, dword [eax + 0x784]
fst dword [esp + 0x48]
fcomp dword [ecx + 0x720]
fnstsw ax
test ah, 0x44
jnp 0x429d01
fld dword [ecx + 0x720]
push ecx
fstp dword [esp]
call fcn.005af410
fstp dword [esp + 0x4c]
add esp, 4
fld dword [esp + 0x48]
push ecx
mov eax, 0x23
fstp dword [esp]
mov ecx, edi
call fcn.00515020
mov ecx, dword [esp + 0x4c]
fild dword [esp + 0x18]
mov eax, dword [ecx + 0xc]
cmp eax, 4
mov edx, dword [esp + 0x14]
jne 0x429d44
push 0x5a
push 0x30d40
sub esp, 8
add edx, 0x14
fstp dword [esp + 4]
mov dword [esp + 0x58], edx
fild dword [esp + 0x58]
jmp 0x429d7d
cmp eax, 5
jne 0x429d64
push 0x5b
push 0x30d40
sub esp, 8
add edx, 0x14
fstp dword [esp + 4]
mov dword [esp + 0x58], edx
fild dword [esp + 0x58]
jmp 0x429d7d
push 0x59
push 0x30d40
sub esp, 8
add edx, 0x14
fstp dword [esp + 4]
mov dword [esp + 0x58], edx
fild dword [esp + 0x58]
mov eax, dword [esi]
fstp dword [esp]
mov ecx, dword [eax + 0x820]
mov esi, dword [ecx]
call fcn.00518a70
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 8