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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x72a9ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [esp + 0x1c], ebx
call fcn.00692630
mov edi, eax
mov ecx, esi
mov dword [esp + 0x8c], edi
call fcn.00692630
mov dword [esp + 0x14], eax
lea eax, [esp + 0xa4]
push eax
mov ecx, esi
call fcn.004d7120
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.004d7120
push 0x20
mov ecx, esi
call fcn.004d6780
push 8
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.004d6720
push 0x20
mov ecx, esi
mov byte [esp + 0x17], al
call fcn.004d6780
push 8
mov ecx, esi
mov ebp, eax
call fcn.004d6720
push 8
mov ecx, esi
mov byte [esp + 0x15], al
call fcn.004d6720
push 0x20
mov ecx, esi
mov byte [esp + 0x16], al
call fcn.004d6780
mov edx, dword [0x7a39fc]
mov ecx, dword [edx + 4]
push edi
mov dword [esp + 0x4c], eax
call fcn.005ed5b0
mov edi, eax
cmp edi, ebx
je 0x650b5d
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], edx
xor esi, esi
call fcn.005b3190
cmp ebp, 1
mov dword [esp + 0xdc], esi
jne 0x6502ea
mov eax, dword [edi]
push ebp
push 0xff
mov ecx, edi
call dword [eax + 0x98]
mov edx, dword [eax]
push str.lbullet
mov ecx, eax
call dword [edx + 0x10c]
test eax, eax
lea ecx, [esp + 0x20]
je 0x6502de
mov esi, ebp
push str.lbullet
jmp 0x65033c
mov ebx, 0x20
push str.bullethook
jmp 0x65033c
test ebp, ebp
jne 0x65032e
mov eax, dword [edi]
push 1
push 0xff
mov ecx, edi
call dword [eax + 0x98]
mov edx, dword [eax]
push str.rbullet
mov ecx, eax
call dword [edx + 0x10c]
test eax, eax
lea ecx, [esp + 0x20]
je 0x650322
mov esi, 1
push str.rbullet
jmp 0x65033c
mov ebx, 0x10
push str.bullethook
jmp 0x65033c
cmp ebp, 2
jne 0x650341
push 0x743318
lea ecx, [esp + 0x24]
call fcn.005e5140
test esi, esi
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0x3f800000
mov dword [esp + 0x18], 0
je 0x65039f
mov eax, dword [edi]
push 1
push 0xff
mov ecx, edi
call dword [eax + 0x98]
lea ecx, [esp + 0xb0]
mov esi, eax
push ecx
lea edx, [esp + 0x58]
mov dword [esp + 0x1c], esi
push edx
jmp 0x650412
cmp ebp, 2
jne 0x6503b7
mov eax, dword [edi]
push 1
push 0xff
mov ecx, edi
call dword [eax + 0x98]
jmp 0x6503fb
mov ecx, dword [0x7a39fc]
mov esi, dword [ecx + 4]
push ebx
mov ecx, edi
call fcn.0060ca80
push eax
mov ecx, esi
call fcn.005ed580
mov esi, eax
test esi, esi
je 0x650426
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x34]
test eax, eax
je 0x650426
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
push 1
push 0xff
call dword [edx + 0x98]
test eax, eax
mov dword [esp + 0x18], eax
je 0x650426
mov esi, eax
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ebx, dword [esi]
lea ecx, [esp + 0x28]
call fcn.005e5670
mov ecx, esi
push eax
call dword [ebx + 0x98]
cmp byte [esp + 0x11], 0xff
je 0x650b49
lea ecx, [esp + 0x94]
call fcn.005b3190
lea ecx, [esp + 0x7c]
mov byte [esp + 0xdc], 1
call fcn.005b3190
lea ecx, [esp + 0x74]
mov byte [esp + 0xdc], 2
call fcn.005b3190
lea ecx, [esp + 0x6c]
mov byte [esp + 0xdc], 3
call fcn.005b3190
lea ecx, [esp + 0x84]
mov byte [esp + 0xdc], 4
call fcn.005b3190
lea ecx, [esp + 0x9c]
mov byte [esp + 0xdc], 5
call fcn.005b3190
lea ecx, [esp + 0x64]
mov byte [esp + 0xdc], 6
call fcn.005b3190
mov edx, dword [0x7a3a28]
mov eax, dword [edx + 0xb8]
mov ebx, dword [eax + 0x64]
push 0x1c8
mov byte [esp + 0xe0], 7
mov dword [esp + 0x54], ebx
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x60], eax
test eax, eax
mov byte [esp + 0xdc], 8
je 0x6504ec
mov ecx, eax
call fcn.006d57b0
mov esi, eax
jmp 0x6504ee
xor esi, esi
movzx eax, byte [esp + 0x12]
push eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x98]
push str.Model_d
push eax
mov byte [esp + 0xe8], 7
call fcn.005e5680
movzx ebp, byte [esp + 0x1d]
add esp, 0xc
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x98]
push edx
push ebp
mov ecx, ebx
mov dword [esp + 0x6c], ebp
call int.00413270
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x30]
call fcn.00406d60
mov edx, dword [esi]
push 0
push 0xff
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call dword [edx + 0x78]
test eax, eax
jne 0x650610
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
lea ecx, [esp + 0x64]
mov byte [esp + 0xdc], 6
call fcn.005e5c20
lea ecx, [esp + 0x9c]
mov byte [esp + 0xdc], 5
call fcn.005e5c20
lea ecx, [esp + 0x84]
mov byte [esp + 0xdc], 4
call fcn.005e5c20
lea ecx, [esp + 0x6c]
mov byte [esp + 0xdc], 3
call fcn.005e5c20
lea ecx, [esp + 0x74]
mov byte [esp + 0xdc], 2
call fcn.005e5c20
lea ecx, [esp + 0x7c]
mov byte [esp + 0xdc], 1
call fcn.005e5c20
lea ecx, [esp + 0x94]
mov byte [esp + 0xdc], 0
call fcn.005e5c20
lea ecx, [esp + 0x20]
mov dword [esp + 0xdc], 0xffffffff
call fcn.005e5c20
xor eax, eax
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push str.DEFAULT
lea ecx, [esp + 0x30]
call fcn.00406d80
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
push ecx
push 0
push 1
push 0xff
mov ecx, esi
call dword [eax + 0xac]
mov edx, dword [esi]
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call dword [edx + 0x8c]
fld dword [esp + 0x44]
fsub dword [esp + 0xac]
mov ebx, dword [esi]
fld dword [esp + 0x40]
lea ecx, [esp + 0x2c]
fsub dword [esp + 0xa8]
push ecx
fld dword [esp + 0x40]
lea edx, [esp + 0xc4]
fsub dword [esp + 0xa8]
push edx
fstp dword [esp + 0x34]
fstp dword [esp + 0x38]
fstp dword [esp + 0x3c]
call fcn.004ab180
add esp, 8
push eax
mov ecx, esi
call dword [ebx + 0x88]
mov eax, dword [esp + 0x28]
push eax
mov ecx, esi
mov byte [esi + 0x1a1], 2
call fcn.006d2c30
push 1
mov ecx, esi
mov dword [esi + 0x170], 0
call fcn.006d4250
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x88]
push str.ImpactSound_d
push edx
call fcn.005e5680
add esp, 0xc
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x58]
push ebp
call int.00413270
lea ecx, [esp + 0x9c]
call fcn.005e5670
push eax
lea ecx, [esp + 0x30]
call fcn.00406d80
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0xc4]
push eax
lea ecx, [esi + 0x140]
call fcn.00406120
mov bl, byte [esp + 0x13]
movzx eax, bl
dec eax
cmp eax, 9
ja case.0x650732.4
movzx ecx, byte [eax + 0x650b84]
jmp dword [ecx*4 + 0x650b78]
push 0x743318
lea ecx, [esp + 0x90]
call fcn.005e5a90
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x8c]
push edx
push eax
mov ecx, esi
mov byte [esp + 0xe4], 9
call fcn.006d42d0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xdc], 7
call fcn.005e5c20
xor ecx, ecx
cmp bl, 2
sete cl
push 0
mov byte [esi + 0x158], 1
push ecx
push 1
mov ecx, esi
call fcn.006d42a0
jmp 0x6509c8
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x48]
push str.impact_bolt
lea ecx, [esp + 0xc4]
mov dword [esi + 0x1c4], edx
mov byte [esi + 0x158], 1
mov dword [esi + 0x1bc], eax
call fcn.005e5a90
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc0]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0xe4], 0xa
call fcn.006d42d0
lea ecx, [esp + 0xc0]
mov byte [esp + 0xdc], 7
call fcn.005e5c20
cmp bl, 8
jne 0x65081f
mov ecx, dword [esp + 0x3c]
lea eax, [esi + 0x1b0]
mov dword [eax], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
push 0xe
jmp 0x6509ca
cmp bl, 0xa
jne 0x650953
mov edx, dword [0x7a39fc]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], 0
mov ecx, dword [edx + 4]
push eax
call fcn.005ed5b0
mov edi, eax
test edi, edi
je 0x65091e
mov eax, dword [edi + 0x20]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x84]
mov eax, dword [edi + 0x21c]
movzx ebp, word [eax + 0x18]
mov ecx, edi
call fcn.00616890
xor edi, edi
lea ecx, [esp + 0x48]
mov ebx, eax
mov dword [esp + 0x14], edi
call fcn.005b3190
cmp dword [esp + 0x14], ebp
mov byte [esp + 0xdc], 0xb
je 0x6508d3
jmp 0x650890
inc edi
cmp edi, 4
jg 0x6508d3
push edi
lea eax, [esp + 0x4c]
push str.Appearance_0_d
push eax
call fcn.005e5680
mov ecx, dword [0x7a3a28]
mov eax, dword [ecx + 0xb8]
mov eax, dword [eax + 0x10c]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x4c]
push ecx
push ebx
mov ecx, eax
call fcn.00413660
cmp dword [esp + 0x14], ebp
jne 0x650890
push edi
lea edx, [esp + 0x4c]
push str.Radius_0_d
push edx
call fcn.005e5680
mov eax, dword [0x7a3a28]
mov eax, dword [eax + 0xb8]
mov eax, dword [eax + 0x10c]
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x4c]
push edx
push ebx
mov ecx, eax
call int.00413430
lea ecx, [esp + 0x48]
mov byte [esp + 0xdc], 7
call fcn.005e5c20
mov ebp, dword [esp + 0x60]
mov eax, dword [esp + 0x28]
mov dword [esi + 0x1c0], eax
mov edx, dword [esp + 0x3c]
lea ecx, [esi + 0x1b0]
mov dword [ecx], edx
mov eax, dword [esp + 0x40]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x44]
push 0
push 0
mov dword [ecx + 8], edx
push 1
mov ecx, esi
call fcn.006d42a0
push 0x10
jmp 0x6509ca
add edi, 0x24
push edi
mov ecx, esi
mov byte [esi + 0x158], 1
call fcn.0064b4f0
push 0
push 0
push 1
mov ecx, esi
call fcn.006d42a0
push 0xf
jmp 0x6509ca
push 0x73d71c
lea ecx, [esp + 0x30]
call fcn.005e5a90
lea eax, [esp + 0x2c]
push eax
push 0x7f000000
mov ecx, esi
mov byte [esp + 0xe4], 0xc
call fcn.006d42d0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xdc], 7
call fcn.005e5c20
mov edx, dword [esp + 0x3c]
lea ecx, [esi + 0x114]
mov dword [ecx], edx
mov eax, dword [esp + 0x40]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x44]
mov dword [ecx + 8], edx
push 1
mov ecx, esi
call fcn.006d6ee0
mov eax, dword [0x7a39fc]
mov ecx, dword [eax + 4]
call fcn.005ed530
test eax, eax
je 0x650a4b
mov eax, dword [eax + 0x48]
test eax, eax
je 0x650a4b
mov eax, dword [eax + 0x184]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x94]
push str.MuzzleFlash
lea ecx, [esp + 0x30]
call fcn.005e5a90
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x58]
push ebp
mov byte [esp + 0xe8], 0xd
call int.00413270
lea ecx, [esp + 0x2c]
mov byte [esp + 0xdc], 7
call fcn.005e5c20
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call fcn.006d4440
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x78]
push str.ShotSound_d
push eax
call fcn.005e5680
add esp, 0xc
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x78]
push edx
push ebp
call int.00413270
lea ecx, [esp + 0x6c]
call fcn.005e5670
push eax
lea ecx, [esp + 0x30]
call fcn.00406d80
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
push 0
push 0
push 0
push 0
push 0xf
push 0
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 4], edx
lea edx, [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [0x7a39ec]
push edx
call fcn.005d5e10
lea ecx, [esp + 0x64]
mov dword [esp + 0x1c], 1
mov byte [esp + 0xdc], 6
call fcn.005e5c20
lea ecx, [esp + 0x9c]
mov byte [esp + 0xdc], 5
call fcn.005e5c20
lea ecx, [esp + 0x84]
mov byte [esp + 0xdc], 4
call fcn.005e5c20
lea ecx, [esp + 0x6c]
mov byte [esp + 0xdc], 3
call fcn.005e5c20
lea ecx, [esp + 0x74]
mov byte [esp + 0xdc], 2
call fcn.005e5c20
lea ecx, [esp + 0x7c]
mov byte [esp + 0xdc], 1
call fcn.005e5c20
lea ecx, [esp + 0x94]
mov byte [esp + 0xdc], 0
call fcn.005e5c20
lea ecx, [esp + 0x20]
mov dword [esp + 0xdc], 0xffffffff
call fcn.005e5c20
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0x1c]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret