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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov ebx, edx
mov edi, ecx
mov eax, dword [0x1008e00c]
xor eax, ebp
mov dword [esp + 0x60], eax
xor eax, eax
mov byte [esp + 0x20], al
mov byte [esp + 0x40], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x1e], al
cmp dword [ecx + 0x3c], 0
je 0x10050456
mov dword [esp + 4], ebx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov esi, dword [esi]
mov dword [edx], esi
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov edx, ecx
mov esi, ecx
movzx eax, al
inc eax
shr esi, 7
cmp edx, 0x7f
mov edx, esi
ja 0x100502cf
movzx ebx, al
add ebx, ecx
mov ecx, edi
push dword [ebp + 0x10]
call fcn.10050550
test eax, eax
je 0x100504e1
mov esi, eax
mov eax, dword [eax + 0x38]
sub eax, dword [esi + 4]
cmp ebx, eax
jbe 0x100503e4
mov dword [esp], ebx
mov byte [esp + 0x1f], 1
mov ecx, edi
push dword [ebp + 0x10]
call fcn.10050640
test eax, eax
je 0x10050502
mov ebx, eax
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 4]
lea edx, [esp + 8]
mov ecx, esi
push eax
push edx
call fcn.100505e0
movsd xmm0, qword [edi + 0x50]
movsd qword [ebx + 0x40], xmm0
mov eax, dword [ebx + 0x38]
add dword [edi + 0x50], eax
adc dword [edi + 0x54], 0
mov esi, dword [esp]
lea eax, [esp + 8]
sub esi, dword [eax]
mov dword [ebx], esi
mov dword [ebx + 4], esi
lea eax, [esp + 0x48]
push 1
push eax
call fcn.100246d0
add esp, 8
lea eax, [esp + 0x48]
movsd xmm0, qword [eax + 0x10]
movsd qword [ebx + 0x18], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebx + 8], xmm0
cmp esi, 0xffffffff
je 0x1005051f
mov byte [esp + 0x1e], 1
cmp byte [esp + 0x40], 0
jne 0x100504ed
add ebx, 0x58
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
add eax, dword [esp]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
adc edx, 0
mov dword [esp + 0x3c], edx
test ecx, ecx
jne 0x100503d7
test esi, esi
jne 0x1005050a
mov byte [esp + 0x40], 1
mov eax, dword [esp]
add dword [edi + 0x60], eax
jmp 0x10050446
sete byte [esp + 0x1f]
lea eax, [esp + 0x48]
mov ecx, esi
push ebx
push eax
call fcn.100505e0
cmp byte [esp + 0x40], 0
jne 0x100504ed
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], eax
add eax, ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
adc ecx, 0
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x40], 1
add dword [edi + 0x60], ebx
adc dword [edi + 0x64], 0
add dword [edi + 0x68], 1
adc dword [edi + 0x6c], 0
mov ebx, dword [esp + 4]
lea eax, [esp + 0x1f]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edi
lea eax, [esp + 0x1e]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x54], eax
mov byte [esp + 0x58], 1
cmp byte [esp + 0x40], 0
je 0x10050497
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
lea edi, [esp + 0x20]
push edi
push dword [eax]
call fcn.10050d30
add esp, 8
cmp byte [edi + 0x20], 0
jne 0x100504bc
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
lea ecx, [esp + 0x48]
call fcn.10050f10
mov ecx, dword [esp + 0x60]
xor ecx, ebp
call fcn.10039ea0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 4]
lea esi, [esp + 0x20]
mov ecx, esi
push dword [eax + 4]
push dword [eax]
call fcn.10050e40
cmp byte [esi + 0x20], 0
je 0x10050534
movsd xmm0, qword [esp + 0x30]
movsd qword [ebx], xmm0
jmp 0x1005049e
add dword [edi + 0x78], ebx
adc dword [edi + 0x7c], 0
jmp 0x10050452
mov dword [0x1008f8f4], 0x1008373c
int3
mov eax, dword [esp]
add dword [edi + 0x78], eax
jmp 0x100504e4
mov dword [0x1008f8f4], 0x10083516
int3
mov dword [0x1008f8f4], 0x10082d42
int3
mov dword [0x1008f8f4], 0x1008371f
int3