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

Disassembly:
sub esp, 0x90
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x8c], eax
mov edx, dword [esp + 0x98]
push ebx
mov ebx, dword [esp + 0x98]
push ebp
push esi
mov esi, dword [esp + 0xa8]
mov eax, dword [ebx + 0x3bb8]
push edi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x20], ebx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x28], ecx
xor ecx, ecx
test edx, edx
mov dword [esp + 0x2c], esi
setg cl
test edx, edx
jle 0x10154096
cmp dword [eax + 0x64], 0
mov dword [esp + 0x10], 4
jne 0x1015409e
mov dword [esp + 0x10], 8
imul edi, edx, 0x2c
add edi, ebx
mov dword [esp + 0x80], edi
mov ebp, dword [edi + 0x3614]
mov dword [esp + 0x14], ebp
lea eax, [ebp*2]
add eax, ebp
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x34], eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x80]
push eax
push ecx
push ebx
call fcn.100b47e0
xor eax, eax
xorps xmm0, xmm0
add esp, 0x10
cmp dword [edi + 0x3618], 1
movups xmmword [esi + 0x58], xmm0
setg al
xor edi, edi
movups xmmword [esi + 0x68], xmm0
add eax, 3
mov dword [esp + 0x64], edi
movups xmmword [esi + 0x78], xmm0
mov dword [esp + 0x38], eax
movups xmmword [esi + 0x88], xmm0
cmp dword [ebx + 0x3bc8], edi
jle 0x10154468
lea eax, [ebx + 0x3d08]
mov dword [esp + 0x68], eax
mov ecx, dword [eax - 4]
xor edx, edx
mov dword [esp + 0x30], ecx
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
cmp dword [ebx + 0x3bc4], edx
jle 0x10154450
lea edi, [ebx + 0x3c04]
mov dword [esp + 0x60], edi
nop dword [eax + eax]
mov eax, dword [edi - 4]
mov edi, dword [edi]
mov dword [esp + 0x50], eax
mov eax, 3
mov word [esi + 0xbc], ax
mov word [esi + 0xac], ax
mov word [esi + 0xec], ax
mov word [esi + 0xdc], ax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], edi
mov dword [esi + 0xb0], 0xfff90003
mov dword [esi + 0xa0], 0xfff90003
mov dword [esi + 0xb4], 0xffea000f
mov dword [esi + 0xa4], 0xffea000f
mov dword [esi + 0xb8], 0xfff9000f
mov dword [esi + 0xa8], 0xfff9000f
mov dword [esi + 0xc4], 0xffffffe0
mov dword [esi + 0xc8], 0x1f
mov dword [esi + 0xe0], 0xfff90003
mov dword [esi + 0xd0], 0xfff90003
mov dword [esi + 0xe4], 0xffea000f
mov dword [esi + 0xd4], 0xffea000f
mov dword [esi + 0xe8], 0xfff9000f
mov dword [esi + 0xd8], 0xfff9000f
mov dword [esi + 0xf4], 0xffffffe0
mov dword [esi + 0xf8], 0x1f
mov dword [esp + 0x54], eax
cmp eax, ecx
jge 0x1015442c
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x50]
nop dword [eax]
mov edx, eax
mov dword [esp + 0x4c], esi
shl edx, cl
mov eax, esi
mov dword [esp + 0x88], edx
cmp esi, edi
jge 0x1015440d
mov esi, dword [esp + 0x24]
nop dword [eax]
lea ebp, [esp + 0x44]
shl eax, cl
push ebp
lea ebp, [esp + 0x74]
push ebp
lea ebp, [esp + 0x44]
push ebp
lea ebp, [esp + 0x84]
push ebp
push esi
push eax
push edx
push dword [esp + 0x88]
push ebx
call fcn.100b4850
mov ebp, dword [esp + 0x38]
add esp, 0x24
test eax, eax
je 0x101543ed
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x18], ebx
cmp ebx, esi
jge 0x101543e5
mov edx, dword [esp + 0x40]
mov edi, ebp
imul edi, ebx
mov ebx, edi
mov dword [esp + 0x48], edi
sub ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
mov ecx, edx
mov dword [esp + 0x74], 0
sub ecx, edi
mov eax, ebp
cmp ecx, dword [esp + 0x34]
cmovl eax, ecx
mov ecx, ebx
add eax, edi
test ebx, ebx
mov dword [esp + 0x98], eax
cmovs ecx, dword [esp + 0x74]
mov dword [esp + 0x94], ecx
cmp eax, edx
jge 0x10154300
sub eax, dword [esp + 0x10]
mov dword [esp + 0x98], eax
mov ebx, dword [esp + 0x78]
cmp ebx, dword [esp + 0x3c]
jge 0x101543bf
mov edi, ebx
imul edi, ebp
mov ecx, dword [esp + 0x7c]
mov eax, ebp
mov edx, dword [esp + 0xb0]
sub ecx, edi
cmp ecx, dword [esp + 0x34]
mov dword [esp + 0x8c], edi
cmovl eax, ecx
mov ecx, dword [esp + 0x2c]
add eax, edi
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x80]
mov ebp, dword [eax + 0x3620]
imul ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov byte [ecx + 0x50], 0
add ebp, ebx
xor esi, esi
nop dword [eax + eax]
cmp byte [esi + edx], 0
jne 0x1015439d
mov eax, dword [esp + 0x20]
push dword [eax + 0x2c]
mov eax, dword [ecx + 8]
push 0
push dword [eax + 0x3694]
lea eax, [esp + 0x98]
push ecx
push ebp
push eax
mov eax, dword [esi*4 + 0x107d2da4]
call eax
mov ecx, dword [esp + 0x44]
add esp, 0x18
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0xb0]
inc esi
cmp esi, eax
jl 0x10154360
mov ebp, dword [esp + 0x14]
inc ebx
add edi, ebp
cmp ebx, dword [esp + 0x3c]
jl 0x10154313
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x18]
add edi, ebp
add dword [esp + 0x1c], ebp
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, esi
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x48], edi
jl 0x101542c3
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x88]
inc eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
cmp eax, edi
jl 0x10154260
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
cmp eax, dword [esp + 0x58]
jl 0x10154240
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
inc edx
add edi, 4
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edi
cmp edx, dword [ebx + 0x3bc4]
jl 0x10154150
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
inc edi
add eax, 4
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], eax
cmp edi, dword [ebx + 0x3bc8]
jl 0x10154122
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.105116c0
add esp, 0x90
ret