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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x54
mov eax, ecx
xorps xmm0, xmm0
push ebx
movaps xmmword [esp + 0x48], xmm0
mov dword [esp + 0xc], eax
mov ebx, dword [eax]
movaps xmmword [esp + 0x38], xmm0
mov dword [esp + 0x54], ebx
push esi
mov eax, dword [ebx + 0xc]
push edi
mov edi, edx
mov dword [esp + 0x30], ebx
lea esi, [eax + eax*2]
shl esi, 2
call fcn.100d6670
test eax, eax
jne 0x10132464
push eax
push esi
call fcn.100267c0
mov esi, eax
add esp, 8
mov dword [esp + 0x10], esi
test esi, esi
je 0x10132464
mov ecx, dword [ebx + 0xc]
shl ecx, 3
push ecx
push 0
push esi
lea eax, [ecx + esi]
mov dword [esp + 0x48], eax
call fcn.10138870
mov eax, dword [ebx + 0x20]
add esp, 0xc
test eax, eax
je 0x10131ef9
cmp eax, 2
jne 0x10131ef2
test edi, edi
jne 0x10131ef9
xor edx, edx
jmp 0x101323dc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], esi
lea edi, [eax + 0x44]
xor esi, esi
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], edi
cmp dword [edi], esi
jne 0x10131fda
mov esi, dword [eax]
push dword [esi + 0x28]
push dword [esi + 0x38]
push str.SELECT__s_FROM__s_AS_T
call fcn.100294e0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10131f4f
mov eax, dword [esp + 0x1c]
push dword [eax]
call fcn.10053c90
lea esi, [edi + 7]
add esp, 4
mov edi, dword [esp + 0x20]
jmp 0x101323f9
mov eax, dword [esp + 0x14]
mov edx, edi
push 0
push dword [esp + 0x20]
mov eax, dword [eax]
push 0
push 0x85
push 0xffffffffffffffff
inc dword [eax + 0x44]
mov ecx, dword [esi]
call fcn.1009d7f0
mov esi, eax
add esp, 0x14
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
dec dword [eax + 0x44]
cmp dword [0x10177b48], 0
je 0x10131fcc
mov eax, dword [0x1017ad00]
test eax, eax
je 0x10131f9a
push eax
call dword [0x10177b98]
add esp, 4
push edi
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push edi
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x10131fd6
push eax
call dword [0x10177ba0]
jmp 0x10131fd3
push edi
call dword [0x10177b6c]
add esp, 4
mov edi, dword [esp + 0x1c]
mov edi, dword [edi]
push edi
mov dword [esp + 0x20], edi
call fcn.10053c90
mov ecx, dword [esp + 0x24]
add esp, 4
test esi, esi
jne 0x101323d4
push edi
mov dword [esp + 0x14], ecx
call fcn.10054c20
add esp, 4
cmp eax, 0x64
jne 0x101322b9
mov eax, dword [esp + 0x20]
mov ecx, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
jmp 0x10132024
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edi
test edi, edi
jne 0x10132047
mov ecx, 0x10161a88
call fcn.1004d340
mov edi, eax
mov ecx, edx
jmp 0x10132105
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1013205a
push eax
call dword [0x10177b98]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x1013206c
xor eax, eax
cmp ax, word [edi + 0x90]
jb 0x10132084
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002a360
mov ecx, 0x10161a88
call fcn.1004d340
mov ecx, edx
mov edi, eax
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
mov ebx, dword [edx]
mov eax, dword [edx + 0x24]
mov dword [esp + 0x1c], ebx
cmp byte [ebx + 0x57], 0
mov ebx, dword [esp + 0x30]
jne 0x101320ac
test eax, eax
je 0x101320bf
mov ecx, dword [esp + 0x1c]
mov edx, eax
call fcn.100272e0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [edx + 0x24], eax
mov eax, dword [edx]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
test eax, eax
je 0x10132105
push eax
call dword [0x10177ba0]
mov eax, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], 0
cmp dword [ebx + 0x30], 0
je 0x10132133
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x18]
push edi
call fcn.10132470
mov esi, eax
add esp, 8
test esi, esi
jne 0x10132179
cmp dword [ebx + 0x34], 1
jne 0x10132179
xor esi, esi
call fcn.100d6670
test eax, eax
je 0x1013214b
xor edi, edi
lea esi, [edi + 7]
jmp 0x10132175
push 0
push 0x800
call fcn.100267c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x10132165
lea esi, [eax + 7]
jmp 0x10132175
push 0x800
push 0
push edi
call fcn.10138870
add esp, 0xc
mov dword [esp + 0x58], edi
xor edi, edi
test esi, esi
jne 0x1013228a
cmp edi, dword [ebx + 0xc]
jge 0x1013228a
mov eax, dword [ebx + 0x14]
cmp byte [edi + eax], 0
jne 0x10132281
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], 0
cmp dword [ebx + 0x34], 2
jne 0x101321ef
xor esi, esi
call fcn.100d6670
test eax, eax
je 0x101321bd
xor ebx, ebx
lea esi, [ebx + 7]
jmp 0x101321e7
push 0
push 0x800
call fcn.100267c0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x101321d7
lea esi, [eax + 7]
jmp 0x101321e7
push 0x800
push 0
push ebx
call fcn.10138870
add esp, 0xc
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x30]
test esi, esi
jne 0x1013225a
lea esi, [edi + 1]
push esi
push dword [esp + 0x20]
call fcn.100559e0
push esi
push dword [esp + 0x28]
mov dword [esp + 0x3c], eax
call fcn.10055600
mov ecx, dword [esp + 0x3c]
add esp, 0x10
mov edx, eax
test ecx, ecx
jne 0x1013221f
xor esi, esi
jmp 0x10132241
mov eax, dword [ebx + 0x40]
push 0x10131c50
push edx
push ecx
mov eax, dword [eax + 8]
lea ecx, [esp + 0x4c]
push 4
push ecx
push dword [ebx + 0x3c]
call eax
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x1013225a
cmp dword [ebx + 0x30], 0
je 0x1013225a
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
cmp eax, dword [ecx + edi*4]
mov eax, 0x10b
cmovne esi, eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
cdq
add dword [ecx + edi*8], eax
adc dword [ecx + edi*8 + 4], edx
cmp dword [ebx + 0x34], 2
jne 0x10132281
mov ecx, dword [esp + 0x58]
call fcn.10113160
mov dword [esp + 0x58], 0
inc edi
test esi, esi
je 0x10132183
mov ecx, dword [esp + 0x58]
call fcn.10113160
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x58], 0
test esi, esi
jne 0x101322b9
push edi
call fcn.10054c20
add esp, 4
cmp eax, 0x64
mov eax, dword [esp + 0x10]
je 0x10132020
push edi
call fcn.10053c90
add esp, 4
test esi, esi
jne 0x101323f5
mov esi, eax
test eax, eax
jne 0x101323f5
mov ecx, dword [esp + 0x14]
xor edx, edx
call fcn.10130650
mov edi, dword [esp + 0x10]
mov esi, eax
xor ecx, ecx
test esi, esi
jne 0x101323f9
nop
mov edx, edi
mov dword [esp + 0x3c], edx
cmp ecx, dword [ebx + 0xc]
jge 0x10132328
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x18]
mov eax, dword [edx + ecx*8]
cmp eax, dword [edi + ecx*8]
jne 0x1013231e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, dword [edi + ecx*8 + 4]
jne 0x1013231e
inc ecx
test esi, esi
je 0x101322f0
jmp 0x101323f9
mov esi, 0x10b
jmp 0x101323f9
cmp dword [ebx + 0x20], 0
mov ecx, dword [esp + 0x14]
jne 0x1013237c
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
mov edx, str.content
movlpd qword [esp + 0x34], xmm0
call fcn.10131ad0
mov edx, dword [esp + 0x40]
mov esi, eax
add esp, 4
mov edi, edx
test esi, esi
jne 0x101323f9
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
cmp eax, dword [ecx + 0x10]
jne 0x10132373
mov eax, dword [esp + 0x34]
cmp eax, dword [ecx + 0x14]
je 0x1013237c
mov esi, 0x10b
mov edi, edx
jmp 0x101323f9
cmp dword [ebx + 0x30], 0
mov dword [esp + 0x10], edx
je 0x101323d8
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
mov edx, str.docsize
movlpd qword [esp + 0x34], xmm0
call fcn.10131ad0
mov ecx, dword [esp + 0x40]
mov esi, eax
add esp, 4
mov edi, ecx
test esi, esi
jne 0x101323f9
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
cmp eax, dword [edx + 0x10]
jne 0x101323cf
mov eax, dword [esp + 0x34]
cmp eax, dword [edx + 0x14]
je 0x101323d8
mov esi, 0x10b
mov edi, ecx
jmp 0x101323f9
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push dword [esp + 0x54]
push dword [esp + 0x54]
mov ecx, dword [eax + 4]
call fcn.101297f0
add esp, 8
mov esi, eax
mov edi, dword [esp + 0x10]
cmp dword [0x10177b48], 0
je 0x10132451
mov eax, dword [0x1017ad00]
test eax, eax
je 0x10132415
push eax
call dword [0x10177b98]
add esp, 4
push edi
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push edi
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x1013245b
push eax
call dword [0x10177ba0]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [0x10177b6c]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret