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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
mov esi, ecx
mov byte [esp + 0xb], 0
push edi
xor ecx, ecx
mov dword [esp + 0x10], esi
mov ebx, edx
mov dword [esp + 0x50], ecx
mov edi, dword [esi + 8]
xor edx, edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], edx
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x54], ecx
cmp dword [edi + 0x70], ecx
jg 0x1015252c
push edx
push edx
push edx
mov edx, 0x11
mov ecx, edi
call fcn.10101860
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x1015254f
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov ecx, dword [ebp + 8]
xor edx, edx
mov edi, dword [ebp + 0x14]
xorps xmm0, xmm0
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0x10]
mov edi, dword [edi + 0x48]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x20]
movlpd qword [esp + 0x58], xmm0
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
add eax, ebx
mov dword [esp + 0x48], eax
cmp ebx, eax
jae 0x1015270c
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
jmp 0x101525a9
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x28]
mov esi, dword [ebx]
mov eax, dword [edx]
or eax, dword [edx + 4]
jne 0x1015261a
test byte [ebx + 0xa], 2
jne 0x1015261a
test byte [esi + 4], 1
jne 0x1015261a
mov eax, 3
mov dword [esp + 0x68], fcn.10118460
mov word [esp + 0x78], ax
mov edx, esi
mov eax, dword [ecx + 0x2c]
lea ecx, [esp + 0x64]
mov dword [esp + 0x6c], 0x10118340
mov dword [esp + 0x7c], eax
call fcn.101136e0
cmp word [esp + 0x78], 0
je 0x1015261a
mov edx, esi
mov esi, dword [esp + 0x10]
push 0
push 0
mov ecx, dword [esi]
call fcn.10117350
mov edx, dword [esp + 0x38]
mov ecx, esi
push eax
call fcn.10116de0
add esp, 0xc
mov dword [esp + 0x30], eax
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.101523f0
add esp, 8
test eax, eax
je 0x101526ed
mov edx, dword [ebx + 0x1c]
xor esi, esi
cmp edx, 0x40
jl 0x10152649
mov dword [esp + 0x38], 0x80000000
jmp 0x10152662
mov eax, edx
xor ecx, ecx
bts esi, eax
cmp eax, 0x20
cmovae ecx, esi
xor esi, ecx
cmp eax, 0x40
cmovae ecx, esi
mov dword [esp + 0x38], ecx
cmp byte [esp + 0xf], 0
jne 0x1015268f
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
push dword [eax + ecx*4]
push dword [edx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.100e5090
add esp, 0x10
mov byte [esp + 0xf], 1
mov eax, dword [esp + 0x38]
mov ecx, esi
and ecx, dword [esp + 0x24]
and eax, dword [esp + 0x1c]
or ecx, eax
jne 0x101526ed
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x44], eax
push eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.10153220
add esp, 4
test eax, eax
jne 0x10152ea8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
or dword [esp + 0x24], esi
mov edx, dword [esp + 0x44]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x14], edx
mov dword [eax + ecx*4], ebx
mov ecx, dword [esp + 0x1c]
or ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
jmp 0x101526f5
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add ebx, 0x30
cmp ebx, dword [esp + 0x48]
jb 0x101525a6
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
jmp 0x10152714
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
movzx eax, dx
not ecx
mov edx, dword [esp + 0x28]
or ecx, 0x80000000
not ebx
mov word [edx + 0x28], ax
mov word [edx + 0x18], ax
mov eax, dword [ebp + 8]
mov dword [edx + 0x24], 0x4241
and ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x38]
and ebx, edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], ebx
mov ebx, 0x3f
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], edx
movzx ecx, word [eax + 0x2a]
mov dword [esp + 0x44], ecx
movzx eax, cx
cmp bx, cx
jge 0x1015276a
mov dword [esp + 0x38], ebx
jmp 0x10152778
movsx ebx, cx
mov dword [esp + 0x38], ebx
xor ebx, ebx
cmp bx, ax
jge 0x101527bc
mov edi, dword [esp + 0x38]
xor ebx, ebx
mov esi, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
mov eax, ebx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x24]
and ecx, esi
or edx, ecx
je 0x101527a7
inc dword [esp + 0x14]
inc ebx
cmp ebx, edi
jl 0x10152782
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
jg 0x101527db
jl 0x101527cb
test edx, edx
jae 0x101527db
movsx eax, cx
mov ecx, dword [esp + 0x14]
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x58]
mov ecx, dword [esi]
push eax
push 0
lea edx, [edx + 1]
call fcn.10127370
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x10152eac
mov ecx, dword [esp + 0x28]
xor ebx, ebx
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
mov dword [ecx + 0x20], eax
mov ecx, dword [esp + 0x3c]
mov dword [eax], str.auto_index
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x48]
jae 0x10152930
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x40], ecx
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, eax
push dword [ebp + 0xc]
call fcn.101523f0
add esp, 8
test eax, eax
je 0x10152917
mov eax, dword [esp + 0x34]
xor edx, edx
mov eax, dword [eax + 0x1c]
movzx ecx, ax
mov dword [esp + 0x58], ecx
cmp eax, 0x40
jl 0x1015287e
mov esi, 0x80000000
jmp 0x10152891
xor esi, esi
bts edx, eax
cmp eax, 0x20
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
cmovae esi, edx
mov ecx, edx
mov eax, esi
and ecx, dword [esp + 0x40]
and eax, dword [esp + 0x44]
or ecx, eax
jne 0x10152917
mov eax, dword [esp + 0x34]
or dword [esp + 0x40], edx
mov edx, dword [esp + 0x58]
or dword [esp + 0x44], esi
mov ecx, dword [eax]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov word [eax + ebx*2], dx
test dword [ecx + 4], 0x200
je 0x101528cf
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 0x10]
jmp 0x101528d5
mov esi, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
test dword [edx + 4], 0x100
jne 0x101528f8
test esi, esi
je 0x101528eb
test dword [esi + 4], 0x100
jne 0x101528f6
mov ecx, edi
call fcn.10116090
test eax, eax
jne 0x10152903
mov edx, esi
mov ecx, edi
call fcn.10116090
test eax, eax
je 0x10152907
mov ecx, dword [eax]
jmp 0x1015290c
mov ecx, 0x101e4880
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
mov dword [eax + ebx*4], ecx
inc ebx
mov eax, dword [esp + 0x34]
add eax, 0x30
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x48]
jb 0x10152847
mov edi, dword [esp + 0x20]
xor esi, esi
cmp dword [esp + 0x38], esi
jle 0x10152980
mov edi, dword [esp + 0x18]
nop dword [eax]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x24]
and ecx, dword [esp + 0x1c]
or edx, ecx
je 0x10152975
mov eax, dword [edi + 4]
mov word [eax + ebx*2], si
mov eax, dword [edi + 0x20]
mov dword [eax + ebx*4], 0x101e4880
inc ebx
inc esi
cmp esi, dword [esp + 0x38]
jl 0x10152940
mov edi, dword [esp + 0x20]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
jg 0x101529c3
jl 0x10152991
cmp dword [eax + 0x38], 0
jae 0x101529c3
mov esi, dword [esp + 0x3c]
mov eax, 0x3f
mov edx, dword [esp + 0x18]
cmp ax, word [esi + 0x2a]
jge 0x101529c7
mov ecx, eax
mov eax, dword [edx + 4]
mov word [eax + ebx*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + ebx*4], 0x101e4880
inc ebx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x101529a6
jmp 0x101529c7
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov esi, dword [esp + 0x10]
mov word [eax + ebx*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x14]
inc edx
mov dword [eax + ebx*4], 0x101e4880
mov eax, dword [esi + 0x28]
mov dword [ecx + 8], eax
inc dword [esi + 0x28]
mov eax, dword [ecx + 8]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x58], eax
cmp dword [edi + 0x70], ecx
jg 0x10152a14
push 0
push edx
push eax
mov edx, 0x63
mov ecx, edi
call fcn.10101860
add esp, 0xc
jmp 0x10152a47
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x63
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 8]
mov ecx, esi
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
call fcn.101295b0
mov esi, eax
test esi, esi
je 0x10152a8d
mov edx, dword [esp + 0x58]
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x10152a7b
push esi
mov edx, 0xfffffff7
call fcn.101023e0
add esp, 4
jmp 0x10152a8d
mov eax, dword [edx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], esi
mov edx, dword [ebp + 0x14]
movzx eax, byte [edx + 0x34]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 0x30], 0x10
lea esi, [eax + ecx*8]
mov dword [esp + 0x4c], esi
je 0x10152b9f
mov ecx, dword [edi + 0x6c]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], ecx
cmp dword [edi + 0x70], ecx
jg 0x10152ae4
push 0
push 0
push 0
mov edx, 0x45
mov ecx, edi
call fcn.10101860
mov edx, dword [esp + 0x54]
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x10152b17
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
mov esi, dword [esi + 0x20]
cmp dword [edi + 0x70], ecx
jg 0x10152b3b
push esi
push 0
push edx
mov edx, 0xd
mov ecx, edi
call fcn.10101860
mov edx, dword [esp + 0x54]
add esp, 0xc
jmp 0x10152b6a
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x10152b8a
push 0
push 0
push edx
mov edx, 0xe
mov ecx, edi
call fcn.10101860
add esp, 0xc
mov esi, eax
jmp 0x10152bf5
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xe
jmp 0x10152bd5
mov esi, dword [edi + 0x6c]
mov edx, dword [edx + 4]
cmp dword [edi + 0x70], esi
jg 0x10152bc2
push 0
push 0
push edx
mov edx, 0x25
mov ecx, edi
call fcn.10101860
add esp, 0xc
mov esi, eax
jmp 0x10152bf5
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x25
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x10152c23
mov eax, dword [esp + 0x10]
push 0x10
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
push edx
push ecx
push eax
mov dword [esp + 0x3c], edx
call fcn.1011cdf0
mov eax, dword [esp + 0x38]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x13]
test al, al
jne 0x10152c36
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
jmp 0x10152c45
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x94]
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push eax
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
call fcn.1012b350
mov ecx, dword [edi + 0x6c]
add esp, 0x18
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
cmp dword [edi + 0x70], ecx
jg 0x10152c93
mov edx, dword [esp + 0x3c]
mov ecx, edi
push 0
push edx
push eax
mov edx, 0x83
call fcn.10101860
add esp, 0xc
jmp 0x10152cc6
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x83
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
test ecx, ecx
jle 0x10152ce0
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 0x10
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [edi + 0x6c]
cmp dword [esp + 0x30], 0
je 0x10152d14
mov edx, dword [edi + 0xc]
not dword [esp + 0x2c]
mov eax, dword [edx + 0x3c]
add eax, dword [edx + 0x38]
jns 0x10152d0a
mov edx, dword [esp + 0x2c]
mov ecx, dword [edi + 0xc]
push edx
mov edx, edi
call fcn.10101f60
add esp, 4
jmp 0x10152d14
mov eax, dword [edx + 0x40]
mov edx, dword [esp + 0x2c]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x4c]
test byte [eax + 0x30], 0x10
je 0x10152dc7
mov ecx, dword [esp + 0x50]
test ecx, ecx
jns 0x10152d2e
mov ecx, dword [edi + 0x6c]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x10152d3d
mov ecx, 0x10227c8c
jmp 0x10152d46
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x48]
mov edx, esi
add eax, ebx
mov ebx, dword [esp + 0x4c]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x10]
push dword [eax + 8]
push dword [ebx + 0x28]
push dword [eax + 4]
call fcn.10152350
mov ecx, dword [edi + 0x6c]
add esp, 0xc
cmp dword [edi + 0x70], ecx
jg 0x10152d92
push 0
push esi
push 0
mov edx, 0xb
mov ecx, edi
call fcn.10101860
add esp, 0xc
and dword [ebx + 0x30], 0xffffffef
jmp 0x10152e32
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
and dword [ebx + 0x30], 0xffffffef
jmp 0x10152e32
mov eax, dword [ebp + 0x14]
lea edx, [esi + 1]
mov ecx, dword [edi + 0x6c]
mov ebx, dword [eax + 4]
cmp dword [edi + 0x70], ecx
jg 0x10152ded
push 0
push edx
push ebx
mov edx, 5
mov ecx, edi
call fcn.10101860
add esp, 0xc
jmp 0x10152e1b
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
lea edx, [esi + 1]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x10152e32
lea ecx, [eax + eax*4]
mov edx, 3
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x10152e44
mov eax, 0x10227c8c
jmp 0x10152e55
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
mov dword [eax + 8], edx
test ecx, ecx
je 0x10152e78
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x10152e78
movzx eax, al
mov dword [esi + eax*4 + 0x94], ecx
inc byte [esi + 0x13]
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x10152e8d
mov eax, 0x10227c8c
mov dword [eax + 8], edx
jmp 0x10152eac
mov ecx, dword [esp + 0x54]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x10152eac
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10152ebd
mov ecx, dword [esi]
mov edx, eax
call fcn.10117160
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret