Function at 0x4b37e0
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 [0x75e028]
push ebx
push esi
push edi
mov dword [esp + 0x3c], ecx
jne 0x4b495a
mov edx, dword [eax + 0x34]
cmp edx, 0xffffffff
je 0x4b495a
mov esi, dword [0x7fb2d0]
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 [0x816d04]
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 0x4b3854
mov dword [esp + 0x60], 0xffffffff
jmp 0x4b3865
mov esi, dword [0x8154d8]
movsx eax, cx
mov eax, dword [esi + eax*4 + 4]
mov dword [esp + 0x60], eax
mov eax, dword [0x6b43f4]
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 [0x8154d8]
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 0x4b38ac
mov eax, ecx
test ax, ax
jge 0x4b38b6
or eax, 0xffffffff
jmp 0x4b38c9
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.004698a0
mov byte [esp + 0x2f], al
mov eax, dword [esi + 0x1c]
add esp, 4
cmp eax, 0xffffffff
mov edx, 0xbf800000
jne 0x4b392b
mov ecx, dword [ebp + 8]
movsx eax, word [ecx + 2]
mov ecx, dword [0x6b43f4]
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 0x4b392e
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 0x4b3a61
mov eax, edx
cmp word [eax + 0x2f0], 0xffff
je 0x4b3a61
mov eax, dword [esp + 0x34]
mov ecx, dword [0x7fb2d0]
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 [0x8154d8]
and eax, 0xffff
shl eax, 5
cmp word [edx + 0xc], 1
mov dword [esp + 0x58], ecx
mov ecx, dword [0x816d04]
mov edi, dword [eax + ecx + 0x14]
setg al
mov edx, edi
mov byte [esp + 0x54], al
call fcn.005645f0
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 0x4b3a61
cmp eax, 0xffffffff
je 0x4b39e4
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 0x4b3a61
nop
cmp ebx, 0x12
jae 0x4b3a61
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.004fa970
add esp, 4
test eax, eax
je 0x4b3a52
mov ecx, dword [esp + 0x34]
cmp dword [eax + 0x11c], ecx
jne 0x4b3a52
movsx eax, word [eax + 0x2f0]
cmp ax, 0xffff
je 0x4b3a52
mov edx, dword [esp + 0x54]
push edx
mov ecx, edi
mov dword [esp + ebx*4 + 0x1ec], esi
call fcn.00564630
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 0x4b39f0
mov al, byte [esp + 0x2b]
test al, al
mov ecx, dword [esp + 0x1c]
je 0x4b3a81
cmp dword [ecx + 0x340], 0x3f800000
mov dword [esp + 0x34], 1
je 0x4b3a89
mov dword [esp + 0x34], 0
test dword [ecx + 0x204], 0x80000
jne 0x4b3ab9
fld dword [ecx + 0x344]
fcomp dword [0x612218]
fnstsw ax
test ah, 5
jp 0x4b3ab9
test byte [ecx + 0x208], 0x10
mov dword [esp + 0x50], 1
jne 0x4b3ac1
mov dword [esp + 0x50], 0
test ebx, ebx
mov ecx, dword [ecx + 0x344]
mov dword [esp + 0x38], ecx
je 0x4b495a
jmp 0x4b3ae0
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.004fa970
add esp, 4
test eax, eax
mov dword [esp + 0x30], eax
je 0x4b494e
mov edx, ebx
mov eax, dword [esp + edx*4 + 0x1a0]
cmp eax, 0xffffffff
je 0x4b494e
mov ecx, dword [0x816d04]
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 0x4b3b6d
mov edx, dword [esp + 0x30]
movzx eax, byte [edx + 0x106]
mov edx, dword [0x8154d8]
shr eax, 1
and eax, 2
cmp word [edx + 0xc], 1
jle 0x4b3b56
or eax, 4
jmp 0x4b3b59
and eax, 0xfffffffb
push esi
push eax
lea eax, [ecx + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004afbf0
add esp, 0x14
mov eax, dword [0x68cc5c]
test eax, eax
je 0x4b3b94
cmp dword [esp + 0x60], esi
je 0x4b3b94
mov edx, dword [0x68cbb8]
shr edx, 3
not dl
and dl, 1
mov byte [esp + 0x2b], dl
je 0x4b3f1e
mov eax, dword [0x6b43f4]
mov ecx, dword [eax + 0x58]
test cl, 4
jne 0x4b3f1e
mov edx, dword [esp + 0x30]
fld dword [edx + 0xe4]
fcomp dword [0x6122ec]
fnstsw ax
test ah, 5
jnp 0x4b3bc5
test cl, 8
jne 0x4b3bc5
xor ecx, ecx
jmp 0x4b3bd1
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x10]
test byte [edx + 0x106], 4
je 0x4b3bdf
or ecx, 2
jmp 0x4b3be2
and ecx, 0xfffffffd
mov edx, dword [0x8154d8]
cmp word [edx + 0xc], 1
jle 0x4b3bf4
or ecx, 4
jmp 0x4b3bf7
and ecx, 0xfffffffb
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x10], ecx
jne 0x4b3c27
test cl, 1
mov eax, dword [esp + 0x20]
je 0x4b3c20
cmp dword [eax + 0x10], 0xffffffff
jne 0x4b3c27
mov edx, dword [0x68cca8]
mov edx, dword [edx + 0xc]
mov dword [eax + 0x10], edx
jmp 0x4b3c27
mov dword [eax + 0x10], 0xffffffff
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x124], 0xffffffff
je 0x4b3ef3
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4b3c4c
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
jmp 0x4b3c5a
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 0x4b3c78
mov dword [esp + 0x24], 0xff
mov eax, dword [0x62e5bc]
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 0x4b3eef
fild dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
fld dword [ecx + 0xe4]
test edi, edi
sete dl
fsub st(1)
fcom dword [0x612220]
fnstsw ax
test ah, 5
jp 0x4b3d0f
fstp st(0)
mov dword [esp + 0x40], 0
jmp 0x4b3d2c
fcom dword [0x612224]
fnstsw ax
test ah, 0x41
jne 0x4b3d28
fstp st(0)
mov dword [esp + 0x40], 0x3f800000
jmp 0x4b3d2c
fstp dword [esp + 0x40]
fsubr dword [esp + 0x64]
fcom dword [0x612220]
fnstsw ax
test ah, 5
jp 0x4b3d47
fstp st(0)
fld dword [0x612220]
jmp 0x4b3d5c
fcom dword [0x612224]
fnstsw ax
test ah, 0x41
jne 0x4b3d5c
fstp st(0)
fld dword [0x612224]
fcom dword [esp + 0x40]
fnstsw ax
test ah, 0x41
jne 0x4b3d6b
mov cl, 1
jmp 0x4b3d73
fstp st(0)
xor cl, cl
fld dword [esp + 0x40]
fld dword [esp + 0x40]
fcomp dword [0x612220]
fnstsw ax
test ah, 0x41
jp 0x4b3d95
fcom dword [0x612220]
fnstsw ax
test ah, 0x41
jnp 0x4b3eed
test cl, cl
mov eax, dword [ebx]
mov dword [esp + 0x264], eax
mov dword [esp + 0x268], eax
je 0x4b3db6
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov dword [esp + 0x68], ecx
jmp 0x4b3dbe
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 0x4b3df3
xor ecx, ecx
jmp 0x4b3e3c
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 0x4b3e3c
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 0x4b3e60
xor eax, eax
jmp 0x4b3ea9
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 0x4b3ea9
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 0x4b3eb8
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.004af0c0
mov eax, dword [0x62e5bc]
add esp, 0x18
add ebx, 4
inc edi
cmp edi, eax
mov dword [esp + 0x14], edi
jle 0x4b3ce1
jmp 0x4b3eef
fstp st(0)
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0xbc], 0xffffffff
je 0x4b3f1e
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.004afbf0
add esp, 0x14
mov eax, dword [0x6b43f4]
mov eax, dword [eax + 0x58]
test al, 1
jne 0x4b4154
mov ecx, dword [esp + 0x30]
mov cx, word [ecx + 0x106]
test cl, 8
jne 0x4b3f46
test al, 2
jne 0x4b3f46
xor eax, eax
jmp 0x4b3f52
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x24]
test cl, 4
je 0x4b3f5c
or eax, 2
jmp 0x4b3f5f
and eax, 0xfffffffd
mov edx, dword [0x8154d8]
cmp word [edx + 0xc], 1
jle 0x4b3f71
or eax, 4
jmp 0x4b3f74
and eax, 0xfffffffb
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov dword [esp + 0x24], eax
jne 0x4b3fa3
test al, 1
mov ecx, dword [esp + 0x20]
je 0x4b3f9c
cmp dword [ecx + 0x14], 0xffffffff
jne 0x4b3fa3
mov edx, dword [0x68cca8]
mov edx, dword [edx + 0xc]
mov dword [ecx + 0x14], edx
jmp 0x4b3fa3
mov dword [ecx + 0x14], 0xffffffff
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x214], 0xffffffff
je 0x4b411c
xor eax, eax
mov ax, word [ebx + 0x22e]
test ax, ax
mov edx, eax
jne 0x4b3fc9
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 0x4b3ffd
mov eax, dword [esp + 0x170]
jmp 0x4b402d
fld dword [ecx + 0xe0]
fcomp dword [ebx + 0x254]
fnstsw ax
test ah, 0x41
jp 0x4b4020
mov ecx, dword [esp + 0x16c]
mov dword [esp + 0x170], ecx
jmp 0x4b4034
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.004aea90
add esp, 4
test eax, eax
jge 0x4b4061
xor edi, edi
jmp 0x4b409d
fld dword [esp + 0x10]
push ecx
fmul dword [esi + 0xe0]
fstp dword [esp]
call fcn.004aea90
add esp, 4
cmp eax, 0xff
jle 0x4b4085
mov edi, 0xff
jmp 0x4b409d
fld dword [esp + 0x10]
push ecx
fmul dword [esi + 0xe0]
fstp dword [esp]
call fcn.004aea90
add esp, 4
mov edi, eax
fld dword [esp + 0x10]
push ecx
fmul dword [esi + 0xe0]
fstp dword [esp]
call fcn.004aea90
add esp, 4
test eax, eax
jge 0x4b40bb
xor eax, eax
jmp 0x4b40f5
fld dword [esp + 0x10]
push ecx
fmul dword [esi + 0xe0]
fstp dword [esp]
call fcn.004aea90
add esp, 4
cmp eax, 0xff
jle 0x4b40df
mov eax, 0xff
jmp 0x4b40f5
fld dword [esp + 0x10]
push ecx
fmul dword [esi + 0xe0]
fstp dword [esp]
call fcn.004aea90
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.004af0c0
mov eax, dword [esp + 0x3c]
add esp, 0x18
cmp dword [ebx + 0x1ac], 0xffffffff
je 0x4b4143
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.004afbf0
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 0x4b427b
mov edx, dword [0x6b43f4]
test byte [edx + 0x58], 0x10
jne 0x4b427b
call fcn.004646c0
test al, al
je 0x4b427b
mov eax, dword [0x8154d8]
mov ecx, dword [0x6b43f4]
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 0x4b41ac
or ebx, 1
jmp 0x4b41af
and ebx, 0xfffffffe
mov eax, dword [esp + 0x20]
or ecx, 0xffffffff
test bl, 1
je 0x4b41ce
cmp dword [eax + 0x18], ecx
jne 0x4b41d1
mov edx, dword [0x68cca8]
mov edx, dword [edx + 0xc]
mov dword [eax + 0x18], edx
jmp 0x4b41d1
mov dword [eax + 0x18], ecx
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x29c], ecx
mov esi, dword [esp + 0x3c]
je 0x4b41ff
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x26c]
push ecx
lea edx, [esp + 0x110]
push edx
push esi
call fcn.004afbf0
add esp, 0x14
or ecx, 0xffffffff
cmp dword [edi + 0x304], ecx
je 0x4b4222
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x2d4]
push eax
lea ecx, [esp + 0x110]
push ecx
push esi
call fcn.004afbf0
add esp, 0x14
mov ebx, dword [0x8154d8]
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.004aeb90
mov di, word [ebx + 0xc]
add esp, 0xc
cmp si, 0xffff
je 0x4b427b
push esi
call fcn.004b72b0
cmp di, 1
setg dl
lea eax, [esp + 0xc0]
mov ecx, esi
push edx
call fcn.004b75c0
add esp, 8
mov edi, dword [esp + 0x18]
mov ecx, dword [0x68cc5c]
xor eax, eax
add edi, 0x380
cmp ecx, eax
je 0x4b42a2
mov cl, byte [0x68cbb4]
test cl, cl
je 0x4b42a2
mov ecx, 1
jmp 0x4b42a4
xor ecx, ecx
mov edx, dword [0x8154d8]
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 0x4b4335
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 0x4b4322
test byte [esi + 0x6a], 1
je 0x4b4310
mov ecx, dword [esp + 0x30]
add ecx, 0x188
push ecx
call fcn.004aead0
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.004afbf0
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 0x4b42d0
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 0x4b464c
jmp 0x4b4360
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 0x4b4395
test dword [esp + 0x34], eax
jne 0x4b4395
or edx, 0xffffffff
mov word [edi + ecx*2 + 0x22], dx
jmp 0x4b4398
or edx, 0xffffffff
movsx ecx, word [esi]
mov ebx, dword [esp + 0x34]
mov eax, 1
shl eax, cl
test ebx, eax
je 0x4b459a
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 [0x8154d8]
cmp word [eax + 0xc], 1
fnstsw ax
setle dl
dec edx
and edx, 4
test ah, 0x41
jp 0x4b43e8
or edx, 1
jmp 0x4b43eb
and edx, 0xfffffffe
mov dword [esp + 0x24], edx
mov edx, dword [0x68cca8]
mov ax, word [edx + 0x10]
add word [edi + ecx*2 + 0x22], ax
fld dword [esi + 0x50]
fmul dword [0x612228]
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 0x4b446c
movsx eax, word [esi]
movsx ecx, word [edi + eax*2 + 0x22]
mov edx, dword [0x68cca8]
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.004afbf0
add esp, 0x14
cmp dword [esp + 0x5c], ebx
je 0x4b4630
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 0x4b44b2
xor ecx, ecx
jmp 0x4b44fd
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 0x4b44fd
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 0x4b4526
xor eax, eax
jmp 0x4b4571
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 0x4b4571
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.004af0c0
add esp, 0x18
jmp 0x4b4630
test dword [esp + 0x50], eax
jne 0x4b45d7
cmp word [edi + ecx*2 + 0x22], dx
je 0x4b45d0
fld dword [esi + 0x50]
fmul dword [0x612228]
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 0x4b45d7
mov word [edi + ecx*2 + 0x22], dx
jmp 0x4b4630
mov ebx, dword [0x8154d8]
mov edx, dword [esi + 0x44]
xor eax, eax
cmp word [ebx + 0xc], 1
mov ebx, dword [0x68cca8]
mov bx, word [ebx + 0x10]
setle al
add word [edi + ecx*2 + 0x22], bx
dec eax
and eax, 4
cmp edx, 0xffffffff
je 0x4b4630
movsx ecx, word [esi]
movsx edx, word [edi + ecx*2 + 0x22]
mov ecx, dword [0x68cca8]
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.004afbf0
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 0x4b4360
mov eax, dword [0x68cc5c]
test eax, eax
mov dx, word [esp + 0x34]
mov word [edi + 0x20], dx
je 0x4b494e
mov al, byte [0x68cbb4]
test al, al
je 0x4b4686
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x20]
neg ebx
sbb ebx, ebx
and ebx, 0xff0401e3
add ebx, 0xb0fe0000
jmp 0x4b472a
mov eax, dword [esp + 0x60]
lea esi, [esp + 0x128]
call fcn.00464370
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 [0x68cbb0]
dec eax
cmp eax, 4
ja case.default.0x4b4739
jmp dword [eax*4 + 0x4b4964]
push str.ui_shell_bitmaps_team_icon_ctf
mov edi, 0x6269746d
call fcn.004429a0
mov word [esp + 0x30], 0x1c8
mov word [esp + 0x32], 6
mov dword [esp + 0x4c], 0x3f0ccccd
mov dword [esp + 0x50], 0x3f0ccccd
jmp 0x4b4828
push str.ui_shell_bitmaps_team_icon_king
mov edi, 0x6269746d
call fcn.004429a0
mov word [esp + 0x30], 0x1ca
mov dword [esp + 0x4c], 0x3f07ae14
mov dword [esp + 0x50], 0x3f07ae14
jmp 0x4b4821
push str.ui_shell_bitmaps_team_icon_oddball
mov edi, 0x6269746d
call fcn.004429a0
mov word [esp + 0x30], 0x1c8
mov word [esp + 0x32], 7
mov dword [esp + 0x4c], 0x3f0ccccd
mov dword [esp + 0x50], 0x3f0ccccd
jmp 0x4b4828
push str.ui_shell_bitmaps_team_icon_race
mov edi, 0x6269746d
call fcn.004429a0
mov word [esp + 0x30], 0x1c5
mov word [esp + 0x32], 6
mov dword [esp + 0x4c], 0x3f19999a
mov dword [esp + 0x50], 0x3f19999a
jmp 0x4b4828
push str.ui_shell_bitmaps_team_icon_slayer
mov edi, 0x6269746d
call fcn.004429a0
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 [0x62e5b4], eax
mov eax, dword [0x62e5b4]
push 0
xor edi, edi
call fcn.0043f2a0
mov esi, eax
push str.ui_shell_bitmaps_team_background
mov edi, 0x6269746d
mov dword [esp + 0x14], esi
call fcn.004429a0
push 0
xor edi, edi
mov dword [0x62e5b8], eax
call fcn.0043f2a0
add esp, 0xc
test esi, esi
je 0x4b494e
test eax, eax
je 0x4b494e
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.004b0250
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.004b0250
add esp, 0x30
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4b3ad5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret