Function at 0x529ef0
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 0x24
push ebp
push esi
mov esi, dword [ebx + 0x24]
cmp esi, 0xc
push edi
je 0x52a45e
cmp esi, 0x14
je 0x52a45e
cmp esi, 0x16
je 0x52a45e
cmp esi, 0x17
je 0x52a45e
cmp esi, 0x20
je 0x52a45e
cmp esi, 0x19
je 0x52a45e
cmp dword [ebx + 0x64], 0xa
je 0x52a45e
mov eax, ebx
call fcn.00534680
test al, al
jne 0x52a45e
mov ecx, ebx
call fcn.005346a0
cmp eax, 0xffffffff
jne 0x52a45e
mov eax, dword [ebx + 0xd8]
cmp eax, 1
je 0x52a45e
cmp eax, 2
je 0x52a45e
mov eax, dword [ebx + 0x28]
cmp eax, 0x3a
je 0x52a45e
cmp eax, 0x33
je 0x52a45e
cmp eax, 0x34
je 0x52a45e
cmp eax, 0x35
je 0x52a45e
cmp eax, 0x36
je 0x52a45e
cmp eax, 0x1d
je 0x52a45e
cmp byte [ebx + 0xbb], 0
je 0x52a45e
cmp esi, 7
mov byte [ebx + 0xbb], 0
jne 0x529fd9
push 0xffffffffffffffff
push str.Zombie_football_leftarm_lower
mov eax, ebx
call fcn.005331c0
push 0xffffffffffffffff
push str.Zombie_football_leftarm_hand
jmp 0x52a02c
cmp esi, 5
jne 0x529ff8
push str.Zombie_paper_hands
mov ecx, ebx
call fcn.00533200
push str.Zombie_paper_leftarm_lower
mov ecx, ebx
call fcn.00533200
jmp 0x52a033
cmp esi, 3
jne 0x52a017
push str.Zombie_polevaulter_outerarm_lower
mov ecx, ebx
call fcn.00533200
push str.Zombie_outerarm_hand
mov ecx, ebx
call fcn.00533200
jmp 0x52a033
push 0xffffffffffffffff
push str.Zombie_outerarm_lower
mov eax, ebx
call fcn.005331c0
push 0xffffffffffffffff
push str.Zombie_outerarm_hand
mov eax, ebx
call fcn.005331c0
lea esi, [esp + 0x14]
mov ecx, ebx
call fcn.0052d9e0
fld dword [ebx + 0x2c]
fadd dword [esp + 0x24]
mov ecx, ebx
fadd qword [0x679840]
fstp dword [esp + 0xc]
fld dword [ebx + 0x30]
fadd dword [esp + 0x28]
fadd dword [esp + 0x20]
fadd qword [0x679920]
fstp dword [esp + 0x10]
call fcn.0052bee0
test al, al
je 0x52a07d
fld dword [esp + 0xc]
fadd qword [0x679578]
fstp dword [esp + 0xc]
mov ecx, dword [ebx + 0x118]
mov eax, dword [ebx]
call fcn.00453cb0
mov ebp, eax
test ebp, ebp
je 0x52a34e
mov eax, dword [ebx + 0x24]
cmp eax, 7
lea edi, [esp + 0x10]
mov esi, ebx
jne 0x52a0c2
lea eax, [esp + 0xc]
push eax
push str.zombie_football_leftarm_hand
call fcn.005345f0
mov ecx, dword [0x6a78d0]
push ecx
mov eax, str.zombie_football_leftarm_upper
jmp 0x52a347
cmp eax, 5
jne 0x52a0e6
lea edx, [esp + 0xc]
push edx
push str.Zombie_paper_leftarm_lower
call fcn.005345f0
mov eax, dword [0x6a7250]
push eax
mov eax, str.Zombie_paper_leftarm_upper
jmp 0x52a347
cmp eax, 3
jne 0x52a10b
lea ecx, [esp + 0xc]
push ecx
push str.Zombie_polevaulter_outerarm_lower
call fcn.005345f0
mov edx, dword [0x6a749c]
push edx
mov eax, str.Zombie_polevaulter_outerarm_upper
jmp 0x52a347
cmp eax, 0x10
jne 0x52a12b
lea eax, [esp + 0xc]
push eax
push str.zombie_outerarm_lower
call fcn.005345f0
mov ecx, dword [0x6a7a64]
push ecx
jmp 0x52a342
cmp eax, 0x18
jne 0x52a14f
lea edx, [esp + 0xc]
push edx
push str.zombie_outerarm_lower
call fcn.005345f0
mov eax, dword [0x6a71f0]
push eax
mov eax, str.Zombie_imp_outerarm_upper
jmp 0x52a347
cmp eax, 0x11
jne 0x52a174
lea ecx, [esp + 0xc]
push ecx
push str.zombie_outerarm_lower
call fcn.005345f0
mov edx, dword [0x6a74c8]
push edx
mov eax, str.Zombie_digger_outerarm_upper
jmp 0x52a347
cmp eax, 0xd
jne 0x52a199
lea eax, [esp + 0xc]
push eax
push str.zombie_outerarm_lower
call fcn.005345f0
mov ecx, dword [0x6a7a4c]
push ecx
mov eax, str.Zombie_dolphinrider_outerarm_upper
jmp 0x52a347
cmp eax, 0xf
jne 0x52a1bd
lea edx, [esp + 0xc]
push edx
push str.Zombie_jackbox_outerarm_lower
call fcn.005345f0
mov eax, dword [0x6a71e4]
push eax
mov eax, str.Zombie_jackbox_outerarm_lower
jmp 0x52a347
cmp eax, 0xb
jne 0x52a1e2
lea ecx, [esp + 0xc]
push ecx
push str.Zombie_outerarm_lower
call fcn.005345f0
mov edx, dword [0x6a74c0]
push edx
mov eax, str.Zombie_snorkle_outerarm_upper
jmp 0x52a347
cmp eax, 0xe
jne 0x52a207
lea eax, [esp + 0xc]
push eax
push str.zombie_outerarm_lower
call fcn.005345f0
mov ecx, dword [0x6a73b4]
push ecx
mov eax, str.Zombie_dolphinrider_outerarm_upper
jmp 0x52a347
cmp eax, 0x12
jne 0x52a263
lea edx, [esp + 0xc]
push edx
push str.zombie_outerarm_lower
call fcn.005345f0
mov eax, dword [0x6a7534]
push eax
mov eax, str.Zombie_outerarm_upper
mov ecx, ebp
call fcn.00473490
mov ecx, dword [0x6a7500]
push ecx
mov eax, str.Zombie_pogo_stickhands
mov ecx, ebp
call fcn.00473490
mov edx, dword [0x6a7874]
push edx
mov eax, str.Zombie_pogo_stick
mov ecx, ebp
call fcn.00473490
mov eax, dword [0x6a7620]
push eax
mov eax, str.Zombie_pogo_stick2
jmp 0x52a347
cmp eax, 1
jne 0x52a2b1
lea ecx, [esp + 0xc]
push ecx
push str.zombie_outerarm_lower
call fcn.005345f0
mov edx, dword [0x6a76d8]
push edx
mov eax, str.Zombie_outerarm_upper
mov ecx, ebp
call fcn.00473490
mov ecx, dword [ebx + 0x144]
mov eax, dword [ebx]
call fcn.00453cb0
mov ecx, eax
test ecx, ecx
je 0x52a34e
mov eax, dword [0x6a781c]
push eax
mov eax, str.Zombie_flag
jmp 0x52a349
cmp eax, 8
jne 0x52a2d3
lea ecx, [esp + 0xc]
push ecx
push str.zombie_outerarm_lower
call fcn.005345f0
mov edx, dword [0x6a7a54]
push edx
mov eax, str.Zombie_Jackson_outerarm_upper
jmp 0x52a347
cmp eax, 9
jne 0x52a2e9
lea eax, [esp + 0xc]
push eax
push str.zombie_outerarm_lower
call fcn.005345f0
jmp 0x52a34e
cmp eax, 0x15
jne 0x52a30b
lea ecx, [esp + 0xc]
push ecx
push str.Zombie_outerarm_hand
call fcn.005345f0
mov edx, dword [0x6a759c]
push edx
mov eax, str.Zombie_ladder_outerarm_upper
jmp 0x52a347
cmp eax, 0x13
jne 0x52a32d
lea eax, [esp + 0xc]
push eax
push str.Zombie_outerarm_hand
call fcn.005345f0
mov ecx, dword [0x6a730c]
push ecx
mov eax, str.Zombie_yeti_outerarm_upper
jmp 0x52a347
lea edx, [esp + 0xc]
push edx
push str.zombie_outerarm_lower
call fcn.005345f0
mov eax, dword [0x6a76d8]
push eax
mov eax, str.Zombie_outerarm_upper
mov ecx, ebp
call fcn.00473490
cmp byte [ebx + 0xbd], 0
jne 0x52a452
test byte [esp + 0x34], 0x10
jne 0x52a452
cmp dword [ebx + 0x28], 3
mov eax, 7
jne 0x52a376
mov eax, 0x49
fld dword [esp + 0x10]
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx]
sub esp, 8
fstp dword [esp + 4]
add ecx, 1
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.00453c80
mov edi, eax
mov ecx, edi
mov eax, ebx
call fcn.00529810
mov edx, edi
mov eax, ebx
call fcn.005297f0
test edi, edi
je 0x52a452
mov eax, dword [ebx + 0x24]
jmp 0x7a530e
mov eax, dword [ebx]
mov esi, 0x19
call fcn.00453630
pop edi
pop esi
pop ebp
add esp, 0x24
ret 4