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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x620483
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x67e034]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x48]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call edx
fild dword [eax]
mov eax, dword [esi + 0x22c]
xor ebx, ebx
sub eax, ebx
fdiv qword [0x657590]
fstp dword [esp + 0x10]
je 0x41fb8b
mov edi, 1
sub eax, edi
jne case.default.0x41f60c
mov eax, dword [esi + 0x2a0]
mov eax, dword [eax]
cmp eax, 0xd
ja case.default.0x41f60c
jmp dword [eax*4 + 0x41fe28]
mov edx, dword [esi + 0x358]
mov eax, dword [edx]
push 0x5a
lea ecx, [esi + 0x358]
push 0xff
push 0xff
call eax
cmp dword [esi + 0x210], edi
jne case.default.0x41f60c
mov esi, dword [esi + 0x2a0]
add dword [esi], edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x358]
mov eax, dword [edx + 8]
lea edi, [esi + 0x358]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
test al, al
je case.default.0x41f60c
mov esi, dword [esi + 0x2a0]
inc dword [esi]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
cmp dword [esi + 0x350], ebx
jle 0x41f6c2
xor ebx, ebx
mov ecx, dword [esi + 0x29c]
add ecx, ebx
mov eax, 4
call fcn.00455c10
inc edi
add ebx, 0x84
cmp edi, dword [esi + 0x350]
jl 0x41f6a1
mov esi, dword [esi + 0x2a0]
inc dword [esi]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x350], ebx
jle 0x41f709
mov dword [esp + 0x10], ebx
mov edi, dword [esi + 0x29c]
add edi, dword [esp + 0x10]
call fcn.00455b20
add dword [esp + 0x10], 0x84
inc ebx
cmp ebx, dword [esi + 0x350]
jl 0x41f6e9
mov eax, dword [esi + 0x29c]
call fcn.00455d00
test al, al
je case.default.0x41f60c
mov edx, dword [esi + 0x404]
mov eax, dword [edx]
push 0x78
lea ecx, [esi + 0x404]
push 0
push 0
call eax
mov esi, dword [esi + 0x2a0]
inc dword [esi]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x350], ebx
jle 0x41f779
mov dword [esp + 0x10], ebx
mov edi, dword [esi + 0x29c]
add edi, dword [esp + 0x10]
call fcn.00455b20
add dword [esp + 0x10], 0x84
inc ebx
cmp ebx, dword [esi + 0x350]
jl 0x41f759
mov edx, dword [esi + 0x404]
mov eax, dword [edx + 8]
lea ebx, [esi + 0x404]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x1c]
mov ecx, ebx
call eax
test al, al
je case.default.0x41f60c
push 0xb4
push 0xff
mov edx, dword [ebx]
mov eax, dword [edx]
push 0
mov ecx, ebx
call eax
mov esi, dword [esi + 0x2a0]
inc dword [esi]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x350], ebx
jle 0x41f7f8
mov dword [esp + 0x10], ebx
mov edi, dword [esi + 0x29c]
add edi, dword [esp + 0x10]
call fcn.00455b20
add dword [esp + 0x10], 0x84
inc ebx
cmp ebx, dword [esi + 0x350]
jl 0x41f7d8
mov edx, dword [esi + 0x404]
mov eax, dword [edx + 8]
lea edi, [esi + 0x404]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
test al, al
je case.default.0x41f60c
mov edx, dword [edi]
mov eax, dword [edx]
push 0x3c
push 0xff
push 0xff
mov ecx, edi
call eax
mov esi, dword [esi + 0x2a0]
inc dword [esi]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x350], ebx
jle 0x41f877
mov dword [esp + 0x10], ebx
mov edi, dword [esi + 0x29c]
add edi, dword [esp + 0x10]
call fcn.00455b20
add dword [esp + 0x10], 0x84
inc ebx
cmp ebx, dword [esi + 0x350]
jl 0x41f857
mov edx, dword [esi + 0x404]
mov eax, dword [edx + 8]
lea edi, [esi + 0x404]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
test al, al
je case.default.0x41f60c
xor edi, edi
cmp dword [esi + 0x350], edi
jle 0x41f8e6
xor ebx, ebx
mov ecx, dword [esi + 0x29c]
add ecx, ebx
cmp byte [ecx + 4], 0
je 0x41f8d7
mov edx, dword [ecx + 0x78]
mov eax, dword [ecx + 0x18]
mov dword [ecx + 0x74], edx
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x70], 9
mov dword [ecx + 0x7c], 0
mov dword [ecx + 0x80], eax
inc edi
add ebx, 0x84
cmp edi, dword [esi + 0x350]
jl 0x41f8a7
mov esi, dword [esi + 0x2a0]
inc dword [esi]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x350], ebx
jle 0x41f92d
mov dword [esp + 0x10], ebx
mov edi, dword [esi + 0x29c]
add edi, dword [esp + 0x10]
call fcn.00455b20
add dword [esp + 0x10], 0x84
inc ebx
cmp ebx, dword [esi + 0x350]
jl 0x41f90d
mov eax, dword [esi + 0x29c]
cmp byte [eax + 4], 0
jne case.default.0x41f60c
mov edx, dword [esi + 0x404]
mov eax, dword [edx]
push 0x5a
lea ecx, [esi + 0x404]
push 0xff
push 0xff
call eax
mov esi, dword [esi + 0x2a0]
inc dword [esi]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x404]
mov eax, dword [edx + 8]
lea edi, [esi + 0x404]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
test al, al
je case.default.0x41f60c
mov edx, dword [edi]
mov eax, dword [edx]
push 0x96
push 0xff
push 0xff
mov ecx, edi
call eax
mov ebx, dword [esi + 0x41c]
mov edx, dword [ebx + 4]
lea edi, [esi + 0x41c]
push 0x5a
push 0xffffffffffffffce
mov ecx, edi
call edx
push eax
mov eax, dword [ebx]
mov ecx, edi
call eax
mov esi, dword [esi + 0x2a0]
inc dword [esi]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x41c]
mov eax, dword [edx + 8]
lea edi, [esi + 0x41c]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
test al, al
je case.default.0x41f60c
mov edx, dword [esi + 0x404]
mov eax, dword [edx]
push 0x1e
lea ecx, [esi + 0x404]
push 0xff
push 0xff
call eax
mov esi, dword [esi + 0x2a0]
inc dword [esi]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x404]
mov eax, dword [edx + 8]
lea ebx, [esi + 0x404]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x1c]
mov ecx, ebx
call eax
test al, al
je case.default.0x41f60c
mov edx, dword [ebx]
mov eax, dword [edx]
push 0x64
push 0
push 0xff
mov ecx, ebx
call eax
mov edx, dword [esi + 0x358]
mov eax, dword [edx]
push 0x78
lea ecx, [esi + 0x358]
push 0
push 0xff
call eax
mov edx, dword [esi + 0x434]
mov eax, dword [edx]
push 0x78
lea ecx, [esi + 0x434]
push 0x258
push 0x3e8
call eax
mov esi, dword [esi + 0x2a0]
inc dword [esi]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x404]
mov eax, dword [edx + 8]
lea ebx, [esi + 0x404]
mov ecx, ebx
call eax
mov edx, dword [esi + 0x358]
mov eax, dword [edx + 8]
lea edi, [esi + 0x358]
mov ecx, edi
call eax
mov edx, dword [esi + 0x434]
mov eax, dword [edx + 8]
lea ecx, [esi + 0x434]
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x1c]
mov ecx, ebx
call eax
test al, al
je case.default.0x41f60c
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
test al, al
je case.default.0x41f60c
mov edx, dword [esi + 0x434]
mov eax, dword [edx + 0x1c]
lea ecx, [esi + 0x434]
call eax
test al, al
je case.default.0x41f60c
push 0
push 0
jmp 0x41f7a7
mov edx, dword [esi + 0x404]
mov eax, dword [edx + 8]
lea edi, [esi + 0x404]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
test al, al
je case.default.0x41f60c
jmp 0x41f7b1
mov dword [esi + 0x22c], ebx
mov dword [esi + 0x230], edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
mov edi, 0xf
push str.objd000_003.bmp
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401500
push 0
mov dword [esp + 0x5c], ebx
mov edx, dword [esi + 0x370]
mov edx, dword [edx + 0x140]
push 1
lea ebx, [esi + 0x370]
push 0x15
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
call edx
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x48], 0x10
jb 0x41fbed
mov eax, dword [esp + 0x34]
push eax
call fcn.0045ba36
add esp, 4
mov edx, dword [esi + 0x404]
mov eax, dword [edx]
push 0x3c
lea ecx, [esi + 0x404]
push 0xff
push 0
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call edx
fild dword [eax]
fmul qword [0x657430]
fsubr qword [0x6578b0]
call fcn.005faf10
mov edx, dword [esi + 0x41c]
push 0
lea edi, [esi + 0x41c]
push eax
push eax
mov eax, dword [edx]
mov ecx, edi
call eax
mov edx, dword [esi + 0x434]
mov eax, dword [edx]
push 0
lea ecx, [esi + 0x434]
push 0x3e8
push 0x3e8
call eax
fldz
mov edx, dword [edi]
fstp dword [esi + 0x260]
fld dword [0x658070]
mov eax, dword [edx + 4]
fstp dword [esi + 0x264]
mov ecx, edi
fld dword [esp + 0x10]
mov dword [esi + 0x240], 0x1e
fst dword [esi + 0x268]
mov dword [esi + 0x26c], 3
fld dword [0x658058]
mov dword [esi + 0x270], 1
fstp dword [esi + 0x248]
mov dword [esi + 0x274], 0
fld dword [0x657810]
mov dword [esi + 0x288], 0x14
fstp dword [esi + 0x24c]
mov dword [esi + 0x28c], 0x5a
fld1
fst dword [esi + 0x254]
fst dword [esi + 0x258]
fstp dword [esi + 0x250]
fstp dword [esi + 0x294]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
fadd qword [0x658068]
mov ecx, ebx
fstp dword [esi + 0x278]
fld dword [0x658060]
fstp dword [esi + 0x27c]
call edx
fild dword [eax]
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
fstp qword [esp + 0x14]
call edx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fadd qword [esp + 0x14]
fsub qword [0x658068]
xor ecx, ecx
mov edi, 1
mov eax, edi
mov edx, 0x84
fstp dword [esi + 0x280]
mul edx
fld dword [0x658060]
fstp dword [esi + 0x284]
fld dword [0x65805c]
fstp dword [esi + 0x25c]
seto cl
mov dword [esi + 0x350], edi
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.005a7b03
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x58], edi
test eax, eax
je 0x41fdc9
push 0x455830
push 0x4557f0
push edi
lea ebx, [eax + 4]
push 0x84
push ebx
mov dword [eax], edi
call fcn.005a87bf
mov eax, ebx
jmp 0x41fdcb
xor eax, eax
lea ecx, [esi + 0x234]
push ecx
mov dword [esp + 0x5c], 0xffffffff
push eax
lea ecx, [esi + 0x278]
mov dword [esi + 0x29c], eax
mov dword [esi + 0x298], str.effect_fireL.bmp
call fcn.00455840
push 4
call fcn.005a7b03
mov dword [esi + 0x2a0], eax
add esp, 4
mov dword [eax], 0
add dword [esi + 0x22c], edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret