Function at 0x58a1c0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x48
mov ecx, dword [esp + 0x4c]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [ecx]
push ebx
push ebp
mov eax, dword [eax + 8]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x68]
xor ebp, ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
push edi
xor edi, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x40], 0xa7
mov dword [eax + 0x1c], 0xffffffff
test ebx, ebx
je 0x58a2a7
test byte [esi + 0x18], 6
je 0x58a235
xor ebx, ebx
mov dword [esp + 0x60], ebx
jmp 0x58a2a7
mov ebx, dword [ecx + 0x14]
xor esi, esi
test ebx, ebx
jle 0x58a26f
mov ebp, dword [ecx + 0x10]
mov edi, ebp
push dword [esp + 0x60]
push dword [edi]
call fcn.005cd620
add esp, 8
test eax, eax
je 0x58a25f
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x58a243
jmp 0x58a26b
mov eax, esi
add eax, eax
mov eax, dword [ebp + eax*8 + 0xc]
mov dword [esp + 0x3c], eax
xor edi, edi
xor ebp, ebp
cmp esi, ebx
mov ebx, dword [esp + 0x60]
jne 0x58a2a3
push ebx
push str.main
call fcn.005cd620
mov esi, dword [esp + 0x74]
add esp, 8
test eax, eax
jne 0x58a2a7
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x60], ebx
jmp 0x58a2a7
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
nop dword [eax + eax]
mov ecx, dword [esi + 4]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x58a780
xor eax, eax
lea esi, [ecx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], esi
cmp dword [ecx], eax
jle 0x58a750
nop dword [eax]
nop dword [eax + eax]
test dword [esi + 0x28], 0x2000
mov ebp, dword [esi + 0x10]
mov dword [esp + 0x44], ebp
je 0x58a440
mov eax, dword [esi + 0x14]
xor ebx, ebx
xor edi, edi
mov ebp, dword [eax + 0x1c]
cmp dword [ebp], ebx
jle 0x58a42b
lea esi, [ebp + 0x14]
nop word [eax + eax]
lea eax, [esp + 0x50]
mov dword [esp + 0x50], 0
push eax
push dword [esp + 0x64]
lea eax, [esi - 0xc]
push edx
push dword [esp + 0x28]
push eax
call fcn.005bc5b0
add esp, 0x14
test eax, eax
je 0x58a406
cmp dword [esp + 0x50], 0
jne 0x58a3e3
cmp dword [esp + 0x14], 0
jle 0x58a3a6
mov eax, dword [esp + 0x18]
test dword [eax + 0x28], 0x400
je 0x58a387
push dword [esp + 0x1c]
push dword [eax + 0x30]
call fcn.005b8cc0
add esp, 8
test eax, eax
js 0x58a387
mov eax, dword [esp + 0x18]
mov al, byte [eax + 0x24]
test al, 0x10
je 0x58a406
test al, 8
jne 0x58a3b1
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58a39c
push eax
push dword [esp + 0x30]
call fcn.00579390
add esp, 8
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
inc dword [esp + 0x14]
mov edi, 1
jmp 0x58a3ea
mov eax, dword [esp + 0x70]
movzx eax, word [eax + 0x20]
push eax
mov eax, dword [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x68]
call fcn.00579f10
mov eax, dword [esp + 0x44]
add esp, 0x10
inc dword [esp + 0x14]
mov edi, 1
mov dword [esp + 0x28], eax
jmp 0x58a3ea
cmp dword [esp + 0x14], 0
jg 0x58a406
mov eax, dword [esp + 0x18]
inc dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x70]
mov word [eax + 0x20], bx
or dword [esi], 0x40
test byte [esi], 0x80
jne 0x58a417
mov edx, dword [esp + 0x64]
inc ebx
add esi, 0x14
cmp ebx, dword [ebp]
jl 0x58a310
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
test edi, edi
jne 0x58a6fa
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x60]
test edx, edx
jne 0x58a44a
mov edi, dword [esp + 0x14]
jmp 0x58a738
test edx, edx
je 0x58a567
jmp 0x58a44e
mov ebp, dword [esp + 0x44]
test ebx, ebx
je 0x58a497
mov edi, dword [esp + 0x3c]
cmp dword [ebp + 0x3c], edi
jne 0x58a437
test edi, edi
jne 0x58a497
mov ecx, 0x6a4e0c
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x58a486
test dl, dl
je 0x58a482
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x58a486
add eax, 2
add ecx, 2
test dl, dl
jne 0x58a466
xor eax, eax
jmp 0x58a48b
sbb eax, eax
or eax, 1
mov edx, dword [esp + 0x64]
test eax, eax
jne 0x58a71e
mov edi, dword [esi + 0xc]
test edi, edi
je 0x58a4cf
mov esi, edi
sub esi, dword [esp + 0x64]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x58a4b6
test ecx, ecx
je 0x58a527
inc edx
jmp 0x58a4a4
movzx eax, byte [eax + 0x68a3e0]
movzx ecx, byte [ecx + 0x68a3e0]
sub ecx, eax
jne 0x58a700
inc edx
jmp 0x58a4a4
mov esi, dword [ebp]
mov ebx, dword [esp + 0x64]
sub esi, ebx
nop dword [eax + eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x58a4f2
test ecx, ecx
je 0x58a527
inc edx
jmp 0x58a4e0
movzx eax, byte [eax + 0x68a3e0]
movzx ecx, byte [ecx + 0x68a3e0]
sub ecx, eax
jne 0x58a507
inc edx
jmp 0x58a4e0
cmp dword [ebp + 0x14], 1
jne 0x58a712
push dword [esp + 0x3c]
push ebp
push ebx
call fcn.00582ef0
add esp, 0xc
test eax, eax
je 0x58a712
mov eax, dword [esp + 0x5c]
cmp byte [eax + 0xdc], 2
jb 0x58a563
test edi, edi
je 0x58a563
mov eax, dword [eax + 0x118]
test eax, eax
je 0x58a563
mov ecx, dword [esp + 0x70]
add ecx, 0x2c
nop dword [eax]
cmp dword [eax], ecx
je 0x58a55d
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x58a550
jmp 0x58a563
mov dword [eax], 0
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
xor dl, dl
mov byte [esp + 0x13], dl
mov ecx, eax
test eax, eax
jne 0x58a57d
mov byte [esp + 0x13], dl
jmp 0x58a59d
mov al, byte [eax]
test al, al
je 0x58a599
movzx eax, al
lea ecx, [ecx + 1]
add dl, byte [eax + 0x68a3e0]
mov al, byte [ecx]
test al, al
jne 0x58a583
mov byte [esp + 0x13], dl
mov eax, dword [esp + 0x1c]
mov edi, dword [ebp + 4]
xor ebx, ebx
movsx ebp, word [ebp + 0x22]
test ebp, ebp
jle 0x58a6cb
nop
cmp byte [edi + 0xa], dl
jne 0x58a671
mov edx, dword [edi]
mov esi, eax
sub esi, edx
nop
movzx eax, byte [edx]
movzx ecx, byte [esi + edx]
cmp eax, ecx
jne 0x58a651
test eax, eax
jne 0x58a663
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x14], eax
jle 0x58a62f
test dword [esi + 0x28], 0x400
je 0x58a610
push dword [esp + 0x1c]
push dword [esi + 0x30]
call fcn.005b8cc0
add esp, 8
test eax, eax
js 0x58a610
mov al, byte [esi + 0x24]
test al, 0x10
je 0x58a66d
test al, 8
jne 0x58a682
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58a625
push eax
push dword [esp + 0x30]
call fcn.00579390
add esp, 8
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], ecx
mov ebp, dword [esp + 0x70]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], edi
movsx eax, word [edx + 0x20]
cmp ebx, eax
jne 0x58a6ab
or eax, 0xffffffff
jmp 0x58a6ae
movzx ecx, byte [ecx + 0x68a3e0]
movzx eax, byte [eax + 0x68a3e0]
sub eax, ecx
jne 0x58a669
inc edx
jmp 0x58a5c0
mov esi, dword [esp + 0x18]
mov dl, byte [esp + 0x13]
inc ebx
add edi, 0x10
cmp ebx, ebp
jge 0x58a6cb
mov eax, dword [esp + 0x1c]
jmp 0x58a5b0
mov ebp, dword [esp + 0x70]
movzx eax, word [ebp + 0x20]
push eax
mov eax, dword [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x68]
call fcn.00579f10
mov eax, dword [esp + 0x44]
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x58a633
movzx eax, bx
mov word [ebp + 0x20], ax
test dword [esi + 0x28], 0x2000
je 0x58a6d3
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x1c]
lea eax, [ebx + ebx*4]
or dword [ecx + eax*4 + 0x14], 0x40
jmp 0x58a6d3
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x58a728
test dword [edx + 0x1c], 0x200
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
jne 0x58a738
inc dword [esp + 0x38]
mov dword [esp + 0x20], esi
jmp 0x58a738
mov edi, dword [esp + 0x14]
jmp 0x58a730
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
jmp 0x58a734
mov esi, dword [esp + 0x18]
mov edx, ebx
mov edi, dword [esp + 0x14]
jmp 0x58a72c
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
jmp 0x58a734
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x24]
inc eax
add esi, 0x48
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], esi
cmp eax, dword [ecx]
jl 0x58a2e0
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x58a778
mov ecx, dword [esp + 0x70]
mov eax, dword [ebp + 0x2c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0x2c], eax
test byte [ebp + 0x24], 0x48
je 0x58a771
or dword [ecx + 4], 0x200000
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x3c], eax
test edi, edi
jne 0x58abf2
test ebx, ebx
jne 0x58a9d6
mov edi, dword [esp + 0x5c]
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov esi, dword [edi + 0x84]
test esi, esi
je 0x58a84e
cmp byte [edi + 0x9f], 0
mov bl, byte [edi + 0x9e]
je 0x58a7f6
mov eax, dword [esp + 0x6c]
test dword [eax + 0x18], 0x400
je 0x58a84e
test edx, edx
je 0x58a7e5
push dword [esi]
push edx
call fcn.005cd620
add esp, 8
test eax, eax
je 0x58a7e5
push ebp
push esi
push dword [esp + 0x6c]
call fcn.00582ef0
add esp, 0xc
test eax, eax
je 0x58a84e
mov ecx, dword [esp + 0x70]
xor eax, eax
cmp bl, 0x80
setne al
mov dword [ecx + 0x1c], eax
jmp 0x58a844
cmp bl, 0x80
je 0x58a827
test edx, edx
je 0x58a822
push edx
push 0x68e828
call fcn.005cd620
add esp, 8
test eax, eax
jne 0x58a81e
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x1c], 1
jmp 0x58a844
mov edx, dword [esp + 0x64]
cmp bl, 0x7f
je 0x58a84e
test edx, edx
je 0x58a84e
push edx
push 0x68e82c
call fcn.005cd620
add esp, 8
test eax, eax
jne 0x58a84e
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x1c], ebp
mov ebp, dword [edi + 0x84]
mov dword [esp + 0x30], ebp
mov edx, dword [esp + 0x6c]
test dword [edx + 0x18], 0x200
je 0x58a897
mov eax, dword [esp + 0x64]
test eax, eax
je 0x58a897
mov ebx, dword [edx + 8]
test ebx, ebx
je 0x58a897
mov edx, str.excluded
mov edi, eax
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x58a8b1
test eax, eax
jne 0x58a8c3
mov eax, dword [ebx + 0x20]
mov ebp, dword [eax + 0x18]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x30], ebp
mov dword [eax + 0x1c], 2
test ebp, ebp
je 0x58a9d2
mov esi, dword [esp + 0x1c]
xor dl, dl
mov byte [esp + 0x13], dl
mov ecx, esi
test esi, esi
jne 0x58a8c6
jmp 0x58a8e2
movzx ecx, byte [eax + 0x68a3e0]
movzx eax, byte [esi + 0x68a3e0]
sub ecx, eax
jne 0x58a897
inc edx
jmp 0x58a873
mov al, byte [esi]
test al, al
je 0x58a8e6
nop dword [eax]
movzx eax, al
lea ecx, [ecx + 1]
add dl, byte [eax + 0x68a3e0]
mov al, byte [ecx]
test al, al
jne 0x58a8d0
mov byte [esp + 0x13], dl
mov eax, dword [ebp + 0x3c]
xor edi, edi
inc dword [esp + 0x38]
xor ebx, ebx
mov ebp, dword [ebp + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x22]
mov ecx, eax
mov dword [esp + 0x50], ecx
cmp di, ax
jge 0x58a96f
nop dword [eax + eax]
cmp byte [ebp + 0xa], dl
jne 0x58a964
mov edx, dword [ebp]
mov edi, esi
sub edi, edx
nop dword [eax]
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x58a943
test eax, eax
jne 0x58a955
mov ebp, dword [esp + 0x30]
movsx eax, word [ebp + 0x20]
cmp ebx, eax
mov eax, 0xffffffff
cmove ebx, eax
jmp 0x58a973
movzx ecx, byte [eax + 0x68a3e0]
movzx eax, byte [esi + 0x68a3e0]
sub ecx, eax
jne 0x58a958
inc edx
jmp 0x58a920
mov dl, byte [esp + 0x13]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x1c]
inc ebx
movsx eax, cx
add ebp, 0x10
cmp ebx, eax
jl 0x58a910
mov ebp, dword [esp + 0x30]
movzx esi, word [ebp + 0x22]
movsx eax, si
cmp ebx, eax
jl 0x58a9c7
mov edi, dword [esp + 0x1c]
push str._ROWID_
push edi
call fcn.005cd620
add esp, 8
test eax, eax
je 0x58a9b8
push str.ROWID
push edi
call fcn.005cd620
add esp, 8
test eax, eax
je 0x58a9b8
push 0x68edb4
push edi
call fcn.005cd620
add esp, 8
test eax, eax
jne 0x58a9d2
test dword [ebp + 0x1c], 0x200
mov eax, 0xffffffff
cmove ebx, eax
movsx eax, si
cmp ebx, eax
jl 0x58aac4
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
cmp esi, 1
jl 0x58aa44
test ebp, ebp
je 0x58aa44
mov eax, dword [esp + 0x6c]
test byte [eax + 0x18], 0x28
jne 0x58aa44
mov ebx, dword [esp + 0x1c]
push str._ROWID_
push ebx
call fcn.005cd620
add esp, 8
test eax, eax
je 0x58aa27
push str.ROWID
push ebx
call fcn.005cd620
add esp, 8
test eax, eax
je 0x58aa27
push 0x68edb4
push ebx
call fcn.005cd620
add esp, 8
test eax, eax
jne 0x58aa44
mov eax, dword [ebp + 0x10]
test dword [eax + 0x1c], 0x200
je 0x58ac9d
test dword [ebp + 0x28], 0x2000
jne 0x58abe8
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
test byte [esi + 0x18], 0x80
je 0x58aaa0
test edx, edx
jne 0x58aaa0
mov eax, dword [esi + 8]
xor ebx, ebx
mov ebp, dword [eax]
test ebp, ebp
jle 0x58aaa0
lea esi, [eax + 0x14]
test byte [esi], 3
mov edi, dword [esi - 8]
jne 0x58aa90
mov eax, dword [esp + 0x1c]
test edi, edi
jne 0x58aa7a
neg eax
sbb eax, eax
jmp 0x58aa88
test eax, eax
je 0x58aa90
push eax
push edi
call fcn.005cd620
add esp, 8
test eax, eax
je 0x58acbc
inc ebx
add esi, 0x14
cmp ebx, ebp
jl 0x58aa64
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
mov esi, dword [esi + 0xc]
inc dword [esp + 0x4c]
mov dword [esp + 0x6c], esi
test esi, esi
je 0x58adab
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
jmp 0x58a2b0
mov edx, dword [esp + 0x70]
xor eax, eax
mov edi, 1
mov dword [esp + 0x20], eax
movzx ecx, bx
mov esi, dword [edx + 0x1c]
cmp esi, 2
jne 0x58ab2e
mov eax, ecx
mov ecx, dword [esp + 0x5c]
cmp byte [ecx + 0xdc], 2
jb 0x58ab03
mov dword [edx + 0x2c], ebp
mov ebp, edx
mov word [edx + 0x20], ax
mov dword [esp + 0x40], 0xa7
jmp 0x58abff
push eax
push ebp
call fcn.005cdc90
mov ebp, dword [esp + 0x78]
add esp, 8
movsx ecx, ax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x40], 0xb0
mov eax, dword [eax + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp + 0x1c], ecx
jmp 0x58abff
mov eax, dword [esp + 0x5c]
mov dword [edx + 0x2c], ebp
mov al, byte [eax + 0x9f]
mov word [edx + 0x20], cx
test al, al
je 0x58ab7c
push ecx
push ebp
mov dword [esp + 0x48], 0xb0
mov byte [edx + 2], 0xa7
call fcn.005cdc90
movsx ecx, ax
add esp, 8
movsx eax, word [ebp + 0x22]
mov ebp, dword [esp + 0x70]
inc eax
imul eax, esi
add ecx, eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 8]
inc eax
add eax, ecx
mov dword [ebp + 0x1c], eax
jmp 0x58abff
mov dword [esp + 0x40], 0x4d
test ebx, ebx
jns 0x58ab90
mov ebp, edx
mov byte [ebp + 1], 0x44
jmp 0x58abff
test esi, esi
jne 0x58abbe
cmp ebx, 0x20
jl 0x58abaa
mov ecx, dword [esp + 0x5c]
or eax, 0xffffffff
mov ebp, edx
or dword [ecx + 0x94], eax
jmp 0x58abff
mov ecx, ebx
mov eax, edi
shl eax, cl
mov ebp, edx
mov ecx, dword [esp + 0x5c]
or dword [ecx + 0x94], eax
jmp 0x58abff
cmp ebx, 0x20
jl 0x58abd4
mov ecx, dword [esp + 0x5c]
or eax, 0xffffffff
mov ebp, edx
or dword [ecx + 0x98], eax
jmp 0x58abff
mov ecx, ebx
mov eax, edi
shl eax, cl
mov ebp, edx
mov ecx, dword [esp + 0x5c]
or dword [ecx + 0x98], eax
jmp 0x58abff
mov edi, esi
mov eax, dword [esp + 0x70]
mov byte [eax + 1], 0x44
cmp edi, 1
jne 0x58aeca
mov ebp, dword [esp + 0x70]
test dword [ebp + 4], 0x810000
jne 0x58ac43
mov eax, dword [ebp + 0xc]
mov ebx, dword [esp + 0x2c]
test eax, eax
je 0x58ac1d
push eax
push ebx
call fcn.005af220
add esp, 8
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], 0
test eax, eax
je 0x58ac35
push eax
push ebx
call fcn.005af220
add esp, 8
or dword [ebp + 4], 0x800000
mov dword [ebp + 0x10], 0
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x58b0fc
movzx eax, word [ebp + 0x20]
test ax, ax
js 0x58b0f5
mov edx, dword [ebp + 0x2c]
movsx esi, ax
test byte [edx + 0x1c], 0x60
je 0x58b0cd
mov eax, dword [edx + 4]
mov ecx, esi
add ecx, ecx
test byte [eax + ecx*8 + 0xe], 0x60
je 0x58b0cd
movzx eax, word [edx + 0x22]
cmp ax, 0x40
jl 0x58b0a9
or ecx, 0xffffffff
or edx, 0xffffffff
or dword [ebx + 0x38], ecx
or dword [ebx + 0x3c], edx
jmp 0x58b0fc
test dword [ebp + 0x28], 0x2000
mov edi, esi
jne 0x58abea
mov eax, dword [esp + 0x70]
or ecx, 0xffffffff
mov word [eax + 0x20], cx
jmp 0x58abee
mov ebp, dword [esp + 0x6c]
lea eax, [ebx + ebx*4]
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov eax, dword [esi + eax*4 + 8]
test dl, 1
jne 0x58acf7
test byte [eax + 4], 0x10
je 0x58acf7
push edi
push str.misuse_of_aliased_aggregate__s
push dword [esp + 0x64]
call fcn.005ab4e0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x48
ret
test dword [eax + 4], 0x8000
je 0x58ad16
test edx, 0x4000
je 0x58ad0e
cmp ebp, dword [esp + 0x48]
je 0x58ad16
push edi
push str.misuse_of_aliased_window_function__s
jmp 0x58acde
mov cl, byte [eax]
cmp cl, 0xb0
jne 0x58ad20
mov cl, byte [eax + 2]
cmp cl, 0xb1
jne 0x58ad2a
mov eax, dword [eax + 0x14]
jmp 0x58ad35
cmp cl, 0x8a
jne 0x58ad58
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x58ad58
push str.row_value_misused
push dword [esp + 0x60]
call fcn.005ab4e0
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x5c]
push eax
push ebp
push ebx
push esi
push edi
call fcn.00597850
add esp, 0x14
cmp byte [edi + 0xdc], 2
jb 0x58b110
mov eax, dword [edi + 0x118]
test eax, eax
je 0x58b110
nop dword [eax]
cmp dword [eax], ebp
je 0x58ada0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x58ad90
jmp 0x58b110
mov dword [eax], 0
jmp 0x58b110
test edx, edx
jne 0x58aec2
mov edx, dword [esp + 0x70]
test byte [edx + 4], 0x80
je 0x58ae4a
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xb1], 0
jne 0x58ae1b
mov ecx, dword [eax + 0x20]
mov eax, dword [esp + 0x48]
test dword [eax + 0x18], 0x10000
je 0x58ae10
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x58adf6
mov eax, ecx
and eax, 0x40000000
or eax, 0
jne 0x58ae1b
and ecx, 0x20000000
or ecx, 0
je 0x58ae0a
mov eax, 1
test eax, eax
jmp 0x58ae19
xor eax, eax
test eax, eax
jmp 0x58ae19
and ecx, 0x40000000
or ecx, 0
je 0x58ae4a
push dword [esp + 0x1c]
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.005536b0
mov eax, dword [esp + 0x7c]
add esp, 0xc
xorps xmm0, xmm0
pop edi
pop esi
mov byte [eax], 0x75
pop ebp
movq qword [eax + 0x2c], xmm0
mov eax, 1
pop ebx
add esp, 0x48
ret
mov esi, dword [edx + 4]
test esi, 0x4000800
jne 0x58aeb8
mov edi, dword [edx + 8]
push str.true
push edi
call fcn.005cd620
add esp, 8
test eax, eax
jne 0x58ae88
mov ecx, dword [esp + 0x70]
mov eax, 0x10000000
pop edi
or eax, esi
pop esi
pop ebp
mov dword [ecx + 4], eax
mov eax, 1
mov byte [ecx], 0xaa
pop ebx
add esp, 0x48
ret
push str.false
push edi
call fcn.005cd620
add esp, 8
test eax, eax
jne 0x58aec2
mov ecx, dword [esp + 0x70]
mov eax, 0x20000000
pop edi
or eax, esi
pop esi
pop ebp
mov dword [ecx + 4], eax
mov eax, 1
mov byte [ecx], 0xaa
pop ebx
add esp, 0x48
ret
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
jmp 0x58aece
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x58afe6
lea eax, [edi - 1]
cmp dword [ebx], eax
jne 0x58afd9
mov eax, dword [edx + 4]
test eax, 0x800000
je 0x58aef9
and eax, 0xff7fffff
mov dword [edx + 4], eax
jmp 0x58af35
mov eax, dword [edx + 0xc]
mov esi, dword [esp + 0x2c]
test eax, eax
je 0x58af12
push eax
push esi
call fcn.005af220
mov edx, dword [esp + 0x78]
add esp, 8
mov eax, dword [edx + 0x10]
mov dword [edx + 0xc], 0
test eax, eax
je 0x58af2e
push eax
push esi
call fcn.005af220
mov edx, dword [esp + 0x78]
add esp, 8
mov dword [edx + 0x10], 0
mov eax, dword [esp + 0x5c]
movzx edi, word [edx + 0x20]
push 0
push 0x34
push dword [eax]
call fcn.005a9460
mov esi, eax
add esp, 0xc
test esi, esi
je 0x58afc2
push 0x34
push 0
push esi
call fcn.006213c0
mov byte [esi], 0xa7
or eax, 0xffffffff
mov word [esi + 0x22], ax
add esp, 0xc
mov dword [esi + 0x18], 1
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], di
mov eax, dword [ebp + 0x10]
or dword [esi + 4], 0x200000
mov dword [esi + 0x2c], eax
mov eax, dword [ebx]
lea edx, [eax + 1]
cmp dword [ebx + 4], edx
jge 0x58afa4
mov eax, dword [esp + 0x5c]
push esi
push ebx
push dword [eax]
call fcn.005b00b0
add esp, 0xc
mov ebx, eax
jmp 0x58afc2
movups xmm0, xmmword [0x689f20]
lea eax, [eax + eax*4]
mov dword [ebx], edx
lea ecx, [ebx + eax*4]
mov eax, dword [0x689f30]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], esi
mov ebp, dword [esp + 0x70]
mov byte [ebp], 0xac
mov dword [ebp + 8], str.coalesce
mov dword [ebp + 0x14], ebx
jmp 0x58b10c
push ebx
push dword [esp + 0x30]
call fcn.00579390
add esp, 8
mov edx, dword [esp + 0x60]
test edi, edi
mov ecx, str.ambiguous_column_name
mov eax, str.no_such_column
cmovne eax, ecx
mov ecx, dword [esp + 0x64]
test edx, edx
je 0x58b01b
push dword [esp + 0x1c]
push ecx
push edx
push eax
push str._s:__s._s._s
push dword [esp + 0x70]
call fcn.005ab4e0
add esp, 0x18
jmp 0x58b068
test ecx, ecx
je 0x58b038
push dword [esp + 0x1c]
push ecx
push eax
push str._s:__s._s
push dword [esp + 0x6c]
call fcn.005ab4e0
add esp, 0x14
jmp 0x58b068
test edi, edi
jne 0x58b052
mov ecx, dword [esp + 0x68]
test byte [ecx + 4], 0x80
je 0x58b052
push dword [esp + 0x1c]
push eax
push str._s:___s____should_this_be_a_string_literal_in_single_quotes_
jmp 0x58b05c
push dword [esp + 0x1c]
push eax
push str._s:__s
push dword [esp + 0x68]
call fcn.005ab4e0
add esp, 0x10
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x70]
mov eax, ebp
mov edx, dword [ecx]
test byte [eax + 4], 3
jne 0x58b081
mov ecx, dword [eax + 0x24]
test ecx, ecx
jg 0x58b08a
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x58b074
jmp 0x58b08d
mov dword [edx + 0x44], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], 0x79
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x48]
inc dword [eax + 0x14]
jmp 0x58abff
xor ecx, ecx
cwde
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
or dword [ebx + 0x38], ecx
or dword [ebx + 0x3c], edx
jmp 0x58b0fc
cmp esi, 0x40
mov eax, 0x3f
cmovge esi, eax
xor ecx, ecx
xor edx, edx
bts ecx, esi
cmp esi, 0x20
cmovae edx, ecx
xor ecx, edx
cmp esi, 0x40
cmovae edx, ecx
or dword [ebx + 0x38], ecx
or dword [ebx + 0x3c], edx
jmp 0x58b0fc
or dword [ebx + 0x28], 0x4000
mov eax, dword [esp + 0x40]
mov byte [ebp], al
cmp edi, 1
jne 0x58acea
mov edi, dword [esp + 0x5c]
mov ecx, dword [edi]
cmp dword [ecx + 0x16c], 0
je 0x58b1e0
mov al, byte [ebp]
cmp al, 0xa7
je 0x58b12e
cmp al, 0x4d
jne 0x58b1e0
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x3c]
mov ebx, dword [eax + 4]
test esi, esi
je 0x58b1e0
mov eax, dword [ecx + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], esi
je 0x58b162
nop dword [eax]
inc edx
lea eax, [eax + 0x10]
mov ecx, edx
cmp dword [eax], esi
jne 0x58b150
test ecx, ecx
js 0x58b1e0
cmp byte [ebp], 0x4d
jne 0x58b170
mov esi, dword [edi + 0x84]
jmp 0x58b199
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x58b1e0
mov edi, dword [ebp + 0x1c]
lea ecx, [ebx + 0x34]
nop
cmp edi, dword [ecx]
je 0x58b18e
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x58b180
jmp 0x58b1e0
mov edi, dword [esp + 0x5c]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x58b1e0
movsx ecx, word [ebp + 0x20]
test ecx, ecx
js 0x58b1af
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x58b1ca
movzx eax, word [esi + 0x20]
test ax, ax
js 0x58b1c5
movsx ecx, ax
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x58b1ca
mov eax, str.ROWID
push edx
push eax
push dword [esi]
push edi
call fcn.0059fda0
add esp, 0x10
cmp eax, 2
jne 0x58b1e0
mov byte [ebp], 0x79
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x6c]
inc dword [eax + 0x10]
cmp eax, ecx
je 0x58b1fa
nop
mov eax, dword [eax + 0xc]
inc dword [eax + 0x10]
cmp eax, ecx
jne 0x58b1f0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x48
ret