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

Disassembly:
sub esp, 0x78
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx]
xor eax, eax
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x24], edx
cmp dword [ecx + 0x44], eax
jne 0x613beb
mov ecx, edx
cmp byte [ecx + 0x38], al
jne 0x613beb
mov eax, dword [esp + 0x84]
push ebx
mov ebx, dword [esp + 0x84]
push ebp
call fcn.0060c410
mov ebp, eax
test ebp, ebp
je 0x613be9
mov esi, dword [ebp + 0x40]
push edi
mov edi, ebx
mov ecx, dword [edi]
call fcn.005d2870
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x50]
push edx
push eax
push 0x6b
mov edx, ebp
mov eax, edi
call fcn.005d2ef0
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
push ebp
setne cl
push edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x68], ecx
call fcn.00610350
add esp, 0x14
test eax, eax
jne 0x613be8
mov edx, dword [esp + 0x50]
push edx
mov edx, ebp
mov eax, ebx
call fcn.005e0780
add esp, 4
test eax, eax
jne 0x613be8
movsx ecx, word [ebp + 0x26]
mov esi, dword [esp + 0x30]
add ecx, ecx
add ecx, ecx
call fcn.005d5270
mov dword [esp + 0x20], eax
test eax, eax
je 0x613be8
mov ebx, dword [esp + 0x20]
xor ecx, ecx
xor eax, eax
cmp cx, word [ebp + 0x26]
jge 0x613122
mov dword [ebx + eax*4], 0xffffffff
movsx edx, word [ebp + 0x26]
inc eax
cmp eax, edx
jl 0x613112
mov edx, dword [esp + 0x90]
mov esi, edi
mov eax, dword [esi + 0x48]
mov dword [edx + 0x34], eax
inc dword [esi + 0x48]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
xor edi, edi
cmp eax, edi
je 0x61314f
inc ecx
mov dword [esi + 0x48], ecx
mov eax, dword [eax + 0x14]
cmp eax, edi
jne 0x613144
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x94]
cmp dword [eax], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], edi
jle 0x6132dd
mov dword [esp + 0x34], edi
lea ebx, [ebx]
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x34]
mov edi, dword [eax + edx]
lea esi, [esp + 0x68]
call fcn.005ebcd0
test eax, eax
jne 0x613be8
movsx ebx, word [ebp + 0x26]
xor edi, edi
test ebx, ebx
jle 0x613233
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + edx + 4]
mov esi, dword [ebp + 4]
add eax, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5c], ecx
jmp 0x6131f0
mov edx, dword [esp + 0x5c]
mov eax, dword [esi]
push edx
push eax
call fcn.005cacb0
add esp, 8
test eax, eax
je 0x61320e
inc edi
add esi, 0x18
cmp edi, ebx
jl 0x6131f0
jmp 0x613233
movsx ecx, word [ebp + 0x24]
cmp edi, ecx
jne 0x613228
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
mov dword [esp + 0x24], 1
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov dword [edx + edi*4], ecx
movsx eax, word [ebp + 0x26]
cmp edi, eax
jl 0x61326b
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x34]
mov esi, dword [eax + edx + 4]
lea ebx, [eax + edx]
call fcn.005d1320
test eax, eax
je 0x61338a
mov ecx, dword [ebx]
mov dword [esp + 0x24], 1
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x44]
shl edx, 4
mov edx, dword [edx + ecx]
mov ecx, dword [ebp + 4]
push edx
lea eax, [edi + edi*2]
mov edx, dword [ecx + eax*8]
mov eax, dword [ebp]
push edx
push eax
mov eax, dword [esp + 0x98]
push 0x17
call fcn.005df8c0
add esp, 0x10
cmp eax, 1
je 0x613be8
cmp eax, 2
jne 0x6132b5
mov ecx, dword [esp + 0x20]
mov dword [ecx + edi*4], 0xffffffff
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x94]
add dword [esp + 0x34], 0x14
inc eax
cmp eax, dword [edx]
mov dword [esp + 0x10], eax
jl 0x6131a0
mov esi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push ecx
push ebx
push ebp
mov eax, esi
call fcn.005d23e0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], eax
add esp, 0xc
xor eax, eax
test ecx, ecx
je 0x613333
jmp 0x613300
mov ecx, dword [ecx + 0x14]
inc eax
test ecx, ecx
jne 0x613300
test eax, eax
jle 0x613333
mov esi, dword [esp + 0x30]
lea ecx, [eax*4]
call fcn.005d5270
mov dword [esp + 0x2c], eax
test eax, eax
je 0x613be8
mov esi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x20]
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x6133e3
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x34], edx
lea ebx, [ebx]
cmp dword [esp + 0x28], 0
jne 0x6133c1
cmp dword [esp + 0x24], 0
jne 0x6133c1
mov edi, dword [eax + 0x24]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x5c], edx
test edi, edi
jle 0x6133c7
mov edx, dword [eax + 4]
mov eax, dword [edx]
cmp dword [ebx + eax*4], 0
jge 0x6133bd
inc ecx
add edx, 4
cmp ecx, edi
jl 0x613370
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x3c]
jmp 0x6133c7
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov edi, dword [esp + 0x8c]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 4]
push eax
push str.no_such_column:__s
call fcn.005dcad0
add esp, 8
mov byte [edi + 0x11], 1
jmp 0x613be8
mov eax, dword [esp + 0x3c]
inc dword [esi + 0x4c]
mov edx, dword [esi + 0x4c]
mov ecx, dword [esp + 0x34]
mov dword [ecx], edx
mov eax, dword [eax + 0x14]
add ecx, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ecx
test eax, eax
jne 0x613350
mov edi, dword [esp + 0x8c]
call fcn.005e1760
xor edi, edi
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x613be8
mov esi, dword [esp + 0x8c]
cmp byte [esi + 0x12], 0
jne 0x61340f
call fcn.005d05d0
mov ecx, dword [esp + 0x44]
push 1
mov eax, esi
call fcn.005feac0
add esp, 4
test byte [ebp + 0x2a], 0x10
je 0x61346e
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
push edx
push eax
mov eax, ebp
mov ecx, esi
call fcn.0060e880
add esp, 0x18
mov dword [esp + 0x98], edi
mov dword [esp + 0x90], edi
jmp 0x613be8
mov eax, dword [esi + 0x4c]
mov ecx, dword [esp + 0x38]
lea ebx, [eax + 1]
lea eax, [ebx + 1]
mov dword [esp + 0x5c], ebx
mov dword [esi + 0x4c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], eax
cmp ecx, edi
jne 0x613494
cmp dword [esp + 0x28], edi
je 0x6134a4
lea edx, [eax + 1]
mov dword [esp + 0x4c], edx
movsx edx, word [ebp + 0x26]
add edx, eax
mov dword [esi + 0x4c], edx
cmp dword [esp + 0x24], edi
jne 0x6134b4
cmp ecx, edi
jne 0x6134b4
cmp dword [esp + 0x28], edi
je 0x6134be
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x34], eax
movsx edx, word [ebp + 0x26]
mov eax, dword [esi + 0x4c]
add edx, eax
lea ecx, [eax + 1]
mov dword [esp + 0x3c], ecx
mov dword [esi + 0x4c], edx
cmp dword [esp + 0x54], edi
je 0x6134fd
mov eax, dword [ebp]
push eax
lea ecx, [esp + 0x64]
mov eax, esi
call fcn.005d18a0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x9c]
push ecx
push edx
push ebp
push esi
call fcn.0060fba0
add esp, 0x14
mov edi, dword [esp + 0x98]
lea esi, [esp + 0x68]
call fcn.005ebcd0
test eax, eax
jne 0x613be8
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push ebx
push 0
push 0xa
call fcn.005d7f10
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
push 0
push 4
push 0
push 0
mov ecx, edi
push ecx
push edx
push eax
call fcn.00609f10
mov esi, eax
add esp, 0x2c
test esi, esi
je 0x613be8
movzx ebx, byte [esi + 0xc]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edi
mov edx, 0x41
mov dword [esp + 0x14], ebx
call fcn.005d7fb0
add esp, 4
test ebx, ebx
jne 0x61358f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
push edi
lea edx, [ebx + 0x70]
call fcn.005d7fb0
add esp, 4
push esi
call fcn.005db220
mov ecx, dword [esp + 0x34]
add esp, 4
test byte [ecx + 0x18], 0x10
je 0x6135ca
mov eax, dword [esp + 0x8c]
cmp dword [eax + 0x1b4], 0
jne 0x6135ca
inc dword [eax + 0x4c]
mov eax, dword [eax + 0x4c]
xor ecx, ecx
push edi
lea edx, [ecx + 7]
mov dword [esp + 0x5c], eax
call fcn.005d7fb0
add esp, 4
cmp dword [esp + 0x54], 0
jne 0x61367c
cmp dword [esp + 0x10], 0
jne 0x6135f9
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x8c]
push 0x28
push edx
push eax
mov eax, dword [esp + 0x50]
mov esi, ebp
call fcn.005e6d40
add esp, 0xc
mov ecx, 5
cmp dword [esp + 0x9c], ecx
je 0x613624
mov eax, dword [ebp + 8]
mov dword [esp + 0x40], 0
test eax, eax
je 0x61362c
cmp byte [eax + 0x2c], cl
je 0x613624
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x613616
jmp 0x61362c
mov dword [esp + 0x40], 1
mov esi, dword [ebp + 8]
xor ebx, ebx
test esi, esi
je 0x61367c
cmp dword [esp + 0x40], 0
jne 0x613646
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + ebx*4], 0
jle 0x613674
mov edx, dword [esp + 0x8c]
push esi
push edx
call fcn.005ecaa0
mov ecx, dword [esi + 0x28]
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x28]
lea edx, [eax + ebx + 1]
mov eax, dword [esp + 0x54]
push 0x28
call fcn.005de560
mov edi, dword [esp + 0x30]
add esp, 0x14
mov esi, dword [esi + 0x14]
inc ebx
test esi, esi
jne 0x613635
cmp dword [esp + 0x10], 0
mov ebx, dword [esp + 0x14]
je 0x6136b9
push edi
mov eax, ebx
mov ecx, 0x4a
call fcn.005d7f90
mov dword [esp + 0x60], eax
push edi
mov eax, 1
call fcn.005d7f70
mov esi, eax
mov eax, dword [esp + 0x64]
add esp, 8
mov ecx, edi
mov dword [esp + 0x44], esi
call fcn.005cfe80
jmp 0x6136d3
mov ecx, dword [esp + 0x5c]
push ebx
push 0
push ecx
push 0x71
mov eax, edi
call fcn.005d7f10
add esp, 0x10
mov esi, eax
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x18]
push ebx
push esi
push edx
push 0x36
mov eax, edi
call fcn.005d7f10
add esp, 0x10
cmp dword [esp + 0x24], 0
je 0x613711
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x8c]
call fcn.005d96d0
push edi
mov eax, esi
mov ecx, 0x15
call fcn.005d7f90
add esp, 4
cmp dword [esp + 0x28], 0
jne 0x613795
cmp dword [esp + 0x38], 0
je 0x6137eb
xor edi, edi
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x8c]
push ecx
push 3
push 0
push edx
push eax
mov eax, dword [esp + 0x4c]
mov ebx, ebp
call fcn.005d2f80
mov ebx, dword [esp + 0x30]
xor ecx, ecx
add esp, 0x14
or edi, eax
xor esi, esi
cmp cx, word [ebp + 0x26]
jge 0x6137ce
nop
mov edx, dword [esp + 0x20]
cmp dword [edx + esi*4], 0
jl 0x6137ad
cmp edi, 0xffffffff
je 0x6137ad
cmp esi, 0x20
jge 0x613781
mov eax, 1
mov ecx, esi
shl eax, cl
test edi, eax
jne 0x6137ad
mov ecx, dword [esp + 0x4c]
lea eax, [esi + ecx]
xor ecx, ecx
push ebx
lea edx, [ecx + 0xa]
call fcn.005d7fb0
jmp 0x6137c2
mov eax, dword [esp + 0x8c]
push ebp
push eax
call fcn.005e0c10
add esp, 8
mov edi, eax
jmp 0x613725
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
lea eax, [esi + edx]
push eax
mov eax, ebp
mov edx, ebx
call fcn.005f2b30
movsx ecx, word [ebp + 0x26]
inc esi
add esp, 4
cmp esi, ecx
jl 0x613760
cmp dword [esp + 0x24], 0
jne 0x6137eb
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
push ebx
mov edx, 0xe
call fcn.005d7fb0
add esp, 4
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x8c]
push edx
push 1
push 1
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ebx, ebp
call fcn.005d2f80
movsx edx, word [ebp + 0x26]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x70], eax
lea eax, [edx + ebx - 1]
push eax
mov eax, dword [esp + 0x34]
push ebx
push 0
push 0xa
call fcn.005d7f10
xor edi, edi
xor ecx, ecx
add esp, 0x24
cmp cx, word [ebp + 0x26]
mov dword [esp + 0x10], edi
jge 0x6138eb
jmp 0x613850
movsx edx, word [ebp + 0x24]
cmp edi, edx
je 0x6138da
mov eax, dword [esp + 0x20]
mov eax, dword [eax + edi*4]
test eax, eax
jl 0x613888
mov edx, dword [esp + 0x94]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0x8c]
lea esi, [ebx + edi]
call fcn.005d96d0
jmp 0x6138da
test dword [esp + 0x50], 1
je 0x6138a8
cmp edi, 0x1f
jg 0x6138a8
mov eax, dword [esp + 0x5c]
mov edx, 1
mov ecx, edi
shl edx, cl
test eax, edx
je 0x6138da
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea ebx, [ecx + esi]
push ebx
push esi
push edx
push 0x1d
mov eax, edi
call fcn.005d7f10
push ebx
mov eax, esi
mov ebx, ebp
call fcn.005ef3c0
mov ebx, dword [esp + 0x50]
add esp, 0x14
mov edi, esi
movsx eax, word [ebp + 0x26]
inc edi
cmp edi, eax
mov dword [esp + 0x10], edi
jl 0x613850
test byte [esp + 0x50], 1
mov esi, dword [esp + 0x1c]
je 0x6139bd
movsx eax, word [ebp + 0x26]
mov ecx, dword [esp + 0x3c]
push esi
mov edx, 0x1e
call fcn.005d7fb0
push esi
mov edi, ebp
call fcn.005da550
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x40]
push edi
push ecx
mov ecx, dword [esp + 0x9c]
push ebx
push ebp
push 1
push edx
push 0x6b
push eax
push ecx
call fcn.006145c0
mov edx, dword [esp + 0x44]
push ebx
push edi
push edx
push 0x36
mov eax, esi
call fcn.005d7f10
xor eax, eax
add esp, 0x3c
cmp ax, word [ebp + 0x26]
mov dword [esp + 0x10], 0
jge 0x6139bd
mov eax, dword [esp + 0x10]
lea ecx, [ecx]
mov ecx, dword [esp + 0x20]
cmp dword [ecx + eax*4], 0
jge 0x6139b0
movsx edx, word [ebp + 0x24]
cmp eax, edx
je 0x6139b0
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
lea ebx, [eax + edi]
push ebx
push edi
push ecx
push 0x1d
mov eax, esi
call fcn.005d7f10
push ebx
mov eax, edi
mov ebx, ebp
mov edi, esi
call fcn.005ef3c0
mov eax, dword [esp + 0x24]
add esp, 0x14
movsx edx, word [ebp + 0x26]
inc eax
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x613970
cmp dword [esp + 0x54], 0
mov ebx, dword [esp + 0x8c]
jne 0x613ac4
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x9c]
mov edi, dword [esp + 0x18]
push 0
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x40]
neg edx
push 1
sbb edx, edx
and edx, dword [esp + 0x24]
push edx
push eax
push ecx
push edi
push ebp
push ebx
call fcn.00600880
add esp, 0x28
cmp dword [esp + 0x28], 0
je 0x613a1f
mov edx, dword [esp + 0x14]
push 0
push edx
push ebp
mov eax, ebx
call fcn.0060c460
add esp, 0xc
mov eax, dword [esp + 0x14]
push eax
push 0
push edi
push 0x36
mov eax, esi
call fcn.005d7f10
mov ecx, dword [esp + 0x3c]
push ecx
mov dword [esp + 0x70], eax
push edi
mov eax, ebp
call fcn.005f4a80
add esp, 0x18
cmp dword [esp + 0x28], 0
jne 0x613a52
cmp dword [esp + 0x24], 0
je 0x613a62
xor eax, eax
push esi
mov ecx, edi
lea edx, [eax + 0x3b]
call fcn.005d7fb0
add esp, 4
mov eax, dword [esp + 0x5c]
mov ecx, esi
call fcn.005cfe80
cmp dword [esp + 0x28], 0
je 0x613a86
mov edx, dword [esp + 0x34]
push edx
push 0
push ebp
mov eax, ebx
call fcn.0060c460
add esp, 0xc
mov eax, dword [esp + 0x34]
push 0
push 0
push 1
push eax
mov eax, dword [esp + 0x3c]
push edi
push ebp
push ebx
call fcn.005e70c0
add esp, 0x1c
cmp dword [esp + 0x28], 0
je 0x613ac4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x94]
push ecx
push edx
mov esi, ebp
mov edi, ebx
call fcn.005e6cf0
mov esi, dword [esp + 0x24]
add esp, 8
mov eax, dword [esp + 0x30]
test byte [eax + 0x18], 0x10
je 0x613aec
cmp dword [ebx + 0x1b4], 0
jne 0x613aec
mov ecx, dword [esp + 0x58]
mov eax, 1
push esi
lea edx, [eax + 0x13]
call fcn.005d7fb0
add esp, 4
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x94]
push edi
push ecx
mov ecx, dword [esp + 0x40]
push edx
push ebp
push 2
push eax
push 0x6b
push ecx
push ebx
call fcn.006145c0
xor ecx, ecx
push esi
mov eax, edi
lea edx, [ecx + 1]
call fcn.005d7fb0
add esp, 0x28
mov eax, edi
mov ecx, esi
call fcn.005cfe80
mov ebp, dword [ebp + 8]
xor edi, edi
test ebp, ebp
je 0x613b67
cmp dword [esp + 0x40], 0
jne 0x613b49
mov edx, dword [esp + 0x2c]
cmp dword [edx + edi*4], 0
jle 0x613b5f
mov eax, dword [esp + 0x18]
lea ecx, [eax + edi + 1]
xor eax, eax
push esi
lea edx, [eax + 0x2d]
call fcn.005d7fb0
add esp, 4
mov ebp, dword [ebp + 0x14]
inc edi
test ebp, ebp
jne 0x613b38
mov ecx, dword [esp + 0x18]
xor eax, eax
push esi
lea edx, [eax + 0x2d]
call fcn.005d7fb0
add esp, 4
cmp byte [ebx + 0x12], 0
jne 0x613b91
cmp dword [ebx + 0x1b4], 0
jne 0x613b91
push ebx
call fcn.005e6f60
add esp, 4
mov ecx, dword [esp + 0x30]
test byte [ecx + 0x18], 0x10
je 0x613be8
mov edx, dword [esp + 0x8c]
cmp dword [edx + 0x1b4], 0
jne 0x613be8
mov eax, edx
cmp byte [eax + 0x12], 0
jne 0x613be8
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
mov eax, 1
push esi
lea edx, [eax + 0xf]
call fcn.005d7fb0
mov eax, 1
call fcn.005de8c0
push 0
push str.rows_updated
push 0
push 0
mov ecx, esi
call fcn.005e4e30
add esp, 0x14
pop edi
pop ebp
pop ebx
lea eax, [esp + 0x54]
call fcn.005d18c0
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.005ca970
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.005ca970
mov ecx, dword [esp + 0x84]
push ecx
mov eax, esi
call fcn.005d1e30
mov edx, dword [esp + 0x8c]
push edx
push esi
call fcn.005d9430
mov eax, dword [esp + 0x98]
push eax
push esi
call fcn.005d9160
add esp, 0x14
pop esi
add esp, 0x78
ret