Function at 0x1012fec0
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], 0x10140320
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 0x1012ff1d
cmp eax, 0x40
je 0x1012ff26
cmp eax, 8
jne 0x1012ff2f
mov dword [esi + 0x10], 0x10
jmp 0x1012ff36
mov dword [esi + 0x10], 0
jmp 0x1012ff36
mov dword [esi + 0x10], 8
jmp 0x1012ff36
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 0x1012ffa0
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 0x1012ffee
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x1012fff4
movzx eax, word [eax]
jmp 0x10130011
mov dl, 1
xor edi, edi
jmp 0x10130020
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 0x1013001e
mov ecx, edi
mov edi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
mov dword [esi + 4], edi
je 0x10130067
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10130037
movzx eax, word [eax]
jmp 0x10130058
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 0x10130067
test dl, dl
jne 0x10130071
jmp 0x10130162
xor ecx, ecx
test dl, dl
jne 0x10130162
mov dword [esi + 8], ecx
mov eax, dword [esi + 0x28]
movzx edx, byte [esi + 0x23]
test dl, dl
jns 0x10130082
mov edx, dword [esi + 0x1c]
lea ecx, [ebx + edx]
cmp eax, ecx
jne 0x101300d8
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 0x101300d1
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 0x101300e5
movzx eax, word [eax]
jmp 0x101300ff
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 0x1013015f
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x10130140
add eax, 2
mov dword [edi + 0xc], eax
jmp 0x1012ffdd
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 0x1012ffdd
mov ecx, dword [esi + 8]
mov dword [esi + 8], ecx
movzx eax, byte [esi + 0x3b]
test al, al
jns 0x10130170
mov eax, dword [esi + 0x34]
test eax, eax
je 0x1013019b
mov eax, dword [esi + 0x24]
mov ecx, eax
lea edx, [esi + 0x78]
sub ecx, edx
cmp ecx, 0x9f
jg 0x1013019b
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.1013fae8
add esp, 8
mov edi, dword [esi + 4]
mov ecx, dword [ebp + 0x1c]
mov word [ecx], ax
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 0x101301e6
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x101301f3
movzx eax, word [eax]
jmp 0x101301fd
mov bl, 1
xor edx, edx
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x10130212
jmp 0x10130248
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 0x1013021f
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1013022c
movzx eax, word [eax]
jmp 0x1013023b
mov edx, 0
cmp ax, 0xffff
jne 0x10130250
jmp 0x10130248
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 0x10130250
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 0x10130266
push dword [esi + 0x18]
call fcn.10205096
add esp, 4
cmp byte [esi + 0x3b], 0
jns 0x10130277
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