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

Disassembly:
sub esp, 0x120
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
mov eax, dword [esi + 0x22c0]
test eax, eax
jne 0x424513
mov eax, dword [esi + 0x1e98]
lea edx, [esp + 0x70]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0xac], 0x3f800000
mov dword [esp + 0x98], 0x3f800000
mov dword [esp + 0x84], 0x3f800000
mov dword [esp + 0x70], 0x3f800000
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0x2c]
mov eax, dword [esi + 0x29fc]
test eax, eax
je 0x4240ef
mov eax, dword [esi + 0x1e98]
push 1
push 0x1c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esi + 0x1e98]
push 0
push 0x89
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [esi + 0x1e98]
push 0
push 0x1d
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esi + 0x1e98]
push 0
push 0x8d
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [esi + 0x1e98]
push 0
push 0xe
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esi + 0x1e98]
push 0
push 0xf
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [esi + 0x1e98]
push 1
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esi + 0x1e98]
push 1
push 0x13
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [esi + 0x1e98]
push 3
push 0x14
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esi + 0x1e98]
mov ecx, dword [0x782158]
push ecx
push 0
mov edx, dword [eax]
push eax
call dword [edx + 0x8c]
xor eax, eax
mov edi, 0x4a8628
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edi
cmp word [eax + 0x4b70f0], 0xffff
lea eax, [eax + 0x4b7948]
je 0x4244cd
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x783a70]
mov edx, dword [eax + 8]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x24], edx
call fcn.0041fab0
fstp dword [esp + 0x24]
add esp, 8
xor ebp, ebp
jmp 0x4241e4
mov edi, dword [esp + 0x20]
cmp ebp, 3
ja case.default.0x4241ed
jmp dword [ebp*4 + 0x424520]
mov al, byte [esp + 0x140]
test al, al
je 0x424211
mov dword [esp + 0x34], 0xbf4ccccd
mov dword [esp + 0x38], 0x3fcccccd
jmp 0x424221
fld dword [edi]
fchs
fstp dword [esp + 0x34]
mov dword [esp + 0x38], 0x404ccccd
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
jmp case.default.0x4241ed
mov al, byte [esp + 0x140]
test al, al
je 0x424259
mov dword [esp + 0x40], 0x3f4ccccd
mov dword [esp + 0x44], 0x3fcccccd
jmp 0x424267
mov edx, dword [edi]
mov dword [esp + 0x44], 0x404ccccd
mov dword [esp + 0x40], edx
mov dword [esp + 0xe8], 0x3f800000
mov dword [esp + 0xec], 0
jmp case.default.0x4241ed
mov al, byte [esp + 0x140]
test al, al
je 0x42429f
mov dword [esp + 0x4c], 0x3ed9999a
mov dword [esp + 0x50], 0xbfcccccd
jmp 0x4242ad
mov eax, dword [edi]
mov dword [esp + 0x50], 0xc04ccccd
mov dword [esp + 0x4c], eax
mov dword [esp + 0x108], 0x3f800000
mov dword [esp + 0x10c], 0x3f800000
jmp case.default.0x4241ed
mov al, byte [esp + 0x140]
test al, al
je 0x4242e2
mov dword [esp + 0x58], 0xbed9999a
mov dword [esp + 0x5c], 0xbfcccccd
jmp 0x4242f2
fld dword [edi]
fchs
fstp dword [esp + 0x58]
mov dword [esp + 0x5c], 0xc04ccccd
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0x3f800000
mov ecx, dword [esp + 0x10]
lea edi, [ebp + ebp*2]
shl edi, 2
lea eax, [ecx + 0x4b7948]
lea edx, [esp + 0x70]
add eax, 0x150
lea ebx, [esp + edi + 0x3c]
push eax
push edx
mov dword [ebx], 0
call fcn.00414100
mov ecx, dword [0x4aef34]
add esp, 8
lea edx, [esp + 0x70]
lea esi, [esp + edi + 0x34]
mov eax, dword [ecx]
push edx
push esi
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x4b7964]
lea eax, [eax + 0x4b7948]
test cl, cl
je 0x424397
fld dword [esp + 0x14]
fadd dword [esi]
mov eax, ebp
mov edx, dword [esp + 0x10]
shl eax, 5
fstp dword [esp + eax + 0xb0]
fld dword [esp + 0x18]
fadd dword [esp + edi + 0x38]
lea ecx, [esp + eax + 0xb0]
fstp dword [esp + eax + 0xb4]
fld dword [edx + 0x4b7950]
jmp 0x424454
fld dword [esi]
fmul dword [0x47f5d0]
fstp dword [esi]
fld dword [esi + 4]
fmul dword [0x47f5d0]
fstp dword [esi + 4]
fld dword [esi + 8]
fmul dword [0x47f5d0]
fstp dword [esi + 8]
fld dword [esp + 0x14]
fadd dword [esi]
fstp dword [esp + 0x28]
fld dword [esp + 0x18]
fadd dword [esi + 4]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x64]
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fadd dword [esi + 8]
mov ecx, dword [esp + 0x2c]
push eax
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x783a70]
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
push ecx
mov dword [esp + 0x74], edx
call fcn.0041fab0
fsub dword [esp + 0x24]
mov eax, ebp
add esp, 8
shl eax, 5
fstp dword [ebx]
fld dword [esi]
fmul dword [0x47f40c]
lea ecx, [esp + eax + 0xb0]
fstp dword [esi]
fld dword [esi + 4]
fmul dword [0x47f40c]
fstp dword [esi + 4]
fld dword [esi + 8]
fmul dword [0x47f40c]
fstp dword [esi + 8]
fld dword [esp + 0x14]
fadd dword [esi]
fstp dword [ecx]
fld dword [esp + 0x18]
fadd dword [esp + edi + 0x38]
fstp dword [esp + eax + 0xb4]
fld dword [esp + 0x1c]
fadd dword [ebx]
push 0x3f800000
mov dword [esp + eax + 0xc4], 0xffffffff
sub esp, 0xc
mov edx, esp
fstp dword [esp + eax + 0xc8]
mov eax, dword [esp + 0x144]
push ecx
mov dword [edx], eax
mov eax, dword [esp + 0x14c]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x150]
mov dword [edx + 8], eax
call fcn.00423f60
add esp, 0x14
inc ebp
cmp ebp, 4
jl 0x4241e0
mov ecx, dword [esp + 0x24]
push 0
push 4
mov eax, dword [ecx + 0x1e98]
lea ecx, [esp + 0xb8]
push ecx
push 0x1e2
mov edx, dword [eax]
push 6
push eax
call dword [edx + 0x64]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
add edi, 4
add eax, 0xc64
cmp edi, str.ModelsFxFireball_
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edi
jl 0x42419c
mov eax, dword [esi + 0x1e98]
push 1
push 0x89
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov esi, dword [esi + 0x1e98]
push 1
push 0x8d
push esi
mov eax, dword [esi]
call dword [eax + 0x50]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 0x10