Function at 0x101306e0
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], 0x10140340
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 0x1013073d
cmp eax, 0x40
je 0x10130746
cmp eax, 8
jne 0x1013074f
mov dword [esi + 0x10], 0x10
jmp 0x10130756
mov dword [esi + 0x10], 0
jmp 0x10130756
mov dword [esi + 0x10], 8
jmp 0x10130756
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 0x101307c0
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 0x1013080e
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x10130814
movzx eax, word [eax]
jmp 0x10130831
mov dl, 1
xor edi, edi
jmp 0x10130840
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 0x1013083e
mov ecx, edi
mov edi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
mov dword [esi + 4], edi
je 0x10130887
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10130857
movzx eax, word [eax]
jmp 0x10130878
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 0x10130887
test dl, dl
jne 0x10130891
jmp 0x10130982
xor ecx, ecx
test dl, dl
jne 0x10130982
mov dword [esi + 8], ecx
mov eax, dword [esi + 0x28]
movzx edx, byte [esi + 0x23]
test dl, dl
jns 0x101308a2
mov edx, dword [esi + 0x1c]
lea ecx, [ebx + edx]
cmp eax, ecx
jne 0x101308f8
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 0x101308f1
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 0x10130905
movzx eax, word [eax]
jmp 0x1013091f
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 0x1013097f
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x10130960
add eax, 2
mov dword [edi + 0xc], eax
jmp 0x101307fd
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 0x101307fd
mov ecx, dword [esi + 8]
mov dword [esi + 8], ecx
movzx eax, byte [esi + 0x3b]
test al, al
jns 0x10130990
mov eax, dword [esi + 0x34]
test eax, eax
je 0x101309bb
mov eax, dword [esi + 0x24]
mov ecx, eax
lea edx, [esi + 0x78]
sub ecx, edx
cmp ecx, 0x9f
jg 0x101309bb
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.1013fcfc
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 0x10130a08
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x10130a15
movzx eax, word [eax]
jmp 0x10130a1f
mov bl, 1
xor edx, edx
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x10130a34
jmp 0x10130a6a
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 0x10130a41
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10130a4e
movzx eax, word [eax]
jmp 0x10130a5d
mov edx, 0
cmp ax, 0xffff
jne 0x10130a72
jmp 0x10130a6a
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 0x10130a72
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 0x10130a88
push dword [esi + 0x18]
call fcn.10205096
add esp, 4
cmp byte [esi + 0x3b], 0
jns 0x10130a99
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