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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x10285008]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, ecx
mov ecx, dword [ebp + 0x28]
push ebx
push esi
and ecx, 2
mov dword [esp + 0x24], eax
push edi
mov dword [esp + 0x44], ecx
je 0x100eae1e
mov ecx, dword [ebp + 0x24]
mov edi, dword [ebp + 0x1c]
mov eax, dword [eax + 0x78]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edi
jmp 0x100eae49
mov eax, dword [eax + 0x538]
cmp byte [eax + 0x28], 0
je 0x100eae3c
mov ecx, dword [ebp + 0x24]
mov edi, dword [ebp + 0x1c]
push 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], edi
jmp 0x100eae48
and dword [esp + 0x24], 0
and dword [esp + 0x2c], 0
push 4
pop eax
mov esi, dword [ebp + 8]
lea edx, [eax - 1]
mov ebx, dword [ebp + 0xc]
mov ecx, edx
mov dword [esp + 0x20], eax
and ecx, esi
xor eax, eax
mov dword [esp + 0x10], esi
and eax, ebx
mov dword [esp + 0x14], ebx
or ecx, eax
jne 0x100eb081
mov edi, dword [ebp + 0x14]
xor eax, eax
mov ebx, dword [ebp + 0x10]
and eax, edi
and edx, ebx
mov dword [esp + 0x18], edi
or edx, eax
jne 0x100eb081
mov dword [esp + 0x1c], edx
test edi, edi
jne 0x100eae96
test ebx, ebx
je 0x100eb06d
push 2
pop ecx
call fcn.101f2ce4
test eax, eax
jne 0x100eb07a
push dword [esp + 0x20]
and dword [esp + 0x3c], eax
and dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
push eax
push dword [esp + 0x1c]
push esi
call fcn.100bd189
mov dword [esp + 0x30], eax
test eax, eax
je 0x100eaf37
cmp eax, 0x80004002
jne 0x100eb086
mov eax, dword [esp + 0x28]
xor esi, esi
mov ecx, dword [eax + 0x538]
mov ecx, dword [ecx + 0x14]
mov edx, ecx
add edx, dword [esp + 0x10]
adc esi, dword [esp + 0x14]
dec ecx
xor eax, eax
not ecx
not eax
and edx, ecx
and esi, eax
mov eax, edx
or eax, esi
je 0x100eb065
mov eax, dword [esp + 0x10]
sub edx, eax
mov ecx, dword [esp + 0x14]
sbb esi, ecx
cmp esi, edi
jb 0x100eaf20
ja 0x100eaf1c
cmp edx, ebx
jbe 0x100eaf20
mov edx, ebx
mov esi, edi
add eax, edx
mov dword [esp + 0x10], eax
adc ecx, esi
sub ebx, edx
mov dword [esp + 0x14], ecx
sbb edi, esi
mov esi, eax
jmp 0x100eb051
cmp dword [esp + 0x44], 0
je 0x100eaf8d
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x538]
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x4c]
push eax
mov esi, dword [edi]
push dword [esp + 0x44]
push dword [esp + 0x44]
mov esi, dword [esi + 0xfc]
mov ecx, esi
call dword [0x102dc578]
mov ecx, edi
call esi
mov eax, dword [ebp + 0x18]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x48], eax
jne 0x100eb03d
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x4c], eax
jmp 0x100eaffa
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
cmp edx, eax
jb 0x100eafb1
ja 0x100eafa4
cmp ecx, dword [ebp + 0x18]
jb 0x100eafb1
cmp edx, dword [esp + 0x2c]
jb 0x100eaffc
ja 0x100eafb1
cmp ecx, dword [ebp + 0x20]
jbe 0x100eaffc
xor ecx, dword [ebp + 0x18]
xor edx, eax
mov esi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
shl eax, 3
mov dword [esp + 0x40], eax
test eax, eax
je 0x100eb03d
mov edi, dword [esp + 0x34]
mov esi, eax
mov eax, ecx
and eax, 1
or eax, 0
je 0x100eafe0
inc edi
shrd ecx, edx, 1
shr edx, 1
dec esi
jne 0x100eafd5
mov esi, dword [esp + 0x10]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x34], 1
jne 0x100eb03d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ebp + 0x30]
jae 0x100eb013
mov edx, dword [ebp + 0x2c]
mov dword [edx + eax*8], esi
mov dword [edx + eax*8 + 4], ecx
inc eax
test byte [ebp + 0x28], 1
mov dword [esp + 0x1c], eax
jne 0x100eb03d
mov eax, dword [esp + 0x28]
xor esi, esi
mov eax, dword [eax + 0x538]
mov eax, dword [eax + 0x14]
mov edx, eax
add edx, dword [esp + 0x10]
adc esi, ecx
lea ecx, [eax - 1]
jmp 0x100eaef2
add esi, dword [esp + 0x20]
mov dword [esp + 0x10], esi
adc dword [esp + 0x14], 0
sub ebx, dword [esp + 0x20]
sbb edi, 0
mov dword [esp + 0x18], edi
test edi, edi
jne 0x100eae96
test ebx, ebx
jne 0x100eae96
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x100eb076
mov dword [eax], edx
mov eax, ecx
jmp 0x100eb086
mov ecx, 0xd000013a
jmp 0x100eb069
mov eax, 0x80070057
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10236010
mov esp, ebp
pop ebp
ret 0x30