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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov ecx, dword [ebp + 8]
push ebx
mov edx, dword [ebp + 0x18]
push esi
mov esi, dword [ecx]
mov ecx, dword [ebp + 0x1c]
xor eax, eax
push edi
mov dword [ecx + 0x1c], 0xffffffff
mov ecx, dword [ebp + 0xc]
cmp ecx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0xa2
je 0x5a4ffb
test byte [edx + 0x18], 6
je 0x5a4fbf
mov dword [ebp + 0xc], 0
jmp 0x5a4ffb
mov eax, dword [esi + 0x14]
xor ebx, ebx
test eax, eax
jle 0x5a4ffb
xor edi, edi
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp + 0xc]
push eax
mov edx, dword [edi + ecx]
push edx
call fcn.0057b130
add esp, 8
test eax, eax
je 0x5a4fee
mov eax, dword [esi + 0x14]
inc ebx
add edi, 0x10
cmp ebx, eax
jl 0x5a4fca
jmp 0x5a4ffb
mov eax, dword [esi + 0x10]
shl ebx, 4
mov ecx, dword [ebx + eax + 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 4]
test eax, eax
mov dword [ebp - 0x34], eax
je 0x5a51e3
mov ecx, dword [eax]
mov dword [ebp - 0x28], 0
test ecx, ecx
lea ebx, [eax + 8]
jle 0x5a51b5
mov eax, dword [ebx + 0x14]
mov edi, dword [ebx + 0x10]
test eax, eax
mov dword [ebp - 0x30], edi
je 0x5a50b1
mov ecx, dword [eax + 8]
test ch, 8
je 0x5a50b1
mov eax, dword [eax]
xor edi, edi
xor esi, esi
mov dword [ebp - 0x2c], eax
cmp dword [eax], 0
jle 0x5a50a3
add eax, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push ecx
push edx
mov ecx, dword [eax]
push ecx
call fcn.005a58d0
add esp, 0x10
test eax, eax
je 0x5a5088
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x1c]
inc eax
mov dword [ebp - 0x10], 2
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov word [edx + 0x20], si
mov edi, 1
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
inc esi
add edx, 0x18
mov ecx, dword [eax]
mov dword [ebp - 0x1c], edx
cmp esi, ecx
jl 0x5a504d
test edi, edi
jne 0x5a5196
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x5a5196
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5a50c6
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x48]
cmp eax, ecx
jne 0x5a5196
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x5a510d
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x5a50d6
mov eax, dword [edi]
push ecx
push eax
call fcn.0057b130
add esp, 8
test eax, eax
jne 0x5a5196
mov eax, dword [ebp + 8]
cmp byte [eax + 0xc8], 2
jb 0x5a510d
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x5a510d
mov edx, dword [ebp + 0x1c]
add edx, 0x2c
push edx
push 0
push eax
call fcn.005a7f90
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, eax
inc eax
test ecx, ecx
mov dword [ebp - 0x10], eax
jne 0x5a511d
mov dword [ebp - 8], ebx
mov edx, dword [edi + 4]
xor esi, esi
cmp word [edi + 0x2a], si
mov dword [ebp - 0x1c], edx
jle 0x5a5196
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ecx]
push edx
call fcn.0057b130
add esp, 8
test eax, eax
jne 0x5a5161
cmp dword [ebp - 4], 1
jne 0x5a5175
test byte [ebx + 0x24], 4
jne 0x5a5161
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebx + 0x34]
push eax
push ecx
call fcn.005a5880
add esp, 8
test eax, eax
je 0x5a5175
movsx edx, word [edi + 0x2a]
mov ecx, dword [ebp - 0x1c]
inc esi
add ecx, 0x10
cmp esi, edx
mov dword [ebp - 0x1c], ecx
jl 0x5a512b
jmp 0x5a5196
movsx eax, word [edi + 0x28]
mov edx, dword [ebp - 4]
mov dword [ebp - 8], ebx
inc edx
cmp esi, eax
mov dword [ebp - 4], edx
jne 0x5a518c
or eax, 0xffffffff
jmp 0x5a518f
movsx eax, si
mov ecx, dword [ebp + 0x1c]
mov word [ecx + 0x20], ax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
inc eax
add ebx, 0x48
mov ecx, dword [edx]
mov dword [ebp - 0x28], eax
cmp eax, ecx
jl 0x5a5020
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp - 8]
jmp 0x5a51bb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x1c]
test eax, eax
je 0x5a51e3
mov edx, dword [eax + 0x2c]
mov dword [ecx + 0x1c], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x2c], edx
mov dl, byte [eax + 0x24]
test dl, 8
je 0x5a51da
or dword [ecx + 4], 0x100000
mov eax, dword [ecx + 0x2c]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x5a53b7
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x5a53b7
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x5a53b7
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [esi + 0x78]
test eax, eax
je 0x5a5261
xor ebx, ebx
mov bl, byte [esi + 0x90]
cmp ebx, 0x7c
je 0x5a523e
mov edx, dword [ebp + 0x10]
push edx
push 0x753d04
call fcn.0057b130
add esp, 8
test eax, eax
jne 0x5a523e
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], 1
jmp 0x5a525e
cmp ebx, 0x7b
je 0x5a5261
mov ecx, dword [ebp + 0x10]
push ecx
push 0x753d00
call fcn.0057b130
add esp, 8
test eax, eax
jne 0x5a5261
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x1c], eax
mov edi, dword [esi + 0x78]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x18]
test ch, 2
je 0x5a5298
mov esi, dword [eax + 8]
test esi, esi
je 0x5a5298
mov eax, dword [ebp + 0x10]
push eax
push str.excluded
call fcn.0057b130
add esp, 8
test eax, eax
jne 0x5a5298
mov ecx, dword [esi + 0x14]
mov edx, dword [ebp + 0x1c]
mov edi, dword [ecx + 0x18]
mov dword [edx + 0x1c], 2
test edi, edi
je 0x5a53b7
mov eax, dword [edi + 0x48]
mov ebx, dword [edi + 4]
xor esi, esi
mov dword [ebp - 0x14], eax
cmp word [edi + 0x2a], si
mov dword [ebp - 0x10], 1
jle 0x5a52e4
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebx]
push ecx
push edx
call fcn.0057b130
add esp, 8
test eax, eax
je 0x5a52d9
movsx eax, word [edi + 0x2a]
inc esi
add ebx, 0x10
cmp esi, eax
jl 0x5a52b8
jmp 0x5a52e4
movsx ecx, word [edi + 0x28]
cmp esi, ecx
jne 0x5a52e4
or esi, 0xffffffff
movsx edx, word [edi + 0x2a]
cmp esi, edx
jl 0x5a5305
mov eax, dword [ebp + 0x14]
push eax
call fcn.005a74b0
add esp, 4
test eax, eax
je 0x5a5305
test byte [edi + 0x24], 0x40
jne 0x5a5305
or esi, 0xffffffff
movsx ecx, word [edi + 0x2a]
cmp esi, ecx
jge 0x5a53b7
mov edx, dword [ebp - 4]
inc edx
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0x1c]
cmp eax, 2
jne 0x5a5361
mov eax, dword [ebp + 8]
cmp byte [eax + 0xc8], 2
jb 0x5a533f
mov word [edx + 0x20], si
mov dword [edx + 0x2c], edi
mov dword [ebp - 0x18], 0xa2
jmp 0x5a53b7
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x18], 0xab
mov eax, dword [ecx + 8]
mov ecx, dword [eax + 0x18]
mov eax, dword [edx + 4]
add ecx, esi
or eax, 0x400000
mov dword [edx + 0x1c], ecx
mov dword [edx + 4], eax
jmp 0x5a53b7
test esi, esi
jge 0x5a536b
mov byte [edx + 1], 0x44
jmp 0x5a53a9
test eax, eax
jne 0x5a538d
cmp esi, 0x20
jl 0x5a5379
or eax, 0xffffffff
jmp 0x5a5382
mov eax, 1
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp + 8]
or dword [ecx + 0x88], eax
jmp 0x5a53a9
cmp esi, 0x20
jl 0x5a5397
or eax, 0xffffffff
jmp 0x5a53a0
mov eax, 1
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp + 8]
or dword [ecx + 0x8c], eax
mov dword [edx + 0x2c], edi
mov word [edx + 0x20], si
mov dword [ebp - 0x18], 0x4d
mov edi, dword [ebp - 4]
test edi, edi
jne 0x5a5404
cmp dword [ebp - 0x10], 1
jne 0x5a5404
mov esi, dword [ebp - 8]
test esi, esi
je 0x5a5404
mov edx, dword [ebp + 0x18]
test byte [edx + 0x18], 0x20
jne 0x5a5404
mov eax, dword [ebp + 0x14]
push eax
call fcn.005a74b0
add esp, 4
test eax, eax
je 0x5a5404
mov ecx, dword [esi + 0x10]
test byte [ecx + 0x24], 0x40
jne 0x5a5404
mov ebx, dword [ebp + 0x1c]
mov edi, 1
mov dword [ebp - 4], edi
mov word [ebx + 0x20], 0xffff
mov byte [ebx + 1], 0x44
jmp 0x5a5407
mov ebx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
test byte [edx + 0x18], 0x80
je 0x5a5460
test edi, edi
jne 0x5a55ad
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x5a5468
mov eax, edx
xor esi, esi
mov edi, dword [eax + 8]
cmp dword [edi], 0
jle 0x5a5468
lea ecx, [edi + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx]
test ebx, ebx
je 0x5a544b
mov eax, dword [ebp + 0x14]
push eax
push ebx
call fcn.0057b130
add esp, 8
test eax, eax
je 0x5a5485
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edi]
inc esi
add ecx, 0x18
cmp esi, eax
mov dword [ebp - 0x1c], ecx
jl 0x5a5431
mov ebx, dword [ebp + 0x1c]
jmp 0x5a5468
test edi, edi
jne 0x5a55ad
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x20]
inc edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x20], edx
test eax, eax
mov dword [ebp + 0x18], eax
je 0x5a5549
jmp 0x5a4ffb
mov eax, dword [ebp + 0x18]
lea edx, [esi + esi*2]
mov eax, dword [eax + 0x18]
mov ecx, dword [edi + edx*8 + 4]
test al, 1
jne 0x5a54ba
test byte [ecx + 4], 0x10
je 0x5a54ba
mov ecx, dword [ebp + 8]
push ebx
push str.misuse_of_aliased_aggregate__s
push ecx
call fcn.0059fd00
add esp, 0xc
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
test ah, 0x40
jne 0x5a54e5
mov eax, dword [ecx + 4]
test ah, 0x80
je 0x5a54e5
mov edx, dword [ebp + 8]
push ebx
push str.misuse_of_aliased_window_function__s
push edx
call fcn.0059fd00
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
call fcn.005a6690
add esp, 4
cmp eax, 1
je 0x5a5510
mov eax, dword [ebp + 8]
push str.row_value_misused
push eax
call fcn.0059fd00
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp + 0x1c]
push ecx
push 0x75151c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.005a5720
mov al, byte [esi + 0xc8]
add esp, 0x18
cmp al, 2
jb 0x5a5541
push ebx
push 0
push esi
call fcn.005a7f90
add esp, 0xc
mov edi, dword [ebp - 0xc]
jmp 0x5a56d1
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x5a55ba
mov al, byte [ebx + 4]
mov edi, dword [ebp - 0xc]
test al, 0x40
je 0x5a5594
mov edx, dword [ebp - 0x24]
push edi
push edx
call fcn.005a5980
add esp, 8
test eax, eax
je 0x5a5594
mov eax, dword [ebp + 0x14]
push eax
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.0057add0
add esp, 0xc
mov byte [ebx], 0x71
mov dword [ebx + 0x2c], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.005a73c0
add esp, 4
test eax, eax
je 0x5a55bd
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 1
je 0x5a5649
test edi, edi
jne 0x5a55c4
mov edi, dword [ebp - 0xc]
mov eax, str.no_such_column
jmp 0x5a55cc
mov edi, dword [ebp - 0xc]
mov eax, str.ambiguous_column_name
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x5a55fb
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0x10]
push edx
push ecx
push eax
push str._s:__s._s._s
push esi
call fcn.0059fd00
mov byte [esi + 0x11], 1
mov eax, dword [edi + 0x14]
add esp, 0x18
inc eax
mov dword [edi + 0x14], eax
jmp 0x5a564f
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x5a5626
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
push edx
push ecx
push eax
push str._s:__s._s
push esi
call fcn.0059fd00
mov byte [esi + 0x11], 1
mov eax, dword [edi + 0x14]
add esp, 0x14
inc eax
mov dword [edi + 0x14], eax
jmp 0x5a564f
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
push ecx
push eax
push str._s:__s
push esi
call fcn.0059fd00
mov byte [esi + 0x11], 1
mov eax, dword [edi + 0x14]
add esp, 0x10
inc eax
mov dword [edi + 0x14], eax
jmp 0x5a564f
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov ax, word [ebx + 0x20]
test ax, ax
jl 0x5a5686
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x5a5686
movsx ecx, ax
cmp ecx, 0x40
jl 0x5a566c
mov ecx, 0x3f
mov eax, 1
xor edx, edx
call fcn.006a2010
mov ecx, dword [ebp - 8]
or dword [ecx + 0x38], eax
mov eax, dword [ecx + 0x3c]
or eax, edx
mov dword [ecx + 0x3c], eax
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x24]
push edx
push eax
call fcn.005a68d0
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp - 0x24]
push ecx
push edx
mov dword [ebx + 0xc], 0
call fcn.005a68d0
mov al, byte [ebp - 0x18]
mov ecx, dword [ebx + 4]
mov byte [ebx], al
mov eax, dword [ebp - 4]
add esp, 0x10
or ecx, 0x800000
cmp eax, 1
mov dword [ebx + 0x10], 0
mov dword [ebx + 4], ecx
jne 0x5a54ae
mov ebx, dword [ebp + 0x1c]
test dword [ebx + 4], 0x400000
jne 0x5a56ef
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
push eax
push ebx
push esi
call fcn.005a9440
add esp, 0x10
mov edx, dword [edi + 0x10]
mov eax, dword [ebp + 0x18]
inc edx
cmp edi, eax
mov dword [edi + 0x10], edx
je 0x5a570b
mov edi, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
inc edx
cmp edi, eax
mov dword [edi + 0x10], edx
jne 0x5a56fd
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret