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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
mov dword [esp + 0x14], 0
push dword [ebp + 0xc]
push esi
call fcn.004b3870
add esp, 0xc
test eax, eax
js 0x4b47a2
mov ecx, esi
call fcn.004b28c0
test eax, eax
jne 0x4b47a2
lea ebx, [esi + 0x78]
test ebx, ebx
je 0x4b457f
cmp dword [ebx], 0
je 0x4b457f
push 0
lea edx, [esp + 0x3c]
mov ecx, ebx
call fcn.004c36c0
add esp, 4
test eax, eax
jle 0x4b4574
mov ecx, dword [esi + 0x60]
lea edx, [esp + 0x38]
mov edi, dword [esi + 0x48]
shl ecx, 5
add ecx, edi
call fcn.004b6720
mov ecx, eax
mov dword [esp + 0x20], ecx
test ecx, ecx
jns 0x4b43a4
test ebx, ebx
je 0x4b457f
cmp dword [ebx], 0
je 0x4b4340
push 1
xor edx, edx
mov ecx, ebx
call fcn.004c36c0
add esp, 4
jmp 0x4b4340
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b43b8
add eax, ecx
sar eax, 2
cdq
add dword [esi + 0x50], eax
adc dword [esi + 0x54], edx
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4b43c4
mov eax, dword [eax + 4]
jmp 0x4b43c7
or eax, 0xffffffff
add eax, ecx
sar eax, 2
cdq
add eax, dword [esi + 0x50]
adc edx, dword [esi + 0x54]
cmp edx, dword [ebp + 0x10]
jg 0x4b467e
jl 0x4b43e7
cmp eax, dword [ebp + 0xc]
jae 0x4b467e
test ebx, ebx
je 0x4b43fe
cmp dword [ebx], 0
je 0x4b43fe
push 1
xor edx, edx
mov ecx, ebx
call fcn.004c36c0
add esp, 4
mov eax, dword [esi + 0x290]
lea edi, [esi + 0x250]
mov ecx, dword [eax + 0x68]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov ecx, edi
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.004b4c60
mov eax, dword [esp + 0x38]
lea ecx, [edi + 4]
xorps xmm0, xmm0
mov edx, 1
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], eax
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
call fcn.004c3a30
test eax, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
jne 0x4b44f6
mov edx, dword [esp + 0x18]
lea ecx, [edi + 4]
mov edx, dword [edx + 0x2c]
call fcn.004c3a30
cmp eax, 0xffffffff
je 0x4b44f6
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x28], eax
mov eax, dword [ecx + eax*4 + 0x20]
test eax, eax
je 0x4b44f6
mov eax, dword [eax]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x4b44b8
mov edx, 1
lea ecx, [edi + 4]
call fcn.004c3a30
mov edx, 1
mov dword [edi + 0x18], eax
lea ecx, [edi + 4]
call fcn.004c3a30
mov dword [edi + 0x20], eax
cmp eax, 0xffffffff
je 0x4b44f6
jmp 0x4b44c6
mov dword [edi + 0x18], 0
mov dword [edi + 0x20], 0
mov eax, dword [esp + 0x10]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x54]
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x24], 0
mov dword [edi], 0
lea ecx, [esi + 0x1e0]
mov edx, edi
call fcn.004b5500
mov edi, dword [esp + 0x14]
cmp edi, 0xffffffff
jl 0x4b4567
mov ecx, dword [esp + 0x10]
jg 0x4b4517
cmp ecx, 0xffffffff
jbe 0x4b4567
mov edx, dword [esi + 0x60]
mov eax, edx
mov ebx, dword [esi + 0x44]
shl eax, 4
sub ecx, dword [eax + ebx]
sbb edi, dword [eax + ebx + 4]
lea ebx, [esi + 0x78]
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], edi
test edi, edi
jg 0x4b454a
jl 0x4b453c
test ecx, ecx
jae 0x4b454a
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
test edx, edx
jle 0x4b4567
mov ecx, dword [esi + 0x44]
add ecx, 8
mov eax, dword [ecx]
lea ecx, [ecx + 0x10]
add dword [esi + 0x50], eax
mov eax, dword [ecx - 0xc]
adc dword [esi + 0x54], eax
sub edx, 1
jne 0x4b4554
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
jmp 0x4b4340
jns 0x4b457f
cmp eax, 0xfffffffd
jne 0x4b467e
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x30]
mov ecx, esi
call fcn.004b1b20
add esp, 8
test edx, edx
jl 0x4b467e
jg 0x4b45a3
test eax, eax
jb 0x4b467e
mov edi, dword [esp + 0x28]
test byte [edi + 5], 2
je 0x4b45cc
lea ecx, [esi + 0x1e0]
call fcn.004b5090
lea ecx, [esi + 0x250]
call fcn.004b4cd0
mov dword [esi + 0x58], 2
jmp 0x4b45d6
cmp dword [esi + 0x58], 3
jge 0x4b466e
movzx edx, byte [edi + 0x11]
movzx eax, byte [edi + 0x10]
mov ecx, dword [esi + 0x34]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 0xf]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 0xe]
shl edx, 8
or edx, eax
xor eax, eax
test ecx, ecx
jle 0x4b4611
mov ecx, dword [esi + 0x40]
cmp dword [ecx], edx
je 0x4b460e
inc eax
add ecx, 4
cmp eax, dword [esi + 0x34]
jl 0x4b4601
mov ecx, dword [esi + 0x34]
cmp eax, ecx
je 0x4b4340
mov dword [esi + 0x60], eax
mov dword [esi + 0x58], 3
movzx ecx, byte [edi + 0x11]
movzx eax, byte [edi + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xe]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x5c], ecx
test ebx, ebx
je 0x4b465b
cmp dword [ebx], 0
je 0x4b465b
mov ecx, ebx
call fcn.004c3610
mov dword [ebx + 0x150], edx
mov ecx, esi
call fcn.004b28c0
test eax, eax
jne 0x4b47a2
mov dword [esp + 0x10], eax
lea edx, [esp + 0x28]
mov ecx, ebx
call fcn.004c3310
jmp 0x4b4340
mov eax, dword [esi + 0x48]
xorps xmm0, xmm0
mov edx, dword [ebp + 0x10]
movups xmmword [esi + 0x68], xmm0
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + 0xe48]
mov ecx, edi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], edi
call fcn.004ec250
mov ecx, edi
call fcn.004ec0a0
mov ecx, dword [esi + 0x54]
mov ebx, dword [esi + 0x50]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edx
cmp ecx, edx
jg 0x4b47a0
jl 0x4b46d0
cmp ebx, eax
jae 0x4b47a0
nop dword [eax]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ebx
sbb edx, ecx
mov ecx, edi
call fcn.004ec250
mov ecx, dword [esi + 0x1f8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
cmp ecx, 0xffffffff
jle 0x4b4702
mov edi, dword [esi + 0x1f4]
cmp ecx, edi
jge 0x4b4702
sub edi, ecx
jmp 0x4b4704
xor edi, edi
mov eax, edi
cdq
mov dword [esp + 0x20], eax
cmp edx, dword [esp + 0x18]
jl 0x4b471f
mov eax, dword [esp + 0x10]
jg 0x4b471d
cmp dword [esp + 0x20], eax
jbe 0x4b471f
mov edi, eax
test edi, edi
je 0x4b472e
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x1f4]
jg 0x4b473a
lea eax, [ecx + edi]
mov dword [esi + 0x1f8], eax
mov ebx, dword [esi + 0x50]
mov ecx, dword [esp + 0x14]
mov eax, edi
shl eax, cl
cdq
add eax, ebx
mov dword [esi + 0x50], eax
mov eax, edi
adc edx, dword [esi + 0x54]
mov dword [esi + 0x54], edx
cdq
cmp edx, dword [esp + 0x18]
jg 0x4b4780
jl 0x4b475f
cmp eax, dword [esp + 0x10]
jae 0x4b4780
sub esp, 8
mov ecx, esi
call fcn.004b2a20
add esp, 8
test eax, eax
jg 0x4b4780
or edx, 0xffffffff
mov ecx, esi
call fcn.004b32f0
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
mov ecx, dword [esi + 0x54]
mov ebx, dword [esi + 0x50]
mov edi, dword [esp + 0x14]
cmp ecx, dword [esp + 0x1c]
jl 0x4b46d0
jg 0x4b47a0
cmp ebx, dword [esp + 0x24]
jb 0x4b46d0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret