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

Disassembly:
sub esp, 0x80
mov eax, dword [0x101df584]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x8c]
push esi
mov esi, dword [esp + 0x94]
push edi
mov eax, dword [esi]
cmp dword [ebp + 0x10], eax
jg 0x10027d5a
mov ebx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x18]
cmp eax, ebx
jg 0x10027d5a
mov edi, dword [ebp + 0x24]
mov eax, edi
imul eax, ebx
cmp dword [ebp + 0x1c], eax
jg 0x10027d5a
mov eax, dword [esi + 0x24]
mov edx, 1
mov ecx, edx
cmp dword [esi + 0x20], ecx
cmovg edx, dword [esi + 0x20]
cmp dword [ebp + 0x20], ecx
mov dword [esp + 0x10], edx
cmovg ecx, dword [ebp + 0x20]
mov dword [esp + 0x18], ecx
cmp eax, 1
jle 0x10027799
imul edx, eax
mov dword [esp + 0x10], edx
cmp edi, 1
jle 0x100277a5
imul ecx, edi
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 0x28]
cmp eax, 1
jle 0x100277b4
imul edx, eax
mov dword [esp + 0x10], edx
cmp ebx, 1
jle 0x100277c2
mov eax, ebx
imul ecx, eax
mov dword [esp + 0x18], ecx
cmp edx, ecx
jg 0x10027d5a
lea eax, [esi + 0x14]
mov edi, esi
xor edx, edx
mov dword [esp + 0x1c], eax
mov ecx, eax
sub edi, ebp
lea eax, [ebp + 4]
nop dword [eax]
cmp dword [eax + 0x1c], 1
jle 0x100277f9
cmp dword [eax], 0
jle 0x10027d5a
cmp dword [eax + 0x10], 0
jle 0x10027d5a
cmp dword [ecx + 0xc], 1
jle 0x10027812
cmp dword [edi + eax], 0
jle 0x10027d5a
cmp dword [ecx], 0
jle 0x10027d5a
inc edx
add eax, 4
add ecx, 4
cmp edx, 3
jl 0x100277e0
mov ecx, dword [ebp + 4]
cmp ecx, dword [ebp + 0x14]
je 0x10027830
cmp dword [ebp + 0x20], 1
jle 0x10027830
xor cl, cl
jmp 0x10027832
mov cl, 1
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x18]
je 0x10027844
cmp dword [ebp + 0x24], 1
jle 0x10027844
xor al, al
jmp 0x10027846
mov al, 1
mov ebx, dword [ebp + 0xc]
and al, cl
cmp ebx, dword [ebp + 0x1c]
je 0x10027856
cmp dword [ebp + 0x28], 1
jg 0x10027871
test al, al
je 0x10027871
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [esi]
sub eax, dword [ebp + 0x10]
add eax, dword [ebp]
mov dword [esi], eax
mov al, 1
jmp 0x10027d5c
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
cmp dword [esi + 4], ecx
je 0x10027886
cmp dword [esi + 0x20], 1
jle 0x10027886
xor cl, cl
jmp 0x10027888
mov cl, 1
mov edx, dword [esi + 0x18]
cmp dword [esi + 8], edx
je 0x1002789c
mov eax, dword [esi + 0x24]
cmp eax, 1
jle 0x1002789c
xor al, al
jmp 0x1002789e
mov al, 1
mov edx, dword [esi + 0x1c]
and al, cl
cmp dword [esi + 0xc], edx
je 0x100278b2
cmp dword [esi + 0x28], 1
jg 0x10027942
test al, al
je 0x10027942
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
jne 0x10027942
mov eax, dword [esi]
sub eax, dword [ebp + 0x10]
movups xmm0, xmmword [ebp]
mov edi, dword [esi + 0x10]
push 1
push eax
mov eax, dword [ebp + 0x30]
sub esp, 0x34
mov ecx, esp
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp + 0x20]
movups xmmword [ecx + 0x20], xmm0
mov dword [ecx + 0x30], eax
call fcn.10027fe0
mov ecx, eax
add esp, 0x3c
add ecx, dword [ebp]
test ebx, ebx
jle 0x1002790f
mov eax, ecx
cdq
idiv ebx
test edx, edx
jne 0x10027d5a
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x2c], eax
movups xmm0, xmmword [ebp + 0x10]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ebp]
mov dword [esi + 0x10], edi
movups xmmword [esi], xmm0
mov dword [esi], ecx
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [esi + 0x28], eax
mov al, 1
jmp 0x10027d5c
or edx, 0xffffffff
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x38], edx
xor ecx, ecx
mov dword [esp + 0x3c], edx
cmp dword [ebp + 0x20], 1
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ecx
jle 0x100279ac
mov eax, dword [ebp + 0x14]
mov edi, 1
mov dword [esp + 0x2c], eax
mov ecx, edi
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], ecx
xor eax, eax
cmp dword [esi + 0x20], 1
mov dword [esp + 0x1c], eax
jle 0x100279ea
mov eax, dword [esi + 4]
mov ebx, 1
mov ecx, dword [esi + 0x14]
mov edx, eax
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x50], eax
mov eax, ebx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
cmp dword [ebp + 0x24], 1
jle 0x10027a19
mov eax, dword [ebp + 0x18]
mov edi, dword [esp + 0x24]
mov dword [esp + ecx*4 + 0x2c], eax
inc edi
mov dword [esp + ecx*4 + 0x68], eax
mov eax, dword [ebp + 8]
mov dword [esp + ecx*4 + 0x80], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + ecx*4 + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], edi
cmp dword [esi + 0x24], 1
jle 0x10027a45
mov ecx, dword [esi + 8]
inc ebx
mov edx, dword [esi + 0x18]
mov dword [esp + eax*4 + 0x38], ecx
mov dword [esp + eax*4 + 0x74], ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + eax*4 + 0x5c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + eax*4 + 0x50], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp + 0x28]
cmp ecx, 1
jle 0x10027a6b
mov eax, dword [ebp + 0x1c]
mov dword [esp + edi*4 + 0x2c], eax
mov dword [esp + edi*4 + 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + edi*4 + 0x80], eax
mov dword [esp + edi*4 + 0x44], ecx
inc edi
mov dword [esp + 0x20], edi
cmp dword [esi + 0x28], 1
jle 0x10027a97
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
mov dword [esp + ebx*4 + 0x38], eax
mov edx, dword [esp + 0x38]
mov dword [esp + ebx*4 + 0x74], eax
mov eax, dword [esi + 0x28]
mov dword [esp + ebx*4 + 0x5c], ecx
mov dword [esp + ebx*4 + 0x50], eax
inc ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
or ecx, 0xffffffff
mov dword [esp + 0x24], ebx
or eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x2c], edx
je 0x10027ac5
mov ebp, dword [esp + 0x3c]
cmp dword [esp + 0x2c], ebp
je 0x10027ac5
mov ebp, dword [esp + 0x40]
cmp dword [esp + 0x2c], ebp
cmovne ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov ebp, dword [esp + 0x94]
cmp dword [esp + 0x30], edx
je 0x10027b04
mov ebp, dword [esp + 0x30]
cmp ebp, dword [esp + 0x3c]
mov ebp, dword [esp + 0x94]
je 0x10027b04
mov ebp, dword [esp + 0x30]
cmp ebp, dword [esp + 0x40]
mov ebp, dword [esp + 0x94]
je 0x10027b04
test ecx, ecx
jg 0x10027d5a
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x34], edx
je 0x10027b3d
mov ebx, dword [esp + 0x34]
cmp ebx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
je 0x10027b3d
mov ebp, dword [esp + 0x34]
cmp ebp, dword [esp + 0x40]
mov ebp, dword [esp + 0x94]
je 0x10027b3d
test ecx, ecx
jg 0x10027d5a
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
cmp edx, dword [esp + 0x2c]
je 0x10027b57
mov ebp, dword [esp + 0x94]
cmp edx, dword [esp + 0x30]
je 0x10027b57
cmp edx, dword [esp + 0x34]
cmovne eax, edx
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x3c], edx
je 0x10027b8c
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x14]
je 0x10027b8c
mov ebp, dword [esp + 0x34]
cmp dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x94]
je 0x10027b8c
test eax, eax
jg 0x10027d5a
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x40], edx
je 0x10027bac
mov edx, dword [esp + 0x40]
cmp edx, dword [esp + 0x30]
je 0x10027bac
cmp edx, dword [esp + 0x34]
je 0x10027bac
test eax, eax
jg 0x10027d5a
mov eax, edx
test eax, eax
jle 0x10027be0
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.10027620
add esp, 0x14
test al, al
je 0x10027d5a
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x10027c14
push ecx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.10027620
add esp, 0x14
test al, al
je 0x10027d5a
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], ebx
xor edx, edx
mov dword [esp + 0x1c], edx
test ebx, ebx
jle 0x10027c64
mov ebp, dword [esp + 0x14]
xor ecx, ecx
lea ebx, [edx*4]
xor eax, eax
test edi, edi
jle 0x10027c45
mov edx, dword [esp + ebx + 0x68]
cmp dword [esp + eax*4 + 0x74], edx
cmove ecx, eax
inc eax
cmp eax, edi
jl 0x10027c35
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + ebx + 0x80]
inc edx
mov dword [esp + ecx*4 + 0x44], eax
mov dword [esp + 0x1c], edx
cmp edx, ebp
jl 0x10027c22
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0x14]
or ecx, 0xffffffff
cmp ebx, dword [esp + 0x24]
jle 0x10027cc7
cmp ebx, 2
jle 0x10027c86
mov eax, dword [esp + 0x58]
or edx, 0xffffffff
cmp eax, 1
mov ecx, 2
cmovne ecx, edx
jmp 0x10027c8b
mov eax, 1
mov dword [esi + 0x28], eax
cmp ebx, 1
jle 0x10027ca3
mov eax, dword [esp + 0x54]
mov edx, 1
cmp eax, edx
cmove ecx, edx
jmp 0x10027ca8
mov eax, 1
mov dword [esi + 0x24], eax
mov edx, ecx
test ebx, ebx
jle 0x10027cbf
mov eax, dword [esp + 0x50]
xor ecx, ecx
cmp eax, 1
cmovne ecx, edx
jmp 0x10027cc4
mov eax, 1
mov dword [esi + 0x20], eax
xor edx, edx
cmp dword [esi + 0x20], 1
jg 0x10027cd3
test ecx, ecx
jne 0x10027ce6
mov eax, dword [esp + 0x44]
mov edx, 1
mov dword [esi + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x14], eax
cmp dword [esi + 0x24], 1
jg 0x10027cf1
cmp ecx, 1
jne 0x10027d00
mov eax, dword [esp + edx*4 + 0x44]
mov dword [esi + 8], eax
mov eax, dword [esp + edx*4 + 0x5c]
inc edx
mov dword [esi + 0x18], eax
cmp dword [esi + 0x28], 1
jg 0x10027d0b
cmp ecx, 2
jne 0x10027d19
mov eax, dword [esp + edx*4 + 0x44]
mov dword [esi + 0xc], eax
mov eax, dword [esp + edx*4 + 0x5c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [esi]
sub eax, dword [ebp + 0x10]
movups xmm0, xmmword [ebp]
push 1
push eax
mov eax, dword [ebp + 0x30]
sub esp, 0x34
mov ecx, esp
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp + 0x20]
movups xmmword [ecx + 0x20], xmm0
mov dword [ecx + 0x30], eax
call fcn.10027fe0
add esp, 0x3c
add eax, dword [ebp]
mov dword [esi], eax
mov al, 1
jmp 0x10027d5c
xor al, al
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1019627f
add esp, 0x80
ret