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

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x60]
xor eax, eax
push esi
push edi
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x1005b8fb
cmp dword [ebp + 0x78], eax
jne 0x1005b8ee
mov eax, dword [ebp]
test byte [eax + 0x50], 8
jne 0x1005b8ee
mov byte [ebp + 0x17], 1
push ebp
call fcn.1007aff0
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x14], eax
inc eax
cmp dword [esp + 0x74], 0
mov dword [ebp + 0x28], eax
je 0x1005b955
mov eax, dword [esp + 0x6c]
test dword [eax + 4], 0x1000
je 0x1005b955
mov eax, dword [eax + 0x14]
xor esi, esi
mov edi, dword [eax + 0x1c]
mov ebx, dword [edi]
test ebx, ebx
jle 0x1005b946
add edi, 8
nop dword [eax + eax]
push dword [edi]
call fcn.10056b20
add esp, 4
test eax, eax
jne 0x1005b946
inc esi
add edi, 0x14
cmp esi, ebx
jl 0x1005b930
mov eax, dword [esp + 0x74]
xor ecx, ecx
cmp esi, ebx
cmove eax, ecx
mov dword [esp + 0x74], eax
cmp dword [ebp + 0x24], 0
mov eax, 1
mov ecx, dword [esp + 0x6c]
jne 0x1005bfc1
mov eax, dword [ecx + 4]
test eax, 0x1000
je 0x1005bfbc
test al, 0x40
jne 0x1005bfbc
mov eax, dword [ecx + 0x14]
cmp dword [eax + 0x34], 0
jne 0x1005bfbc
test byte [eax + 4], 9
jne 0x1005bfbc
cmp dword [eax + 0x3c], 0
jne 0x1005bfbc
cmp dword [eax + 0x24], 0
jne 0x1005bfbc
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 1
jne 0x1005bfb8
cmp dword [ecx + 0x1c], 0
jne 0x1005bfb8
mov ebx, dword [ecx + 0x18]
mov dword [esp + 0x34], ebx
cmp byte [ebx + 0x2b], 1
je 0x1005bfb8
mov edi, dword [eax + 0x1c]
xor edx, edx
mov ebp, dword [edi]
mov dword [esp + 0x20], ebp
test ebp, ebp
jle 0x1005b9f5
lea ecx, [edi + 8]
mov eax, dword [ecx]
cmp byte [eax], 0xa7
jne 0x1005bfb4
inc edx
add ecx, 0x14
cmp edx, ebp
jl 0x1005b9e2
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x18], 0xffff8000
test ecx, ecx
je 0x1005ba2c
mov eax, dword [esp + 0x68]
xor edx, edx
mov dword [esp + 0x18], edx
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x1005ba2c
nop word [eax + eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x1005ba20
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x68]
mov edx, ecx
mov eax, dword [ecx + 0x78]
test eax, eax
mov ecx, dword [esp + 0x18]
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x58]
test esi, eax
jne 0x1005ba62
bts esi, ecx
mov dword [edx + 0x58], esi
cmp ecx, 1
jne 0x1005ba67
push edx
call fcn.10066870
add esp, 4
jmp 0x1005ba90
cmp ecx, 1
je 0x1005ba90
mov edx, dword [esp + 0x68]
add ecx, ecx
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x1005ba90
push dword [ebx]
push 0
push dword [ebx + 0x14]
push dword [esp + 0x24]
push edx
call fcn.100369e0
add esp, 0x14
cmp ebp, 1
jne 0x1005bb0e
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov dword [esp + 0x30], ecx
cmp word [eax + 0x20], 0
jge 0x1005bb15
mov ebp, dword [esp + 0x1c]
push 0xf
push ebp
call fcn.1007a910
mov edi, dword [esp + 0x70]
mov esi, eax
push 0x70
push ebx
push dword [esp + 0x28]
push dword [esp + 0x28]
push edi
call fcn.10066550
push dword [ebx]
mov dword [esp + 0x30], 1
push str.USING_ROWID_SEARCH_ON_TABLE__s_FOR_IN_OPERATOR
push 0
push edi
call fcn.10084490
mov eax, dword [ebp]
add esp, 0x2c
mov edx, dword [ebp + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1005bafc
mov eax, 0x100bdf30
mov dword [eax + 8], edx
jmp 0x1005c093
mov eax, dword [ebp + 0x68]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1005c093
lea eax, [edi + 8]
mov dword [esp + 0x30], eax
xor ebp, ebp
mov eax, 1
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x20], ebp
jle 0x1005bc04
xor edi, edi
nop dword [eax]
test eax, eax
je 0x1005bfb4
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 0xc]
mov bl, byte [edx]
mov al, bl
cmp al, 0xb0
jne 0x1005bb4a
mov al, byte [edx + 2]
cmp al, 0xb1
jne 0x1005bb55
mov ecx, dword [edx + 0x14]
mov eax, ecx
jmp 0x1005bb5f
cmp al, 0x8a
jne 0x1005bb7c
mov ecx, dword [edx + 0x14]
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 1
jle 0x1005bb7c
cmp bl, 0x8a
je 0x1005bb75
cmp byte [edx + 2], 0x8a
je 0x1005bb75
mov edx, dword [ecx + edi + 8]
jmp 0x1005bb7c
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax + edi + 8]
mov eax, dword [esp + 0x30]
mov eax, dword [edi + eax]
movsx ecx, word [eax + 0x20]
test ecx, ecx
js 0x1005bba2
mov ebx, dword [esp + 0x34]
movsx eax, word [ebx + 0x22]
cmp ecx, eax
jge 0x1005bba2
mov eax, dword [ebx + 4]
add ecx, ecx
mov bl, byte [eax + ecx*8 + 8]
jmp 0x1005bba4
mov bl, 0x44
push edx
call fcn.10056440
add esp, 4
cmp al, 0x40
jle 0x1005bbc7
cmp bl, 0x40
jle 0x1005bbc9
cmp al, 0x43
jge 0x1005bbc3
cmp bl, 0x43
jge 0x1005bbc3
mov al, 0x41
jmp 0x1005bbcb
mov al, 0x43
jmp 0x1005bbcb
mov al, bl
or al, 0x40
movsx eax, al
sub eax, 0x41
je 0x1005bbe6
sub eax, 1
je 0x1005bbe6
xor eax, eax
cmp bl, 0x43
setge al
mov dword [esp + 0x2c], eax
jmp 0x1005bbea
mov eax, dword [esp + 0x2c]
inc ebp
add edi, 0x14
cmp ebp, dword [esp + 0x20]
jl 0x1005bb30
test eax, eax
je 0x1005bfb4
mov ebx, dword [esp + 0x34]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x1005bfb4
mov ebp, dword [esp + 0x20]
xor edi, edi
nop dword [eax]
test edi, edi
jne 0x1005c097
movzx eax, word [ebx + 0x34]
mov ecx, eax
cmp ecx, ebp
jl 0x1005bf9d
cmp dword [ebx + 0x24], edi
jne 0x1005bf9d
cmp eax, 0x3f
jae 0x1005bf9d
test byte [esp + 0x70], 4
je 0x1005bc69
movzx eax, word [ebx + 0x32]
cmp eax, ebp
jg 0x1005bf9d
cmp ecx, ebp
jle 0x1005bc69
cmp byte [ebx + 0x36], 0
je 0x1005bf9d
mov dword [esp + 0x34], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
test ebp, ebp
jle 0x1005be09
xor edi, edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], edi
nop dword [eax + eax]
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0xc]
mov bl, byte [ecx]
mov al, bl
cmp al, 0xb0
jne 0x1005bcb2
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x1005bcbd
mov edx, dword [ecx + 0x14]
mov eax, edx
jmp 0x1005bcc7
cmp al, 0x8a
jne 0x1005bce4
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1c]
cmp dword [eax], 1
jle 0x1005bce4
cmp bl, 0x8a
je 0x1005bcdd
cmp byte [ecx + 2], 0x8a
je 0x1005bcdd
mov ecx, dword [edx + edi + 8]
jmp 0x1005bce4
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + edi + 8]
test dword [ecx + 4], 0x200
mov eax, dword [esp + 0x30]
mov esi, dword [edi + eax]
je 0x1005bcfb
push ecx
push dword [esp + 0x6c]
jmp 0x1005bd25
test esi, esi
je 0x1005bd0f
test dword [esi + 4], 0x200
je 0x1005bd0f
push esi
push dword [esp + 0x6c]
jmp 0x1005bd25
mov ebx, dword [esp + 0x68]
push ecx
push ebx
call fcn.100592a0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x1005bd2f
push esi
push ebx
call fcn.100592a0
add esp, 8
mov ebp, eax
mov ecx, dword [esp + 0x24]
xor edi, edi
movzx eax, word [esi + 0x20]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov ebx, dword [ecx + 4]
cmp word [ebx], ax
jne 0x1005bd93
test ebp, ebp
je 0x1005bd9b
mov eax, dword [ecx + 0x20]
mov edx, dword [ebp]
mov esi, dword [eax + edi*4]
sub esi, edx
nop dword [eax + eax]
movzx eax, byte [edx]
movzx ecx, byte [esi + edx]
cmp eax, ecx
jne 0x1005bd72
test eax, eax
je 0x1005bd9b
inc edx
jmp 0x1005bd60
movzx ecx, byte [ecx + 0x100b0f70]
movzx eax, byte [eax + 0x100b0f70]
sub eax, ecx
jne 0x1005bd87
inc edx
jmp 0x1005bd60
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
inc edi
add ebx, 2
cmp edi, edx
jl 0x1005bd44
mov ebp, dword [esp + 0x20]
cmp edi, ebp
je 0x1005bdfd
mov ebx, dword [esp + 0x28]
xor edx, edx
mov eax, edi
xor esi, esi
bts edx, eax
cmp eax, 0x20
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
mov ecx, edx
cmovae esi, edx
and ecx, dword [esp + 0x2c]
mov eax, esi
and eax, ebx
or ecx, eax
jne 0x1005bdfd
or dword [esp + 0x2c], edx
or ebx, esi
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], ebx
test eax, eax
je 0x1005bde5
mov dword [eax + edx*4], edi
mov edi, dword [esp + 0x38]
inc edx
add edi, 0x14
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edi
cmp edx, ebp
jl 0x1005bca0
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
xor ecx, ecx
xor edx, edx
mov eax, ebp
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
cmp dword [esp + 0x2c], ecx
jne 0x1005bf9d
cmp esi, edx
jne 0x1005bf9d
mov edi, dword [esp + 0x1c]
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x1005be59
push 0
push 0
push 0
push 0xf
push edi
call fcn.10031c40
add esp, 0x14
mov esi, eax
jmp 0x1005be8c
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xf
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
push dword [ebx]
push str.USING_INDEX__s_FOR_IN_OPERATOR
push 0
push dword [esp + 0x74]
call fcn.10084490
mov ecx, dword [edi + 0x6c]
add esp, 0x10
mov edx, dword [ebx + 0x2c]
cmp dword [edi + 0x70], ecx
jg 0x1005bec2
push dword [esp + 0x18]
push edx
push dword [esp + 0x1c]
push 0x70
push edi
call fcn.10031c40
add esp, 0x14
jmp 0x1005bef1
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x68]
push ebx
push eax
mov edi, dword [eax + 8]
call fcn.100649a0
mov edx, eax
add esp, 8
test edx, edx
je 0x1005bf3e
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x1005bf2c
cmp dword [eax + 0x210], 0
jne 0x1005bf3e
add dword [edx], 0xffffffff
jne 0x1005bf3e
push edx
push dword [edx + 0xc]
call fcn.10053e60
add esp, 8
jmp 0x1005bf3e
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x74]
movzx edi, byte [eax]
add edi, 3
mov dword [esp + 0x10], edi
test edx, edx
je 0x1005bf77
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov dword [edx], eax
cmp ebp, 1
jne 0x1005bf77
push eax
push dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push eax
call fcn.100748e0
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x6c]
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x1005bf8d
mov eax, 0x100bdf30
jmp 0x1005bf9a
mov eax, dword [esp + 0x1c]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x24], ebx
test ebx, ebx
jne 0x1005bc20
test edi, edi
jne 0x1005c097
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov eax, 1
mov ebx, dword [esp + 0x70]
test bl, 1
je 0x1005c034
test dword [ecx + 4], 0x1000
jne 0x1005c034
mov esi, dword [ecx + 0xc]
mov word [esp + 0x5c], ax
lea eax, [esp + 0x48]
push ecx
push eax
mov dword [ecx + 0xc], 0
mov dword [esp + 0x54], fcn.1002ae90
mov dword [esp + 0x58], 0x100748d0
mov dword [esp + 0x68], 0
call fcn.1009cbd0
mov ecx, dword [esp + 0x74]
add esp, 8
cmp word [esp + 0x5c], 0
mov dword [ecx + 0xc], esi
je 0x1005c01f
mov eax, dword [ecx + 0x14]
cmp dword [eax], 2
jg 0x1005c034
dec dword [ebp + 0x28]
mov edi, 5
or ebx, 0xffffffff
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
jmp 0x1005c09b
mov edi, dword [ebp + 0x8c]
xor esi, esi
mov dword [esp + 0x10], 2
test bl, 4
je 0x1005c05c
push dword [esp + 0x14]
mov dword [ebp + 0x8c], esi
push ecx
push ebp
call fcn.100501c0
jmp 0x1005c08a
mov eax, dword [esp + 0x74]
test eax, eax
je 0x1005c06c
inc dword [ebp + 0x2c]
mov esi, dword [ebp + 0x2c]
mov dword [eax], esi
mov ebx, dword [esp + 0x14]
push ebx
push ecx
push ebp
call fcn.100501c0
add esp, 0xc
test esi, esi
je 0x1005c08d
push esi
push ebx
push dword [esp + 0x24]
call fcn.100748e0
add esp, 0xc
mov dword [ebp + 0x8c], edi
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x78]
test ebp, ebp
je 0x1005c17f
cmp edi, 3
je 0x1005c17f
cmp edi, 4
je 0x1005c17f
mov ecx, dword [ecx + 0xc]
mov al, byte [ecx]
cmp al, 0xb0
jne 0x1005c0c5
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x1005c0ce
mov edi, dword [ecx + 0x14]
jmp 0x1005c0dc
cmp al, 0x8a
jne 0x1005c16f
mov eax, dword [ecx + 0x14]
mov edi, dword [eax + 0x1c]
mov edi, dword [edi]
test edi, edi
jle 0x1005c17f
xor ecx, ecx
cmp edi, 0x10
jb 0x1005c176
movaps xmm1, xmmword [0x100b8770]
mov eax, edi
and eax, 0x8000000f
jns 0x1005c106
dec eax
or eax, 0xfffffff0
inc eax
mov ebx, edi
lea edx, [ebp + 0x20]
sub ebx, eax
mov esi, 8
movd xmm0, ecx
lea eax, [esi - 4]
pshufd xmm0, xmm0, 0
lea edx, [edx + 0x40]
paddd xmm0, xmm1
add ecx, 0x10
movups xmmword [edx - 0x60], xmm0
movd xmm0, eax
lea eax, [esi + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x50], xmm0
movd xmm0, esi
add esi, 0x10
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x40], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x30], xmm0
cmp ecx, ebx
jl 0x1005c112
cmp ecx, edi
jge 0x1005c17f
jmp 0x1005c176
mov edi, 1
xor ecx, ecx
mov dword [ebp + ecx*4], ecx
inc ecx
cmp ecx, edi
jl 0x1005c176
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, dword [esp + 4]
pop ebx
add esp, 0x54
ret