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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov edi, edx
mov ebx, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x10060340
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x4c], eax
inc eax
mov dword [ebx + 0x28], eax
xor eax, eax
test esi, esi
jne 0x100602f9
mov dword [ebp - 0x48], eax
cmp dword [ebx + 0x24], 0
jne 0x100600b3
mov eax, 0x1040
and eax, dword [edi + 4]
cmp eax, 0x1000
jne 0x100600b3
mov eax, dword [edi + 0x14]
cmp dword [eax + 0x34], 0
jne 0x100600b3
test byte [eax + 4], 9
jne 0x100600b3
cmp dword [eax + 0x3c], 0
jne 0x100600b3
cmp dword [eax + 0x24], 0
je 0x10060260
mov ecx, dword [ebp + 8]
test cl, 1
je 0x1006010f
test byte [edi + 5], 0x10
jne 0x1006010f
mov dword [ebp - 0x34], ebx
mov ebx, dword [edi + 0xc]
xor eax, eax
mov dword [edi + 0xc], eax
lea esi, [ebp - 0x2c]
mov word [esi + 0x14], 1
mov dword [esi + 4], 0x10075310
mov dword [esi + 8], 0x10075420
mov dword [esi + 0x18], eax
mov ecx, esi
mov edx, edi
call fcn.1014d480
mov ecx, dword [ebp + 8]
cmp word [esi + 0x14], 0
mov dword [edi + 0xc], ebx
mov ebx, dword [ebp - 0x34]
je 0x1006024d
mov eax, dword [edi + 0x14]
cmp dword [eax], 2
jle 0x1006024d
mov esi, dword [ebx + 0x8c]
test cl, 4
jne 0x1006023e
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jne 0x1006030a
mov ecx, ebx
mov edx, edi
push dword [ebp - 0x4c]
call fcn.10060810
add esp, 4
mov dword [ebx + 0x8c], esi
mov esi, 2
mov eax, dword [ebp + 0x14]
cmp dword [ebp + 0x10], 0
je 0x10060225
cmp esi, 3
je 0x10060225
cmp esi, 4
je 0x10060225
mov ecx, dword [edi + 0xc]
mov dl, byte [ecx]
cmp dl, 0xb0
je 0x10060354
cmp dl, 0x8a
je 0x1006035c
movzx edx, dl
cmp edx, 0xb1
je 0x10060364
xor edx, edx
inc edx
lea ecx, [edx + 3]
and ecx, 0xfffffffc
dec edx
movd xmm0, edx
pshufd xmm0, xmm0, 0
movdqa xmm1, xmmword [0x101af270]
xor edx, edx
movdqa xmm2, xmmword [0x101af280]
pxor xmm0, xmm2
pcmpeqd xmm3, xmm3
movdqa xmm4, xmmword [0x101af2d0]
movdqa xmm5, xmm1
pxor xmm5, xmm2
pcmpgtd xmm5, xmm0
movd ebx, xmm5
not ebx
test bl, 1
je 0x100601da
mov edi, dword [ebp + 0x10]
mov dword [edi + edx*4], edx
pxor xmm5, xmm3
pextrw ebx, xmm5, 2
test bl, 1
je 0x100601f2
lea edi, [edx + 1]
mov ebx, dword [ebp + 0x10]
mov dword [ebx + edx*4 + 4], edi
pextrw ebx, xmm5, 4
test bl, 1
je 0x10060206
lea edi, [edx + 2]
mov ebx, dword [ebp + 0x10]
mov dword [ebx + edx*4 + 8], edi
pextrw ebx, xmm5, 6
test bl, 1
je 0x1006021a
lea edi, [edx + 3]
mov ebx, dword [ebp + 0x10]
mov dword [ebx + edx*4 + 0xc], edi
add edx, 4
paddd xmm1, xmm4
cmp ecx, edx
jne 0x100601bd
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
mov eax, esi
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebx + 0x8c], 0
jmp 0x10060129
dec dword [ebx + 0x28]
mov esi, 5
xor eax, eax
dec eax
mov dword [ebp - 0x4c], eax
jmp 0x10060143
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 1
jne 0x100600b3
cmp dword [ecx + 0x1c], 0
jne 0x100600b3
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0x40], ecx
cmp byte [ecx + 0x2b], 1
je 0x100600b3
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x54], ecx
mov ecx, dword [ecx]
mov dword [ebp - 0x38], ecx
test ecx, ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], ebx
jle 0x100602c9
mov ecx, dword [ebp - 0x54]
add ecx, 8
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
mov esi, dword [ecx]
cmp byte [esi], 0xa7
jne 0x100600b3
add ecx, 0x14
dec edx
jne 0x100602aa
test eax, eax
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
je 0x100600b3
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x100603da
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x10]
add ecx, 0xc
xor edx, edx
dec edx
mov dword [ebp - 0x44], edx
inc dword [ebp - 0x44]
lea edx, [ecx + 0x10]
cmp dword [ecx], eax
mov ecx, edx
jne 0x100602e8
jmp 0x100603e1
test byte [edi + 5], 0x10
jne 0x10060386
mov eax, esi
jmp 0x1006007c
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x30], eax
inc eax
mov dword [ebx + 0x2c], eax
mov dword [ecx], eax
mov ecx, ebx
mov edx, edi
push dword [ebp - 0x4c]
call fcn.10060810
mov eax, dword [ebp - 0x30]
add esp, 4
inc eax
je 0x10060138
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
push eax
call fcn.10157e40
jmp 0x10060135
mov ecx, ebx
cmp dword [ebx + 0x78], 0
je 0x10060378
mov ebx, ecx
call fcn.1002f500
jmp 0x10060065
mov dl, byte [ecx + 2]
jmp 0x10060170
mov ecx, dword [ecx + 0x14]
add ecx, 0x1c
jmp 0x10060367
add ecx, 0x14
mov ecx, dword [ecx]
mov edx, dword [ecx]
test edx, edx
jle 0x10060225
jmp 0x1006018b
mov eax, dword [ecx]
test byte [eax + 0x50], 8
jne 0x10060348
mov byte [ecx + 0x17], 1
jmp 0x10060348
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], edi
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x1c]
mov edi, eax
mov eax, dword [eax]
mov ebx, 0
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x100603c2
add edi, 8
xor ebx, ebx
mov ecx, dword [edi]
call fcn.10157a60
test eax, eax
jne 0x100603c2
mov eax, ebx
inc eax
add edi, 0x14
mov ebx, eax
cmp dword [ebp - 0x48], eax
jne 0x100603a7
mov ebx, dword [ebp - 0x48]
cmp ebx, dword [ebp - 0x48]
mov eax, 0
cmove esi, eax
mov eax, esi
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
jmp 0x1006007c
mov dword [ebp - 0x44], 0xffff8000
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0x78]
test eax, eax
cmove eax, ecx
mov edx, dword [eax + 0x58]
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x44]
shl esi, cl
bt edx, ecx
jae 0x10060404
cmp dword [ebp - 0x44], 1
je 0x10060448
jmp 0x10060418
or edx, esi
mov dword [eax + 0x58], edx
cmp dword [ebp - 0x44], 1
jne 0x10060418
mov ecx, eax
call fcn.10042310
jmp 0x10060448
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x44]
shl ecx, 4
mov eax, dword [eax + ecx + 4]
cmp byte [eax + 9], 0
je 0x10060448
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.10046570
add esp, 0xc
cmp dword [ebp - 0x38], 1
jne 0x100604d2
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 8]
cmp word [eax + 0x20], 0
mov edi, dword [ebp - 0x34]
jns 0x100604de
xor eax, eax
mov ebx, dword [ebp - 0x50]
mov ecx, ebx
mov edx, 0xf
push eax
push eax
push eax
call fcn.1002fb80
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ecx, edi
mov edx, dword [ebp - 0x4c]
push 0x70
mov esi, dword [ebp - 0x40]
push esi
push dword [ebp - 0x44]
call fcn.10040c10
add esp, 0xc
push dword [esi]
push str.USING_ROWID_SEARCH_ON_TABLE__s_FOR_IN_OPERATOR
xor eax, eax
push eax
push edi
call fcn.1002faf0
add esp, 0x10
mov edx, dword [ebx]
mov eax, dword [ebx + 0x6c]
mov ecx, 0x101f2320
cmp byte [edx + 0x57], 0
jne 0x100604c4
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov edx, dword [ebp - 0x50]
add ecx, dword [edx + 0x68]
mov dword [ecx + 8], eax
xor esi, esi
inc esi
mov edi, dword [ebp - 0x3c]
jmp 0x10060143
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
jl 0x10060589
mov eax, dword [ebp - 0x54]
lea edi, [eax + 8]
mov ebx, 0x43
xor esi, esi
inc esi
lea edx, [esi - 1]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0xc]
call fcn.10157de0
mov ecx, dword [edi]
movsx ecx, word [ecx + 0x20]
mov byte [ebp - 0x30], 0x44
test ecx, ecx
js 0x10060521
mov edx, dword [ebp - 0x40]
cmp word [edx + 0x22], cx
jle 0x10060521
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 4]
shl ecx, 4
mov cl, byte [edx + ecx + 8]
mov byte [ebp - 0x30], cl
mov ecx, eax
call fcn.100439a0
cmp byte [ebp - 0x30], 0x41
jl 0x10060547
cmp al, 0x41
jl 0x10060547
cmp al, 0x43
setae al
add al, al
or al, 0x41
cmp byte [ebp - 0x30], 0x43
movzx eax, al
cmovae eax, ebx
jmp 0x10060555
cmp al, 0x41
movzx ecx, byte [ebp - 0x30]
movzx eax, al
cmovl eax, ecx
or al, 0x40
movsx eax, al
add eax, 0xffffffbf
cmp eax, 2
setb cl
cmp byte [ebp - 0x30], 0x43
setge al
or al, cl
cmp esi, dword [ebp - 0x38]
jge 0x1006057b
inc esi
add edi, 0x14
test al, al
jne 0x100604ec
test al, al
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
je 0x100600b3
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x100600b3
xor eax, eax
dec eax
mov edx, eax
mov ecx, dword [ebp - 0x38]
shl edx, cl
xor esi, esi
test cl, 0x20
mov ecx, edx
cmovne ecx, esi
cmove edx, eax
not edx
mov dword [ebp - 0x70], edx
not ecx
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x30]
movzx eax, word [eax + 0x34]
cmp dword [ebp - 0x38], eax
jle 0x100605df
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x30], eax
test eax, eax
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
jne 0x100605bb
jmp 0x100600b3
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x24], 0
jne 0x100605c7
cmp ax, 0x3e
ja 0x100605c7
mov ecx, dword [ebp + 8]
test cl, 4
jne 0x1006070c
cmp dword [ebp - 0x38], 0
jle 0x10060737
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0xc]
mov esi, dword [ebp - 0x60]
mov edx, esi
call fcn.10157de0
lea ecx, [esi + esi*4]
mov edx, dword [ebp - 0x54]
mov esi, dword [edx + ecx*4 + 8]
mov ecx, dword [ebp - 0x34]
mov edx, eax
push esi
call fcn.1016c440
add esp, 4
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
movzx eax, word [esi + 0x20]
mov word [ebp - 0x62], ax
xor ebx, ebx
mov eax, ebx
mov ecx, dword [ebp - 0x40]
movzx edx, word [ebp - 0x62]
cmp word [ecx + ebx*2], dx
jne 0x100606a1
cmp dword [ebp - 0x68], 0
je 0x100606b0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x20]
mov ecx, ebx
mov ecx, dword [eax + ebx*4]
mov eax, dword [ebp - 0x68]
mov edi, dword [eax]
xor esi, esi
movzx edx, byte [edi + esi]
movzx eax, byte [ecx + esi]
cmp dl, al
jne 0x10060690
test edx, edx
jne 0x1006069e
jmp 0x100606b0
mov dl, byte [edx + 0x101af7e8]
cmp dl, byte [eax + 0x101af7e8]
jne 0x100606a1
inc esi
jmp 0x1006067e
mov eax, ebx
inc eax
mov ebx, eax
cmp eax, dword [ebp - 0x38]
jne 0x10060657
jmp 0x10060745
mov eax, ebx
cmp ebx, dword [ebp - 0x38]
je 0x10060745
xor eax, eax
mov ecx, ebx
xor edx, edx
inc edx
shld eax, edx, cl
shl edx, cl
test cl, 0x20
cmovne eax, edx
mov ecx, 0
cmovne edx, ecx
mov ecx, eax
and ecx, dword [ebp - 0x5c]
mov esi, edx
and esi, dword [ebp - 0x58]
or esi, ecx
jne 0x10060745
cmp dword [ebp + 0x10], 0
je 0x100606f2
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp - 0x60]
mov dword [ecx + esi*4], ebx
or dword [ebp - 0x58], edx
or dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x60]
inc ecx
mov eax, ecx
mov dword [ebp - 0x60], ecx
cmp ecx, dword [ebp - 0x38]
jne 0x10060619
jmp 0x10060745
mov ecx, dword [ebp - 0x30]
movzx ecx, word [ecx + 0x32]
cmp dword [ebp - 0x38], ecx
jl 0x100605c7
cmp dword [ebp - 0x38], eax
jge 0x100605fa
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0x36], 0
jne 0x100605fa
jmp 0x100605c7
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
xor eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x58]
xor ecx, dword [ebp - 0x6c]
or ecx, eax
jne 0x100605c7
xor esi, esi
mov edi, dword [ebp - 0x50]
mov ecx, edi
mov edx, 0xf
push esi
push esi
push esi
call fcn.1002fb80
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push str.USING_INDEX__s_FOR_IN_OPERATOR
push esi
mov esi, dword [ebp - 0x34]
push esi
call fcn.1002faf0
add esp, 0x10
mov ecx, edi
mov edx, 0x70
push dword [ebp - 0x44]
push dword [ebx + 0x2c]
push dword [ebp - 0x4c]
call fcn.1002fb80
add esp, 0xc
mov ecx, esi
mov edx, ebx
call fcn.1016f710
mov eax, dword [ebx + 0x1c]
movzx esi, byte [eax]
cmp dword [ebp - 0x48], 0
je 0x100607cc
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
cmp dword [ebp - 0x38], 1
je 0x100607f9
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov eax, dword [eax + 0x6c]
mov ecx, 0x101f2320
cmp byte [edx + 0x57], 0
jne 0x100607ee
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov edx, dword [ebp - 0x50]
add ecx, dword [edx + 0x68]
add esi, 3
mov dword [ecx + 8], eax
jmp 0x100604ca
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
push eax
call fcn.10157e40
add esp, 4
jmp 0x100607cc