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

Disassembly:
sub esp, 0xa8
push ebx
push ebp
push edi
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x10], 0
mov ebx, dword [edi]
mov ecx, dword [edi + 0x13c]
mov dword [esp + 0x5c], ebx
mov ebp, dword [ebx + 0x1c]
mov dword [esp + 0xc], ebp
test ecx, 0x100
jne 0x1010320d
mov eax, dword [edi + 8]
test byte [eax + 0x9c], 1
jne 0x1010320d
cmp dword [eax + 0x70], 0
mov dword [esp + 0x14], 0x1008
jne 0x10103215
mov dword [esp + 0x14], 8
mov dword [esp + 0x3c], 0
xorps xmm0, xmm0
movq qword [esp + 0x34], xmm0
movq qword [esp + 0xa8], xmm0
mov dword [esp + 0xb0], 0
movups xmmword [esp + 0x24], xmm0
push 6
movups xmmword [esp + 0x9c], xmm0
test ecx, 0x400
je 0x10103266
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.100ecd90
jmp 0x1010328c
mov eax, dword [ebx + 0x12c]
cmp dword [eax + 0x14], 0
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
je 0x10103287
call fcn.100de0f0
jmp 0x1010328c
call fcn.10103c70
add esp, 0x10
test eax, eax
jne 0x101035d9
mov dword [esp + 0x58], eax
xorps xmm0, xmm0
push esi
lea eax, [esp + 0x14]
movq qword [esp + 0x54], xmm0
push eax
push ebx
movups xmmword [esp + 0x4c], xmm0
call fcn.10101ed0
mov ebx, dword [esp + 0x1c]
add esp, 8
mov esi, eax
test ebx, ebx
je 0x101035c2
lea eax, [edi + 0x10]
mov dword [esp + 0x20], eax
mov edi, eax
nop
test esi, esi
jne 0x101035a6
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [ebx + 0x114]
push ebx
call eax
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10103319
cmp esi, 0xffff86ea
jne 0x101035a6
or dword [esp + 0x5c], 0x20
xor ebp, ebp
mov edi, dword [esp + 0x20]
mov dword [esp + 0x48], ebp
jmp 0x1010331d
mov ebp, dword [esp + 0x48]
test byte [esp + 0x5c], 0x20
je 0x10103340
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
test ebp, ebp
je 0x10103574
mov eax, dword [esp + 0xbc]
lea edi, [eax + 0x10]
jmp 0x10103354
lea eax, [esp + 0x44]
mov ebp, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0x1c]
push ecx
push dword [eax + 0x84]
push 0
push 0
push dword [ebx + 0x20]
push dword [edi]
push dword [eax + 0xc]
push ebx
call fcn.10100cd0
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x101035a2
mov eax, dword [esp + 0x10]
test byte [eax + 0x9c], 1
je 0x10103399
mov eax, dword [esp + 0x1c]
or dword [eax + 0x13c], 0x40000
test ebp, ebp
je 0x1010353f
mov edi, dword [esp + 0x24]
add edi, 0x18
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [esp + 0x98], 0
movups xmmword [esp + 0x80], xmm0
movq qword [esp + 0x90], xmm0
mov eax, dword [edi - 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [edi - 0x14]
mov dword [esp + 0x84], eax
mov eax, dword [ebx + 0x118]
mov eax, dword [eax + 0x20]
cmp eax, 4
je 0x101033f6
cmp eax, 3
jne 0x1010342c
test dword [ebx + 0x2e0], 0x10000000
je 0x1010342c
mov edx, dword [esp + 0x28]
mov al, byte [edx + 3]
mov bl, byte [edx + 1]
mov ch, byte [edx]
mov cl, byte [edx + 2]
mov byte [edx], al
mov eax, dword [esp + 0x28]
mov byte [eax + 1], cl
mov eax, dword [esp + 0x28]
mov byte [eax + 2], bl
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
mov byte [eax + 3], ch
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x30]
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x80], 0
mov dword [esp + 0x6c], eax
test dword [ecx + 0x13c], 0x400
je 0x1010347c
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x88]
push eax
push ecx
call fcn.100ecd90
jmp 0x101034a4
mov eax, dword [ecx]
mov eax, dword [eax + 0x12c]
cmp dword [eax + 0x14], 0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x88]
push eax
push ecx
je 0x1010349f
call fcn.100de0f0
jmp 0x101034a4
call fcn.10103c70
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x101034bd
push 0x1e
push dword [esp + 0x20]
call fcn.10102680
add esp, 8
jmp 0x101034d1
cmp esi, 0xffff86f4
jne 0x101034d3
push dword [esp + 0x60]
call fcn.1014aa70
add esp, 4
mov esi, eax
mov eax, dword [ebx + 0x118]
mov eax, dword [eax + 0x20]
cmp eax, 4
je 0x101034e6
cmp eax, 3
jne 0x1010351c
test dword [ebx + 0x2e0], 0x10000000
je 0x1010351c
mov edx, dword [esp + 0x28]
mov al, byte [edx + 3]
mov bl, byte [edx + 1]
mov ch, byte [edx]
mov cl, byte [edx + 2]
mov byte [edx], al
mov eax, dword [esp + 0x28]
mov byte [eax + 1], cl
mov eax, dword [esp + 0x28]
mov byte [eax + 2], bl
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
mov byte [eax + 3], ch
test byte [edi], 1
je 0x10103533
push dword [edi - 0x18]
push dword [esp + 0x14]
call fcn.100dc940
add esp, 8
and dword [edi], 0xfffffffe
add edi, 0x1c
sub ebp, 1
jne 0x101033b0
push dword [esp + 0x1c]
mov edi, esi
call fcn.10102280
add esp, 4
test eax, eax
jne 0x1010359d
test edi, edi
jne 0x101035a2
test byte [esp + 0x5c], 1
mov ebp, dword [esp + 0x10]
je 0x10103578
push dword [esp + 0x44]
push ebp
call fcn.100dc940
add esp, 8
and dword [esp + 0x5c], 0xfffffffe
jmp 0x10103578
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push dword [ebx]
push eax
call fcn.10101f30
mov edi, ebx
add esp, 8
mov ebx, dword [esp + 0x14]
mov esi, eax
test ebx, ebx
jne 0x101032d0
jmp 0x101035c2
test esi, esi
cmove esi, eax
mov ebp, dword [esp + 0x10]
test ebx, ebx
je 0x101035c2
mov eax, dword [esp + 0x20]
push dword [eax]
push ebx
call fcn.10101e30
add esp, 8
test eax, eax
je 0x101035c2
test esi, esi
cmove esi, eax
test byte [esp + 0x5c], 1
je 0x101035d6
push dword [esp + 0x44]
push ebp
call fcn.100dc940
add esp, 8
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0xa8
ret