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

Disassembly:
sub esp, 0x6c
mov edx, dword [esp + 0x70]
push ebx
push ebp
push esi
mov ebx, dword [edx]
lea eax, [edx + 4]
add eax, ebx
lea ebp, [edx + 4]
push edi
mov edi, ecx
shr ebx, 3
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov dword [edi + 8], eax
mov eax, 0x2e8ba2e9
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0xc]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jbe 0x50c939
cmp ebx, 0x5d1745d
ja 0x50cb00
push ebx
lea ecx, [edi + 0xc]
call fcn.0050cb10
xor edx, edx
mov dword [esp + 0x14], edx
test ebx, ebx
je 0x50cae8
nop word [eax + eax]
mov esi, dword [ebp + edx*8 + 4]
add esi, dword [edi + 8]
mov eax, dword [ebp + edx*8]
xor edx, edx
mov ebx, dword [edi + 4]
add ebx, dword [edi]
mov dword [esp + 0x40], eax
mov eax, dword [esi]
add esi, 4
mov ecx, esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ecx
add ecx, eax
cmp ecx, ebx
mov dword [esp + 0x18], ecx
cmovbe edx, eax
mov eax, dword [esi + edx]
add esi, edx
mov dword [esp + 0x20], edx
add esi, 4
mov ecx, esi
mov dword [esp + 0x24], ecx
lea edx, [ecx + eax]
xor ecx, ecx
cmp edx, ebx
cmovbe ecx, eax
mov eax, dword [esi + ecx]
add esi, ecx
mov dword [esp + 0x28], ecx
add esi, 4
mov ecx, esi
mov dword [esp + 0x2c], ecx
lea ebp, [ecx + eax]
xor ecx, ecx
cmp ebp, ebx
cmovbe ecx, eax
mov eax, dword [esi + ecx]
add esi, ecx
mov dword [esp + 0x30], ecx
add esi, 4
mov ecx, esi
mov dword [esp + 0x34], ecx
lea edi, [ecx + eax]
xor ecx, ecx
cmp edi, ebx
cmovbe ecx, eax
mov eax, dword [esp + 0x10]
add esi, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], esi
movzx ebx, word [esi]
add esi, 2
add esi, ebx
cmp dword [esp + 0x18], eax
setbe al
xor ecx, ecx
cmp edx, dword [esp + 0x10]
movzx eax, al
cmovbe ecx, eax
xor edx, edx
cmp ebp, dword [esp + 0x10]
movzx eax, cl
cmovbe edx, eax
xor ecx, ecx
movzx eax, dl
mov edx, dword [esp + 0x10]
cmp edi, edx
cmovbe ecx, eax
cmp esi, edx
movzx eax, cl
mov ecx, 0
cmovbe ecx, eax
mov eax, ebx
mov dword [esp + 0x18], ecx
xor ecx, ecx
cmp esi, edx
cmovbe ecx, eax
movzx eax, cx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x3c]
add ecx, 2
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x70], ecx
lea ecx, [edi + 0xc]
mov dword [esp + 0x78], edx
cmp eax, dword [ecx + 8]
je 0x50cabf
movups xmm0, xmmword [esp + 0x50]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x70]
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x28], edx
add dword [ecx + 4], 0x2c
jmp 0x50caca
lea edx, [esp + 0x50]
push edx
push eax
call fcn.0050c630
cmp byte [esp + 0x18], 0
je 0x50caf4
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x4c]
inc edx
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x48]
jb 0x50c950
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x6c
ret 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x6c
ret 4
call fcn.004c7d60
int3