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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x864
mov eax, dword [0x1008b008]
xor eax, esp
mov dword [esp + 0x860], eax
push ebx
push esi
push edi
mov dword [esp + 0x10], edx
call fcn.100029a0
mov esi, eax
mov edi, esi
cmp dword [esi + 0x14], 0x10
jb 0x1000d692
mov edi, dword [esi]
push 0x800
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.10048ef0
xorps xmm0, xmm0
mov dword [esp + 0x58], 0
add esp, 0xc
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
lea ecx, [esp + 0x30]
movlpd qword [esp + 0x44], xmm0
mov edx, str.1.2.11
movlpd qword [esp + 0x5c], xmm0
mov dword [esp + 0x64], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x30], edi
mov eax, dword [esi + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], 0
call fcn.1003ca40
test eax, eax
jne 0x1000da2b
nop dword [eax]
nop word [eax + eax]
lea eax, [esp + 0x68]
mov dword [esp + 0x40], 0x800
lea ecx, [esp + 0x30]
mov dword [esp + 0x3c], eax
call fcn.1003cc50
mov ecx, eax
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x1000d74c
cmp ecx, 1
jne 0x1000d9dc
mov eax, dword [esp + 0x40]
mov ecx, 0x800
sub ecx, eax
test ecx, ecx
jle 0x1000d942
mov ecx, dword [esp + 0x10]
mov ebx, 0x800
sub ebx, eax
call fcn.100029a0
mov edi, eax
mov edx, dword [edi + 0x14]
mov ecx, edx
mov esi, dword [edi + 0x10]
sub ecx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edx
cmp ebx, ecx
ja 0x1000d7bd
lea eax, [esi + ebx]
mov dword [edi + 0x10], eax
cmp edx, 0x10
jb 0x1000d794
mov edi, dword [edi]
push ebx
lea eax, [esp + 0x6c]
add esi, edi
push eax
push esi
call fcn.10004235
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], 0
push eax
lea eax, [esi + ebx]
push eax
call fcn.1000423e
add esp, 0x14
jmp 0x1000d942
mov ecx, dword [esp + 0x10]
call fcn.10002364
sub eax, esi
cmp eax, ebx
jb 0x1000da66
mov ecx, dword [esp + 0x10]
lea eax, [esi + ebx]
mov dword [esp + 0x14], eax
call fcn.10002364
mov ecx, dword [esp + 0x14]
mov esi, eax
or ecx, 0xf
mov dword [esp + 0x28], ecx
cmp ecx, esi
ja 0x1000d824
mov ecx, dword [esp + 0x10]
call fcn.100029a0
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, esi
sub eax, ecx
cmp edx, eax
ja 0x1000d824
lea eax, [ecx + edx]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10002a23
add esp, 8
mov esi, dword [eax]
lea ecx, [esi + 1]
cmp ecx, 0x1000
jb 0x1000d85a
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.10045a5f
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1000da61
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x1000d86b
test ecx, ecx
je 0x1000d869
push ecx
call fcn.10045a5f
add esp, 4
jmp 0x1000d86b
xor eax, eax
cmp dword [esp + 0x20], 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x14], esi
mov ecx, dword [esp + 0x18]
push eax
lea esi, [ecx + eax]
lea edx, [esi + ebx]
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edx
jb 0x1000d8fb
mov esi, dword [edi]
push esi
push ecx
call fcn.1000422c
push ebx
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x30]
call fcn.1000422c
lea eax, [esp + 0x27]
mov byte [esp + 0x27], 0
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.1000423e
mov ecx, dword [esp + 0x40]
add esp, 0x20
inc ecx
cmp ecx, 0x1000
jb 0x1000d8e9
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x1000da61
mov esi, edx
push ecx
push esi
call fcn.10045a8f
mov eax, dword [esp + 0x20]
add esp, 8
mov dword [edi], eax
jmp 0x1000d942
push edi
push ecx
call fcn.1000422c
push ebx
lea eax, [esp + 0x78]
push eax
push esi
call fcn.1000422c
lea eax, [esp + 0x27]
mov byte [esp + 0x27], 0
push eax
lea eax, [esi + ebx]
push eax
call fcn.1000423e
lea eax, [esp + 0x38]
push eax
call fcn.10002bc4
push edi
mov esi, eax
call fcn.10002bc4
push eax
push 4
call fcn.1000235c
mov ecx, dword [esi]
add esp, 0x30
mov dword [eax], ecx
mov eax, dword [esp + 0x2c]
cmp eax, 1
je 0x1000d95d
test eax, eax
jne 0x1000d720
cmp dword [esp + 0x34], eax
jne 0x1000d720
cmp dword [esp + 0x50], 0
je 0x1000da42
mov edx, dword [esp + 0x54]
test edx, edx
je 0x1000da42
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x1000da42
lea eax, [esp + 0x30]
cmp dword [ecx], eax
jne 0x1000da42
mov eax, dword [ecx + 4]
sub eax, 0x3f34
cmp eax, 0x1f
ja 0x1000da42
mov eax, dword [ecx + 0x38]
test eax, eax
je 0x1000d9b6
push eax
push dword [esp + 0x5c]
call edx
mov edx, dword [esp + 0x5c]
add esp, 8
mov ecx, dword [esp + 0x4c]
push ecx
push dword [esp + 0x5c]
call edx
xor eax, eax
add esp, 8
test eax, eax
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x860]
xor ecx, esp
call fcn.10045845
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x50], 0
je 0x1000da2b
mov edx, dword [esp + 0x54]
test edx, edx
je 0x1000da2b
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x1000da2b
lea eax, [esp + 0x30]
cmp dword [ecx], eax
jne 0x1000da2b
mov eax, dword [ecx + 4]
sub eax, 0x3f34
cmp eax, 0x1f
ja 0x1000da2b
mov eax, dword [ecx + 0x38]
test eax, eax
je 0x1000da21
push eax
push dword [esp + 0x5c]
call edx
mov edx, dword [esp + 0x5c]
add esp, 8
mov ecx, dword [esp + 0x4c]
push ecx
push dword [esp + 0x5c]
call edx
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x860]
xor ecx, esp
call fcn.10045845
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x86c]
mov eax, 0xfffffffe
pop edi
test eax, eax
pop esi
sete al
pop ebx
xor ecx, esp
call fcn.10045845
mov esp, ebp
pop ebp
ret
call fcn.1004eec7
call fcn.10002e9f
int3