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

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], edx
mov esi, dword [esi + 8]
and esi, 0xfffff000
mov dword [esp + 0x1c], ecx
mov eax, esi
lea ebx, [edi + 0x80]
shr eax, 0x16
mov edx, esi
and eax, 0xf
and edx, 0xffc00000
lea ebp, [edi + eax*8]
mov eax, dword [ebp]
cmp eax, edx
jne 0x1001e548
mov eax, dword [ebp + 4]
jmp 0x1001e5fa
cmp dword [ebx], edx
jne 0x1001e574
mov ecx, dword [edi + 0x84]
shr esi, 0xc
mov dword [ebx], eax
and esi, 0x3ff
mov eax, dword [ebp + 4]
mov dword [edi + 0x84], eax
mov dword [ebp + 4], ecx
mov dword [ebp], edx
lea ecx, [ecx + esi*8]
jmp 0x1001e606
mov ecx, 1
lea eax, [edi + 0x88]
nop
cmp dword [eax], edx
je 0x1001e5ab
inc ecx
add eax, 8
cmp ecx, 8
jb 0x1001e580
push dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
push esi
push edi
call fcn.1002af40
add esp, 0x10
mov ecx, eax
jmp 0x1001e606
mov eax, dword [edi + ecx*8 + 0x84]
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x1001e5e1
mov eax, dword [edi + ecx*8 + 0x78]
mov dword [edi + ecx*8 + 0x80], eax
mov eax, dword [edi + ecx*8 + 0x7c]
mov dword [edi + ecx*8 + 0x84], eax
mov eax, ebp
mov eax, dword [eax]
mov dword [edi + ecx*8 + 0x78], eax
mov eax, dword [ebp + 4]
mov dword [edi + ecx*8 + 0x7c], eax
jmp 0x1001e5ef
mov eax, dword [ebp]
mov dword [ebx], eax
mov eax, dword [ebp + 4]
mov dword [edi + 0x84], eax
mov eax, ebp
mov dword [eax], edx
mov eax, dword [esp + 0x20]
mov dword [ebp + 4], eax
shr esi, 0xc
and esi, 0x3ff
lea ecx, [eax + esi*8]
cmp byte [esp + 0x30], 0
mov eax, dword [esp + 0x38]
mov dword [eax], ecx
jne 0x1001e621
test ecx, ecx
jne 0x1001e621
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
and edx, 0xfffff000
and ecx, 0xfffff000
add edx, 0xfffff000
add edx, ecx
mov eax, edx
mov esi, edx
shr eax, 0x16
and esi, 0xffc00000
and eax, 0xf
lea ebp, [edi + eax*8]
mov eax, dword [ebp]
cmp eax, esi
jne 0x1001e661
mov eax, dword [ebp + 4]
jmp 0x1001e716
cmp dword [ebx], esi
jne 0x1001e68d
mov ecx, dword [edi + 0x84]
shr edx, 0xc
mov dword [ebx], eax
and edx, 0x3ff
mov eax, dword [ebp + 4]
mov dword [edi + 0x84], eax
mov dword [ebp + 4], ecx
mov dword [ebp], esi
lea ecx, [ecx + edx*8]
jmp 0x1001e722
mov ecx, 1
lea eax, [edi + 0x88]
cmp dword [eax], esi
je 0x1001e6c3
inc ecx
add eax, 8
cmp ecx, 8
jb 0x1001e698
push dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
push dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x24]
push edi
call fcn.1002af40
add esp, 0x10
mov ecx, eax
jmp 0x1001e722
lea eax, [edi + ecx*8]
mov eax, dword [eax + 0x84]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x1001e6fc
mov eax, dword [edi + ecx*8 + 0x78]
lea ebx, [edi + ecx*8]
mov dword [edi + ecx*8 + 0x80], eax
mov eax, dword [ebx + 0x7c]
mov dword [ebx + 0x84], eax
mov eax, dword [ebp]
mov dword [edi + ecx*8 + 0x78], eax
lea ecx, [ebp + 4]
mov eax, dword [ecx]
mov dword [ebx + 0x7c], eax
jmp 0x1001e70d
mov eax, dword [ebp]
lea ecx, [ebp + 4]
mov dword [ebx], eax
mov eax, dword [ebp + 4]
mov dword [edi + 0x84], eax
mov eax, dword [esp + 0x1c]
mov dword [ebp], esi
mov dword [ecx], eax
shr edx, 0xc
and edx, 0x3ff
lea ecx, [eax + edx*8]
cmp byte [esp + 0x30], 0
mov eax, dword [esp + 0x3c]
mov dword [eax], ecx
jne 0x1001e73c
test ecx, ecx
sete al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x14
ret