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

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp]
mov edx, dword [eax + 0x7c]
push esi
push edi
mov ecx, ebp
call edx
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x80]
mov ecx, ebp
call edx
mov ecx, dword [ebp + 0x38]
movzx edx, word [ebp + 0x3c]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
sub eax, ecx
sub edi, ecx
mov dword [esp + 0x14], eax
cmp edx, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x68], edx
lea eax, [esp + 0x68]
jb 0x101a623b
lea eax, [esp + 0x14]
mov eax, dword [eax]
mov esi, dword [ebp + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 8]
lea ecx, [eax + ecx*2]
mov al, byte [ebp + 0x29]
test al, 8
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
jne 0x101a626b
mov edx, dword [esp + 0x78]
test byte [edx + 0xc], 1
mov byte [esp + 0x68], 0
je 0x101a6270
mov byte [esp + 0x68], 1
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 8]
and ecx, 7
cmp ecx, 1
je 0x101a628b
cmp ecx, 2
mov dword [esp + 0x78], 1
jne 0x101a6293
mov dword [esp + 0x78], 0
mov esi, dword [ebp + 0x2c]
shr al, 2
and al, 1
mov bl, al
shl esi, 0x13
mov eax, ebp
sar esi, 0x13
call fcn.101a67f0
cmp byte [esp + 0x78], 0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov al, byte [esp + 0x68]
sete dl
add ecx, dword [esp + 0x70]
mov byte [esp + 0x4c], dl
mov edx, dword [esp + 0x74]
mov byte [esp + 0x59], al
mov eax, dword [esp + 0x18]
push edi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x14]
push ecx
mov byte [esp + 0x60], bl
lea ebx, [eax + edx]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x6c], esi
mov byte [esp + 0x72], 1
mov byte [esp + 0x73], 1
mov byte [esp + 0x74], 1
mov dword [esp + 0x48], ebx
call fcn.100c2450
mov esi, eax
lea edi, [esp + 0x3c]
call fcn.10106cd0
mov ecx, dword [esp + 0x80]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x94]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x98]
mov dword [eax + 8], ecx
add eax, 0xc
lea ecx, [esp + 0x9c]
call fcn.10001c10
mov edx, dword [ebp + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0xc]
mov edx, edi
push edx
call fcn.100b3830
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0x44]
mov ecx, dword [eax + 8]
cmp byte [ecx + 0x230], 0
je 0x101a6429
mov edi, dword [esp + 0x6c]
or byte [esp + 0x1c], 1
push edi
mov dword [esp + 0x1c], 0xffffff00
call fcn.100a5db0
fldz
push ecx
fstp dword [esp]
lea edx, [esp + 0x1c]
push edx
mov eax, edx
push eax
call fcn.101a4fd0
mov ecx, dword [ebp + 8]
add ecx, dword [esp + 0x7c]
mov edx, dword [ebp + 0x10]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x48], ecx
add esp, 0xc
lea eax, [esp + 0x3c]
mov ecx, edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], esi
call fcn.100a8be0
mov eax, dword [edi]
cmp byte [eax + 0x64], 0
jne 0x101a6423
mov ecx, dword [esp + 0x28]
push ecx
push esi
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x54]
call fcn.100c2450
mov ecx, eax
mov eax, dword [edi]
cmp byte [eax + 0x64], 0
jne 0x101a6423
mov edx, dword [edi + 4]
mov eax, dword [edx]
push eax
lea eax, [esp + 0x1c]
call fcn.100a7aa0
add esp, 4
push edi
call fcn.100a5e20
lea ecx, [esp + 0x8c]
push ecx
call fcn.10001b00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x28