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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4c69e0
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x70]
push esi
push edi
xor ebx, ebx
mov edi, ecx
xor edx, edx
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
mov dword [esp + 0x14], edx
je 0x495d19
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x495d19
mov esi, dword [esp + 0x70]
shl edx, 2
mov eax, ecx
mov ecx, dword [edx + eax]
cmp dword [ecx + 0x10], esi
jne 0x495d0f
mov ecx, dword [ecx + 0x14]
cmp ecx, dword [edi + 0x1dc]
jle 0x495d0f
mov ecx, dword [edx + eax]
cmp byte [ecx + 0x21], bl
jne 0x495d0f
cmp byte [ecx + 0x28], bl
jne 0x495d0f
cmp byte [ecx + 0x29], bl
jne 0x495d0f
mov esi, ecx
cmp esi, ebx
mov dword [esp + 0x1c], esi
je 0x495ab4
inc dword [esi + 4]
push str.data_objects_shot_bonuses_rockets.xml
lea ecx, [esp + 0x48]
mov dword [esp + 0x6c], ebx
call fcn.004033c0
push ebx
push ebx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x78], 1
call fcn.00415620
mov ecx, eax
call fcn.00431b90
cmp dword [esp + 0x5c], 0x10
mov byte [esp + 0x68], 3
jb 0x495afc
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004ade5d
add esp, 4
push 1
push 1
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.0040d4d0
push ecx
mov edx, esp
mov dword [esp + 0x24], esp
push edx
mov ecx, eax
call fcn.004016d0
mov ecx, dword [esp + 0x1c]
call fcn.00425c90
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x10]
push 0xc4160000
push ebp
push eax
call fcn.00424870
push 0x41a00000
push 0xc1a00000
call fcn.00435f50
fstp dword [esp + 0x20]
push 0x41a00000
push 0xc1a00000
call fcn.00435f50
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x2c], ecx
push 0x447a0000
lea ecx, [esp + 0x2c]
mov dword [esp + 0x34], 0
call fcn.00423490
fstp st(0)
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
push edx
call fcn.00422480
push 0xffffffffffffffff
push 1
push 0x42c80000
push ecx
mov eax, esp
lea ecx, [esp + 0x44]
mov dword [esp + 0x28], esp
mov dword [eax], ebx
call fcn.00484530
mov byte [esp + 0x3c], 1
mov eax, dword [esi + 0x2c]
cmp eax, ebx
mov byte [esp + 0x68], 4
je 0x495bc7
inc dword [eax + 4]
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
mov dword [esp + 0x34], eax
je 0x495be6
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x495be6
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x14]
add ecx, 0x1a8
mov dword [esp + 0x3c], 0x447a0000
call fcn.00485c70
mov edx, dword [esp + 0x10]
push 1
push 1
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x24], esp
je 0x495c1e
inc dword [eax + 4]
mov byte [esp + 0x74], 5
call fcn.0040e220
mov edx, dword [eax]
mov ecx, eax
mov byte [esp + 0x74], 4
call dword [edx + 0x10]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x68], 6
je 0x495c4c
inc dword [eax + 4]
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
mov dword [esp + 0x20], eax
je 0x495c6b
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x495c6b
mov eax, dword [ecx]
push 1
call dword [eax]
cmp esi, ebx
je 0x495c72
inc dword [esi + 4]
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
mov dword [esp + 0x24], esi
je 0x495c91
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x495c91
mov edx, dword [ecx]
push 1
call dword [edx]
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0x230]
call fcn.004938e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 4
call fcn.0048d6d0
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov byte [esp + 0x68], 3
je 0x495cd3
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x18], edx
jne 0x495cd3
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x68], bl
je 0x495cf6
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x18], edx
jne 0x495cf6
mov eax, dword [ecx]
push 1
call dword [eax]
cmp esi, ebx
mov dword [esp + 0x68], 0xffffffff
je 0x495d0f
dec dword [esi + 4]
jne 0x495d0f
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov edx, dword [esp + 0x14]
inc edx
jmp 0x495a46
mov ecx, dword [edi + 0x194]
mov eax, dword [edi + 0x190]
mov dword [edi + 0x2b4], ecx
mov ecx, dword [esp + 0x60]
mov dword [edi + 0x2b0], eax
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 0xc