Function at 0x4f24b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56df3a
mov eax, dword fs:[0]
push eax
sub esp, 0x658
mov eax, dword [0x661850]
xor eax, ebp
mov dword [ebp - 0x15c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x654], ecx
push str.Wed_Sep_30_21:38:20_2015
push 0x37
push str.CSprite::InitSpriteInfo
push str.GameProcessSprDfn.cpp
lea ecx, [ebp - 0x15]
call fcn.004024e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x654]
call fcn.004f47b0
mov dword [ebp - 0xbc], 0
jmp 0x4f252a
mov eax, dword [ebp - 0xbc]
add eax, 1
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0xc
jg 0x4f2634
lea ecx, [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0xbc]
imul edx, edx, 0x2c
mov eax, dword [ebp - 0x654]
lea ecx, [eax + edx + 0x3500]
call fcn.004f52c0
jmp 0x4f256f
push 0
lea ecx, [ebp - 0x604]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.00437dd0
lea edx, [ebp - 0x608]
push edx
mov eax, dword [ebp - 0xbc]
imul eax, eax, 0x2c
mov ecx, dword [ebp - 0x654]
lea ecx, [ecx + eax + 0x3500]
call fcn.004f52e0
push eax
lea ecx, [ebp - 0xc0]
call fcn.00405200
movzx edx, al
test edx, edx
je 0x4f2614
lea ecx, [ebp - 0xc0]
call fcn.004f5470
cmp dword [eax + 4], 0
je 0x4f260f
lea ecx, [ebp - 0xc0]
call fcn.004f5470
mov eax, dword [eax + 4]
mov dword [ebp - 0x610], eax
mov ecx, dword [ebp - 0x610]
mov dword [ebp - 0x60c], ecx
cmp dword [ebp - 0x60c], 0
je 0x4f25f3
push 1
mov ecx, dword [ebp - 0x60c]
call fcn.004f51b0
mov dword [ebp - 0x658], eax
jmp 0x4f25fd
mov dword [ebp - 0x658], 0
lea ecx, [ebp - 0xc0]
call fcn.004f5470
mov dword [eax + 4], 0
jmp 0x4f255b
mov edx, dword [ebp - 0xbc]
imul edx, edx, 0x2c
mov eax, dword [ebp - 0x654]
lea ecx, [eax + edx + 0x3500]
call fcn.004f53c0
jmp 0x4f251b
mov dword [ebp - 0xc4], 0
jmp 0x4f264f
mov ecx, dword [ebp - 0xc4]
add ecx, 1
mov dword [ebp - 0xc4], ecx
cmp dword [ebp - 0xc4], 0x18
jge 0x4f2744
lea edx, [ebp - 0xc8]
push edx
mov ecx, dword [ebp - 0xc4]
imul ecx, ecx, 0x2c
add ecx, dword [ebp - 0x654]
call fcn.004f52c0
jmp 0x4f268d
push 0
lea eax, [ebp - 0x614]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00437dd0
lea ecx, [ebp - 0x618]
push ecx
mov ecx, dword [ebp - 0xc4]
imul ecx, ecx, 0x2c
add ecx, dword [ebp - 0x654]
call fcn.004f52e0
push eax
lea ecx, [ebp - 0xc8]
call fcn.00405200
movzx edx, al
test edx, edx
je 0x4f272b
lea ecx, [ebp - 0xc8]
call fcn.004f5470
cmp dword [eax + 4], 0
je 0x4f2726
lea ecx, [ebp - 0xc8]
call fcn.004f5470
mov eax, dword [eax + 4]
mov dword [ebp - 0x620], eax
mov ecx, dword [ebp - 0x620]
mov dword [ebp - 0x61c], ecx
cmp dword [ebp - 0x61c], 0
je 0x4f270a
push 1
mov ecx, dword [ebp - 0x61c]
call fcn.004f51e0
mov dword [ebp - 0x65c], eax
jmp 0x4f2714
mov dword [ebp - 0x65c], 0
lea ecx, [ebp - 0xc8]
call fcn.004f5470
mov dword [eax + 4], 0
jmp 0x4f2679
mov ecx, dword [ebp - 0xc4]
imul ecx, ecx, 0x2c
add ecx, dword [ebp - 0x654]
call fcn.004f53c0
jmp 0x4f2640
mov dword [ebp - 0x4c], str.stand
mov dword [ebp - 0x48], str.walk
mov dword [ebp - 0x44], str.attack
mov dword [ebp - 0x40], str.hitted
mov dword [ebp - 0x3c], 0x5830f4
mov dword [ebp - 0x38], str.attack_b
mov dword [ebp - 0x34], str.magic
mov dword [ebp - 0x30], str.magic_b
mov dword [ebp - 0x2c], str.appear
mov dword [ebp - 0x28], str.special
mov dword [ebp - 0x24], str.afterdig
mov dword [ebp - 0x20], 0x5830b8
mov dword [ebp - 0x1c], str.effect
push 0x5830a8
push 0x8f
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jne 0x4f27c5
call fcn.00549ef0
mov edx, dword [ebp - 0xb8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1f4
jae 0x4f27e5
call fcn.00549ef0
mov eax, dword [ebp - 0xb8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x4f2802
call fcn.00549ef0
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4f281a
call fcn.00549ef0
mov edx, 1
test edx, edx
je 0x4f2e72
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
call fcn.00542ae0
add esp, 4
mov dword [ebp - 0x624], eax
mov ecx, dword [ebp - 0x624]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0xd0]
push eax
call fcn.005454d0
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xd0]
push eax
call fcn.00545160
add esp, 0xc
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x28
mov dword [ebp - 0xf8], ecx
mov edx, dword [ebp - 0xf8]
push edx
call fcn.00542ae0
add esp, 4
mov dword [ebp - 0x628], eax
mov eax, dword [ebp - 0x628]
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf8]
push ecx
push 0
mov edx, dword [ebp - 0xf0]
push edx
call fcn.005454d0
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xd0]
push ecx
lea edx, [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0xf0]
push eax
call fcn.005403f0
add esp, 0x10
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x4f29eb
call fcn.00549ef0
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x62c], ecx
mov edx, dword [ebp - 0x62c]
push edx
call fcn.00544d5d
add esp, 4
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
add ecx, dword [ebp - 0xf8]
mov byte [ecx], 0
mov edx, dword [ebp - 0xf4]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004102e0
push str.root
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.00410510
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
je 0x4f2e57
mov dword [ebp - 0x148], 0
jmp 0x4f2a7d
mov eax, dword [ebp - 0x148]
add eax, 1
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0xc
jg 0x4f2e57
mov ecx, dword [ebp - 0x148]
mov edx, dword [ebp + ecx*4 - 0x4c]
push edx
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.00410570
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x4f2e52
push str.monster
mov ecx, dword [ebp - 0x14c]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.00410570
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
je 0x4f2e52
push 0x44
call fcn.00545848
add esp, 4
mov dword [ebp - 0x634], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x634], 0
je 0x4f2b20
mov ecx, dword [ebp - 0x634]
call fcn.004f7020
mov dword [ebp - 0x660], eax
jmp 0x4f2b2a
mov dword [ebp - 0x660], 0
mov edx, dword [ebp - 0x660]
mov dword [ebp - 0x630], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x630]
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
push ecx
push 0x583094
mov edx, dword [ebp - 0x150]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5d30
mov eax, dword [ebp - 0x154]
add eax, 4
push eax
push str.start
mov ecx, dword [ebp - 0x150]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5d80
movzx edx, al
test edx, edx
jne 0x4f2bb8
mov eax, dword [ebp - 0x148]
imul eax, eax, 0x38
mov ecx, dword [ebp - 0x654]
movzx edx, word [ecx + eax + 0xdc0]
mov eax, dword [ebp - 0x154]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x154]
add ecx, 8
push ecx
push str.frame
mov edx, dword [ebp - 0x150]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5d80
movzx eax, al
test eax, eax
jne 0x4f2c06
mov ecx, dword [ebp - 0x148]
imul ecx, ecx, 0x38
mov edx, dword [ebp - 0x654]
movzx eax, word [edx + ecx + 0xdc2]
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x154]
add edx, 0xc
push edx
push str.delay
mov eax, dword [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5d80
movzx ecx, al
test ecx, ecx
jne 0x4f2c54
mov edx, dword [ebp - 0x148]
imul edx, edx, 0x38
mov eax, dword [ebp - 0x654]
movzx ecx, word [eax + edx + 0xdc4]
mov edx, dword [ebp - 0x154]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x154]
add eax, 0x10
push eax
push 0x5830b8
mov ecx, dword [ebp - 0x150]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
movzx edx, al
test edx, edx
jne 0x4f2c8c
mov eax, dword [ebp - 0x154]
mov byte [eax + 0x10], 0xff
mov ecx, dword [ebp - 0x154]
add ecx, 0x28
push ecx
push str.effectfile
mov edx, dword [ebp - 0x150]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.00410bb0
movzx eax, al
test eax, eax
jne 0x4f2ccd
push 0x574a9b
mov ecx, dword [ebp - 0x154]
add ecx, 0x28
call fcn.004084f0
mov ecx, dword [ebp - 0x154]
add ecx, 0x14
push ecx
push str.effectfrom
mov edx, dword [ebp - 0x150]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5d80
movzx eax, al
test eax, eax
jne 0x4f2d08
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x14], 0xffffffff
mov edx, dword [ebp - 0x154]
add edx, 0x18
push edx
push str.effectframe
mov eax, dword [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5d80
movzx ecx, al
test ecx, ecx
jne 0x4f2d43
mov edx, dword [ebp - 0x154]
mov dword [edx + 0x18], 0xffffffff
mov eax, dword [ebp - 0x154]
add eax, 0x1c
push eax
push str.effectdelay
mov ecx, dword [ebp - 0x150]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5d80
movzx edx, al
test edx, edx
jne 0x4f2d7e
mov eax, dword [ebp - 0x154]
mov dword [eax + 0x1c], 0xffffffff
mov ecx, dword [ebp - 0x154]
add ecx, 0x20
push ecx
push str.effectdir
mov edx, dword [ebp - 0x150]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5d80
movzx eax, al
test eax, eax
jne 0x4f2db9
mov ecx, dword [ebp - 0x154]
mov dword [ecx + 0x20], 0xffffffff
mov edx, dword [ebp - 0x154]
add edx, 0x24
push edx
push str.maxframe
mov eax, dword [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5d80
movzx ecx, al
test ecx, ecx
jne 0x4f2df4
mov edx, dword [ebp - 0x154]
mov dword [edx + 0x24], 0xa
mov eax, dword [ebp - 0x154]
movzx ecx, word [eax]
mov dword [ebp - 0x638], ecx
lea edx, [ebp - 0x638]
push edx
mov eax, dword [ebp - 0x148]
imul eax, eax, 0x2c
mov ecx, dword [ebp - 0x654]
lea ecx, [ecx + eax + 0x3500]
call fcn.004f5350
mov edx, dword [ebp - 0x154]
mov dword [eax], edx
push 0
mov eax, dword [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004105b0
mov dword [ebp - 0x150], eax
jmp 0x4f2ae3
jmp 0x4f2a6e
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0x63c], ecx
mov edx, dword [ebp - 0x63c]
push edx
call fcn.00544d5d
add esp, 4
mov dword [ebp - 0xb4], str.herospells
mov dword [ebp - 0xb0], str.heromagics
mov dword [ebp - 0xac], str.herostrucks
mov dword [ebp - 0xa8], str.explosions
mov dword [ebp - 0xa4], str.effects
mov dword [ebp - 0xa0], str.MonDigup
mov dword [ebp - 0x9c], str.MonAttackA
mov dword [ebp - 0x98], str.MonAttackB
mov dword [ebp - 0x94], str.MonMagicA
mov dword [ebp - 0x90], str.MonMagicB
mov dword [ebp - 0x8c], str.MonLighting
mov dword [ebp - 0x88], str.MonFlyAxe
mov dword [ebp - 0x84], str.MonStrucks
mov dword [ebp - 0x80], str.MonDie
mov dword [ebp - 0x7c], str.DressLightInner_Man_Down
mov dword [ebp - 0x78], str.DressLightInner_Man
mov dword [ebp - 0x74], str.DressLightInner_Woman_Down
mov dword [ebp - 0x70], str.DressLightInner_Woman
mov dword [ebp - 0x6c], str.DressLightOut_Man
mov dword [ebp - 0x68], str.DressLightOut_Woman
mov dword [ebp - 0x64], str.WeaponLightInner_Man
mov dword [ebp - 0x60], str.WeaponLightInner_Woman
mov dword [ebp - 0x5c], str.WeaponLightOut_Man
mov dword [ebp - 0x58], str.WeaponLightOut_Woman
push 0x5830a8
push 0x8e
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jne 0x4f2f67
call fcn.00549ef0
mov eax, dword [ebp - 0xb8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x13d6
jae 0x4f2f87
call fcn.00549ef0
mov ecx, dword [ebp - 0xb8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x4f2fa4
call fcn.00549ef0
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4f2fbc
call fcn.00549ef0
mov eax, 1
test eax, eax
je 0x4f3d45
lea ecx, [ebp - 0x3b0]
call fcn.0040e200
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3b0]
call fcn.0040e470
push eax
call fcn.00545160
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x3b0]
push edx
call fcn.0050eb40
add esp, 8
and eax, 0x6a38f521
push eax
call fcn.00547835
add esp, 4
mov dword [0x66ada4], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x3b0]
call fcn.004f70a0
push eax
call fcn.00408ed0
mov byte [eax + 0x50], bl
call fcn.00408ed0
rcr byte [eax - 0x75], 0x45
in al, dx
imul eax, eax, 0x28
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
push ecx
call fcn.00542ae0
add esp, 4
mov dword [ebp - 0x640], eax
mov edx, dword [ebp - 0x640]
mov dword [ebp - 0x290], edx
mov eax, dword [ebp - 0x298]
push eax
push 0
mov ecx, dword [ebp - 0x290]
push ecx
call fcn.005454d0
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x3b0]
call fcn.0044a3f0
push eax
lea eax, [ebp - 0x298]
push eax
mov ecx, dword [ebp - 0x290]
push ecx
call fcn.005403f0
add esp, 0x10
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
je 0x4f30ba
call fcn.00549ef0
mov edx, dword [ebp - 0x290]
mov dword [ebp - 0x294], edx
mov eax, dword [ebp - 0x290]
add eax, dword [ebp - 0x298]
mov byte [eax], 0
mov ecx, dword [ebp - 0x294]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004102e0
push str.root
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.00410510
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0
je 0x4f3921
mov dword [ebp - 0x3c0], 0
jmp 0x4f3131
mov edx, dword [ebp - 0x3c0]
add edx, 1
mov dword [ebp - 0x3c0], edx
cmp dword [ebp - 0x3c0], 0x18
jge 0x4f3921
mov eax, dword [ebp - 0x3c0]
mov ecx, dword [ebp + eax*4 - 0xb4]
push ecx
mov edx, dword [ebp - 0x28c]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.00410570
mov dword [ebp - 0x3c4], eax
cmp dword [ebp - 0x3c4], 0
je 0x4f391c
push str.info
mov eax, dword [ebp - 0x3c4]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.00410570
mov dword [ebp - 0x3c8], eax
cmp dword [ebp - 0x3c8], 0
je 0x4f391c
push 0x154
call fcn.00545848
add esp, 4
mov dword [ebp - 0x648], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x648], 0
je 0x4f31da
mov ecx, dword [ebp - 0x648]
call fcn.004f6f00
mov dword [ebp - 0x664], eax
jmp 0x4f31e4
mov dword [ebp - 0x664], 0
mov ecx, dword [ebp - 0x664]
mov dword [ebp - 0x644], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x644]
mov dword [ebp - 0x4d8], edx
mov eax, dword [ebp - 0x4d8]
add eax, 0xc
push eax
push 0x583094
mov ecx, dword [ebp - 0x3c8]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5d30
mov byte [ebp - 0x4d4], 0
push 0x103
push 0
lea edx, [ebp - 0x4d3]
push edx
call fcn.005454d0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x4d4]
push eax
push 0x582ea8
mov ecx, dword [ebp - 0x3c8]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.00410b10
cmp dword [ebp - 0x3c0], 0
jne 0x4f3325
mov edx, dword [ebp - 0x4d8]
movzx eax, word [edx + 0xc]
cmp eax, 0x3e8
jle 0x4f3325
mov ecx, dword [ebp - 0x4d8]
movzx edx, word [ecx + 0xc]
cmp edx, 0x2710
jge 0x4f3325
lea eax, [ebp - 0x4d4]
push eax
call fcn.00545a90
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x4dc], 0
jmp 0x4f32d2
mov ecx, dword [ebp - 0x4dc]
add ecx, 1
mov dword [ebp - 0x4dc], ecx
mov edx, dword [ebp - 0x4dc]
cmp edx, dword [ebp - 0x14]
jae 0x4f3300
mov eax, dword [ebp - 0x4dc]
movsx ecx, byte [ebp + eax - 0x4d4]
xor ecx, 0x683bfa94
mov edx, dword [ebp - 0x4dc]
mov byte [ebp + edx - 0x4d4], cl
jmp 0x4f32c3
lea eax, [ebp - 0x4d4]
push eax
push 0x575830
push 0x104
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x32
push ecx
call fcn.0054572d
add esp, 0x10
jmp 0x4f3348
lea edx, [ebp - 0x4d4]
push edx
push str..data_s
push 0x104
mov eax, dword [ebp - 0x4d8]
add eax, 0x32
push eax
call fcn.0054572d
add esp, 0x10
mov ecx, dword [ebp - 0x4d8]
push ecx
push str.begin
mov edx, dword [ebp - 0x3c8]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5d80
mov eax, dword [ebp - 0x4d8]
add eax, 4
push eax
push 0x582e90
mov ecx, dword [ebp - 0x3c8]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5d80
mov edx, dword [ebp - 0x4d8]
add edx, 8
push edx
push str.delay
mov eax, dword [ebp - 0x3c8]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5d30
mov ecx, dword [ebp - 0x4d8]
add ecx, 0xe
push ecx
push str.sLight
mov edx, dword [ebp - 0x3c8]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov eax, dword [ebp - 0x4d8]
add eax, 0xf
push eax
push str.lLight
mov ecx, dword [ebp - 0x3c8]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov edx, dword [ebp - 0x4d8]
add edx, 0x10
push edx
push 0x582e7c
mov eax, dword [ebp - 0x3c8]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x11
push ecx
push 0x582e78
mov edx, dword [ebp - 0x3c8]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov eax, dword [ebp - 0x4d8]
add eax, 0x12
push eax
push 0x582e74
mov ecx, dword [ebp - 0x3c8]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov edx, dword [ebp - 0x4d8]
add edx, 0x13
push edx
push 0x582e70
mov eax, dword [ebp - 0x3c8]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x14
push ecx
push 0x582e6c
mov edx, dword [ebp - 0x3c8]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov eax, dword [ebp - 0x4d8]
add eax, 0x15
push eax
push 0x582e68
mov ecx, dword [ebp - 0x3c8]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov edx, dword [ebp - 0x4d8]
add edx, 0x16
push edx
push 0x582e64
mov eax, dword [ebp - 0x3c8]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x17
push ecx
push 0x582e60
mov edx, dword [ebp - 0x3c8]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov eax, dword [ebp - 0x4d8]
add eax, 0x18
push eax
push 0x582e5c
mov ecx, dword [ebp - 0x3c8]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov edx, dword [ebp - 0x4d8]
add edx, 0x19
push edx
push str.blend
mov eax, dword [ebp - 0x3c8]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x1a
push ecx
push 0x582e50
mov edx, dword [ebp - 0x3c8]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov eax, dword [ebp - 0x4d8]
add eax, 0x1b
push eax
push str.swing
mov ecx, dword [ebp - 0x3c8]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov edx, dword [ebp - 0x4d8]
add edx, 0x23
push edx
push str.repeat
mov eax, dword [ebp - 0x3c8]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5e20
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x21
push ecx
push str.dirtype
mov edx, dword [ebp - 0x3c8]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov eax, dword [ebp - 0x4d8]
add eax, 0x22
push eax
push 0x582e34
mov ecx, dword [ebp - 0x3c8]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5e20
mov edx, dword [ebp - 0x4d8]
add edx, 0x24
push edx
push str.showlight
mov eax, dword [ebp - 0x3c8]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5e20
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x20
push ecx
push str.notarget
mov edx, dword [ebp - 0x3c8]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5e20
mov eax, dword [ebp - 0x4d8]
add eax, 0x1c
push eax
push str.ground
mov ecx, dword [ebp - 0x3c8]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5e20
mov edx, dword [ebp - 0x4d8]
add edx, 0x1d
push edx
push str.count
mov eax, dword [ebp - 0x3c8]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x26
push ecx
push str.grounddir
mov edx, dword [ebp - 0x3c8]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov eax, dword [ebp - 0x4d8]
add eax, 0x1f
push eax
push str.groundimg
mov ecx, dword [ebp - 0x3c8]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov edx, dword [ebp - 0x4d8]
add edx, 0x25
push edx
push str.smoke
mov eax, dword [ebp - 0x3c8]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5e20
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x27
push ecx
push str.nofire
mov edx, dword [ebp - 0x3c8]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5e20
mov eax, dword [ebp - 0x4d8]
add eax, 0x28
push eax
push str.elecmagic
mov ecx, dword [ebp - 0x3c8]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5e20
mov edx, dword [ebp - 0x4d8]
add edx, 0x29
push edx
push str.nocrash
mov eax, dword [ebp - 0x3c8]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5e20
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x2a
push ecx
push str.onself
mov edx, dword [ebp - 0x3c8]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5e20
mov eax, dword [ebp - 0x4d8]
add eax, 0x2b
push eax
push str.walkcheck
mov ecx, dword [ebp - 0x3c8]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5e20
mov edx, dword [ebp - 0x4d8]
add edx, 0x2c
push edx
push str.explosionid
mov eax, dword [ebp - 0x3c8]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5d80
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x30
push ecx
push str.onmyhero
mov edx, dword [ebp - 0x3c8]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5e20
mov eax, dword [ebp - 0x4d8]
add eax, 0x31
push eax
push str.motion
mov ecx, dword [ebp - 0x3c8]
push ecx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004f5dd0
mov edx, dword [ebp - 0x4d8]
add edx, 0x138
push edx
push str.effectsound
mov eax, dword [ebp - 0x3c8]
push eax
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.00410bb0
mov ecx, dword [ebp - 0x4d8]
movzx edx, word [ecx + 0xc]
mov dword [ebp - 0x64c], edx
lea eax, [ebp - 0x64c]
push eax
mov ecx, dword [ebp - 0x3c0]
imul ecx, ecx, 0x2c
add ecx, dword [ebp - 0x654]
call fcn.004f5250
mov ecx, dword [ebp - 0x4d8]
mov dword [eax], ecx
push 0
mov edx, dword [ebp - 0x3c8]
push edx
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.004105b0
mov dword [ebp - 0x3c8], eax
jmp 0x4f319a
jmp 0x4f3122
mov ecx, dword [ebp - 0x654]
add ecx, 0x34b8
call fcn.0052a170
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x650], eax
mov ecx, dword [ebp - 0x650]
push ecx
call fcn.00544d5d
add esp, 4
push 0x400
mov ecx, 0x7c0f70
call fcn.004f4290
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0
je 0x4f399c
mov edx, dword [ebp - 0x158]
movzx eax, byte [edx + 0x13]
cmp eax, 0xba
jne 0x4f3983
mov byte [0x7dcc74], 1
mov ecx, dword [ebp - 0x158]
movzx edx, byte [ecx + 0x1b]
cmp edx, 0x85
jne 0x4f399c
mov byte [0x66adac], 1
push eax
call fcn.00408ed0
ret
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15]
call fcn.00402620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x15c]
xor ecx, ebp
call fcn.0054514c
mov esp, ebp
pop ebp
ret