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

Disassembly:
sub esp, 0x8c
push ebx
xor ebx, ebx
or eax, 0xffffffff
push ebp
mov ebp, dword [esp + 0x98]
cmp dword [ebp + 0x40], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [ebp]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x38], eax
jne 0x1015e604
cmp byte [eax + 0x1e], bl
jne 0x1015e604
mov eax, dword [esp + 0x9c]
push edi
push eax
push ebp
call fcn.10153cb0
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x1015e603
mov ecx, dword [edi + 0x4c]
mov edx, dword [ebp]
push esi
push ecx
push edx
call fcn.10128740
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xb0]
push eax
push 0x64
push edi
push ebp
call fcn.101530e0
xor ecx, ecx
cmp dword [edi + 0x18], ebx
mov esi, eax
setne cl
push esi
push edi
push ebp
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ecx
call fcn.10153d10
add esp, 0x24
test eax, eax
jne 0x1015e602
push edi
push ebp
call fcn.101370e0
add esp, 8
test eax, eax
jne 0x1015e602
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x40]
add edx, edx
add edx, edx
push edx
push eax
call fcn.1013bf10
mov ecx, eax
add esp, 8
cmp ecx, ebx
mov dword [esp + 0x30], ecx
je 0x1015e602
xor eax, eax
cmp dword [edi + 4], ebx
jle 0x1015daef
lea esp, [esp]
mov dword [ecx + eax*4], 0xffffffff
add eax, 1
cmp eax, dword [edi + 4]
jl 0x1015dae0
cmp esi, ebx
je 0x1015db07
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x38], eax
add eax, 1
mov dword [esp + 0x3c], eax
add eax, 1
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x44]
mov edx, dword [esp + 0xa4]
mov dword [edx + 0x20], eax
add dword [ebp + 0x44], 1
mov ecx, dword [ebp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x1015db33
add ecx, 1
mov dword [ebp + 0x44], ecx
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x1015db26
mov ecx, dword [esp + 0xa8]
xor eax, eax
cmp dword [ecx], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
jle 0x1015dcc7
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0xa8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebx + eax]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.10151310
add esp, 8
test eax, eax
jne 0x1015e602
xor esi, esi
cmp dword [edi + 4], esi
jle 0x1015dc24
xor ebx, ebx
lea ecx, [ecx]
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + ecx + 4]
mov ecx, dword [edi + 8]
mov edx, dword [ecx + ebx]
push eax
push edx
call fcn.10128f40
add esp, 8
test eax, eax
je 0x1015dbf3
add esi, 1
add ebx, 0x14
cmp esi, dword [edi + 4]
jl 0x1015dbc0
jmp 0x1015dc20
cmp esi, dword [edi + 0xc]
jne 0x1015dc15
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + ecx]
mov dword [esp + 0x28], 1
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov dword [edx + esi*4], ecx
mov ebx, dword [esp + 0x10]
cmp esi, dword [edi + 4]
jl 0x1015dc61
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebx + ecx + 4]
push edx
call fcn.1014f360
add esp, 4
test eax, eax
je 0x1015dd5c
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebx + ecx]
mov dword [esp + 0x28], 1
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8]
mov edx, dword [edi + 8]
push eax
lea ecx, [esi + esi*4]
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi]
push eax
push ecx
push 0x17
push ebp
call fcn.101499b0
add esp, 0x14
cmp eax, 1
je 0x1015e602
cmp eax, 2
jne 0x1015dca4
mov edx, dword [esp + 0x30]
mov dword [edx + esi*4], 0xffffffff
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xa8]
add eax, 1
add ebx, 0xc
cmp eax, dword [ecx]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
jl 0x1015db91
xor ebx, ebx
mov eax, dword [edi + 0x10]
xor ecx, ecx
cmp eax, ebx
je 0x1015dcff
mov eax, dword [eax + 0x20]
add ecx, 1
cmp eax, ebx
jne 0x1015dcd0
cmp ecx, ebx
jle 0x1015dcff
lea eax, [ecx*4]
mov ecx, dword [esp + 0x40]
push eax
push ecx
call fcn.1013bf10
add esp, 8
cmp eax, ebx
mov dword [esp + 0x2c], eax
je 0x1015e602
mov esi, dword [edi + 0x10]
test esi, esi
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x10], esi
je 0x1015ddac
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
lea ebx, [ebx]
cmp dword [esp + 0x28], 0
jne 0x1015dd89
mov edx, dword [esi + 4]
xor ecx, ecx
xor eax, eax
test edx, edx
mov dword [esp + 0x24], ecx
jle 0x1015dd90
mov ecx, dword [esi + 8]
lea esp, [esp]
mov esi, dword [ecx]
cmp dword [ebx + esi*4], 0
jge 0x1015dd85
add eax, 1
add ecx, 4
cmp eax, edx
jl 0x1015dd40
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
jmp 0x1015dd90
mov eax, dword [esp + 0x14]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + edx*4 + 4]
push edx
push str.no_such_column:__s
push ebp
call fcn.10128e10
add esp, 0xc
jmp 0x1015e602
mov esi, dword [esp + 0x10]
add dword [ebp + 0x48], 1
mov ecx, dword [ebp + 0x48]
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
mov esi, dword [esi + 0x20]
add eax, 4
test esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
jne 0x1015dd20
cmp dword [esp + 0x28], 0
mov eax, dword [ebp + 0x48]
mov edx, dword [edi + 4]
lea ecx, [eax + 1]
lea eax, [eax + edx + 1]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], ecx
mov dword [ebp + 0x48], eax
je 0x1015ddd8
add ecx, 1
add eax, 1
mov dword [esp + 0x10], ecx
mov dword [ebp + 0x48], eax
push ebp
call fcn.1014c570
mov esi, eax
add esp, 4
test esi, esi
je 0x1015e602
cmp byte [ebp + 0x13], 0
jne 0x1015ddfa
push esi
call fcn.1013ab60
add esp, 4
mov eax, dword [esp + 0x20]
push eax
push 1
push ebp
call fcn.10136a80
add esp, 0xc
cmp byte [edi + 0x39], 0
je 0x1015de4e
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0xa8]
push ebx
push edx
push eax
push edi
push ecx
mov eax, ebp
call fcn.1015d790
add esp, 0x18
xor eax, eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xa4], eax
jmp 0x1015e602
cmp dword [esp + 0x44], 0
je 0x1015de66
mov edx, dword [edi]
push edx
lea eax, [esp + 0x74]
push eax
push ebp
call fcn.10149a40
add esp, 0xc
cmp dword [esp + 0x48], 0
je 0x1015df84
mov ecx, dword [edi + 4]
push ecx
push 0
push 0x62
push esi
call fcn.10138ed0
mov edx, dword [esp + 0x4c]
push 0
push edx
push 0x6f
push esi
call fcn.10138ed0
mov eax, dword [edi + 4]
push eax
push 0
push 0x62
push esi
call fcn.10138ed0
mov ecx, dword [esp + 0x68]
push 0
push ecx
push 0x6f
push esi
call fcn.10138ed0
add esp, 0x40
push 0
push 0
push 0x5b
push esi
call fcn.10138ed0
push esi
mov dword [esp + 0x30], eax
call fcn.10138ef0
mov ebx, eax
push esi
mov dword [esp + 0x4c], ebx
call fcn.10139090
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x84], eax
lea edx, [esp + 0x78]
push edx
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x58]
push ebx
push ecx
mov ecx, dword [esp + 0xd0]
push edx
push eax
push edi
push 1
push ecx
push 0x64
push ebp
call fcn.101533d0
add esp, 0x44
test eax, eax
jne 0x1015e602
push eax
push eax
push 0x5b
push esi
call fcn.10138ed0
push esi
mov dword [esp + 0x6c], eax
call fcn.10139090
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x78], eax
lea edx, [esp + 0x74]
push edx
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x54]
push ebx
push ecx
mov ecx, dword [esp + 0xcc]
push edx
push eax
push edi
push 2
push ecx
push 0x64
push ebp
call fcn.101533d0
add esp, 0x40
test eax, eax
jne 0x1015e602
push eax
push eax
push 0x5b
push esi
call fcn.10138ed0
mov edx, dword [esp + 0x2c]
push edx
push esi
mov dword [esp + 0x80], eax
call fcn.10139250
add esp, 0x18
cmp dword [esp + 0x44], 0
mov ebx, dword [esp + 0xac]
je 0x1015dfa5
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x18]
push eax
push ebx
push ecx
push ebp
call fcn.10153df0
add esp, 0x10
lea edx, [esp + 0x78]
push ebx
push edx
call fcn.10151310
add esp, 8
test eax, eax
jne 0x1015e602
mov eax, dword [esp + 0x24]
push eax
push 0
push 0x71
push esi
call fcn.10138ed0
mov ecx, dword [esp + 0xb4]
push 4
push 0
push ebx
push ecx
push ebp
call fcn.1015c440
mov ebx, eax
add esp, 0x24
test ebx, ebx
je 0x1015e602
movzx edx, byte [ebx + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov dl, byte [edi + 0x39]
neg dl
push eax
push ecx
sbb edx, edx
and edx, 0xffffffe4
add edx, 0x27
push edx
push esi
call fcn.10138ed0
add esp, 0x10
cmp dword [esp + 0x1c], 0
jne 0x1015e02c
mov eax, dword [esp + 0x24]
push 0
push eax
push 0x37
push esi
call fcn.10138ed0
add esp, 0x10
push ebx
call fcn.1015afb0
mov ecx, dword [esp + 0x44]
add esp, 4
test byte [ecx + 0xc], 0x80
je 0x1015e061
cmp dword [ebp + 0x188], 0
jne 0x1015e061
add dword [ebp + 0x48], 1
mov eax, dword [ebp + 0x48]
push eax
push 0
push 0x2f
push esi
mov dword [esp + 0x64], eax
call fcn.10138ed0
add esp, 0x10
cmp dword [esp + 0x44], 0
jne 0x1015e121
cmp byte [edi + 0x39], 0
jne 0x1015e121
cmp dword [esp + 0x1c], 0
jne 0x1015e093
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push 9
push edi
push edx
push eax
push ebp
call fcn.10153d80
add esp, 0x14
mov ecx, 5
cmp dword [esp + 0xb0], ecx
je 0x1015e0be
mov eax, dword [edi + 0x10]
test eax, eax
mov dword [esp + 0x4c], 0
je 0x1015e0c6
cmp byte [eax + 0x18], cl
je 0x1015e0be
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x1015e0b0
jmp 0x1015e0c6
mov dword [esp + 0x4c], 1
mov ebx, dword [edi + 0x10]
test ebx, ebx
mov dword [esp + 0x14], 0
je 0x1015e121
cmp dword [esp + 0x4c], 0
jne 0x1015e0ea
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
cmp dword [ecx + edx*4], 0
jle 0x1015e115
push ebx
push ebp
call fcn.10136b40
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x20]
push 0xfffffffffffffff7
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x28]
push ecx
lea ecx, [edx + eax + 1]
push ecx
push 9
push esi
call fcn.1013b270
add esp, 0x24
mov ebx, dword [ebx + 0x20]
add dword [esp + 0x14], 1
test ebx, ebx
jne 0x1015e0d5
cmp dword [esp + 0x48], 0
je 0x1015e136
mov edx, dword [esp + 0x34]
push edx
push esi
call fcn.10138f40
add esp, 8
cmp dword [esp + 0x1c], 0
je 0x1015e16c
mov eax, dword [esp + 0x24]
push eax
push 0x42
push esi
call fcn.10138eb0
push 0x5b
push esi
mov dword [esp + 0x30], eax
call fcn.10138e90
mov ecx, dword [esp + 0x30]
push ecx
mov ebx, eax
push esi
mov dword [esp + 0x50], ebx
call fcn.10139250
add esp, 0x1c
jmp 0x1015e184
mov edx, dword [esp + 0x24]
push 0
push edx
push 0x5d
push esi
call fcn.10138ed0
add esp, 0x10
mov ebx, eax
mov dword [esp + 0x34], eax
cmp dword [esp + 0x48], 0
je 0x1015e387
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push eax
push ebx
push ecx
push 0x2d
push esi
call fcn.10138e00
push ebp
call fcn.1014fad0
mov ebx, eax
push ebp
mov dword [esp + 0x38], ebx
call fcn.1014fad0
mov edx, dword [esp + 0x34]
push ebx
push edx
push 0x27
push esi
mov dword [esp + 0x40], eax
call fcn.10138ed0
add esp, 0x2c
cmp dword [esp + 0x5c], 0
jne 0x1015e1db
mov eax, dword [esp + 0x14]
push eax
push 0
push 0x71
jmp 0x1015e1e7
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
push 0x2b
push esi
call fcn.10138ed0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
add esp, 0x10
push ebx
push eax
push ecx
push 0x69
push esi
call fcn.10138e00
add esp, 0x14
cmp dword [esp + 0x28], 0
push ebx
je 0x1015e21e
mov edx, dword [esp + 0x54]
push edx
push ebp
call fcn.1014f890
add esp, 0xc
jmp 0x1015e22e
mov eax, dword [esp + 0x1c]
push eax
push 0x27
push esi
call fcn.10138ed0
add esp, 0x10
mov ecx, dword [edi + 4]
push ecx
push ebp
call fcn.1014fb90
xor ebx, ebx
add esp, 8
cmp dword [edi + 4], ebx
mov dword [esp + 0x20], eax
jle 0x1015e2ea
lea ebx, [ebx]
cmp ebx, dword [edi + 0xc]
jne 0x1015e26b
mov edx, dword [esp + 0x20]
add edx, ebx
push edx
push 0
push 0x71
push esi
call fcn.10138ed0
add esp, 0x10
jmp 0x1015e2de
mov eax, dword [esp + 0x30]
mov eax, dword [eax + ebx*4]
mov ecx, ebx
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x60]
test ecx, edx
jne 0x1015e29e
cmp ecx, 0xffffffff
je 0x1015e29e
mov eax, dword [esp + 0x20]
add eax, ebx
push eax
push 0
push 0x71
push esi
call fcn.10138ed0
add esp, 0x10
jmp 0x1015e2de
mov ecx, dword [esp + 0x20]
add ecx, ebx
test eax, eax
push ecx
jge 0x1015e2c4
mov edx, dword [esp + 0x1c]
push ebx
push edx
push 3
push esi
call fcn.10138e00
push ebx
push edi
push esi
call fcn.1015d710
add esp, 0x20
jmp 0x1015e2de
lea edx, [eax + eax*2]
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + edx*4]
push edx
push ebp
call fcn.1014f890
add esp, 0xc
add ebx, 1
cmp ebx, dword [edi + 4]
jl 0x1015e250
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 4]
mov ebx, dword [esp + 0x20]
push eax
push ecx
push ebx
push 0x55
push esi
call fcn.10138e00
add esp, 0x14
cmp dword [esp + 0x44], 0
jne 0x1015e31f
push edi
push esi
call fcn.1015e6f0
mov edx, dword [edi + 4]
push edx
push ebx
push ebp
call fcn.1014f720
add esp, 0x14
mov eax, dword [edi + 4]
push eax
push ebx
push ebp
call fcn.1014fc00
add esp, 0xc
cmp dword [ebp + 0x40], 0
jne 0x1015e602
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
push ebx
push ecx
push edx
push 0x69
push esi
call fcn.10138e00
push ebx
push ebp
call fcn.1014fb70
mov eax, dword [esp + 0x30]
push eax
push ebp
call fcn.1014fb70
mov ecx, dword [esp + 0x90]
push ecx
push 0
push 0x5b
push esi
call fcn.10138ed0
mov edx, dword [esp + 0x8c]
push edx
push esi
call fcn.10139250
mov ebx, dword [esp + 0x70]
add esp, 0x3c
cmp dword [esp + 0x44], 0
jne 0x1015e4ec
cmp byte [edi + 0x39], 0
jne 0x1015e4ec
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push eax
push ebx
push ecx
push 0x2d
push esi
call fcn.10138e00
add esp, 0x14
cmp dword [esp + 0x28], 0
je 0x1015e3d5
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x50]
push ebx
push edx
push ebp
call fcn.1014f850
push ebx
push 0x25
push esi
call fcn.10138eb0
add esp, 0x18
xor ebx, ebx
cmp dword [edi + 4], ebx
jle 0x1015e457
lea esp, [esp]
cmp ebx, dword [edi + 0xc]
jne 0x1015e3fd
mov eax, dword [esp + 0x10]
lea ecx, [eax + ebx + 1]
push ecx
push 0
push 0x71
push esi
call fcn.10138ed0
add esp, 0x10
jmp 0x1015e44f
mov edx, dword [esp + 0x30]
mov eax, dword [edx + ebx*4]
test eax, eax
jge 0x1015e42c
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
lea ecx, [eax + ebx + 1]
push ecx
push ebx
push edx
push 3
push esi
call fcn.10138e00
push ebx
push edi
push esi
call fcn.1015d710
add esp, 0x20
jmp 0x1015e44f
mov ecx, dword [esp + 0x10]
lea edx, [ecx + ebx + 1]
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [ecx + 0xc]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*4]
push eax
push ebp
call fcn.1014f850
add esp, 0xc
add ebx, 1
cmp ebx, dword [edi + 4]
jl 0x1015e3e0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x18]
push 1
push eax
push ecx
push edx
push ebx
push edi
push ebp
call fcn.1015e980
mov eax, dword [esp + 0x48]
push eax
push 0
push ebx
push 0x2d
push esi
call fcn.10138e00
mov ecx, dword [esp + 0x64]
push ecx
push ebx
push edi
push ebp
mov dword [esp + 0xa0], eax
call fcn.10153f80
add esp, 0x48
cmp dword [esp + 0x28], 0
je 0x1015e4bd
push 0
push ebx
push 0x59
push esi
call fcn.10138ed0
add esp, 0x10
mov edx, dword [esp + 0x58]
push edx
push esi
call fcn.10139250
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
push 0
push 0xffffffffffffffff
push 1
push eax
push ecx
push edx
push ebx
push edi
push ebp
call fcn.1015f070
mov ebx, dword [esp + 0x60]
add esp, 0x2c
mov eax, dword [esp + 0x40]
test byte [eax + 0xc], 0x80
je 0x1015e511
cmp dword [ebp + 0x188], 0
jne 0x1015e511
mov ecx, dword [esp + 0x54]
push 1
push ecx
push 0x29
push esi
call fcn.10138ed0
add esp, 0x10
cmp dword [esp + 0x48], 0
je 0x1015e535
mov edx, dword [esp + 0x64]
push edx
push 0
push 0x5b
push esi
call fcn.10138ed0
mov eax, dword [esp + 0x78]
push eax
push esi
call fcn.10139250
add esp, 0x18
push ebx
push 0
push 0x5b
push esi
call fcn.10138ed0
push ebx
push esi
call fcn.10139250
mov edi, dword [edi + 0x10]
add esp, 0x18
xor ebx, ebx
test edi, edi
je 0x1015e584
cmp dword [esp + 0x4c], 0
jne 0x1015e564
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + ebx*4], 0
jle 0x1015e57a
mov edx, dword [esp + 0x18]
push 0
lea eax, [edx + ebx + 1]
push eax
push 0x20
push esi
call fcn.10138ed0
add esp, 0x10
mov edi, dword [edi + 0x20]
add ebx, 1
test edi, edi
jne 0x1015e553
mov ecx, dword [esp + 0x18]
push 0
push ecx
push 0x20
push esi
call fcn.10138ed0
add esp, 0x10
cmp dword [esp + 0x48], 0
je 0x1015e5be
mov edx, dword [esp + 0x38]
push 0
push edx
push 0x20
push esi
call fcn.10138ed0
mov eax, dword [esp + 0x4c]
push 0
push eax
push 0x20
push esi
call fcn.10138ed0
add esp, 0x20
mov ecx, dword [esp + 0x40]
test byte [ecx + 0xc], 0x80
je 0x1015e602
cmp dword [ebp + 0x188], 0
jne 0x1015e602
cmp byte [ebp + 0x13], 0
jne 0x1015e602
mov edx, dword [esp + 0x54]
push 1
push edx
push 0x56
push esi
call fcn.10138ed0
push 1
push esi
call fcn.10139af0
push 0xfffffffffffffffe
push str.rows_updated
push 0
push 0
push esi
call fcn.10139ba0
add esp, 0x2c
pop esi
pop edi
lea eax, [esp + 0x68]
push eax
call fcn.10149a70
mov ecx, dword [esp + 0x28]
push ecx
call fcn.1012ba80
mov edx, dword [esp + 0x30]
push edx
call fcn.1012ba80
mov eax, dword [esp + 0xa8]
push eax
call fcn.10136720
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.1014f180
mov edx, dword [esp + 0xb8]
push edx
call fcn.1014fd60
add esp, 0x18
pop ebp
pop ebx
add esp, 0x8c
ret