Function at 0x1012fab0
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], 0x10140310
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 0x1012fb0d
cmp eax, 0x40
je 0x1012fb16
cmp eax, 8
jne 0x1012fb1f
mov dword [esi + 0x10], 0x10
jmp 0x1012fb26
mov dword [esi + 0x10], 0
jmp 0x1012fb26
mov dword [esi + 0x10], 8
jmp 0x1012fb26
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 0x1012fb90
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 0x1012fbde
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x1012fbe4
movzx eax, word [eax]
jmp 0x1012fc01
mov dl, 1
xor edi, edi
jmp 0x1012fc10
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 0x1012fc0e
mov ecx, edi
mov edi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
mov dword [esi + 4], edi
je 0x1012fc57
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1012fc27
movzx eax, word [eax]
jmp 0x1012fc48
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 0x1012fc57
test dl, dl
jne 0x1012fc61
jmp 0x1012fd52
xor ecx, ecx
test dl, dl
jne 0x1012fd52
mov dword [esi + 8], ecx
mov eax, dword [esi + 0x28]
movzx edx, byte [esi + 0x23]
test dl, dl
jns 0x1012fc72
mov edx, dword [esi + 0x1c]
lea ecx, [ebx + edx]
cmp eax, ecx
jne 0x1012fcc8
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 0x1012fcc1
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 0x1012fcd5
movzx eax, word [eax]
jmp 0x1012fcef
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 0x1012fd4f
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x1012fd30
add eax, 2
mov dword [edi + 0xc], eax
jmp 0x1012fbcd
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 0x1012fbcd
mov ecx, dword [esi + 8]
mov dword [esi + 8], ecx
movzx eax, byte [esi + 0x3b]
test al, al
jns 0x1012fd60
mov eax, dword [esi + 0x34]
test eax, eax
je 0x1012fd8b
mov eax, dword [esi + 0x24]
mov ecx, eax
lea edx, [esi + 0x78]
sub ecx, edx
cmp ecx, 0x9f
jg 0x1012fd8b
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.1013f9e4
add esp, 8
mov edi, dword [esi + 4]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ecx + 4], edx
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 0x1012fdd8
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x1012fde5
movzx eax, word [eax]
jmp 0x1012fdef
mov bl, 1
xor edx, edx
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x1012fe04
jmp 0x1012fe3a
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 0x1012fe11
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1012fe1e
movzx eax, word [eax]
jmp 0x1012fe2d
mov edx, 0
cmp ax, 0xffff
jne 0x1012fe42
jmp 0x1012fe3a
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 0x1012fe42
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 0x1012fe58
push dword [esi + 0x18]
call fcn.10205096
add esp, 4
cmp byte [esi + 0x3b], 0
jns 0x1012fe69
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