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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], eax
mov eax, 0xa4
push ebx
mov dword [esp + 0x2c], eax
xor ebx, ebx
mov eax, dword [ebp + 0x14]
push esi
mov esi, edx
mov dword [esp + 0x14], 0
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], ecx
mov dword [eax + 0x1c], 0xffffffff
push edi
test esi, esi
je 0x5e8e0d
test byte [ecx + 0x18], 6
je 0x5e8d7d
mov dword [esp + 0x24], ebx
jmp 0x5e8e0d
mov ecx, dword [edx + 0x14]
xor ebx, ebx
mov dword [esp + 0x40], ecx
test ecx, ecx
jle 0x5e8dd2
mov ecx, dword [edx + 0x10]
mov eax, ecx
mov dword [esp + 0x44], ecx
mov edx, dword [eax]
mov edi, esi
sub edi, edx
nop dword [eax]
movzx eax, byte [edx]
movzx esi, byte [edi + edx]
cmp eax, esi
jne 0x5e8eae
test eax, eax
jne 0x5e8ec0
mov edx, dword [esp + 0x30]
mov eax, ebx
mov esi, dword [esp + 0x24]
add eax, eax
mov ecx, dword [edx + 0x10]
mov eax, dword [ecx + eax*8 + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
cmp ebx, ecx
jne 0x5e8e0b
mov edx, str.main
mov edi, esi
sub edi, edx
nop
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x5e8ee7
test eax, eax
jne 0x5e8efd
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
xor ebx, ebx
mov esi, dword [ebp + 0x10]
mov ecx, dword [esi + 4]
mov dword [esp + 0x54], ecx
test ecx, ecx
je 0x5e9192
xor edx, edx
lea eax, [ecx + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], eax
cmp dword [ecx], edx
jle 0x5e90e1
mov ebx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x44], ecx
test ebx, ebx
je 0x5e8f34
test dword [ebx + 4], 0x800
je 0x5e8f34
mov ebx, dword [ebx + 0x1c]
xor esi, esi
mov dword [esp + 0x40], 0
cmp dword [ebx], esi
jle 0x5e8f27
lea edi, [ebx + 4]
nop dword [eax + eax]
push dword [esp + 0x24]
mov edx, dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.005e8bc0
add esp, 8
test eax, eax
je 0x5e8f03
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], 2
mov word [eax + 0x20], si
mov eax, 1
mov dword [esp + 0x40], eax
jmp 0x5e8f07
movzx ecx, byte [eax + 0x792808]
movzx eax, byte [esi + 0x792808]
sub ecx, eax
jne 0x5e8ec6
inc edx
jmp 0x5e8da0
mov eax, dword [esp + 0x44]
inc ebx
mov ecx, dword [esp + 0x40]
add eax, 0x10
mov esi, dword [esp + 0x24]
mov dword [esp + 0x44], eax
cmp ebx, ecx
jge 0x5e8dd4
jmp 0x5e8d93
movzx ecx, byte [eax + 0x792808]
movzx eax, byte [esi + 0x792808]
sub ecx, eax
jne 0x5e8e0b
inc edx
jmp 0x5e8de0
mov eax, dword [esp + 0x40]
inc esi
add edi, 0x14
cmp esi, dword [ebx]
jl 0x5e8e70
mov edx, dword [esp + 0x28]
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x5e90c5
mov ecx, dword [esp + 0x44]
mov esi, dword [ebp + 8]
test esi, esi
je 0x5e90c5
jmp 0x5e8f37
mov esi, dword [ebp + 8]
cmp dword [esp + 0x24], 0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x4c], ebx
je 0x5e8f53
mov ebx, dword [esp + 0x2c]
cmp dword [ecx + 0x48], ebx
jne 0x5e90c5
test esi, esi
je 0x5e8fc2
mov ebx, dword [eax + 0xc]
mov edx, ebx
test ebx, ebx
jne 0x5e8f62
mov edx, dword [ecx]
mov edi, esi
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edi + edx]
cmp eax, esi
jne 0x5e8fa3
test eax, eax
jne 0x5e8fb9
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xcc], 2
jb 0x5e8fc2
test ebx, ebx
je 0x5e8fc2
mov eax, dword [eax + 0x114]
test eax, eax
je 0x5e8fc2
mov ecx, dword [ebp + 0x14]
add ecx, 0x2c
cmp dword [eax], ecx
je 0x5e8fbc
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x5e8f96
jmp 0x5e8fc2
movzx ecx, byte [eax + 0x792808]
movzx eax, byte [esi + 0x792808]
sub ecx, eax
jne 0x5e90bd
inc edx
jmp 0x5e8f66
mov dword [eax], 0
inc dword [esp + 0x14]
cmp dword [esp + 0x4c], 0
mov eax, dword [esp + 0x1c]
cmovne eax, dword [esp + 0x20]
mov esi, dword [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.005b92d0
mov cl, al
xor edi, edi
mov eax, dword [esp + 0x44]
mov byte [esp + 0xf], cl
mov dword [esp + 0x40], edi
mov ebx, dword [eax + 4]
movsx eax, word [eax + 0x2a]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x5e90bd
nop dword [eax]
cmp byte [ebx + 0xf], cl
jne 0x5e90a1
mov edx, dword [ebx]
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x5e9111
test ecx, ecx
jne 0x5e9127
mov edx, dword [esp + 0x18]
cmp edx, 1
jne 0x5e915b
mov eax, dword [esp + 0x1c]
test byte [eax + 0x24], 4
jne 0x5e9096
mov eax, dword [eax + 0x34]
test eax, eax
je 0x5e915b
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [esp + 0x50], ecx
test ecx, ecx
jle 0x5e915b
mov edi, dword [eax]
nop dword [eax]
mov esi, dword [ebp + 0xc]
mov edx, dword [edi]
sub esi, edx
movzx eax, byte [edx]
movzx ecx, byte [edx + esi]
cmp eax, ecx
jne 0x5e912d
test eax, eax
jne 0x5e913f
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov cl, byte [esp + 0xf]
mov esi, dword [ebp + 0xc]
inc edi
add ebx, 0x14
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], ebx
cmp edi, eax
jl 0x5e9010
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
inc edx
add eax, 0x48
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], eax
cmp edx, dword [ecx]
jl 0x5e8e34
mov ebx, dword [esp + 0x20]
mov edi, dword [ebp + 0x14]
test ebx, ebx
je 0x5e9195
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x2c], eax
test byte [ebx + 0x24], 8
je 0x5e9105
or dword [edi + 4], 0x100000
mov eax, dword [eax + 0x48]
mov dword [esp + 0x2c], eax
jmp 0x5e9195
movzx eax, byte [eax + 0x792808]
movzx ecx, byte [ecx + 0x792808]
sub ecx, eax
jne 0x5e9096
inc edx
jmp 0x5e9020
movzx ecx, byte [ecx + 0x792808]
movzx eax, byte [eax + 0x792808]
sub eax, ecx
jne 0x5e9145
inc edx
jmp 0x5e9077
inc ebx
add edi, 8
cmp ebx, dword [esp + 0x50]
jl 0x5e9070
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], edx
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x5e9183
mov ecx, dword [ebp + 0x14]
or eax, 0xffffffff
mov word [ecx + 0x20], ax
jmp 0x5e90bd
mov ecx, dword [ebp + 0x14]
movzx eax, di
mov word [ecx + 0x20], ax
jmp 0x5e90bd
mov edi, dword [ebp + 0x14]
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
jne 0x5e947e
mov eax, dword [ebp + 8]
test eax, eax
je 0x5e947e
test ecx, ecx
jne 0x5e947e
mov ecx, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
cmp dword [ecx + 0x78], ebx
je 0x5e9268
mov bl, byte [ecx + 0x94]
cmp bl, 0x7e
je 0x5e921b
mov edx, 0x8018d0
mov esi, eax
sub esi, edx
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x5e9203
test ecx, ecx
jne 0x5e9215
mov ebx, dword [esp + 0x10]
mov dword [edi + 0x1c], 1
mov ebx, dword [ebx + 0x78]
mov dword [esp + 0x1c], ebx
jmp 0x5e9268
movzx eax, byte [eax + 0x792808]
movzx ecx, byte [ecx + 0x792808]
sub ecx, eax
jne 0x5e9218
inc edx
jmp 0x5e91e0
mov eax, dword [ebp + 8]
cmp bl, 0x7d
je 0x5e9264
mov edx, 0x801858
mov esi, eax
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x5e924f
test ecx, ecx
jne 0x5e9261
mov ebx, dword [esp + 0x10]
mov dword [edi + 0x1c], ecx
mov ebx, dword [ebx + 0x78]
mov dword [esp + 0x1c], ebx
jmp 0x5e9268
movzx eax, byte [eax + 0x792808]
movzx ecx, byte [ecx + 0x792808]
sub ecx, eax
jne 0x5e9264
inc edx
jmp 0x5e9230
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x10]
test dword [eax + 0x18], 0x200
je 0x5e92b0
mov edi, dword [eax + 8]
test edi, edi
je 0x5e92b0
mov esi, dword [ebp + 8]
mov edx, str.excluded
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x5e9327
test ecx, ecx
jne 0x5e933d
mov eax, dword [edi + 0x14]
mov ebx, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], ebx
mov dword [eax + 0x1c], 2
test ebx, ebx
je 0x5e9483
mov ecx, dword [ebp + 0xc]
call fcn.005b92d0
mov ecx, dword [ebx + 0x48]
xor esi, esi
mov ebx, dword [ebx + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xf], al
mov dword [esp + 0x14], 1
movsx edi, word [ecx + 0x2a]
mov dword [esp + 0x4c], edi
test edi, edi
jle 0x5e9368
nop dword [eax]
cmp byte [ebx + 0xf], al
jne 0x5e9360
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx]
sub edi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [edx + edi]
cmp ecx, eax
jne 0x5e9343
test ecx, ecx
jne 0x5e9355
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x4c]
movsx eax, word [ebx + 0x28]
cmp esi, eax
mov eax, 0xffffffff
cmove esi, eax
jmp 0x5e936c
movzx eax, byte [eax + 0x792808]
movzx ecx, byte [ecx + 0x792808]
sub ecx, eax
jne 0x5e92b0
inc edx
jmp 0x5e9285
movzx eax, byte [eax + 0x792808]
movzx ecx, byte [ecx + 0x792808]
sub ecx, eax
jne 0x5e9358
inc edx
jmp 0x5e9300
mov edi, dword [esp + 0x4c]
mov al, byte [esp + 0xf]
inc esi
add ebx, 0x14
cmp esi, edi
jl 0x5e92f0
mov ebx, dword [esp + 0x1c]
cmp esi, edi
jl 0x5e9393
mov ecx, dword [ebp + 0xc]
call fcn.005eda90
test eax, eax
je 0x5e938b
test dword [ebx + 0x24], 0x200
mov eax, 0xffffffff
cmove esi, eax
cmp esi, edi
jge 0x5e9483
mov edi, dword [ebp + 0x14]
inc dword [esp + 0x18]
mov eax, dword [edi + 0x1c]
cmp eax, 2
jne 0x5e93e9
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x10]
cmp byte [eax + 0xcc], 2
jb 0x5e93ca
mov word [edi + 0x20], si
mov dword [edi + 0x2c], ebx
mov dword [esp + 0x34], 0xa4
jmp 0x5e948d
mov eax, dword [edx + 8]
mov dword [esp + 0x34], 0xad
mov eax, dword [eax + 0x18]
add eax, esi
or dword [edi + 4], 0x400000
mov dword [edi + 0x1c], eax
jmp 0x5e948d
test esi, esi
jns 0x5e9405
mov byte [edi + 1], 0x44
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
mov dword [esp + 0x34], 0x4d
jmp 0x5e9486
test eax, eax
jne 0x5e9450
cmp esi, 0x20
jl 0x5e942c
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [esp + 0x34], 0x4d
or dword [ecx + 0x8c], eax
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
jmp 0x5e9486
mov ecx, esi
mov dword [esp + 0x34], 0x4d
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x10]
or dword [ecx + 0x8c], eax
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
jmp 0x5e9486
cmp esi, 0x20
jl 0x5e945a
or eax, 0xffffffff
jmp 0x5e9463
mov eax, 1
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], 0x4d
or dword [ecx + 0x90], eax
mov dword [edi + 0x2c], ebx
mov word [edi + 0x20], si
jmp 0x5e9486
mov edi, dword [ebp + 0x14]
jmp 0x5e948a
mov edi, dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x5e94d4
cmp ecx, 1
jne 0x5e94d4
mov esi, dword [esp + 0x20]
test esi, esi
je 0x5e94d4
test byte [edx + 0x18], 0x28
jne 0x5e94d4
mov ecx, dword [ebp + 0xc]
call fcn.005eda90
test eax, eax
je 0x5e94d4
mov eax, dword [esi + 0x10]
test dword [eax + 0x24], 0x200
jne 0x5e94d4
mov ebx, 1
mov byte [edi + 1], 0x44
or eax, 0xffffffff
mov dword [esp + 0x18], ebx
mov word [edi + 0x20], ax
mov esi, dword [ebp + 0x10]
test byte [esi + 0x18], 0x80
je 0x5e952d
test ebx, ebx
jne 0x5e96f3
mov edx, dword [ebp + 8]
test edx, edx
jne 0x5e9538
mov ecx, dword [esi + 8]
xor edi, edi
mov eax, dword [ecx]
mov dword [esp + 0x54], eax
test eax, eax
jle 0x5e9538
lea esi, [ecx + 0x10]
nop
test byte [esi], 3
mov ebx, dword [esi - 8]
jne 0x5e951c
push dword [ebp + 0xc]
push ebx
call fcn.005b91c0
add esp, 8
test eax, eax
je 0x5e9553
mov eax, dword [esp + 0x54]
inc edi
add esi, 0x14
cmp edi, eax
jl 0x5e9500
mov ebx, dword [esp + 0x18]
mov esi, dword [ebp + 0x10]
jmp 0x5e9535
test ebx, ebx
jne 0x5e96f3
mov edx, dword [ebp + 8]
mov esi, dword [esi + 0xc]
inc dword [esp + 0x48]
mov dword [ebp + 0x10], esi
test esi, esi
je 0x5e963f
mov ebx, dword [esp + 0x20]
jmp 0x5e8e10
mov esi, dword [ebp + 0x10]
lea eax, [edi + edi*4]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x18]
mov eax, dword [edx + eax*4 + 4]
test cl, 1
jne 0x5e958c
test byte [eax + 4], 0x10
je 0x5e958c
push ebx
push str.misuse_of_aliased_aggregate__s
push dword [esp + 0x18]
call fcn.005b9110
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [eax + 4], 0x8000
je 0x5e95ab
test ecx, 0x4000
je 0x5e95a3
cmp esi, dword [esp + 0x38]
je 0x5e95ab
push ebx
push str.misuse_of_aliased_window_function__s
jmp 0x5e9574
mov cl, byte [eax]
cmp cl, 0xad
jne 0x5e95b5
mov cl, byte [eax + 2]
cmp cl, 0xae
jne 0x5e95bf
mov eax, dword [eax + 0x14]
jmp 0x5e95ca
cmp cl, 0x88
jne 0x5e95ec
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x5e95ec
push str.row_value_misused
push dword [esp + 0x14]
call fcn.005b9110
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x48]
mov esi, dword [ebp + 0x14]
push eax
push 0x798f50
push esi
push edi
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.005e8a20
add esp, 0x10
cmp byte [edi + 0xcc], 2
jb 0x5e984f
mov eax, dword [edi + 0x114]
test eax, eax
je 0x5e984f
cmp dword [eax], esi
je 0x5e9634
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x5e9624
jmp 0x5e984f
mov dword [eax], 0
jmp 0x5e984f
test edx, edx
jne 0x5e96ff
mov esi, dword [ebp + 0x14]
mov ebx, dword [esi + 4]
test bl, 0x40
je 0x5e96cb
mov eax, dword [esp + 0x30]
cmp byte [eax + 0xa5], dl
jne 0x5e96a3
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x38]
test dword [eax + 0x18], 0x10000
je 0x5e9698
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x5e9690
mov eax, ecx
and eax, 0x40000000
or eax, edx
jne 0x5e96a3
and ecx, 0x20000000
jmp 0x5e969e
and ecx, 0x40000000
or ecx, 0
je 0x5e96cb
push dword [ebp + 0xc]
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.005b86c0
add esp, 0xc
mov byte [esi], 0x73
mov dword [esi + 0x2c], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, 0x4000000
jne 0x5e9736
mov ecx, dword [esi + 8]
call fcn.005ed570
test eax, eax
je 0x5e9730
or ebx, eax
mov byte [esi], 0xa7
mov dword [esi + 4], ebx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 1
je 0x5e9776
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x24]
test ebx, ebx
mov ecx, str.ambiguous_column_name
mov eax, str.no_such_column
cmovne eax, ecx
mov ecx, dword [ebp + 0xc]
push ecx
test esi, esi
je 0x5e973c
push edx
push esi
push eax
push str._s:__s._s._s
push dword [esp + 0x24]
call fcn.005b9110
add esp, 0x18
jmp 0x5e9767
mov ebx, dword [esp + 0x18]
jmp 0x5e96fc
mov ebx, dword [esp + 0x18]
jmp 0x5e96ff
test edx, edx
je 0x5e9755
push edx
push eax
push str._s:__s._s
push dword [esp + 0x20]
call fcn.005b9110
add esp, 0x14
jmp 0x5e9767
push eax
push str._s:__s
push dword [esp + 0x1c]
call fcn.005b9110
add esp, 0x10
mov eax, dword [esp + 0x10]
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x38]
inc dword [eax + 0x14]
mov esi, dword [ebp + 0x14]
movzx eax, word [esi + 0x20]
test ax, ax
js 0x5e9807
mov edi, dword [esp + 0x20]
test edi, edi
je 0x5e9807
movsx esi, ax
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x2c]
test byte [edx + 0x24], 0x60
je 0x5e97de
mov eax, dword [edx + 4]
lea ecx, [esi + esi*4]
test byte [eax + ecx*4 + 0x10], 0x60
je 0x5e97de
movzx eax, word [edx + 0x2a]
cmp ax, 0x40
jl 0x5e97c0
or ecx, 0xffffffff
or edx, 0xffffffff
jmp 0x5e97fe
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
jmp 0x5e97fe
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 [edi + 0x38], ecx
or dword [edi + 0x3c], edx
mov esi, dword [ebp + 0x14]
mov edx, dword [esi + 0xc]
mov edi, dword [esp + 0x30]
test edx, edx
je 0x5e9819
mov ecx, edi
call fcn.005ec4f0
mov edx, dword [esi + 0x10]
mov dword [esi + 0xc], 0
test edx, edx
je 0x5e982e
mov ecx, edi
call fcn.005ec4f0
mov eax, dword [esp + 0x34]
or dword [esi + 4], 0x800000
mov dword [esi + 0x10], 0
mov byte [esi], al
cmp ebx, 1
jne 0x5e9580
mov edi, dword [esp + 0x10]
test dword [esi + 4], 0x400000
jne 0x5e9923
mov eax, dword [edi]
mov ecx, dword [ebp + 0x10]
cmp dword [eax + 0x150], 0
mov ebx, dword [ecx + 4]
je 0x5e9923
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x5e9923
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x5e98a0
nop dword [eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x5e9890
test edx, edx
js 0x5e9923
cmp byte [esi], 0x4d
jne 0x5e98aa
mov esi, dword [edi + 0x78]
jmp 0x5e98d9
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x5e9923
mov ecx, dword [ebp + 0x14]
mov edi, dword [ecx + 0x1c]
lea ecx, [ebx + 0x34]
nop dword [eax + eax]
cmp edi, dword [ecx]
je 0x5e98ce
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x5e98c0
jmp 0x5e9923
mov edi, dword [esp + 0x10]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x5e9923
mov ebx, dword [ebp + 0x14]
movsx eax, word [ebx + 0x20]
test eax, eax
js 0x5e98f3
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x5e990d
movzx eax, word [esi + 0x28]
test ax, ax
js 0x5e9908
cwde
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
jmp 0x5e990d
mov eax, str.ROWID
push edx
mov edx, dword [esi]
mov ecx, edi
push eax
call fcn.005fa3a0
add esp, 8
cmp eax, 2
jne 0x5e9923
mov byte [ebx], 0x77
mov ecx, dword [esp + 0x38]
mov eax, dword [ebp + 0x10]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x5e993b
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x5e9931
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret