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

Disassembly:
push 0xffffffffffffffff
push 0x539868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.00460720
xor ebx, ebx
lea eax, [esi + 0x37c]
mov dword [esp + 0x44], ebx
mov ecx, 0x10
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
add eax, 0xc
dec ecx
jne 0x4b9ee6
lea eax, [esi + 0x43c]
mov ecx, 0x10
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
add eax, 0xc
dec ecx
jne 0x4b9eff
mov dword [esi + 0x514], ebx
mov dword [esi + 0x518], ebx
mov dword [esi + 0x51c], ebx
mov word [esi + 0x520], bx
mov word [esi + 0x522], bx
mov word [esi + 0x524], bx
mov dword [esi + 0x558], ebx
mov dword [esi + 0x55c], ebx
mov dword [esi + 0x560], ebx
mov dword [esi + 0x594], ebx
mov dword [esi + 0x598], ebx
mov dword [esi + 0x59c], ebx
mov dword [esi + 0x570], 0xd0
mov dword [esi + 0x574], 0xa0
mov dword [esi + 0x578], 0x100
mov dword [esi + 0x5a0], ebx
mov dword [esi + 0x5a4], ebx
mov dword [esi + 0x5a8], ebx
lea eax, [esi + 0x5f0]
mov ecx, 6
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
add eax, 0x68
dec ecx
jne 0x4b9f93
push ebp
push edi
mov dword [esi + 0x8cc], ebx
mov dword [esi + 0x8d0], ebx
mov dword [esi + 0x8d4], ebx
lea ecx, [esi + 0x928]
mov byte [esi + 0x8eb], 1
mov dword [esi + 0x91c], ebx
mov dword [esi + 0x920], ebx
mov dword [esi + 0x924], ebx
call fcn.0040a3b0
lea ecx, [esi + 0x934]
call fcn.0040a3b0
lea ecx, [esi + 0x940]
call fcn.0040a3b0
lea edi, [esi + 0xb0c]
mov byte [esi + 0xa80], 1
mov ecx, edi
mov dword [esi + 0xac8], ebx
mov dword [esi + 0xacc], ebx
mov dword [esi + 0xad0], ebx
call fcn.0040a3b0
lea ecx, [edi + 0xc]
call fcn.0040a3b0
lea ecx, [edi + 0x18]
call fcn.0040a3b0
lea ecx, [edi + 0x24]
call fcn.0040a3b0
lea ecx, [edi + 0x6c]
call fcn.0040a3b0
mov word [edi + 0x78], bx
mov word [edi + 0x7a], bx
mov word [edi + 0x7c], bx
lea edi, [esi + 0xbb0]
mov ecx, edi
call fcn.0040a3b0
lea ecx, [edi + 0xc]
call fcn.0040a3b0
lea ecx, [edi + 0x18]
call fcn.0040a3b0
lea ecx, [edi + 0x24]
call fcn.0040a3b0
lea ecx, [edi + 0x6c]
call fcn.0040a3b0
mov word [edi + 0x78], bx
mov word [edi + 0x7a], bx
mov word [edi + 0x7c], bx
mov dword [esi + 0xc6c], ebx
mov dword [esi + 0xc70], ebx
mov dword [esi + 0xc74], ebx
mov dword [esi + 0xc78], ebx
mov dword [esi + 0xc7c], ebx
mov dword [esi + 0xc80], ebx
mov eax, 0x1000
mov dword [esi + 0xc84], ebx
mov dword [esi + 0xc88], ebx
mov dword [esi + 0xc8c], ebx
mov dword [esi + 0xc94], ebx
mov dword [esi + 0xc98], ebx
mov dword [esi + 0xc9c], ebx
mov dword [esi + 0xca0], eax
mov dword [esi + 0xca4], ebx
mov dword [esi + 0xca8], ebx
mov dword [esi + 0xcac], ebx
mov dword [esi + 0xcb0], eax
mov dword [esi + 0xcb8], ebx
mov dword [esi + 0xcbc], ebx
mov dword [esi + 0xcc0], ebx
mov dword [esi + 0xcc4], ebx
mov dword [esi + 0xcc8], ebx
mov dword [esi + 0xccc], ebx
mov dword [esi + 0xcd0], eax
mov byte [esi + 0xc5c], 1
mov dword [esi + 0xc60], 0x12c
mov dword [esi + 0xc64], eax
mov byte [esi + 0xc68], bl
mov byte [esi + 0xc69], bl
mov dword [esi + 0xcd4], ebx
mov dword [esi + 0xcd8], ebx
mov dword [esi + 0xcdc], ebx
mov dword [esi + 0xce0], eax
mov dword [esi + 0xce8], ebx
mov dword [esi + 0xcec], ebx
mov dword [esi + 0xcf4], ebx
mov dword [esi + 0xcf8], ebx
mov dword [esi + 0xd00], ebx
mov dword [esi + 0xd04], ebx
mov dword [esi + 0xd0c], ebx
mov dword [esi + 0xcf0], ebx
mov dword [esi + 0xd10], ebx
mov dword [esi + 0xd30], ebx
mov eax, dword [esi + 0x194]
mov dword [esi + 0xcfc], ebx
mov dword [esi + 0xd34], ebx
mov dword [esi + 0xd3c], ebx
mov dword [esi + 0xd08], ebx
mov dword [esi + 0xd40], ebx
mov word [esi + 0xd48], bx
mov word [esi + 0xd4a], bx
mov dword [esi + 0xd14], ebx
mov word [esi + 0xd4c], bx
mov word [esi + 0xd4e], bx
mov word [esi + 0xd50], bx
mov dword [esi + 0xd38], ebx
mov word [esi + 0xd52], bx
mov dword [esi + 0xd54], ebx
mov dword [esi + 0xd44], ebx
mov dword [esi + 0xd58], ebx
mov dword [esi + 0xd64], ebx
mov dword [esi + 0xd5c], ebx
mov dword [esi + 0xd68], ebx
mov dword [esi + 0xd70], ebx
mov dword [esi + 0xd6c], ebx
mov dword [esi + 0xd74], ebx
mov dword [esi + 0xda0], ebx
mov dword [esi + 0xd78], ebx
mov dword [esi + 0xda4], ebx
mov dword [esi + 0xdac], ebx
mov dword [esi + 0xda8], ebx
mov dword [esi + 0xdb0], ebx
mov dword [esi + 0xdc0], ebx
mov dword [esi + 0xdb4], ebx
mov dword [esi + 0xdc4], ebx
mov word [esi + 0xe04], bx
mov word [esi + 0xe06], bx
and eax, 0xfffffbdf
mov dword [esi + 0xdc8], ebx
mov word [esi + 0xe08], bx
mov dword [esi + 0xe94], ebx
mov dword [esi + 0xe98], ebx
mov dword [esi + 0xe9c], ebx
mov dword [esi + 0xeac], ebx
or eax, 0x840
mov dword [esi + 0xeb0], ebx
mov dword [esi + 0xeb4], ebx
mov dword [esi + 0xee0], ebx
mov ecx, esi
mov dword [esi + 0xee4], ebx
mov dword [esi + 0xee8], ebx
mov dword [esi], 0x53c464
mov dword [esi + 0x554], 0x4b13f0
mov dword [esi + 0x194], eax
call fcn.004c8cc0
mov dword [0x6a830c], 0x5565a8
mov dword [0x6a83a4], 0x5565b4
mov dword [0x6a8388], 0x5565bc
mov dword [0x6a8380], 0x5565c8
mov dword [0x6a8384], 0x5565d0
mov dword [0x6a83a8], 0x5565d8
mov dword [0x6a83b4], 0x5565e4
mov dword [0x6a85b8], 0x5565f4
mov dword [0x6a85d0], 0x556600
mov edx, 0x6a82b8
mov eax, dword [edx]
cmp eax, ebx
je 0x4ba343
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4ba343
and ecx, 0xffff
mov dword [eax], ecx
mov ecx, dword [eax + 4]
add eax, 4
cmp ecx, 0xffffffff
jne 0x4ba330
add edx, 4
cmp edx, 0x6a8768
jl 0x4ba323
mov byte [0x60f770], bl
mov dword [esi + 0x8f4], 0x87
mov byte [esi + 0x8f9], 7
mov byte [esi + 0xec0], bl
call fcn.004de770
cmp eax, 0x603
ja 0x4ba3a5
cmp eax, 0x601
jae 0x4ba3ca
cmp eax, 0x502
ja 0x4ba39c
cmp eax, 0x501
jae 0x4ba3ca
cmp eax, 0x202
je 0x4ba3ca
cmp eax, 0x401
je 0x4ba3ca
jmp 0x4ba3d0
cmp eax, 0x505
je 0x4ba3ca
jmp 0x4ba3d0
cmp eax, 0x705
ja 0x4ba3bc
cmp eax, 0x704
jae 0x4ba3ca
cmp eax, 0x702
je 0x4ba3ca
jmp 0x4ba3d0
cmp eax, 0x804
jb 0x4ba3d0
cmp eax, 0x806
ja 0x4ba3d0
mov byte [esi + 0xc5c], bl
mov edi, 2
push 1
push str.Reticle
mov dword [esi + 0x360], edi
mov dword [esi + 0x364], edi
call fcn.004cab50
mov dword [esi + 0xdec], eax
mov eax, 0xffffff80
mov word [0x6a8274], ax
mov word [0x6a8196], ax
mov word [0x6a8190], ax
mov ecx, 0x200
mov ebp, 0x64
mov eax, 0xaa
add esp, 8
mov word [0x6a81dc], bx
mov word [0x6a81de], bx
mov word [0x6a81e0], bx
mov word [0x6a81fa], cx
mov word [0x6a81e4], bx
mov word [0x6a81e2], bx
mov word [0x6a81e6], bx
mov word [0x6a81f8], 0x2bc
mov word [0x6a8c66], bx
mov word [0x6a8204], bx
mov word [0x6a8200], bx
mov word [0x6a8202], bx
mov word [0x6a825c], 0x320
mov word [0x6a8cac], bp
mov word [0x6a8c5e], bx
mov word [0x6a8c56], bx
mov word [0x6a8c54], bx
mov word [0x6a8c68], cx
mov word [0x6a8194], bx
mov word [0x6a8192], bx
mov word [0x6a8198], bx
mov word [0x6a82a0], cx
mov dword [0x6a8260], eax
mov dword [0x6a81fc], eax
mov dword [0x6a8208], eax
mov dword [0x6a7ffc], ebx
mov dword [0x6a82b4], ebx
mov dword [0x6a8d54], ebx
mov dword [esi + 0xac8], ebx
mov dword [esi + 0xacc], ebx
mov dword [esi + 0xad0], 0x1000
mov byte [esi + 0x553], bl
mov dword [esi + 0x540], 0xffffffff
mov byte [esi + 0xad4], bl
mov byte [esi + 0xad6], 1
mov byte [esi + 0x8ec], bl
call fcn.004de770
sub eax, 0x806
push 0x6a9038
neg eax
sbb eax, eax
mov ecx, esi
add eax, edi
mov dword [esi + 0xdfc], eax
call fcn.00460260
mov eax, dword [0x6a9034]
push str.2_or_more_CPlayers
inc eax
cmp eax, 1
mov dword [0x6a9034], eax
sete cl
push ecx
call fcn.004015b0
mov eax, dword [0x54d474]
and word [esi + 0x46], 0xfffd
add esp, 8
cmp eax, 3
mov word [esi + 0xdc], bp
ja case.default.0x4ba56c
jmp dword [eax*4 + 0x4ba9a8]
mov word [esi + 0xe2], 0x258
mov dword [esi + 0x5d8], 9
jmp case.default.0x4ba56c
mov word [esi + 0xe2], 0xc8
mov dword [esi + 0x5d8], 9
jmp case.default.0x4ba56c
mov word [esi + 0xe2], bp
mov dword [esi + 0x5d8], 7
jmp case.default.0x4ba56c
mov word [esi + 0xe2], 0x50
mov dword [esi + 0x5d8], edi
mov eax, dword [0x5559dc]
cmp eax, 6
je 0x4ba5d3
cmp eax, 9
je 0x4ba5d3
cmp eax, 0xa
jne 0x4ba5d9
mov dword [esi + 0x5d8], edi
mov ecx, dword [0x6828a0]
mov edx, dword [0x6828a4]
cmp ecx, ebx
jne 0x4ba5f9
cmp edx, ebx
jne 0x4ba5f9
mov dword [esi + 0x5d4], 0x1000
jmp 0x4ba622
cmp eax, 6
mov dword [esi + 0x5d4], ecx
mov dword [esi + 0x5d8], edx
je 0x4ba614
cmp eax, 9
je 0x4ba614
cmp eax, 0xa
jne 0x4ba622
cmp dword [esi + 0x5d8], edi
jle 0x4ba622
mov dword [esi + 0x5d8], edi
call fcn.004de770
and al, 0
cmp eax, 0x800
jbe 0x4ba636
mov dword [esi + 0x5d8], edi
movsx edx, word [esi + 0xe2]
or word [esi + 4], 0x480
push str.spidey
mov ecx, esi
mov dword [esi + 0xef0], edx
mov dword [esi + 0xe0c], 0x661100
mov byte [esi + 0x8ea], bl
mov dword [esi + 0x3c], 0x5559e0
mov dword [esi + 0xd2c], 0x202020
call fcn.00460020
mov byte [esi + 0x78], 1
mov byte [esi + 0x79], 4
mov byte [esi + 0x7a], 1
mov ecx, esi
mov word [esi + 0x38], 0x32
mov byte [esi + 0x94], 5
mov byte [esi + 0x95], 1
mov byte [esi + 0x96], 5
mov word [esi + 0xea8], 0x60
mov word [esi + 0xeaa], 0x46
mov word [esi + 0xdc], bp
mov byte [esi + 0xe14], 1
mov byte [esi + 0x158], bl
call fcn.004be4b0
push 0x55644c
push esi
call fcn.00453c30
mov edx, dword [esi + 0x12c]
lea edi, [esi + 0x164]
mov eax, 0x1000
lea ecx, [esp + 0x24]
mov word [edi], ax
mov word [esi + 0x16c], ax
mov word [esi + 0x174], ax
mov word [esi + 0xaa], ax
mov dword [esi + 0xd1c], eax
lea eax, [esp + 0x2c]
or edx, 1
push eax
push ecx
mov dword [esi + 0x12c], edx
mov word [esi + 0x16a], bx
mov word [esi + 0x170], bx
mov word [esi + 0x166], bx
mov word [esi + 0x172], bx
mov word [esi + 0x168], bx
mov word [esi + 0x16e], bx
mov word [esi + 0xa8], bx
mov word [esi + 0xac], bx
mov dword [esi + 0xd18], ebx
mov dword [esi + 0xd20], ebx
mov word [esp + 0x2c], bx
mov word [esp + 0x2e], 0x800
mov word [esp + 0x30], bx
call fcn.0046e730
lea edx, [esp + 0x34]
push edx
push edi
call fcn.0046d0e0
mov edi, dword [esi + 0xaa4]
push 0x556854
cmp edi, ebx
sete al
push eax
call fcn.004015b0
mov al, byte [0x6828d1]
add esp, 0x20
cmp al, bl
je 0x4ba869
cmp dword [0x682940], ebx
jne 0x4ba869
push 1
push str.costarm
mov dword [0x60f754], ebx
call fcn.004cab50
mov dword [0x60f754], eax
mov eax, dword [0x54d474]
add esp, 8
cmp eax, 3
ja case.default.0x4ba7d2
jmp dword [eax*4 + 0x4ba9b8]
mov dword [esi + 0x5ec], 0x258
jmp case.default.0x4ba7d2
mov dword [esi + 0x5ec], 0xc8
jmp case.default.0x4ba7d2
mov dword [esi + 0x5ec], ebp
jmp case.default.0x4ba7d2
mov dword [esi + 0x5ec], 0x50
cmp byte [0x6a9040], bl
jne 0x4ba849
cmp dword [0x6b78f8], ebx
je 0x4ba83b
cmp byte [0x6a9041], bl
jne 0x4ba83b
mov ecx, dword [0x5559dc]
push ebx
push ecx
call fcn.004b8d80
mov al, byte [0x6a9041]
add esp, 8
cmp al, bl
sete dl
mov byte [0x6a9041], dl
mov byte [esi + 0x5e9], 1
mov byte [0x6a9040], 1
mov eax, dword [0x6828a8]
push 0x556858
mov edi, eax
mov dword [esi + 0x5ec], eax
cmp edi, ebx
setg cl
push ecx
call fcn.004015b0
add esp, 8
cmp byte [0x6828d2], bl
je 0x4ba881
cmp dword [0x5559dc], 5
jne 0x4ba881
mov byte [esi + 0x57c], 1
cmp dword [0x60cff4], ebx
je 0x4ba890
mov eax, 1
jmp 0x4ba89c
mov eax, dword [0x60cff8]
neg eax
sbb eax, eax
and eax, 2
push eax
push 0x1000
call fcn.004b9210
lea ebp, [esi + 0x608]
add esp, 8
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 6
xor edi, edi
mov al, byte [0x54d341]
mov edx, 0x60
sub edx, edi
mov dword [ebp + 4], ebx
cmp al, bl
mov dword [ebp], edx
jne 0x4ba8f7
push str.stubbed_out:_setPolyF3
call fcn.0046cb90
mov al, byte [0x54d341]
add esp, 4
cmp al, bl
jne 0x4ba8f7
push str.stubbed_out:_setSemiTrans
call fcn.0046cb90
add esp, 4
add edi, 0x18
add ebp, 0x14
cmp edi, 0x60
jb 0x4ba8be
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ebp, 0x68
dec eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
jne 0x4ba8bc
mov eax, dword [0x6828d4]
pop edi
and eax, 0xff
pop ebp
dec eax
cmp eax, 8
ja case.0x4ba92a.6
jmp dword [eax*4 + 0x4ba9c8]
mov dword [esi + 0x580], 0x402020
jmp 0x4ba96b
mov dword [esi + 0x580], 0x200000
jmp 0x4ba96b
mov dword [esi + 0x580], 0x404040
jmp 0x4ba96b
mov dword [esi + 0x580], 0x403030
jmp 0x4ba96b
mov dword [esi + 0x580], 0x202040
mov al, byte [esi + 0x8ea]
mov cx, word [esi + 0x14c]
cmp al, bl
mov dword [esi + 0xe18], 0xf
mov word [esi + 0xe12], cx
je 0x4ba994
mov ecx, esi
call fcn.004c3810
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret