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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax + 2]
cmp cx, word [0x7c2ca8]
push ebx
push esi
push edi
mov dword [esp + 0x3c], ecx
jne 0x4b152a
mov edx, dword [eax + 0x34]
cmp edx, 0xffffffff
je 0x4b152a
mov esi, dword [0x85ff50]
mov esi, dword [esi + 0x34]
mov eax, edx
and eax, 0xffff
lea eax, [eax + eax*2]
mov eax, dword [esi + eax*4 + 8]
mov esi, dword [0x87b7b4]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
and eax, 0xffff
shl eax, 5
cmp cx, 0xffff
mov ebx, dword [eax + esi + 0x14]
jne 0x4b0424
mov dword [esp + 0x60], 0xffffffff
jmp 0x4b0435
mov esi, dword [0x87a018]
movsx eax, cx
mov eax, dword [esi + eax*4 + 4]
mov dword [esp + 0x60], eax
mov eax, dword [0x719354]
movsx esi, cx
imul esi, esi, 0x58
add esi, eax
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x1ec]
mov dword [esp + 0x1e8], edx
rep stosd dword es:[edi], eax
mov eax, dword [0x87a018]
xor ecx, ecx
cmp word [eax + 0xc], 1
mov eax, dword [ebx + 0x2a8]
setg cl
dec eax
mov dword [esp + 0x20], esi
movsx ecx, cx
cmp ecx, eax
jg 0x4b047c
mov eax, ecx
test ax, ax
jge 0x4b0486
or eax, 0xffffffff
jmp 0x4b0499
movsx eax, ax
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 0x2ac]
shl ecx, 4
mov eax, dword [ecx + eax + 0xc]
mov dword [esp + 0x1a0], eax
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x1a4]
push edx
rep stosd dword es:[edi], eax
mov ebx, 1
call fcn.00466cd0
mov byte [esp + 0x2f], al
mov eax, dword [esi + 0x1c]
add esp, 4
cmp eax, 0xffffffff
mov edx, 0xbf800000
jne 0x4b04fb
mov ecx, dword [ebp + 8]
movsx eax, word [ecx + 2]
mov ecx, dword [0x719354]
imul eax, eax, 0x58
add eax, ecx
or ecx, 0xffffffff
mov word [eax + 0x22], cx
mov dword [eax + 4], edx
mov dword [eax], edx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 8], edx
mov dword [eax + 0x1c], ecx
jmp 0x4b04fe
or ecx, 0xffffffff
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edx + 0x11c]
cmp eax, ecx
mov dword [esp + 0x34], eax
je 0x4b0631
mov eax, edx
cmp word [eax + 0x2f0], 0xffff
je 0x4b0631
mov eax, dword [esp + 0x34]
mov ecx, dword [0x85ff50]
mov ecx, dword [ecx + 0x34]
and eax, 0xffff
lea edx, [eax + eax*2]
mov esi, dword [ecx + edx*4 + 8]
mov eax, dword [esi]
mov edx, dword [0x87a018]
and eax, 0xffff
shl eax, 5
cmp word [edx + 0xc], 1
mov dword [esp + 0x58], ecx
mov ecx, dword [0x87b7b4]
mov edi, dword [eax + ecx + 0x14]
setg al
mov edx, edi
mov byte [esp + 0x54], al
call fcn.005610a0
mov ecx, dword [esp + 0x1c]
movsx edx, word [ecx + 0x2f0]
mov ecx, dword [edi + 0x2e8]
imul edx, edx, 0x11c
test byte [edx + ecx], 4
je 0x4b0631
cmp eax, 0xffffffff
je 0x4b05b4
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1ec], edx
mov dword [esp + 0x1a4], eax
mov ebx, 2
mov esi, dword [esi + 0x118]
cmp esi, 0xffffffff
je 0x4b0631
nop
cmp ebx, 0x12
jae 0x4b0631
mov ecx, dword [esp + 0x58]
mov eax, esi
and eax, 0xffff
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*4 + 8]
push 3
mov ecx, esi
mov dword [esp + 0x54], edx
call fcn.004f7060
add esp, 4
test eax, eax
je 0x4b0622
mov ecx, dword [esp + 0x34]
cmp dword [eax + 0x11c], ecx
jne 0x4b0622
movsx eax, word [eax + 0x2f0]
cmp ax, 0xffff
je 0x4b0622
mov edx, dword [esp + 0x54]
push edx
mov ecx, edi
mov dword [esp + ebx*4 + 0x1ec], esi
call fcn.005610e0
add esp, 4
mov dword [esp + ebx*4 + 0x1a0], eax
inc ebx
mov eax, dword [esp + 0x50]
mov esi, dword [eax + 0x114]
cmp esi, 0xffffffff
jne 0x4b05c0
mov al, byte [esp + 0x2b]
test al, al
mov ecx, dword [esp + 0x1c]
je 0x4b0651
cmp dword [ecx + 0x340], 0x3f800000
mov dword [esp + 0x34], 1
je 0x4b0659
mov dword [esp + 0x34], 0
test dword [ecx + 0x204], 0x80000
jne 0x4b0689
fld dword [ecx + 0x344]
fcomp dword [0x672af0]
fnstsw ax
test ah, 5
jp 0x4b0689
test byte [ecx + 0x208], 0x10
mov dword [esp + 0x50], 1
jne 0x4b0691
mov dword [esp + 0x50], 0
test ebx, ebx
mov ecx, dword [ecx + 0x344]
mov dword [esp + 0x38], ecx
je 0x4b152a
jmp 0x4b06b0
mov ebx, dword [esp + 0x1c]
lea esp, [esp]
mov ecx, dword [esp + ebx*4 + 0x1e4]
dec ebx
push 3
mov dword [esp + 0x20], ebx
call fcn.004f7060
add esp, 4
test eax, eax
mov dword [esp + 0x30], eax
je 0x4b151e
mov edx, ebx
mov eax, dword [esp + edx*4 + 0x1a0]
cmp eax, 0xffffffff
je 0x4b151e
mov ecx, dword [0x87b7b4]
and eax, 0xffff
shl eax, 5
mov ecx, dword [eax + ecx + 0x14]
mov eax, dword [ecx + 0x54]
or esi, 0xffffffff
cmp eax, esi
mov dword [esp + 0x18], ecx
je 0x4b073d
mov edx, dword [esp + 0x30]
movzx eax, byte [edx + 0x106]
mov edx, dword [0x87a018]
shr eax, 1
and eax, 2
cmp word [edx + 0xc], 1
jle 0x4b0726
or eax, 4
jmp 0x4b0729
and eax, 0xfffffffb
push esi
push eax
lea eax, [ecx + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004ac7c0
add esp, 0x14
mov eax, dword [0x6f1c48]
test eax, eax
je 0x4b0764
cmp dword [esp + 0x60], esi
je 0x4b0764
mov edx, dword [0x6f1be8]
shr edx, 3
not dl
and dl, 1
mov byte [esp + 0x2b], dl
je 0x4b0aee
mov eax, dword [0x719354]
mov ecx, dword [eax + 0x58]
test cl, 4
jne 0x4b0aee
mov edx, dword [esp + 0x30]
fld dword [edx + 0xe4]
fcomp dword [0x672bc4]
fnstsw ax
test ah, 5
jnp 0x4b0795
test cl, 8
jne 0x4b0795
xor ecx, ecx
jmp 0x4b07a1
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x10]
test byte [edx + 0x106], 4
je 0x4b07af
or ecx, 2
jmp 0x4b07b2
and ecx, 0xfffffffd
mov edx, dword [0x87a018]
cmp word [edx + 0xc], 1
jle 0x4b07c4
or ecx, 4
jmp 0x4b07c7
and ecx, 0xfffffffb
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x10], ecx
jne 0x4b07f7
test cl, 1
mov eax, dword [esp + 0x20]
je 0x4b07f0
cmp dword [eax + 0x10], 0xffffffff
jne 0x4b07f7
mov edx, dword [0x6f1c94]
mov edx, dword [edx + 0xc]
mov dword [eax + 0x10], edx
jmp 0x4b07f7
mov dword [eax + 0x10], 0xffffffff
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x124], 0xffffffff
je 0x4b0ac3
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4b081c
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
jmp 0x4b082a
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0xe4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x18]
xor eax, eax
mov ax, word [ecx + 0x13e]
test ax, ax
mov dword [esp + 0x24], eax
jne 0x4b0848
mov dword [esp + 0x24], 0xff
mov eax, dword [0x692fcc]
lea esi, [ecx + 0xf4]
mov ecx, 0x1a
lea edi, [esp + 0x230]
mov dword [esp + 0xc], esi
rep movsd dword es:[edi], dword [esi]
xor edi, edi
test eax, eax
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0xff0000
mov dword [esp + 0xf8], 0xff00
mov dword [esp + 0xfc], 0xffff00
mov dword [esp + 0x100], 0x7f00ff
lea ebx, [esp + 0xf0]
mov dword [esp + 0x14], edi
jl 0x4b0abf
fild dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
fld dword [ecx + 0xe4]
test edi, edi
sete dl
fsub st(1)
fcom dword [0x672af8]
fnstsw ax
test ah, 5
jp 0x4b08df
fstp st(0)
mov dword [esp + 0x40], 0
jmp 0x4b08fc
fcom dword [0x672afc]
fnstsw ax
test ah, 0x41
jne 0x4b08f8
fstp st(0)
mov dword [esp + 0x40], 0x3f800000
jmp 0x4b08fc
fstp dword [esp + 0x40]
fsubr dword [esp + 0x64]
fcom dword [0x672af8]
fnstsw ax
test ah, 5
jp 0x4b0917
fstp st(0)
fld dword [0x672af8]
jmp 0x4b092c
fcom dword [0x672afc]
fnstsw ax
test ah, 0x41
jne 0x4b092c
fstp st(0)
fld dword [0x672afc]
fcom dword [esp + 0x40]
fnstsw ax
test ah, 0x41
jne 0x4b093b
mov cl, 1
jmp 0x4b0943
fstp st(0)
xor cl, cl
fld dword [esp + 0x40]
fld dword [esp + 0x40]
fcomp dword [0x672af8]
fnstsw ax
test ah, 0x41
jp 0x4b0965
fcom dword [0x672af8]
fnstsw ax
test ah, 0x41
jnp 0x4b0abd
test cl, cl
mov eax, dword [ebx]
mov dword [esp + 0x264], eax
mov dword [esp + 0x268], eax
je 0x4b0986
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov dword [esp + 0x68], ecx
jmp 0x4b098e
mov dword [esp + 0x68], 0xbf800000
movsx eax, word [esp + 0x24]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fst dword [esp + 0x14]
fmulp st(1)
fst dword [esp + 0x5c]
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fistp dword [esp + 0xa4]
mov eax, dword [esp + 0xa4]
test eax, eax
jge 0x4b09c3
xor ecx, ecx
jmp 0x4b0a0c
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x9c], ecx
fld dword [esp + 0x9c]
fistp dword [esp + 0x98]
mov eax, dword [esp + 0x98]
mov ecx, 0xff
cmp eax, ecx
jg 0x4b0a0c
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xb8], eax
fld dword [esp + 0xb8]
fistp dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
fld dword [esp + 0x14]
fmul dword [esp + 0x40]
fst dword [esp + 0x14]
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fistp dword [esp + 0x7c]
mov eax, dword [esp + 0x7c]
test eax, eax
jge 0x4b0a30
xor eax, eax
jmp 0x4b0a79
mov eax, dword [esp + 0x14]
mov dword [esp + 0x8c], eax
fld dword [esp + 0x8c]
fistp dword [esp + 0xac]
mov esi, dword [esp + 0xac]
mov eax, 0xff
cmp esi, eax
jg 0x4b0a79
mov eax, dword [esp + 0x14]
mov dword [esp + 0x94], eax
fld dword [esp + 0x94]
fistp dword [esp + 0xb4]
mov eax, dword [esp + 0xb4]
test dl, dl
mov esi, dword [esp + 0xc]
jne 0x4b0a88
lea esi, [esp + 0x230]
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x18]
push edx
push ecx
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.004abc90
mov eax, dword [0x692fcc]
add esp, 0x18
add ebx, 4
inc edi
cmp edi, eax
mov dword [esp + 0x14], edi
jle 0x4b08b1
jmp 0x4b0abf
fstp st(0)
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0xbc], 0xffffffff
je 0x4b0aee
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 0x10]
push edx
mov edx, dword [esp + 0x40]
push ecx
lea ecx, [eax + 0x8c]
push ecx
push eax
push edx
call fcn.004ac7c0
add esp, 0x14
mov eax, dword [0x719354]
mov eax, dword [eax + 0x58]
test al, 1
jne 0x4b0d24
mov ecx, dword [esp + 0x30]
mov cx, word [ecx + 0x106]
test cl, 8
jne 0x4b0b16
test al, 2
jne 0x4b0b16
xor eax, eax
jmp 0x4b0b22
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x24]
test cl, 4
je 0x4b0b2c
or eax, 2
jmp 0x4b0b2f
and eax, 0xfffffffd
mov edx, dword [0x87a018]
cmp word [edx + 0xc], 1
jle 0x4b0b41
or eax, 4
jmp 0x4b0b44
and eax, 0xfffffffb
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov dword [esp + 0x24], eax
jne 0x4b0b73
test al, 1
mov ecx, dword [esp + 0x20]
je 0x4b0b6c
cmp dword [ecx + 0x14], 0xffffffff
jne 0x4b0b73
mov edx, dword [0x6f1c94]
mov edx, dword [edx + 0xc]
mov dword [ecx + 0x14], edx
jmp 0x4b0b73
mov dword [ecx + 0x14], 0xffffffff
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x214], 0xffffffff
je 0x4b0cec
xor eax, eax
mov ax, word [ebx + 0x22e]
test ax, ax
mov edx, eax
jne 0x4b0b99
mov edx, 8
lea esi, [ebx + 0x1e4]
mov ecx, 0x1a
lea edi, [esp + 0x138]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
fld dword [ecx + 0xe0]
fcomp dword [ebx + 0x250]
fnstsw ax
test ah, 1
jne 0x4b0bcd
mov eax, dword [esp + 0x170]
jmp 0x4b0bfd
fld dword [ecx + 0xe0]
fcomp dword [ebx + 0x254]
fnstsw ax
test ah, 0x41
jp 0x4b0bf0
mov ecx, dword [esp + 0x16c]
mov dword [esp + 0x170], ecx
jmp 0x4b0c04
mov eax, dword [ebx + 0x24c]
mov dword [esp + 0x170], eax
mov dword [esp + 0x16c], eax
mov esi, dword [esp + 0x30]
movsx edx, dx
mov dword [esp + 0xc], edx
push ecx
fild dword [esp + 0x10]
fst dword [esp + 0x14]
fmul dword [esi + 0xe0]
fstp dword [esp]
call fcn.004ab660
add esp, 4
test eax, eax
jge 0x4b0c31
xor edi, edi
jmp 0x4b0c6d
fld dword [esp + 0x10]
push ecx
fmul dword [esi + 0xe0]
fstp dword [esp]
call fcn.004ab660
add esp, 4
cmp eax, 0xff
jle 0x4b0c55
mov edi, 0xff
jmp 0x4b0c6d
fld dword [esp + 0x10]
push ecx
fmul dword [esi + 0xe0]
fstp dword [esp]
call fcn.004ab660
add esp, 4
mov edi, eax
fld dword [esp + 0x10]
push ecx
fmul dword [esi + 0xe0]
fstp dword [esp]
call fcn.004ab660
add esp, 4
test eax, eax
jge 0x4b0c8b
xor eax, eax
jmp 0x4b0cc5
fld dword [esp + 0x10]
push ecx
fmul dword [esi + 0xe0]
fstp dword [esp]
call fcn.004ab660
add esp, 4
cmp eax, 0xff
jle 0x4b0caf
mov eax, 0xff
jmp 0x4b0cc5
fld dword [esp + 0x10]
push ecx
fmul dword [esi + 0xe0]
fstp dword [esp]
call fcn.004ab660
add esp, 4
mov ecx, dword [esi + 0xe0]
mov edx, dword [esp + 0x24]
push ecx
push 0xbf800000
push edx
push edi
push eax
push ebx
lea esi, [esp + 0x150]
call fcn.004abc90
mov eax, dword [esp + 0x3c]
add esp, 0x18
cmp dword [ebx + 0x1ac], 0xffffffff
je 0x4b0d13
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x14]
mov ecx, dword [esp + 0x3c]
push edx
push eax
lea eax, [ebx + 0x17c]
push eax
push ebx
push ecx
call fcn.004ac7c0
add esp, 0x14
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0xe0]
mov ecx, dword [esp + 0x20]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4b0e4b
mov edx, dword [0x719354]
test byte [edx + 0x58], 0x10
jne 0x4b0e4b
call fcn.00463770
test al, al
je 0x4b0e4b
mov eax, dword [0x87a018]
mov ecx, dword [0x719354]
xor ebx, ebx
cmp word [eax + 0xc], 1
mov al, byte [ecx + 0x58]
setle bl
mov word [esp + 0x104], 2
dec ebx
and ebx, 4
test al, 0x20
je 0x4b0d7c
or ebx, 1
jmp 0x4b0d7f
and ebx, 0xfffffffe
mov eax, dword [esp + 0x20]
or ecx, 0xffffffff
test bl, 1
je 0x4b0d9e
cmp dword [eax + 0x18], ecx
jne 0x4b0da1
mov edx, dword [0x6f1c94]
mov edx, dword [edx + 0xc]
mov dword [eax + 0x18], edx
jmp 0x4b0da1
mov dword [eax + 0x18], ecx
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x29c], ecx
mov esi, dword [esp + 0x3c]
je 0x4b0dcf
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x26c]
push ecx
lea edx, [esp + 0x110]
push edx
push esi
call fcn.004ac7c0
add esp, 0x14
or ecx, 0xffffffff
cmp dword [edi + 0x304], ecx
je 0x4b0df2
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x2d4]
push eax
lea ecx, [esp + 0x110]
push ecx
push esi
call fcn.004ac7c0
add esp, 0x14
mov ebx, dword [0x87a018]
cmp word [ebx + 0xc], 1
lea edx, [esp + 0xbc]
push edx
lea ecx, [esp + 0x108]
push 0
setg al
push ecx
lea edx, [edi + 0x35c]
xor ecx, ecx
call fcn.004ab760
mov di, word [ebx + 0xc]
add esp, 0xc
cmp si, 0xffff
je 0x4b0e4b
push esi
call fcn.004b3e80
cmp di, 1
setg dl
lea eax, [esp + 0xc0]
mov ecx, esi
push edx
call fcn.004b4190
add esp, 8
mov edi, dword [esp + 0x18]
mov ecx, dword [0x6f1c48]
xor eax, eax
add edi, 0x380
cmp ecx, eax
je 0x4b0e72
mov cl, byte [0x6f1be4]
test cl, cl
je 0x4b0e72
mov ecx, 1
jmp 0x4b0e74
xor ecx, ecx
mov edx, dword [0x87a018]
xor ebx, ebx
cmp word [edx + 0xc], 1
mov edx, dword [edi + 0x24]
setle bl
mov dword [esp + 0x14], eax
dec ebx
and ebx, 4
cmp edx, eax
jle 0x4b0f05
movzx ecx, cx
mov dword [esp + 0xc], ecx
lea ebx, [ebx]
mov ecx, dword [edi + 0x28]
imul eax, eax, 0x84
add eax, ecx
mov esi, eax
mov cl, byte [esi + 0x68]
mov eax, dword [esp + 0xc]
mov edx, 1
shl edx, cl
test eax, edx
je 0x4b0ef2
test byte [esi + 0x6a], 1
je 0x4b0ee0
mov ecx, dword [esp + 0x30]
add ecx, 0x188
push ecx
call fcn.004ab6a0
add esp, 4
or eax, 0xff000000
mov dword [esi + 0x34], eax
mov edx, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
push esi
push edi
push edx
call fcn.004ac7c0
add esp, 0x14
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x24]
inc eax
mov dword [esp + 0x14], eax
movsx eax, ax
cmp eax, ecx
jl 0x4b0ea0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3cc]
mov edi, dword [esp + 0x20]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x14], esi
jle 0x4b121c
jmp 0x4b0f30
mov ecx, dword [esp + 0x18]
imul esi, esi, 0x144
mov ebx, dword [ecx + 0x3d0]
movsx ecx, word [esi + ebx]
movzx edx, word [edi + 0x20]
add esi, ebx
mov eax, 1
shl eax, cl
test eax, edx
je 0x4b0f65
test dword [esp + 0x34], eax
jne 0x4b0f65
or edx, 0xffffffff
mov word [edi + ecx*2 + 0x22], dx
jmp 0x4b0f68
or edx, 0xffffffff
movsx ecx, word [esi]
mov ebx, dword [esp + 0x34]
mov eax, 1
shl eax, cl
test ebx, eax
je 0x4b116a
mov eax, dword [esi + 0x44]
fld dword [esp + ecx*4 + 0x38]
mov edx, dword [esi + 0xac]
fcomp dword [esi + 0xe4]
mov dword [esp + 0x5c], edx
xor edx, edx
mov dword [esp + 0x44], eax
mov eax, dword [0x87a018]
cmp word [eax + 0xc], 1
fnstsw ax
setle dl
dec edx
and edx, 4
test ah, 0x41
jp 0x4b0fb8
or edx, 1
jmp 0x4b0fbb
and edx, 0xfffffffe
mov dword [esp + 0x24], edx
mov edx, dword [0x6f1c94]
mov ax, word [edx + 0x10]
add word [edi + ecx*2 + 0x22], ax
fld dword [esi + 0x50]
fmul dword [0x672b00]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fistp dword [esp + 0xc4]
movsx ecx, word [esi]
movsx eax, word [edi + ecx*2 + 0x22]
mov edx, dword [esp + 0xc4]
lea ecx, [edi + ecx*2 + 0x22]
lea ebx, [edx + edx]
cdq
idiv ebx
mov eax, dword [esp + 0x44]
or ebx, 0xffffffff
cmp eax, ebx
mov word [ecx], dx
je 0x4b103c
movsx eax, word [esi]
movsx ecx, word [edi + eax*2 + 0x22]
mov edx, dword [0x6f1c94]
mov eax, dword [edx + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esi + 0x14]
push edx
push eax
push ecx
call fcn.004ac7c0
add esp, 0x14
cmp dword [esp + 0x5c], ebx
je 0x4b1200
movsx edx, word [esi + 0xc6]
movsx eax, word [esi]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [esp + eax*4 + 0x38]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fistp dword [esp + 0xa8]
mov eax, dword [esp + 0xa8]
test eax, eax
jge 0x4b1082
xor ecx, ecx
jmp 0x4b10cd
movsx ecx, word [esi]
fld dword [esp + 0x10]
fmul dword [esp + ecx*4 + 0x38]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fistp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
mov ecx, 0xff
cmp eax, ecx
jg 0x4b10cd
movsx edx, word [esi]
fld dword [esp + 0x10]
fmul dword [esp + edx*4 + 0x38]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fistp dword [esp + 0xb0]
mov ecx, dword [esp + 0xb0]
movsx eax, word [esi]
fld dword [esp + 0x10]
fmul dword [esp + eax*4 + 0x38]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fistp dword [esp + 0xc0]
mov eax, dword [esp + 0xc0]
test eax, eax
jge 0x4b10f6
xor eax, eax
jmp 0x4b1141
movsx edx, word [esi]
fld dword [esp + 0x10]
fmul dword [esp + edx*4 + 0x38]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fistp dword [esp + 0xa0]
mov edx, dword [esp + 0xa0]
mov eax, 0xff
cmp edx, eax
jg 0x4b1141
movsx eax, word [esi]
fld dword [esp + 0x10]
fmul dword [esp + eax*4 + 0x38]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fistp dword [esp + 0x80]
mov eax, dword [esp + 0x80]
movsx edx, word [esi]
mov edx, dword [esp + edx*4 + 0x38]
push edx
mov edx, dword [esp + 0x28]
push 0xbf800000
push edx
push ecx
push eax
mov eax, dword [esp + 0x2c]
add esi, 0x7c
push eax
call fcn.004abc90
add esp, 0x18
jmp 0x4b1200
test dword [esp + 0x50], eax
jne 0x4b11a7
cmp word [edi + ecx*2 + 0x22], dx
je 0x4b11a0
fld dword [esi + 0x50]
fmul dword [0x672b00]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fistp dword [esp + 0x88]
movsx ecx, word [esi]
movsx eax, word [edi + ecx*2 + 0x22]
cmp eax, dword [esp + 0x88]
jl 0x4b11a7
mov word [edi + ecx*2 + 0x22], dx
jmp 0x4b1200
mov ebx, dword [0x87a018]
mov edx, dword [esi + 0x44]
xor eax, eax
cmp word [ebx + 0xc], 1
mov ebx, dword [0x6f1c94]
mov bx, word [ebx + 0x10]
setle al
add word [edi + ecx*2 + 0x22], bx
dec eax
and eax, 4
cmp edx, 0xffffffff
je 0x4b1200
movsx ecx, word [esi]
movsx edx, word [edi + ecx*2 + 0x22]
mov ecx, dword [0x6f1c94]
mov ecx, dword [ecx + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x18]
push ecx
or eax, 1
push eax
mov eax, dword [esp + 0x44]
add esi, 0x14
push esi
push edx
push eax
call fcn.004ac7c0
add esp, 0x14
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
movsx esi, ax
mov dword [esp + 0x14], eax
cmp esi, dword [ecx + 0x3cc]
jl 0x4b0f30
mov eax, dword [0x6f1c48]
test eax, eax
mov dx, word [esp + 0x34]
mov word [edi + 0x20], dx
je 0x4b151e
mov al, byte [0x6f1be4]
test al, al
je 0x4b1256
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x20]
neg ebx
sbb ebx, ebx
and ebx, 0xff0401e3
add ebx, 0xb0fe0000
jmp 0x4b12fa
mov eax, dword [esp + 0x60]
lea esi, [esp + 0x128]
call fcn.00463420
mov ecx, dword [eax]
mov dword [esp + 0xcc], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xd0], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0xcc]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x90], 0x437f0000
mov edx, dword [esp + 0xc]
fld dword [edx]
fld dword [edx + 4]
fld dword [edx + 8]
fld dword [esp + 0x90]
fmul st(3), st(0)
fmul st(2), st(0)
fmulp st(1)
fistp dword [esp + 0x54]
and dword [esp + 0x54], 0xff
mov edx, dword [esp + 0x54]
fistp dword [esp + 0x54]
and dword [esp + 0x54], 0xff
shl dword [esp + 0x54], 8
or edx, dword [esp + 0x54]
fistp dword [esp + 0x54]
and dword [esp + 0x54], 0xff
shl dword [esp + 0x54], 0x10
or edx, dword [esp + 0x54]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x54]
or ebx, 0xff000000
mov eax, dword [0x6f1be0]
dec eax
cmp eax, 4
ja case.default.0x4b1309
jmp dword [eax*4 + 0x4b1534]
push str.ui_shell_bitmaps_team_icon_ctf
mov edi, 0x6269746d
call fcn.00442530
mov word [esp + 0x30], 0x1c8
mov word [esp + 0x32], 6
mov dword [esp + 0x4c], 0x3f0ccccd
mov dword [esp + 0x50], 0x3f0ccccd
jmp 0x4b13f8
push str.ui_shell_bitmaps_team_icon_king
mov edi, 0x6269746d
call fcn.00442530
mov word [esp + 0x30], 0x1ca
mov dword [esp + 0x4c], 0x3f07ae14
mov dword [esp + 0x50], 0x3f07ae14
jmp 0x4b13f1
push str.ui_shell_bitmaps_team_icon_oddball
mov edi, 0x6269746d
call fcn.00442530
mov word [esp + 0x30], 0x1c8
mov word [esp + 0x32], 7
mov dword [esp + 0x4c], 0x3f0ccccd
mov dword [esp + 0x50], 0x3f0ccccd
jmp 0x4b13f8
push str.ui_shell_bitmaps_team_icon_race
mov edi, 0x6269746d
call fcn.00442530
mov word [esp + 0x30], 0x1c5
mov word [esp + 0x32], 6
mov dword [esp + 0x4c], 0x3f19999a
mov dword [esp + 0x50], 0x3f19999a
jmp 0x4b13f8
push str.ui_shell_bitmaps_team_icon_slayer
mov edi, 0x6269746d
call fcn.00442530
mov word [esp + 0x30], 0x1c9
mov dword [esp + 0x4c], 0x3f000000
mov dword [esp + 0x50], 0x3f000000
mov word [esp + 0x32], 8
add esp, 4
mov dword [0x692fc4], eax
mov eax, dword [0x692fc4]
push 0
xor edi, edi
call fcn.0043f290
mov esi, eax
push str.ui_shell_bitmaps_team_background
mov edi, 0x6269746d
mov dword [esp + 0x14], esi
call fcn.00442530
push 0
xor edi, edi
mov dword [0x692fc8], eax
call fcn.0043f290
add esp, 0xc
test esi, esi
je 0x4b151e
test eax, eax
je 0x4b151e
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0xec]
push ecx
push eax
push edi
lea esi, [esp + 0xf0]
lea eax, [esp + 0x70]
mov dword [esp + 0x100], edi
mov dword [esp + 0xf8], edi
mov dword [esp + 0x104], 0x3f800000
mov dword [esp + 0xfc], 0x3f800000
mov word [esp + 0x70], 0x1bd
mov word [esp + 0x72], 6
mov dword [esp + 0xf0], 0x3f19999a
mov dword [esp + 0xf4], 0x3f23d70a
mov dword [esp + 0x84], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], 0x43000000
mov dword [esp + 0x90], 0x42800000
call fcn.004ace20
mov ecx, dword [esp + 0x24]
push ebx
push edi
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x104]
push eax
push ecx
push edi
lea esi, [esp + 0x78]
lea eax, [esp + 0x5c]
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], 0x42800000
mov dword [esp + 0xa8], 0x42800000
call fcn.004ace20
add esp, 0x30
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4b06a5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret