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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10038bf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x14], edi
call fcn.10013950
xor ebx, ebx
mov word [esp + 0x48], 0xfffe
mov dword [esp + 0x70], ebx
mov word [esp + 0x4a], bx
mov dword [esp + 0x18], 0x1003cbc0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov esi, dword [ebp + 0x10]
push 0xffffffffffffffff
push ebx
mov ecx, esi
mov byte [esp + 0x78], 1
call fcn.10001240
mov dword [esp + 0x2c], 0x1003cbac
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov eax, dword [edi]
mov ecx, dword [ebp + 0xc]
shl eax, 4
mov byte [esp + 0x70], 2
mov edx, dword [eax + ecx + 4]
movsx eax, word [edx + 4]
cmp eax, 0x205
je 0x10003f4b
cmp eax, 0x206
je 0x10003f4b
mov eax, dword [ebp + 8]
cmp eax, 1
jle 0x10003f4b
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
mov ecx, edi
call fcn.10007eb0
mov eax, dword [edi + 0x38]
mov word [esp + 0x4a], bx
test eax, eax
mov word [esp + 0x48], 0xfffe
mov dword [esp + 0x10], ebx
jle 0x10003e95
jmp 0x10003d8e
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0x20]
lea edx, [esp + 0x18]
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x50]
test ebx, ebx
jne 0x10003dd6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
fld dword [0x1003cb90]
fdivr qword [eax]
fstp dword [ecx]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
fld dword [0x1003cb90]
fdivr qword [edx + 8]
fstp dword [eax + 4]
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 8]
push ecx
push eax
mov ecx, esi
call fcn.10014cc0
mov eax, dword [esp + 0x20]
mov edi, 2
cmp eax, edi
jle 0x10003e34
mov eax, dword [esp + 0x1c]
mov ebx, dword [esi + 8]
fld dword [0x1003cb90]
fdivr qword [eax + edi*8]
lea edx, [ebx + 1]
push 0xffffffffffffffff
push edx
mov ecx, esi
fstp dword [esp + 0x48]
fld dword [0x1003cb90]
fdivr qword [eax + edi*8 + 8]
fstp dword [esp + 0x4c]
call fcn.10001240
mov edx, dword [esi + 4]
lea ecx, [ebx + ebx*4]
lea eax, [esp + 0x40]
push eax
lea ecx, [edx + ecx*8]
call fcn.100010a0
mov eax, dword [esp + 0x20]
add edi, 2
cmp edi, eax
jl 0x10003de3
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
lea eax, [ebx + ebx*4]
push 0xffffffffffffffff
lea edi, [ecx + eax*8 + 0x3c]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 8]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
push ecx
lea ebx, [eax + edx*8 - 0x14]
mov ecx, ebx
call fcn.10013e10
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
mov eax, dword [ebx + 4]
mov edx, ecx
dec ecx
test edx, edx
je 0x10003e7d
inc ecx
mov edx, dword [edi]
add edi, 8
mov dword [eax], edx
mov edx, dword [edi - 4]
mov dword [eax + 4], edx
add eax, 8
dec ecx
jne 0x10003e6a
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc eax
mov edx, dword [ecx + 0x38]
mov dword [esp + 0x10], eax
cmp eax, edx
jl 0x10003d86
mov eax, dword [esi + 8]
test eax, eax
je 0x10003ea3
mov edx, dword [esi + 4]
mov word [edx + 8], ax
mov dword [esp + 0x2c], 0x1003cbac
mov eax, dword [esp + 0x30]
mov byte [esp + 0x70], 5
test eax, eax
je 0x10003edf
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x10003ed6
lea esi, [eax + 0x14]
lea edi, [ecx]
mov ecx, esi
call fcn.100013e0
add esi, 0x28
dec edi
jne 0x10003ec5
mov eax, dword [esp + 0x30]
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x1003c7d0
mov dword [esp + 0x18], 0x1003cbc0
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x70], 6
test eax, eax
je 0x10003f06
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea eax, [esp + 0x54]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], 0x1003c7e4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x70], 7
test eax, eax
je 0x100040b5
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x38]
mov word [esp + 0x4a], bx
cmp eax, ebx
mov word [esp + 0x48], 0xfffe
mov dword [esp + 0x10], ebx
jle 0x10004033
jmp 0x10003f6e
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov edi, dword [edi + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
mov edx, dword [edi]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x50]
cmp dword [esp + 0x10], ebx
jne 0x10003fd2
mov eax, dword [esp + 0x20]
xor edi, edi
test eax, eax
jle 0x10004019
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x40]
fld dword [0x1003cb90]
fdivr qword [eax + edi*8]
push edx
mov ecx, esi
fstp dword [esp + 0x44]
fld dword [0x1003cb90]
fdivr qword [eax + edi*8 + 8]
mov eax, dword [esi + 8]
push eax
fstp dword [esp + 0x4c]
call fcn.10014cc0
mov eax, dword [esp + 0x20]
add edi, 2
cmp edi, eax
jl 0x10003f96
jmp 0x10004019
mov eax, dword [esp + 0x20]
mov edi, 2
cmp eax, edi
jle 0x10004019
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
fld dword [0x1003cb90]
fdivr qword [eax + edi*8]
push ecx
mov ecx, esi
fstp dword [esp + 0x44]
fld dword [0x1003cb90]
fdivr qword [eax + edi*8 + 8]
mov eax, dword [esi + 8]
push eax
fstp dword [esp + 0x4c]
call fcn.10014cc0
mov eax, dword [esp + 0x20]
add edi, 2
cmp edi, eax
jl 0x10003fdf
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc eax
mov ecx, dword [edx + 0x38]
mov dword [esp + 0x10], eax
cmp eax, ecx
jl 0x10003f68
xor ebx, ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x10004041
mov ecx, dword [esi + 4]
mov word [ecx + 8], ax
mov dword [esp + 0x2c], 0x1003cbac
mov esi, dword [esp + 0x30]
mov byte [esp + 0x70], 3
cmp esi, ebx
je 0x10004079
mov edi, dword [esp + 0x34]
cmp edi, ebx
je 0x1000406c
push ebx
mov ecx, esi
call fcn.100014e0
add esi, 0x28
dec edi
jne 0x1000405e
mov edx, dword [esp + 0x30]
push edx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x1003c7d0
mov dword [esp + 0x18], 0x1003cbc0
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x70], 4
cmp eax, ebx
je 0x100040a0
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], esi
mov dword [esp + 0x70], 0xffffffff
call fcn.100013e0
mov ecx, dword [esp + 0x68]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc