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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov esi, esp
mov dword [esi + 0x118], ebp
mov edx, dword [ebp + 0x14]
lea eax, [esi + 0x120]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x10140300
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov ebx, edx
mov eax, dword [edx + 4]
and eax, 0x4a
je 0x1012f6fd
cmp eax, 0x40
je 0x1012f706
cmp eax, 8
jne 0x1012f70f
mov dword [esi + 0x10], 0x10
jmp 0x1012f716
mov dword [esi + 0x10], 0
jmp 0x1012f716
mov dword [esi + 0x10], 8
jmp 0x1012f716
mov dword [esi + 0x10], 0xa
lea eax, [esi + 0x16]
mov word [eax], 0xffff
xor edi, edi
dec edi
lea edx, [esi + 0x40]
mov dword [edx + 0x30], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [edx + 0x20], xmm0
movdqa xmmword [edx + 0x10], xmm0
movdqa xmmword [edx], xmm0
mov ecx, ebx
call fcn.10131ef0
lea ecx, [esi + 0x30]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov edx, ebx
lea eax, [esi + 0x16]
push eax
call fcn.10131e30
add esp, 4
xor eax, eax
lea ecx, [esi + 0x18]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [esi + 0x128], eax
push eax
push 0xa
call fcn.101412ec
cmp byte [esi + 0x23], 0
lea ecx, [esi + 0x18]
jns 0x1012f780
mov ecx, dword [esi + 0x18]
mov dword [esi], ecx
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
lea eax, [esi + 0x28]
mov dword [eax], ecx
mov edi, dword [ebp + 0xc]
lea ebx, [esi + 0x78]
push 0xa0
push 0xff
push ebx
call fcn.10208980
add esp, 0xc
lea eax, [esi + 0x24]
mov dword [eax], ebx
mov ebx, dword [esi]
lea eax, [esi + 0x2c]
mov dword [eax], 0
movzx eax, word [esi + 0x16]
mov dword [esi + 0x3c], eax
test edi, edi
je 0x1012f7ce
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x1012f7d4
movzx eax, word [eax]
jmp 0x1012f7f1
mov dl, 1
xor edi, edi
jmp 0x1012f800
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x128], 0
mov ecx, edi
mov dword [esi + 4], edi
mov dword [esi], ebx
call eax
mov ebx, dword [esi]
mov edi, dword [esi + 4]
xor ecx, ecx
cmp ax, 0xffff
sete dl
je 0x1012f7fe
mov ecx, edi
mov edi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
mov dword [esi + 4], edi
je 0x1012f847
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1012f817
movzx eax, word [eax]
jmp 0x1012f838
mov byte [esi + 0xf], dl
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x128], 0
mov dword [esi], ebx
call eax
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dl, byte [esi + 0xf]
cmp ax, 0xffff
je 0x1012f847
test dl, dl
jne 0x1012f851
jmp 0x1012f942
xor ecx, ecx
test dl, dl
jne 0x1012f942
mov dword [esi + 8], ecx
mov eax, dword [esi + 0x28]
movzx edx, byte [esi + 0x23]
test dl, dl
jns 0x1012f862
mov edx, dword [esi + 0x1c]
lea ecx, [ebx + edx]
cmp eax, ecx
jne 0x1012f8b8
mov dword [esi], edx
lea eax, [edx + edx]
xor edx, edx
mov dword [esi + 0x128], edx
lea ecx, [esi + 0x18]
push edx
push eax
call fcn.101412ec
mov eax, dword [esi + 0x20]
mov ecx, 0x7fffffff
and eax, ecx
dec eax
cmp byte [esi + 0x23], 0
mov ecx, 0xa
cmovns eax, ecx
lea ecx, [esi + 0x18]
push 0
push eax
call fcn.101412ec
mov edi, dword [esi + 4]
cmp byte [esi + 0x23], 0
lea ebx, [esi + 0x18]
jns 0x1012f8b1
mov ebx, dword [esi + 0x18]
mov eax, dword [esi]
add eax, ebx
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x1012f8c5
movzx eax, word [eax]
jmp 0x1012f8df
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x128], 0
mov ecx, edi
mov dword [esi], ebx
call eax
mov ebx, dword [esi]
mov edi, dword [esi + 4]
movzx ecx, ax
mov edx, dword [esi + 0x10]
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x24]
push eax
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x30]
push eax
push dword [esi + 0x3c]
lea eax, [esi + 0x2c]
push eax
lea eax, [esi + 0x28]
push eax
push ebx
call fcn.1013174c
add esp, 0x20
test eax, eax
jne 0x1012f93f
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x1012f920
add eax, 2
mov dword [edi + 0xc], eax
jmp 0x1012f7bd
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
mov dword [esi + 0x128], 0
mov ecx, edi
mov dword [esi], ebx
call eax
mov ebx, dword [esi]
mov edi, dword [esi + 4]
jmp 0x1012f7bd
mov ecx, dword [esi + 8]
mov dword [esi + 8], ecx
movzx eax, byte [esi + 0x3b]
test al, al
jns 0x1012f950
mov eax, dword [esi + 0x34]
test eax, eax
je 0x1012f97b
mov eax, dword [esi + 0x24]
mov ecx, eax
lea edx, [esi + 0x78]
sub ecx, edx
cmp ecx, 0x9f
jg 0x1012f97b
mov ecx, dword [esi + 0x2c]
lea edx, [eax + 4]
mov dword [esi + 0x24], edx
mov dword [eax], ecx
mov dword [esi + 0x128], 0
mov edx, dword [esi + 0x28]
mov dword [esi + 0x128], 0
mov ecx, ebx
push dword [esi + 0x10]
push dword [ebp + 0x18]
call fcn.1013f8c7
add esp, 8
mov edi, dword [esi + 4]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
lea ecx, [esi + 0x30]
lea edx, [esi + 0x78]
push dword [ebp + 0x18]
push dword [esi + 0x24]
call fcn.10138cf2
add esp, 8
test edi, edi
je 0x1012f9c5
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x1012f9d2
movzx eax, word [eax]
jmp 0x1012f9dc
mov bl, 1
xor edx, edx
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x1012f9f1
jmp 0x1012fa27
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
mov edi, dword [esi + 4]
xor ecx, ecx
cmp ax, 0xffff
mov edx, edi
cmove edx, ecx
sete bl
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1012f9fe
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1012fa0b
movzx eax, word [eax]
jmp 0x1012fa1a
mov edx, 0
cmp ax, 0xffff
jne 0x1012fa2f
jmp 0x1012fa27
mov byte [esi], bl
mov dword [esi + 4], edx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edx, dword [esi + 4]
mov bl, byte [esi]
cmp ax, 0xffff
sete al
xor bl, al
mov edi, edx
jne 0x1012fa2f
mov eax, dword [ebp + 0x18]
or byte [eax], 2
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [eax], edi
cmp byte [esi + 0x23], 0
jns 0x1012fa45
push dword [esi + 0x18]
call fcn.10205096
add esp, 4
cmp byte [esi + 0x3b], 0
jns 0x1012fa56
push dword [esi + 0x30]
call fcn.10205096
add esp, 4
mov eax, dword [esi + 0x120]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18