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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6aed38
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x76f950]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
je 0x50cb20
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov byte [esp + 0x48], 0
mov dword [esp + 0x58], 0
lea esi, [ecx + 0x24]
mov ecx, esi
call fcn.00451b50
cmp edi, ebx
jge 0x50c9ee
cmp dword [esi + 0x14], 0
je 0x50c938
cmp byte [esi + 0x18], 0
jne 0x50c938
mov ecx, esi
call fcn.00451ce0
mov eax, dword [esi]
mov ecx, dword [eax + edi*4]
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x14], 0
je 0x50c954
cmp byte [esi + 0x18], 0
jne 0x50c954
mov ecx, esi
call fcn.00451ce0
mov eax, dword [esi]
add eax, 4
lea ebx, [edi*4]
add eax, ebx
cmp dword [esi + 0x14], 0
mov dword [esp + 0x14], eax
je 0x50c97d
cmp byte [esi + 0x18], 0
jne 0x50c97d
mov ecx, esi
call fcn.00451ce0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
mov eax, dword [eax]
mov dword [ebx + ecx], eax
cmp dword [esi + 0x14], 0
mov eax, dword [esp + 0x10]
movq xmm0, qword [eax + 0x78]
movq qword [esp + 0x1c], xmm0
movq xmm0, qword [eax + 0x80]
movq qword [esp + 0x24], xmm0
je 0x50c9b4
cmp byte [esi + 0x18], 0
jne 0x50c9b4
mov ecx, esi
call fcn.00451ce0
mov eax, dword [esi]
lea edx, [esp + 0x1c]
mov eax, dword [eax + ebx]
add eax, 0x78
push eax
mov ecx, edx
call fcn.004edb10
add esp, 4
test al, al
je 0x50c9dd
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
call fcn.004ee570
mov ebx, dword [ebp + 0xc]
inc edi
cmp edi, ebx
jl 0x50c941
jmp 0x50caba
cmp dword [esi + 0x14], 0
je 0x50ca01
cmp byte [esi + 0x18], 0
jne 0x50ca01
mov ecx, esi
call fcn.00451ce0
mov eax, dword [esi]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x10], eax
cmp edi, ebx
jle 0x50caba
cmp dword [esi + 0x14], 0
je 0x50ca25
cmp byte [esi + 0x18], 0
jne 0x50ca25
mov ecx, esi
call fcn.00451ce0
mov eax, dword [esi]
add eax, 0xfffffffc
lea ebx, [edi*4]
add eax, ebx
cmp dword [esi + 0x14], 0
mov dword [esp + 0x14], eax
je 0x50ca4e
cmp byte [esi + 0x18], 0
jne 0x50ca4e
mov ecx, esi
call fcn.00451ce0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
mov eax, dword [eax]
mov dword [ebx + ecx], eax
cmp dword [esi + 0x14], 0
mov eax, dword [esp + 0x10]
movq xmm0, qword [eax + 0x78]
movq qword [esp + 0x1c], xmm0
movq xmm0, qword [eax + 0x80]
movq qword [esp + 0x24], xmm0
je 0x50ca85
cmp byte [esi + 0x18], 0
jne 0x50ca85
mov ecx, esi
call fcn.00451ce0
mov eax, dword [esi]
lea edx, [esp + 0x1c]
mov eax, dword [eax + ebx]
add eax, 0x78
push eax
mov ecx, edx
call fcn.004edb10
add esp, 4
test al, al
je 0x50caae
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
call fcn.004ee570
mov ebx, dword [ebp + 0xc]
dec edi
cmp edi, ebx
jg 0x50ca12
cmp dword [esi + 0x14], 0
je 0x50cacd
cmp byte [esi + 0x18], 0
jne 0x50cacd
mov ecx, esi
call fcn.00451ce0
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
mov dword [eax + ebx*4], ecx
mov ebx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.005165b0
mov eax, dword [ebx + 0x1c]
mov byte [ebx + 0x6c], 0
mov byte [ebx + 0x5c], 0
test eax, eax
je 0x50cafb
mov byte [eax + 0x38], 0
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x34], 0
je 0x50cb20
mov ecx, dword [esp + 0x2c]
mov edi, edi
mov esi, dword [ecx + 0x14]
call fcn.004edde0
mov ecx, esi
cmp esi, dword [esp + 0x2c]
jne 0x50cb10
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8