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

Disassembly:
push 0xffffffffffffffff
push 0x10070638
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007bf74]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x34], ebx
mov edi, dword [esp + 0xb8]
mov eax, dword [ebx + 8]
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov esi, dword [eax + 0x3f4]
mov eax, dword [edx + 4]
xor ebp, ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x18], ebp
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
call eax
add eax, dword [esp + 0xbc]
add eax, dword [edi]
cmp dword [0x1007a11c], ebp
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x20], eax
mov dword [esp + 0xb4], edi
je 0x1001d47b
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x58]
mov edx, dword [esp + 0xcc]
mov ecx, dword [edx + 8]
mov byte [esp + 0xa4], 1
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xac], eax
mov ecx, dword [ebx + 8]
mov edx, esi
imul edx, edx, 0x4b0
push 1
push edx
add ecx, 0x564
call fcn.1000b210
mov ecx, dword [ebx + 8]
push 1
mov ebp, eax
push 0x960
add ecx, 0x55c
mov dword [esp + 0x48], ebp
call fcn.1000b210
test eax, eax
mov dword [esp + 0x44], eax
je 0x1001d88a
test ebp, ebp
je 0x1001d88a
mov eax, dword [esp + 0xcc]
push eax
push 4
mov ecx, ebx
call fcn.10018c80
test edi, edi
mov ebp, eax
jbe 0x1001d884
mov edi, edi
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 8]
lea ecx, [esp + 0x88]
call eax
test ax, 0xfff
jne 0x1001d533
cmp byte [esp + 0xa4], 0
je 0x1001d555
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x88]
call eax
test ax, 0xfff0
jne 0x1001d555
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 0x14]
lea ecx, [esp + 0x88]
call eax
test eax, eax
je 0x1001d555
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 0xc]
push 0
lea ecx, [esp + 0x8c]
call eax
sub dword [esp + 0xb4], 1
jmp 0x1001d876
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x88]
xor edi, edi
call eax
test ax, 0xfff0
sete cl
test cl, cl
jne 0x1001d593
mov eax, dword [esp + 0xa0]
mov dx, word [eax + 4]
or dx, word [eax + 2]
mov byte [esp + 0x16], 1
or dx, word [eax]
movzx eax, dx
mov dword [esp + 0x18], eax
test cl, cl
mov edx, dword [esp + 0x90]
mov dword [esp + 0x38], edx
je 0x1001d636
cmp dword [esp + 0xb4], edi
jbe 0x1001d5e7
mov eax, dword [esp + 0x88]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x88]
call edx
test ax, 0xfff0
sete al
test al, al
je 0x1001d5e7
mov eax, dword [esp + 0x88]
mov edx, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x8c]
add edi, 1
call edx
jmp 0x1001d5a6
test edi, edi
je 0x1001d636
cmp byte [esp + 0x17], 0
je 0x1001d607
mov eax, dword [esp + 0xb8]
mov ecx, dword [ebx + 0xc]
push eax
call fcn.100156d0
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0xb8]
mov eax, dword [ecx]
mov edx, dword [esp + 0x38]
add eax, edx
add eax, dword [esp + 0xbc]
push edi
push eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
push 4
call fcn.10005a70
sub dword [esp + 0xb4], edi
mov dword [esp + 0x3c], eax
cmp byte [esp + 0x16], 0
je 0x1001d876
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov eax, 0x4b0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
xor eax, eax
cmp dword [esp + 0xb4], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
jbe 0x1001d823
cmp byte [esp + 0x16], 1
je 0x1001d6c7
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x88]
call eax
mov edx, dword [esp + 0x88]
movzx ecx, ax
mov eax, dword [edx + 8]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x88]
call eax
and ax, 0xfff
test dword [esp + 0x18], 0xfff0
movzx eax, ax
je 0x1001d823
test ax, ax
jne 0x1001d823
mov eax, 0x19
cmp dword [esp + 0x2c], eax
jb 0x1001d823
cmp dword [esp + 0x30], eax
jb 0x1001d823
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx + 0xc]
cmp dword [edx + 0x24], 1
mov ecx, dword [esp + 0x8c]
sete al
mov byte [esp + 0x48], al
xor edx, edx
mov eax, ecx
sub eax, dword [esp + 0x20]
mov dword [esp + 0x58], ecx
div esi
mov edx, dword [esp + 0x94]
mov dword [esp + 0x64], ecx
mov ebx, eax
lea eax, [edx + ecx]
mov dword [esp + 0x5c], eax
sub eax, dword [esp + 0x20]
xor edx, edx
div esi
xor edx, edx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x94]
lea eax, [ecx + eax*2]
mov dword [esp + 0x60], eax
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xd0]
div esi
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0xcc]
push edx
push esi
lea edx, [esp + 0x64]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xd8]
push eax
push edi
push ecx
mov ecx, dword [esp + 0x4c]
push 3
push edx
lea eax, [esp + 0x88]
push eax
call fcn.100186d0
mov edx, dword [ebp]
mov eax, dword [edx + 4]
push 0
push edi
mov ecx, ebp
call eax
mov edx, dword [ebp]
mov edx, dword [edx + 8]
movzx ebx, word [esp + 0x24]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x54]
push ecx
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov ecx, ebp
call edx
test eax, eax
je 0x1001d7f7
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
add dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x50]
sub eax, ebx
movzx eax, ax
movzx eax, ax
add dword [esp + 0x38], eax
sub dword [esp + 0x2c], eax
mov edx, eax
imul edx, esi
add edi, edx
mov edx, dword [esp + 0x28]
sub dword [esp + 0x30], ecx
lea edx, [edx + ecx*2]
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x88]
mov edx, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x8c]
call edx
sub dword [esp + 0xb4], 1
mov ebx, dword [esp + 0x34]
mov byte [esp + 0x16], 0
jne 0x1001d675
cmp dword [0x1007a130], 0
je 0x1001d876
cmp dword [esp + 0x1c], 0
jbe 0x1001d876
mov eax, dword [esp + 0x40]
mov ecx, dword [ebx + 8]
mov ecx, dword [ecx]
push eax
push esi
push 0
call fcn.10005910
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
push 0
push edx
mov edx, dword [esp + 0x5c]
push 2
push eax
mov eax, dword [ebx + 8]
push 0
push ecx
mov ecx, dword [eax]
push 0
push 0
push edx
call fcn.10005ad0
mov dword [esp + 0x3c], eax
mov byte [esp + 0x17], 1
cmp dword [esp + 0xb4], 0
ja 0x1001d4e0
mov eax, dword [esp + 0x3c]
jmp 0x1001d88f
mov eax, 0x8007000e
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0x4c