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

Disassembly:
push 0x10c
mov eax, 0x10154e33
call fcn.10147df8
xor ebx, ebx
lea ecx, [ebp - 0x24]
inc ebx
mov byte [ebp - 0xd], bl
call fcn.10050470
and dword [ebp - 4], 0
push 0x198
call fcn.100fc1cd
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], bl
mov ebx, dword [ebp + 0xc]
test eax, eax
je 0x101434a4
mov ecx, dword [ebx + 0xc]
xor edx, edx
shr ecx, 0xc
inc edx
and ecx, edx
push ecx
push dword [ebx + 8]
mov ecx, eax
push dword [ebx + 4]
call fcn.100ddee0
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x101434a9
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0
test ecx, ecx
je 0x1014380c
cmp dword [ecx + 0x1c], 0
je 0x101437fc
cmp dword [ecx + 0x20], 0
je 0x101437fc
mov dword [ebx + 0x10], ecx
lea edx, [ebx + 0x24]
cmp byte [edx], 0
lea edi, [ebp - 0x118]
push 0x1a
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
je 0x10143575
mov eax, dword [0x107d4510]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x58]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov edi, eax
test edi, edi
je 0x10143810
mov ecx, dword [edi]
push 2
push edi
mov esi, dword [ecx + 0x2c]
mov ecx, esi
call dword [0x10155aa8]
call esi
test eax, eax
je 0x10143560
mov eax, dword [edi]
mov ecx, dword [ebp - 0x14]
push 0
push ecx
mov esi, dword [eax + 0x34]
mov ecx, esi
push edi
call dword [0x10155aa8]
call esi
mov ecx, dword [ebp + 8]
mov esi, dword [edi]
mov eax, dword [ecx + 0x10c]
push dword [eax + 0xc]
push ecx
mov ecx, dword [esi + 0x30]
push edi
call dword [0x10155aa8]
call dword [esi + 0x30]
mov eax, dword [edi]
push dword [ebp + 0x10]
push edi
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10155aa8]
call esi
jmp 0x10143810
lea ecx, [ebp - 0xb0]
call fcn.100fc1cd
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 2
test eax, eax
jne 0x10143594
mov eax, dword [edi + 0x10c]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.100fc1cd
mov esi, dword [ebp - 0x9c]
pop ecx
pop ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], esi
test cl, 4
je 0x101435c5
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x74]
test ecx, 0x100
mov esi, dword [ebx + 8]
push 1
pop edx
cmovne eax, edx
mov dword [ebp - 0x38], esi
mov edx, dword [ebx + 4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x10c]
and eax, 1
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x18], eax
je 0x1014360a
or dword [edi + 0x158], 0x200000
lea eax, [edx + edx]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x3c], eax
lea eax, [esi + esi]
mov dword [ebp - 0x38], eax
and dword [ebp - 0x9c], 0
lea eax, [ebp - 0x9c]
and ecx, 0x1000
neg ecx
sbb ecx, ecx
and ecx, str.drvSOFTZBalpha
push ecx
push eax
call sym.rt3d.dll_bool___stdcall_ChooseDriver_class_DRIVER3D____char_const__
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x10143653
mov esi, dword [eax]
lea ecx, [ebp - 0xb0]
xor edx, edx
push edx
push edx
push ecx
mov ecx, dword [esi + 0x28]
push edx
push eax
call dword [0x10155aa8]
call dword [esi + 0x28]
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2a8]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov esi, dword [edi]
xor eax, eax
inc eax
push eax
push dword [ebp - 0x38]
mov esi, dword [esi + 0x2b8]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x3c]
mov ecx, esi
push eax
push edi
call dword [0x10155aa8]
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x101436af
mov edx, dword [eax + 0x14]
test edx, edx
je 0x101436af
mov eax, dword [ebp - 0x9c]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x68]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov esi, dword [edi]
lea eax, [ebp - 0xb0]
push 0x81
push dword [ebp + 0x10]
mov esi, dword [esi + 0x2b0]
mov ecx, esi
push 0
push 0
push eax
push edi
call dword [0x10155aa8]
call esi
cmp dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x9c]
push 0
je 0x1014371a
and dword [edi + 0x158], 0xffdfffff
mov ecx, dword [eax]
push 0x66
push eax
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x10155aa8]
call esi
push dword [ebp - 0x110]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x114]
push eax
push ecx
call fcn.100fc1cd
add esp, 0x10
jmp 0x10143765
mov ecx, dword [eax]
push 0x67
push eax
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, dword [ebp - 0x9c]
push 0
push 0x66
push ecx
mov edx, dword [ecx]
mov dword [ebp - 0x18], eax
mov esi, dword [edx + 0x30]
mov ecx, esi
call dword [0x10155aa8]
call esi
test eax, eax
je 0x10143761
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push eax
push dword [ecx + 0x24]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x10143765
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x9c]
mov esi, dword [ebp - 0x1c]
test esi, esi
mov dword [ebp - 0x20], eax
sete al
movzx eax, al
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100fc1cd
test esi, esi
jne 0x1014378e
and dword [edi + 0x158], 0xfffffffd
mov esi, dword [edi]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0xa4], eax
inc ecx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebx + 0x1c]
push ecx
mov ecx, dword [esi + 0x2b8]
test eax, eax
jne 0x101437bb
mov eax, dword [edi + 0x10c]
push dword [eax + 0x78]
push dword [eax + 0x74]
push eax
push edi
call dword [0x10155aa8]
call dword [esi + 0x2b8]
lea eax, [ebp - 0xb0]
push eax
call fcn.100fc1cd
mov eax, dword [edi]
pop ecx
push edi
mov esi, dword [eax + 0x2a8]
mov ecx, esi
call dword [0x10155aa8]
call esi
lea ecx, [ebp - 0xb0]
call fcn.100fc1cd
jmp 0x10143810
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x24]
call fcn.10001a60
mov al, byte [ebp - 0xd]
call fcn.10147dc1
ret