Function at 0x101302d0
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], 0x10140330
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 0x1013032d
cmp eax, 0x40
je 0x10130336
cmp eax, 8
jne 0x1013033f
mov dword [esi + 0x10], 0x10
jmp 0x10130346
mov dword [esi + 0x10], 0
jmp 0x10130346
mov dword [esi + 0x10], 8
jmp 0x10130346
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 0x101303b0
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 0x101303fe
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x10130404
movzx eax, word [eax]
jmp 0x10130421
mov dl, 1
xor edi, edi
jmp 0x10130430
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 0x1013042e
mov ecx, edi
mov edi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
mov dword [esi + 4], edi
je 0x10130477
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10130447
movzx eax, word [eax]
jmp 0x10130468
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 0x10130477
test dl, dl
jne 0x10130481
jmp 0x10130572
xor ecx, ecx
test dl, dl
jne 0x10130572
mov dword [esi + 8], ecx
mov eax, dword [esi + 0x28]
movzx edx, byte [esi + 0x23]
test dl, dl
jns 0x10130492
mov edx, dword [esi + 0x1c]
lea ecx, [ebx + edx]
cmp eax, ecx
jne 0x101304e8
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 0x101304e1
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 0x101304f5
movzx eax, word [eax]
jmp 0x1013050f
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 0x1013056f
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x10130550
add eax, 2
mov dword [edi + 0xc], eax
jmp 0x101303ed
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 0x101303ed
mov ecx, dword [esi + 8]
mov dword [esi + 8], ecx
movzx eax, byte [esi + 0x3b]
test al, al
jns 0x10130580
mov eax, dword [esi + 0x34]
test eax, eax
je 0x101305ab
mov eax, dword [esi + 0x24]
mov ecx, eax
lea edx, [esi + 0x78]
sub ecx, edx
cmp ecx, 0x9f
jg 0x101305ab
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.1013fbf9
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 0x101305f5
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x10130602
movzx eax, word [eax]
jmp 0x1013060c
mov bl, 1
xor edx, edx
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x10130621
jmp 0x10130657
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 0x1013062e
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1013063b
movzx eax, word [eax]
jmp 0x1013064a
mov edx, 0
cmp ax, 0xffff
jne 0x1013065f
jmp 0x10130657
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 0x1013065f
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 0x10130675
push dword [esi + 0x18]
call fcn.10205096
add esp, 4
cmp byte [esi + 0x3b], 0
jns 0x10130686
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