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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], 0
lea edx, [ecx + 0x2d8]
lea eax, [edi + eax*8]
lea esi, [ecx + 0x2cc]
mov dword [esp + 0x60], edx
lea edx, [ecx + 0x180]
lea ecx, [esp + 0x38]
mov dword [esp + 0x64], eax
mov dword [esp + 4], esi
mov dword [esp + 0x6c], edx
cmp edi, dword [esp + 0x64]
je 0x10050269
mov edx, dword [esp + 0x14]
mov dword [esp + 0x74], edx
call fcn.10050fca
cmp dword [esp + 0x38], 0
je 0x1004ff8f
movsd xmm0, qword [esp + 0x40]
lea eax, [esp + 0x88]
movsd qword [esp + 0x88], xmm0
push eax
call fcn.10043820
pop ecx
push edx
push eax
push 0
push 0x7ffffffe
lea eax, [esp + 0x30]
push eax
call fcn.1009172c
add esp, 0x14
lea ecx, [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
cmp eax, 3
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x58], xmm1
je 0x1004ff93
jmp 0x10050274
mov ebx, dword [esp + 0x3c]
mov esi, dword [edi]
mov dword [esp + 0x10], edi
mov edi, dword [edi + 4]
push edi
lea eax, [esp + 0x3c]
push eax
call fcn.10092746
pop eax
pop ecx
cmp dword [esp + 0x38], 0
mov dword [esp + 0x68], ebx
je 0x1004ffee
push edi
push ebx
lea eax, [esp + 0x28]
push eax
call fcn.10091757
add esp, 0xc
lea ecx, [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
cmp eax, 3
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x58], xmm1
je 0x1004fff2
jmp 0x10050291
mov edx, dword [esp + 0x3c]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x2c0]
mov ecx, dword [ebx + 0x2c4]
cmp eax, edi
cmovae eax, edi
cmp ecx, edi
cmovbe ecx, edi
mov dword [ebx + 0x2c0], eax
mov dword [ebx + 0x2c4], ecx
mov eax, dword [ebx + 0x2e0]
cmp dword [esp + 0x14], eax
mov dword [esp + 0x38], eax
jne 0x100502c2
mov ecx, dword [esp + 0x60]
call fcn.10057a99
mov eax, dword [ebx + 0x1a0]
cmp byte [eax + 1], 0
je 0x1005004b
push edi
push esi
push ebx
call fcn.10091f38
add esp, 0xc
mov ebx, dword [ebx + 0x2ac]
add dword [esp + 0x10], 8
inc dword [esp + 0x14]
add edi, esi
push esi
push edi
lea eax, [esp + 0x28]
push eax
call fcn.10085a1b
add esp, 0xc
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x70], eax
cmp edi, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
je 0x10050209
mov bl, byte [edi]
test byte [esp + 0x4c], 1
mov cl, 1
jne 0x100500bc
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push 0x1011b034
call fcn.10050faa
pop ecx
push eax
call fcn.1008efa0
pop ecx
mov ecx, eax
test cl, cl
je 0x100500d2
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1a0]
cmp byte [eax], 1
je 0x10050228
movzx esi, bl
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x18], edi
push esi
push esi
mov edi, dword [esp + 0x74]
push edi
call fcn.10091449
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1a0]
cmp byte [eax + 2], 0
je 0x10050110
push esi
call fcn.1004a889
pop ecx
movzx eax, al
push eax
push eax
push edi
call fcn.10091449
add esp, 0xc
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x1c], esi
inc edi
lea esi, [eax + 1]
push 0x1011b044
call fcn.10050faa
pop ecx
mov ecx, dword [eax + 0x10]
cmp ecx, 0x100
jne 0x1005014b
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx*8 + 4]
jmp 0x10050165
mov eax, dword [eax + 0xc]
shl ecx, 3
add eax, 0xfffffffc
test ecx, ecx
je 0x10050170
add ecx, 0xfffffff8
cmp byte [eax + 4], bl
lea edx, [eax + 8]
mov eax, edx
jne 0x10050154
mov ebx, dword [edx]
cmp ebx, 1
jne 0x10050083
mov dword [esp + 0x18], esi
mov esi, edi
push dword [esp + 0xc]
mov edi, dword [ebp + 0xc]
push edi
lea eax, [esp + 0x28]
push eax
call fcn.10090010
add esp, 0xc
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
cmp eax, 3
jne 0x10050235
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push 0x1011b054
call fcn.10050faa
pop ecx
push ebx
push dword [esp + 0x20]
push eax
call fcn.1008efac
add esp, 0xc
mov eax, dword [edi + 0x1a0]
mov edi, esi
mov esi, dword [esp + 0x18]
cmp byte [eax + 2], 0
je 0x10050083
push dword [esp + 0x1c]
call fcn.1004a889
pop ecx
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov byte [esp + 0xc], al
push 0x1011b064
call fcn.10050faa
pop ecx
movzx ecx, byte [esp + 0xc]
push ebx
push ecx
push eax
call fcn.1008efac
add esp, 0xc
jmp 0x10050083
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push 0x1011b074
call fcn.10050faa
pop ecx
mov edx, dword [esp + 0x68]
lea ecx, [eax + 0x14]
call fcn.10057bd2
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x38]
jmp 0x1004ff13
movsd xmm0, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x38], xmm0
mov ecx, dword [ebp + 8]
movsd qword [ecx + 0x10], xmm1
movsd qword [ecx + 8], xmm0
mov dword [ecx], eax
mov eax, ecx
mov dword [ecx + 4], ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x10050261
movsd xmm0, qword [esp + 0x50]
movsd xmm1, qword [esp + 0x58]
movsd qword [esp + 0x80], xmm1
movsd qword [esp + 0x78], xmm0
jmp 0x1005024d
movsd xmm0, qword [esp + 0x50]
movsd xmm1, qword [esp + 0x58]
mov ecx, dword [ebp + 8]
movsd qword [esp + 0x80], xmm1
movsd qword [esp + 0x78], xmm0
movsd qword [ecx + 0x10], xmm1
movsd qword [ecx + 8], xmm0
mov dword [ecx], eax
mov eax, ecx
mov dword [ecx + 4], edx
jmp 0x10050261
and dword [esp + 0x20], 0
mov dword [esp + 0x28], 0x1011b01c
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0x1011abec
and dword [esp + 0x34], 0
lea eax, [esp + 0x74]
push 0x1011b024
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x40]
push ecx
push eax
push 0
call fcn.10109f61
add esp, 0x14
ud2