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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov esi, dword [edi + 0x3c8]
mov dword [esp + 0x30], esi
mov ebx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x2c], ebx
lea eax, [ebx + eax*4]
cmp ebx, eax
jae 0x100ec0e0
mov ecx, dword [ebx]
mov eax, dword [esi]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x3c], ecx
lea esi, [eax + edx*8]
mov ebx, dword [ebx + 0x18]
lea ecx, [eax + ecx*8]
mov eax, dword [esi]
add ebx, edx
mov dword [esp + 0x28], ecx
lea ecx, [eax*4]
mov eax, dword [esi + 4]
shl eax, 2
cmp byte [edi + 0xc2c], 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
jne 0x100ebf14
push edi
call fcn.100ec640
mov ecx, dword [esp + 0x24]
add esp, 4
mov eax, dword [esp + 0x24]
mov edi, dword [edi + 0x14]
mov edx, dword [ebp + 8]
sar eax, 8
sar ecx, 8
cmp ecx, edi
mov dword [esp + 0x18], eax
mov eax, ecx
mov dword [esp + 0x34], edi
cmovg eax, edi
mov dword [edx + 0x24], 0
mov dword [esp + 0x10], eax
mov eax, edi
mov edi, dword [esp + 0x10]
cmovle eax, ecx
mov ecx, dword [edx + 0xc]
cmp eax, ecx
mov dword [edx + 0x28], 0
mov edx, ecx
cmovge edx, eax
cmovl edi, ecx
mov eax, dword [ebp + 8]
sub edx, ecx
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x38], edx
mov eax, dword [eax + 0x10]
sub edi, eax
mov dword [esp + 0x1c], edi
mov edi, dword [ebp + 8]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [edi + 8], edx
mov byte [edi + 0xc2c], 0
mov edi, dword [esp + 0x10]
mov dword [esp + 0x10], edi
sub edi, ecx
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov dword [esp + 0x10], edi
mov eax, edi
mov dword [esp + 0x18], ecx
cmp eax, dword [esp + 0x34]
cmovg eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x38]
jne 0x100ebfb6
cmp ecx, edx
je 0x100ebfcc
mov edi, dword [ebp + 8]
push edi
call fcn.100ec640
mov ecx, dword [esp + 0x1c]
add esp, 4
mov eax, dword [esp + 0x10]
jmp 0x100ebfcf
mov edi, dword [ebp + 8]
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
cmp ecx, dword [edi + 0x20]
jae 0x100ebff1
cmp eax, dword [edi + 0x1c]
jge 0x100ebff1
xor al, al
jmp 0x100ebff3
mov al, 1
mov byte [edi + 0xc2c], al
mov eax, dword [esp + 0x20]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x28]
cmp esi, eax
jae 0x100ec0ad
inc ebx
add esi, 8
mov edx, esi
cmp byte [ebx], 0
jne 0x100ec041
mov eax, dword [esi + 4]
mov ecx, dword [esi]
shl eax, 2
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
push eax
shl ecx, 2
push edi
mov dword [esp + 0x50], ecx
call fcn.100ec360
add esp, 8
jmp 0x100ec0a1
add esi, 0x10
add ebx, 2
cmp esi, eax
ja 0x100ec0e7
mov eax, dword [esi + 4]
mov ecx, dword [esi]
shl eax, 2
mov dword [esp + 0x54], eax
mov eax, dword [esi - 4]
shl eax, 2
mov dword [esp + 0x5c], eax
mov eax, dword [esi - 0xc]
shl eax, 2
shl ecx, 2
mov dword [esp + 0x64], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi - 8]
push eax
shl ecx, 2
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x60], ecx
lea eax, [esp + 0x68]
mov ecx, dword [edx]
push eax
shl ecx, 2
push edi
mov dword [esp + 0x70], ecx
call fcn.100ebcf0
add esp, 0x10
mov eax, dword [esp + 0x28]
cmp esi, eax
jb 0x100ec013
lea eax, [esp + 0x40]
push eax
push edi
call fcn.100ec360
add esp, 8
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
add ebx, 4
inc edx
mov dword [esp + 0x2c], ebx
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
lea eax, [eax + ecx*4]
cmp ebx, eax
jb 0x100ebec0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi - 4]
mov ecx, dword [esi - 8]
shl eax, 2
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 4]
shl eax, 2
mov dword [esp + 0x74], eax
lea eax, [esp + 0x40]
push eax
shl ecx, 2
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x70], ecx
lea eax, [esp + 0x78]
mov ecx, dword [edx]
push eax
shl ecx, 2
push edi
mov dword [esp + 0x80], ecx
call fcn.100ebcf0
add esp, 0x10
jmp 0x100ec0bb