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

Disassembly:
sub esp, 0x64
or ecx, 0xffffffff
push ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x6c]
xor eax, eax
push ebp
push esi
mov edx, dword [ecx + 0x18]
push edi
cmp edx, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], eax
jne 0x597dee
mov eax, dword [0x6e05b4]
test eax, eax
jne 0x597dee
mov eax, ecx
mov ecx, dword [esp + 0x7c]
push ecx
push eax
mov edx, dword [eax]
mov dword [esp + 0x40], edx
call fcn.0058e390
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x597dee
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
push edx
push 0x69
push ebp
push esi
call fcn.005870d0
mov edx, dword [ebp + 0x18]
xor ecx, ecx
test edx, edx
push eax
push ebp
setne cl
push esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], ecx
call fcn.0058e3f0
add esp, 0x1c
test eax, eax
jne 0x597dee
mov eax, dword [esp + 0x18]
test eax, eax
je 0x597432
mov edx, esi
push ebp
push edx
call fcn.0057a470
add esp, 8
test eax, eax
jne 0x597dee
mov eax, dword [ebp + 4]
shl eax, 2
push eax
call fcn.0056fe30
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x597dee
mov ecx, dword [ebp + 4]
xor ebx, ebx
xor eax, eax
cmp ecx, ebx
jle 0x59746d
mov ecx, dword [esp + 0x10]
mov dword [ecx], 0xffffffff
mov edx, dword [ebp + 4]
inc eax
add ecx, 4
cmp eax, edx
jl 0x59745c
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x78]
cmp eax, ebx
je 0x597489
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x2c], eax
inc eax
mov dword [esp + 0x34], eax
inc eax
mov dword [edx + 0x1c], eax
mov esi, dword [esp + 0x7c]
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x1c], eax
mov word [esi + 0x1a], ax
mov eax, dword [edx + 0x1c]
inc eax
mov dword [edx + 0x1c], eax
mov ecx, eax
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x5974b3
inc ecx
mov dword [edx + 0x1c], ecx
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x5974a8
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x54]
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x3c], ebx
cmp dword [ecx], ebx
jle 0x597607
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 8]
lea edx, [esp + 0x54]
mov ecx, dword [eax + ebx]
push ecx
push edx
call fcn.0058bc90
add esp, 8
test eax, eax
jne 0x597dee
mov eax, dword [ebp + 4]
xor esi, esi
test eax, eax
jle 0x597565
xor edi, edi
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 8]
mov edx, dword [ecx + ebx + 4]
mov ecx, dword [eax + edi]
push edx
push ecx
call fcn.00570160
add esp, 8
test eax, eax
je 0x59753c
mov eax, dword [ebp + 4]
inc esi
add edi, 0x14
cmp esi, eax
jl 0x59750d
jmp 0x597565
cmp esi, dword [ebp + 0xc]
jne 0x59755a
mov edx, dword [esp + 0x80]
mov dword [esp + 0x14], 1
mov eax, dword [edx + 8]
mov ecx, dword [eax + ebx]
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
mov dword [eax + esi*4], edx
mov eax, dword [ebp + 4]
mov edi, dword [esp + 0x80]
cmp esi, eax
jl 0x59759d
mov ecx, dword [edi + 8]
mov edx, dword [ecx + ebx + 4]
push edx
call fcn.0058bc40
add esp, 4
test eax, eax
je 0x597626
mov eax, dword [edi + 8]
mov dword [esp + 0x14], 1
mov ecx, dword [eax + ebx]
mov dword [esp + 0x40], ecx
xor eax, eax
mov al, byte [ebp + 0x1d]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esp + 0x38]
shl edx, 4
mov ecx, dword [eax + 4]
lea eax, [esi + esi*4]
mov edx, dword [edx + ecx]
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x7c]
push edx
push eax
push 0x17
push ecx
call fcn.0058dc50
add esp, 0x14
cmp eax, 1
je 0x597dee
cmp eax, 2
jne 0x5975ef
mov edx, dword [esp + 0x10]
mov dword [edx + esi*4], 0xffffffff
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi]
inc eax
add ebx, 0xc
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x5974df
xor ebx, ebx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x3c], ebx
cmp edx, ebx
mov dword [esp + 0x48], ebx
je 0x5976ae
mov eax, dword [esp + 0x14]
test eax, eax
je 0x59764c
xor eax, eax
jmp 0x59766c
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 8]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*4 + 4]
mov eax, dword [esp + 0x78]
push edx
push str.no_such_column:__s
push eax
call fcn.00570060
add esp, 0xc
jmp 0x597dee
mov esi, dword [edx + 4]
xor eax, eax
test esi, esi
jle 0x59766c
mov ecx, dword [edx + 8]
mov edi, dword [esp + 0x10]
mov ebx, dword [ecx]
cmp dword [edi + ebx*4], 0
jge 0x59766c
inc eax
add ecx, 4
cmp eax, esi
jl 0x59765c
cmp eax, dword [edx + 4]
jge 0x597675
inc dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov edx, dword [edx + 0x20]
inc ecx
test edx, edx
mov dword [esp + 0x3c], ecx
jne 0x59761a
mov eax, ecx
test eax, eax
jle 0x5976ae
mov esi, dword [esp + 0x48]
lea edx, [ecx + esi*4]
push edx
call fcn.0056fe30
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
je 0x597dee
lea ecx, [eax + esi*4]
mov dword [esp + 0x28], ecx
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x597741
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5976d9
xor eax, eax
jmp 0x5976f5
mov edx, dword [esi + 4]
xor eax, eax
test edx, edx
jle 0x5976f5
mov ecx, dword [esi + 8]
mov ebx, dword [ecx]
cmp dword [edi + ebx*4], 0
jge 0x5976f5
inc eax
add ecx, 4
cmp eax, edx
jl 0x5976e5
cmp eax, dword [esi + 4]
jge 0x59772a
mov ecx, dword [esp + 0x78]
push esi
push ecx
call fcn.00579b50
add esp, 8
test eax, eax
jne 0x597dee
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x10]
mov dword [eax], esi
add eax, 4
mov dword [esp + 0x48], eax
mov byte [edx], 1
jmp 0x597731
mov eax, dword [esp + 0x3c]
mov byte [eax], 0
mov ecx, dword [esp + 0x3c]
mov esi, dword [esi + 0x20]
inc ecx
test esi, esi
mov dword [esp + 0x3c], ecx
jne 0x5976cd
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x54]
push ecx
push edx
call fcn.0058bc90
add esp, 8
test eax, eax
jne 0x597dee
mov eax, dword [esp + 0x18]
test eax, eax
je 0x59777c
mov eax, dword [ebp]
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x4c]
push eax
push ecx
push edx
call fcn.0058dce0
add esp, 0xc
mov eax, dword [esp + 0x78]
push eax
call fcn.00588460
mov esi, eax
add esp, 4
test esi, esi
je 0x597dee
mov ebx, dword [esp + 0x78]
mov al, byte [ebx + 0x13]
test al, al
jne 0x5977a7
push esi
call fcn.00577b00
add esp, 4
xor ecx, ecx
mov cl, byte [ebp + 0x1d]
push ecx
push 1
push ebx
call fcn.0057bcb0
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x5977ea
mov edx, dword [ebp + 0x18]
push edx
call fcn.0058b800
push 0
mov edi, eax
mov eax, dword [esp + 0x24]
push 0
push 0
push 0
push eax
push 8
push edi
push ebx
call fcn.00588740
push edi
call fcn.00587870
add esp, 0x28
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
push 0
push ecx
push edx
push ebx
call fcn.00597e40
mov edi, eax
add esp, 0x10
test edi, edi
je 0x597dee
mov ebx, dword [esp + 0x1c]
push 0
push ebx
push 0x26
push esi
call fcn.00575b80
push 0
push 0
push 0x3a
push esi
call fcn.00575b80
push edi
call fcn.00599e40
mov eax, dword [esp + 0x5c]
add esp, 0x24
test byte [eax + 8], 0x80
je 0x597857
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 0xa0]
test eax, eax
jne 0x597857
push 0
push 0
push 0x31
push esi
call fcn.00575b80
add esp, 0x10
mov eax, dword [esp + 0x30]
test eax, eax
je 0x597a4c
mov edi, dword [esp + 0x34]
push 0
push edi
push 0x7a
push esi
call fcn.00575b80
mov edx, dword [ebp + 4]
push edx
push edi
push 0x6a
push esi
call fcn.00575b80
mov eax, dword [esp + 0x4c]
push 0
push eax
push 0x7a
push esi
call fcn.00575b80
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x5c]
push ecx
push edx
push 0x6a
push esi
call fcn.00575b80
add esp, 0x40
push 0
push 0
push 0x63
push esi
call fcn.00575b80
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
jne 0x5978e0
push 0
push 0
push 0x61
push esi
call fcn.00575b80
push 0
push 0
push 0x61
push esi
call fcn.00575b80
push ebp
push ebx
push esi
call fcn.0058e460
add esp, 0x2c
push 0
push ebx
push 0x7f
push esi
call fcn.00575b80
push 0
push ebx
push 0x26
push esi
call fcn.00575b80
push 0
push ebx
push 0x2a
push esi
call fcn.00575b80
push 0
push edi
push 0x74
push esi
call fcn.00575b80
mov eax, dword [esp + 0x54]
add esp, 0x40
test eax, eax
je 0x59792b
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x78]
push eax
push ecx
call fcn.0058d220
add esp, 8
jmp 0x597939
push 0
push ebx
push 0x26
push esi
call fcn.00575b80
add esp, 0x10
mov eax, dword [ebp + 4]
xor edi, edi
test eax, eax
jle 0x5979b2
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], edx
cmp edi, dword [ebp + 0xc]
jne 0x597960
push 0
push 0
push 0x7b
push esi
call fcn.00575b80
add esp, 0x10
jmp 0x59799f
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
test eax, eax
jge 0x597981
push edi
push ebx
push 2
push esi
call fcn.00575b80
push edi
push ebp
push esi
call fcn.00597300
add esp, 0x1c
jmp 0x59799f
mov edx, dword [esp + 0x80]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x78]
mov ecx, dword [eax + ecx*4]
push ecx
push edx
call fcn.0058d220
add esp, 8
mov ecx, dword [esp + 0x48]
mov eax, dword [ebp + 4]
inc edi
add ecx, 4
cmp edi, eax
mov dword [esp + 0x48], ecx
jl 0x59794a
mov eax, dword [ebp + 4]
push 0
push eax
push 0x5d
push esi
call fcn.00575b80
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
jne 0x5979d5
push ebp
push esi
call fcn.00595c30
add esp, 8
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x597dee
mov edi, dword [esp + 0x2c]
push 0
push edi
push 0x74
push esi
call fcn.00575b80
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
jne 0x597a10
mov edx, dword [esp + 0x1c]
push 0
push edx
push 0x1e
push esi
call fcn.00575b80
add esp, 0x10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push edi
push ebp
push 1
push eax
push 0x69
push ecx
call fcn.005871a0
add esp, 0x24
test eax, eax
jne 0x597dee
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x597c4f
xor edx, edx
push 0
mov dl, byte [ebp + 0x1d]
push edx
push 0x31
push esi
call fcn.00575b80
mov eax, dword [ebp + 0x14]
push eax
push ebx
push 9
push esi
call fcn.00575b80
mov ecx, dword [ebp + 4]
push ecx
push ebx
push 0x6a
push esi
call fcn.00575b80
mov eax, dword [esp + 0xb8]
mov ecx, 5
add esp, 0x30
cmp eax, ecx
je 0x597ab2
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], 0
test eax, eax
je 0x597aba
cmp byte [eax + 0x18], cl
je 0x597ab2
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x597aa4
jmp 0x597aba
mov dword [esp + 0x24], 1
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
je 0x597b0b
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x597ad5
mov edx, dword [esp + 0x28]
cmp byte [ebx + edx], 0
je 0x597b03
xor eax, eax
push 0
mov al, byte [edi + 0x1a]
push eax
push 0x31
push esi
call fcn.00575b80
mov eax, dword [esp + 0x2c]
mov edx, dword [edi + 0x14]
lea ecx, [edi + 0x24]
push 0xfffffffffffffffa
push ecx
lea ecx, [eax + ebx + 1]
push edx
push ecx
push 9
push esi
call fcn.00575c60
add esp, 0x28
mov edi, dword [edi + 0x20]
inc ebx
test edi, edi
jne 0x597ac3
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x597b32
push 0
push 0
push 0x63
push esi
call fcn.00575b80
push 0
push 0
push 0x61
push esi
mov dword [esp + 0x40], eax
call fcn.00575b80
add esp, 0x20
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
push edx
push ebx
push 0x2d
push esi
call fcn.00575b80
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
je 0x597b6d
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x78]
push eax
push ecx
call fcn.0058c850
push 0
push 0
push 0x24
push esi
call fcn.00575b80
add esp, 0x18
mov eax, dword [ebp + 4]
xor edi, edi
test eax, eax
jle 0x597be6
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], edx
cmp edi, dword [ebp + 0xc]
jne 0x597b94
push 0
push 0
push 0x7b
push esi
call fcn.00575b80
add esp, 0x10
jmp 0x597bd3
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
test eax, eax
jge 0x597bb5
push edi
push ebx
push 2
push esi
call fcn.00575b80
push edi
push ebp
push esi
call fcn.00597300
add esp, 0x1c
jmp 0x597bd3
mov edx, dword [esp + 0x80]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x78]
mov ecx, dword [eax + ecx*4]
push ecx
push edx
call fcn.0058c850
add esp, 8
mov ecx, dword [esp + 0x48]
mov eax, dword [ebp + 4]
inc edi
add ecx, 4
cmp edi, eax
mov dword [esp + 0x48], ecx
jl 0x597b7e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x7c]
push ecx
push 1
push edx
push edi
push ebx
push ebp
push eax
call fcn.00596a70
mov ecx, dword [esp + 0x58]
push edi
push ebx
push ebp
push esi
push ecx
call fcn.0058eac0
mov eax, dword [esp + 0x48]
add esp, 0x34
test eax, eax
je 0x597c32
push 0
push ebx
push 0x5f
push esi
call fcn.00575b80
add esp, 0x10
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
push 0xffffffffffffffff
push 1
push edx
push edi
push ebx
push ebp
push eax
call fcn.00597170
mov ebx, dword [esp + 0x38]
add esp, 0x1c
mov ecx, dword [esp + 0x38]
test byte [ecx + 8], 0x80
je 0x597c76
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0xa0]
test eax, eax
jne 0x597c76
push 0
push 1
push 0x28
push esi
call fcn.00575b80
add esp, 0x10
mov eax, dword [esp + 0x30]
test eax, eax
je 0x597d19
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x597cd9
mov eax, dword [ebp + 0x10]
xor edi, edi
test eax, eax
mov dword [esp + 0x48], eax
je 0x597ccb
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x597ca9
mov ecx, dword [esp + 0x28]
cmp byte [edi + ecx], 0
je 0x597cbf
lea edx, [ebx + edi + 1]
push 0
push edx
push 0x1e
push esi
call fcn.00575b80
mov eax, dword [esp + 0x58]
add esp, 0x10
mov eax, dword [eax + 0x20]
inc edi
test eax, eax
mov dword [esp + 0x48], eax
jne 0x597c97
push 0
push ebx
push 0x1e
push esi
call fcn.00575b80
add esp, 0x10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x84]
push eax
push ebp
push 2
push ecx
push 0x69
push edx
call fcn.005871a0
add esp, 0x24
test eax, eax
jne 0x597dee
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
push edi
push 0
push 0x62
push esi
call fcn.00575b80
push esi
call fcn.00575d10
push eax
push edi
push esi
call fcn.00575e00
mov eax, dword [esp + 0x50]
add esp, 0x20
test eax, eax
jne 0x597d86
mov ebp, dword [ebp + 0x10]
xor edi, edi
test ebp, ebp
je 0x597d76
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x597d5c
mov eax, dword [esp + 0x28]
cmp byte [edi + eax], 0
je 0x597d6e
lea ecx, [ebx + edi + 1]
push 0
push ecx
push 0x1e
push esi
call fcn.00575b80
add esp, 0x10
mov ebp, dword [ebp + 0x20]
inc edi
test ebp, ebp
jne 0x597d4a
push 0
push ebx
push 0x1e
push esi
call fcn.00575b80
add esp, 0x10
jmp 0x597da7
mov edx, dword [esp + 0x2c]
push 0
push edx
push 0x1e
push esi
call fcn.00575b80
mov eax, dword [esp + 0x44]
push 0
push eax
push 0x1e
push esi
call fcn.00575b80
add esp, 0x20
mov ecx, dword [esp + 0x38]
test byte [ecx + 8], 0x80
je 0x597dee
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0xa0]
test eax, eax
jne 0x597dee
mov eax, edx
mov cl, byte [eax + 0x13]
test cl, cl
jne 0x597dee
push 0
push 1
push 0x3b
push esi
call fcn.00575b80
push 1
push esi
call fcn.005768b0
push 0xfffffffffffffffe
push str.rows_updated
push 0
push esi
call fcn.00576900
add esp, 0x28
lea ecx, [esp + 0x4c]
push ecx
call fcn.0058dd10
mov edx, dword [esp + 0x48]
push edx
call fcn.0056fe60
mov eax, dword [esp + 0x18]
push eax
call fcn.0056fe60
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0057b9c0
mov edx, dword [esp + 0x90]
push edx
call fcn.0058b960
mov eax, dword [esp + 0x98]
push eax
call fcn.0058b3f0
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret