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

Disassembly:
sub esp, 0x78
push ebx
push esi
push dword [esp + 0x8c]
lea eax, [esp + 0x24]
mov dword [esp + 0x18], 0
push dword [esp + 0x8c]
mov ebx, ecx
push eax
mov dword [esp + 0x1c], ebx
call fcn.004a5450
add esp, 0xc
mov ecx, eax
call fcn.00433d30
mov edx, dword [ebx + 0x1c]
mov esi, eax
mov ecx, dword [edx + 0xc]
mov ecx, dword [edx + ecx*4 + 0xc]
cmp esi, dword [ecx]
jle 0x4a55ba
push esi
lea eax, [esp + 0x58]
mov ecx, ebx
push eax
call fcn.004a5c80
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmm1, xmmword [eax]
movdqu xmmword [esp + 0x38], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x50], eax
pextrw eax, xmm1, 6
movdqu xmmword [esp + 0x28], xmm1
movq qword [esp + 0x48], xmm0
test ax, ax
jne 0x4a55a0
cmp word [esp + 0x44], ax
jne 0x4a55a0
mov eax, dword [esp + 0x34]
shr eax, 0x10
test eax, eax
je 0x4a55a0
mov eax, dword [esp + 0x44]
shr eax, 0x10
test eax, eax
jne 0x4a55ba
mov esi, dword [esp + 0x84]
push esi
call fcn.00474e30
add esp, 4
mov eax, esi
pop esi
pop ebx
add esp, 0x78
ret 0xc
push ebp
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0x80000000
push edi
lea esp, [esp]
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
dec eax
js 0x4a55f3
mov edx, ecx
mov edi, dword [edx + 8]
lea ecx, [edi + eax]
mov ecx, dword [edx + ecx*4 + 0x10]
cmp dword [ecx], esi
jle 0x4a5685
dec eax
jns 0x4a55e1
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx + 8]
mov eax, dword [ecx + eax*4 + 0x10]
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movq xmm2, qword [eax + 0x20]
mov eax, dword [eax + 0x28]
movdqu xmmword [esp + 0x30], xmm0
mov dword [esp + 0x58], eax
psrldq xmm0, 0xc
movd eax, xmm0
movdqu xmmword [esp + 0x6c], xmm1
shr eax, 0x10
movq qword [esp + 0x50], xmm2
movdqu xmmword [esp + 0x40], xmm1
test eax, eax
jne 0x4a5649
mov eax, dword [esp + 0x78]
shr eax, 0x10
test eax, eax
je 0x4a56fc
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x38]
push esi
push eax
call fcn.004a4200
mov ecx, dword [esp + 0x3c]
add esp, 0x10
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
cmp ecx, ebp
jg 0x4a5691
jl 0x4a567b
cmp eax, ebx
jae 0x4a5691
mov edx, eax
mov edi, ecx
mov eax, ebx
mov ecx, ebp
jmp 0x4a5695
lea ecx, [eax + edi]
mov eax, dword [edx + ecx*4 + 0x10]
jmp 0x4a55fd
mov edx, ebx
mov edi, ebp
cmp dword [esp + 0x94], edi
jg 0x4a56b5
jl 0x4a56a9
cmp dword [esp + 0x90], edx
jae 0x4a56b5
mov dword [esp + 0x14], edx
mov edx, edi
mov dword [esp + 0x10], edx
jmp 0x4a56d9
cmp dword [esp + 0x94], ecx
jg 0x4a56d5
jl 0x4a56c9
cmp dword [esp + 0x90], eax
jae 0x4a56d5
mov edx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jmp 0x4a56d9
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
inc esi
cmp edi, 1
jne 0x4a5718
cmp edx, 0x80000000
jne 0x4a5718
cmp esi, 0x116bd2d2
jg 0x4a56fc
mov ebx, dword [esp + 0x18]
jmp 0x4a55d0
mov esi, dword [esp + 0x8c]
push esi
call fcn.00474e30
add esp, 4
mov eax, esi
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x78
ret 0xc
test edi, edi
jne 0x4a5724
cmp edx, 0x80000000
je 0x4a56fc
cmp edi, ebx
jne 0x4a5733
cmp edx, ebp
jne 0x4a5733
mov eax, 1
jmp 0x4a5735
xor eax, eax
mov esi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x18]
push eax
push edx
push edi
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.004a5cf0
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
add esp, 0x78
ret 0xc