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

Disassembly:
sub esp, 0xbc
push ebx
push ebp
mov ebp, ecx
mov ebx, edx
xor edx, edx
mov dword [esp + 0x14], ebx
push esi
or ecx, 0xffffffff
mov dword [esp + 0x20], edx
push edi
mov edi, dword [ebp]
mov dword [esp + 0x48], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], edx
mov byte [esp + 0x17], dl
mov dword [esp + 0x3c], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edi
cmp dword [ebp + 0x24], edx
jne 0x1005c0ec
cmp byte [edi + 0x51], dl
jne 0x1005c0ec
mov esi, dword [esp + 0xd0]
mov dword [esp + 0x94], edx
mov dword [esp + 0x18], esi
test esi, esi
je 0x1005b2a3
test dword [esi + 8], 0x200
je 0x1005b2a3
cmp dword [esi + 0x34], edx
jne 0x1005b2a3
mov eax, dword [esi]
mov ecx, edi
mov dword [esi], edx
mov edx, esi
mov dword [esp + 0x3c], eax
call fcn.10061764
and dword [esp + 0x18], 0
mov edx, ebx
mov ecx, ebp
call fcn.10056a1f
mov ebx, eax
mov dword [esp + 0x88], ebx
test ebx, ebx
je 0x1005c0f5
mov edx, dword [ebx + 0x48]
mov ecx, edi
call fcn.10061082
mov esi, eax
mov eax, dword [edi + 0x10]
mov ecx, esi
mov dword [esp + 0x70], esi
add ecx, ecx
push dword [eax + ecx*8]
mov ecx, ebp
push 0
push dword [ebx]
push 0x12
pop edx
call fcn.100517b7
add esp, 0xc
test eax, eax
jne 0x1005b704
mov eax, dword [ebx + 0x24]
mov edx, ebx
shr eax, 5
mov ecx, ebp
and eax, 0xffffff01
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x40]
push eax
push 0
push 0x78
call fcn.10068f66
add esp, 0xc
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0xc]
mov edx, ebx
mov ecx, ebp
mov dword [esp + 0x50], eax
call fcn.10053b41
test eax, eax
jne 0x1005b704
push dword [esp + 0x40]
mov edx, ebx
mov ecx, ebp
call fcn.10056a5b
pop ecx
test eax, eax
jne 0x1005b704
mov ecx, ebp
call fcn.10063338
mov edi, eax
mov dword [esp + 0x28], edi
test edi, edi
je 0x1005b704
cmp byte [ebp + 0x12], 0
jne 0x1005b368
or dword [edi + 0x98], 0x20
cmp dword [esp + 0x18], 0
jne 0x1005b37a
cmp dword [esp + 0x68], 0
jne 0x1005b37a
xor edx, edx
jmp 0x1005b37d
xor edx, edx
inc edx
push esi
mov ecx, ebp
call fcn.10055e59
cmp dword [esp + 0xd8], 0
pop ecx
jne 0x1005b3b0
push esi
push dword [esp + 0xdc]
mov edx, ebx
mov ecx, ebp
push dword [esp + 0x20]
call fcn.1005d053
add esp, 0xc
test eax, eax
jne 0x1005c092
push ebx
mov edx, esi
mov ecx, ebp
call fcn.1005afce
pop ecx
mov ecx, dword [ebp + 0x2c]
mov dword [esp + 0x7c], eax
movsx eax, word [ebx + 0x2a]
inc eax
lea esi, [ecx + 1]
add eax, ecx
mov edx, esi
mov dword [ebp + 0x2c], eax
cmp dword [ebx + 0x38], 0
mov dword [esp + 0x64], esi
mov dword [esp + 0x30], edx
je 0x1005b3ea
lea edx, [esi + 1]
inc eax
mov dword [esp + 0x30], edx
mov dword [ebp + 0x2c], eax
mov ecx, dword [ebx + 0x24]
lea eax, [edx + 1]
mov edx, dword [esp + 0xd4]
shr ecx, 7
not cl
mov dword [esp + 0x60], eax
and ecx, 0xffffff01
mov dword [esp + 0x20], ecx
test edx, edx
je 0x1005b4f8
mov eax, dword [edx + 4]
xor ecx, ecx
test eax, eax
jle 0x1005b42a
mov eax, dword [edx]
or dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
mov eax, dword [edx + 4]
cmp ecx, eax
jl 0x1005b41b
xor esi, esi
test eax, eax
jle 0x1005b4f8
movsx eax, word [ebx + 0x2a]
xor ecx, ecx
mov dword [esp + 0x44], ecx
test eax, eax
jle 0x1005b4b3
mov eax, dword [edx]
mov dword [esp + 0x4c], eax
mov eax, dword [eax + esi*8]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x38], eax
mov edx, dword [eax]
mov ecx, dword [esp + 0x2c]
call fcn.100262c7
mov ecx, dword [esp + 0x44]
test eax, eax
je 0x1005b483
mov eax, dword [esp + 0x38]
inc ecx
movsx edx, word [ebx + 0x2a]
add eax, 0x10
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], eax
cmp ecx, edx
jl 0x1005b456
jmp 0x1005b4ac
mov eax, dword [esp + 0x4c]
cmp esi, ecx
setne dl
dec dl
mov dword [eax + esi*8 + 4], ecx
mov eax, dword [esp + 0x20]
and dl, al
movsx eax, word [ebx + 0x28]
mov byte [esp + 0x20], dl
cmp ecx, eax
jne 0x1005b4ac
mov dword [esp + 0x54], esi
mov byte [esp + 0x20], dl
mov edx, dword [esp + 0xd4]
movsx eax, word [ebx + 0x2a]
cmp ecx, eax
jl 0x1005b4ee
mov eax, dword [edx]
mov eax, dword [eax + esi*8]
mov ecx, eax
mov dword [esp + 0x2c], eax
call fcn.1004aca0
test eax, eax
je 0x1005b6ab
cmp byte [esp + 0x6c], 0
jne 0x1005b6ab
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x54], esi
mov byte [esp + 0x20], 0
inc esi
cmp esi, dword [edx + 4]
jl 0x1005b434
cmp dword [esp + 0x18], 0
je 0x1005b6ca
inc dword [ebp + 0x2c]
mov ecx, edi
mov eax, dword [edi + 0x6c]
mov esi, dword [ebp + 0x2c]
mov dword [esp + 0x2c], eax
inc eax
push eax
push 0
push esi
push 0xd
pop edx
call fcn.1003b08d
mov eax, dword [esp + 0x2c]
add esp, 0xc
and dword [esp + 0xa0], 0
mov ecx, ebp
mov edx, dword [esp + 0x18]
movzx eax, al
neg eax
mov byte [esp + 0x90], 0xd
mov dword [esp + 0x94], esi
sbb eax, eax
and eax, dword [esp + 0x60]
mov dword [esp + 0x98], eax
movsx eax, word [ebx + 0x2a]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x90]
push eax
call fcn.1006671d
pop ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x74], ecx
test eax, eax
jne 0x1005b704
mov eax, dword [esp + 0x58]
cmp byte [eax + 0x51], 0
jne 0x1005b704
cmp dword [ebp + 0x24], 0
jne 0x1005b704
mov edx, esi
mov ecx, edi
call fcn.1003b324
mov edx, dword [esp + 0x2c]
mov ecx, edi
call fcn.1003b7e1
cmp dword [esp + 0x68], 0
mov ecx, dword [edi + 0x6c]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov esi, dword [eax]
mov dword [esp + 0x20], esi
jne 0x1005b5db
mov edx, dword [esp + 0x70]
mov ecx, ebp
push ebx
call fcn.1005af4b
pop ecx
test eax, eax
je 0x1005b775
mov edx, dword [ebp + 0x28]
mov ecx, ebp
mov byte [esp + 0x17], 1
mov dword [esp + 0x34], edx
lea eax, [edx + 1]
mov dword [ebp + 0x28], eax
call fcn.1004e35a
mov edi, eax
call fcn.1004e35a
mov ecx, dword [esp + 0x28]
mov ebx, eax
push 0
push esi
push edx
push 0x71
pop edx
call fcn.1003b08d
mov ecx, dword [esp + 0x34]
add esp, 0xc
push 0
push 0
push dword [esp + 0x9c]
push 0xe
pop edx
call fcn.1003b08d
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov esi, eax
push edi
push dword [esp + 0x24]
push dword [esp + 0x7c]
push 0x5c
pop edx
call fcn.1003b08d
mov ecx, dword [esp + 0x34]
add esp, 0xc
push 0
push ebx
push dword [esp + 0x3c]
push 0x79
pop edx
call fcn.1003b08d
mov ecx, dword [esp + 0x34]
add esp, 0xc
push ebx
push edi
push dword [esp + 0x3c]
push 0x7a
pop edx
call fcn.1003b08d
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov edx, esi
call fcn.1003b10a
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.1003b7e1
mov ecx, dword [ecx + 0x6c]
mov edx, edi
mov dword [eax + 8], ecx
mov ecx, ebp
call fcn.1004e379
mov edx, ebx
call fcn.1004e379
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x20]
jmp 0x1005b771
push dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
push 0
push esi
push str.table__S_has_no_column_named__s
push ebp
call fcn.100261f3
add esp, 0x14
mov byte [ebp + 0x11], 1
jmp 0x1005b708
or dword [esp + 0x34], 0xffffffff
lea edi, [esp + 0xa8]
push 8
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa8], ebp
test eax, eax
je 0x1005b76b
mov esi, dword [eax]
lea ecx, [esp + 0xa8]
mov edx, eax
mov dword [esp + 0x20], esi
call fcn.100490f6
test eax, eax
je 0x1005b771
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x58]
mov edx, esi
mov ecx, ebp
call fcn.10055a5c
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1005b72a
mov edx, eax
mov ecx, ebp
call fcn.1004a8e4
mov edx, dword [esp + 0xdc]
mov ecx, ebp
call fcn.1006aaef
mov edx, ebx
mov ecx, ebp
call fcn.10061764
mov edx, dword [esp + 0xd4]
mov ecx, ebp
call fcn.100557d0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x1005b760
mov edx, eax
mov ecx, ebp
call fcn.10023dc7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret
xor esi, esi
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0xd4]
test eax, eax
jne 0x1005b78c
test esi, esi
jle 0x1005b78c
movsx ecx, word [ebx + 0x28]
mov dword [esp + 0x54], ecx
movsx ecx, word [ebx + 0x2a]
test ecx, ecx
jle 0x1005b7b7
mov edx, dword [ebx + 4]
mov esi, ecx
add edx, 0xf
movzx eax, byte [edx]
lea edx, [edx + 0x10]
shr eax, 1
and eax, 1
add dword [esp + 0x24], eax
sub esi, 1
jne 0x1005b79c
mov eax, dword [esp + 0xd4]
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x1005b7e6
test edx, edx
je 0x1005b802
sub ecx, dword [esp + 0x24]
cmp edx, ecx
je 0x1005b802
mov esi, dword [esp + 0x1c]
push edx
push ecx
push eax
push esi
push str.table__S_has__d_columns_but__d_values_were_supplied
push ebp
call fcn.100261f3
add esp, 0x18
jmp 0x1005b708
cmp edx, dword [eax + 4]
je 0x1005b802
push dword [eax + 4]
push edx
push str._d_values_for__d_columns
push ebp
call fcn.100261f3
add esp, 0x10
jmp 0x1005b704
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, ecx
je 0x1005b83d
cmp byte [ebp + 0x12], cl
jne 0x1005b83d
cmp dword [ebp + 0x70], ecx
jne 0x1005b83d
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
push ecx
push eax
push ecx
push 0x46
pop edx
mov ecx, edi
mov dword [esp + 0x98], eax
call fcn.1003b08d
add esp, 0xc
xor ecx, ecx
cmp dword [esp + 0x50], 0
jne 0x1005b8b5
lea eax, [esp + 0x78]
mov edx, ebx
push eax
lea eax, [esp + 0x4c]
push eax
push ecx
push 0xffffffffffffffff
push ecx
push 0x6d
mov ecx, ebp
call fcn.1005ce69
mov ecx, dword [esp + 0x70]
mov esi, eax
push 0
lea eax, [esi*4 + 8]
push eax
call fcn.10023fa8
add esp, 0x20
mov dword [esp + 0x5c], eax
test eax, eax
je 0x1005b704
mov edx, dword [ebx + 8]
xor ecx, ecx
test esi, esi
jle 0x1005b8a8
mov edi, eax
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [edi + ecx*4], eax
movzx eax, word [edx + 0x34]
add dword [ebp + 0x2c], eax
inc ecx
mov edx, dword [edx + 0x14]
cmp ecx, esi
jl 0x1005b88c
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x5c]
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [edx + ecx*4], eax
mov esi, dword [esp + 0xdc]
test esi, esi
je 0x1005b908
cmp dword [ebx + 0x38], 0
je 0x1005b8db
push dword [ebx]
push str.UPSERT_not_implemented_for_virtual_table___s_
push ebp
call fcn.100261f3
add esp, 0xc
jmp 0x1005b704
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x60]
mov dword [edx + 0x34], ecx
cmp dword [esi], 0
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x78]
mov dword [esi + 0x14], edx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], eax
je 0x1005b908
push esi
mov ecx, ebp
call fcn.1006abac
pop ecx
cmp byte [esp + 0x17], 0
je 0x1005b934
push 0
push 0
push dword [esp + 0x3c]
mov ecx, edi
push 0x24
pop edx
call fcn.1003b08d
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x8c], eax
jmp 0x1005b960
cmp dword [esp + 0x18], 0
je 0x1005b963
push 0
push 0
push dword [esp + 0x9c]
mov ecx, edi
push 0xe
pop edx
call fcn.1003b08d
mov ecx, eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
add esp, 0xc
dec dword [ebp + 0x38]
test byte [esp + 0x40], 1
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x44], eax
je 0x1005bbca
movsx edx, word [ebx + 0x2a]
mov ecx, ebp
inc edx
call fcn.1004e392
mov esi, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], esi
test eax, eax
jns 0x1005b99b
or eax, 0xffffffff
mov ecx, esi
push 0x46
jmp 0x1005ba0c
cmp byte [esp + 0x17], 0
push esi
je 0x1005b9b7
push eax
push dword [esp + 0x3c]
mov ecx, edi
push 0x5a
pop edx
call fcn.1003b08d
add esp, 0xc
jmp 0x1005b9ca
imul edx, eax, 0x18
mov ecx, ebp
mov eax, dword [esp + 0x40]
mov edx, dword [edx + eax + 4]
call fcn.1004d02f
pop ecx
push 0
push 0
push esi
push 0x33
pop edx
mov ecx, edi
call fcn.1003b08d
add esp, 0xc
mov ecx, edi
mov esi, eax
push 0
push dword [esp + 0x3c]
push 0xffffffffffffffff
push 0x46
pop edx
call fcn.1003b08d
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.1003b7e1
mov ecx, dword [edi + 0x6c]
mov esi, dword [esp + 0x38]
push 0xf
mov dword [eax + 8], ecx
mov eax, esi
xor ecx, ecx
pop edx
push 0
push ecx
push eax
mov ecx, edi
call fcn.1003b08d
xor edx, edx
xor eax, eax
add esp, 0xc
mov dword [esp + 0x4c], edx
cmp ax, word [ebx + 0x2a]
jge 0x1005bb79
lea ecx, [esi + 1]
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x70], ecx
or ecx, 0xffffffff
sub ecx, esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xd4]
test ecx, ecx
je 0x1005ba99
xor edx, edx
mov dword [esp + 0x4c], edx
cmp dword [ecx + 4], edx
jle 0x1005ba99
mov ecx, dword [ecx]
mov edi, dword [esp + 0xd4]
add ecx, 4
mov ebx, dword [esp + 0x2c]
lea eax, [ebx + esi]
cmp dword [ecx], eax
je 0x1005ba7f
inc edx
add ecx, 8
cmp edx, dword [edi + 4]
jl 0x1005ba6f
mov ebx, dword [esp + 0x88]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x4c], edx
cmp byte [esp + 0x17], 0
jne 0x1005baa7
cmp dword [esp + 0x3c], 0
je 0x1005bab0
test ecx, ecx
je 0x1005bac2
cmp edx, dword [ecx + 4]
jl 0x1005bac2
mov edx, dword [ebx + 4]
mov ecx, ebp
push esi
mov edx, dword [edx + eax + 4]
call fcn.1004d02f
pop ecx
jmp 0x1005bb3c
cmp byte [esp + 0x17], 0
je 0x1005bade
push esi
push edx
push dword [esp + 0x3c]
mov ecx, edi
push 0x5a
pop edx
call fcn.1003b08d
add esp, 0xc
jmp 0x1005bb3c
mov ecx, dword [esp + 0x3c]
push dword [esp + 0x40]
mov esi, dword [ebp + 8]
imul eax, edx, 0x18
mov ebx, dword [eax + ecx + 4]
mov edx, ebx
mov ecx, ebp
call fcn.1004d02f
inc dword [ebp + 0x2c]
mov edi, dword [ebp + 0x2c]
pop ecx
push 0
push edi
push dword [esp + 0x48]
mov ecx, esi
push 0x4e
pop edx
call fcn.1003b08d
add esp, 0xc
mov ecx, ebx
call fcn.100492d6
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x40]
mov cl, byte [eax]
and dword [eax + 4], 0xffffefff
mov dword [eax + 0x18], edi
mov edi, dword [esp + 0x28]
mov byte [eax + 0x22], cl
mov byte [eax], 0xa8
cmp dword [esp + 0xd4], 0
mov edx, dword [esp + 0x4c]
jne 0x1005bb4f
inc edx
mov dword [esp + 0x4c], edx
add dword [esp + 0x24], 0x10
inc esi
mov ecx, dword [esp + 0x2c]
movsx eax, word [ebx + 0x2a]
add ecx, esi
cmp ecx, eax
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x24]
jl 0x1005ba49
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x70]
jmp 0x1005bb7c
lea eax, [esi + 1]
cmp dword [esp + 0x50], 0
jne 0x1005bb8e
push eax
mov edx, ebx
mov ecx, edi
call fcn.1005aea0
pop ecx
push dword [esp + 0x44]
movsx eax, word [ebx + 0x2a]
mov ecx, esi
push dword [esp + 0xdc]
mov edx, dword [esp + 0x70]
sub ecx, eax
dec ecx
push ecx
push ebx
push 1
push 0
push 0x78
mov ecx, ebp
call fcn.10069527
movsx eax, word [ebx + 0x2a]
add esp, 0x1c
inc eax
mov edx, esi
mov ecx, ebp
push eax
call fcn.1004e3c8
add esp, 4
cmp dword [esp + 0x50], 0
jne 0x1005bf03
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x1005bbf4
push 0
push dword [esp + 0x68]
mov ecx, edi
push 0
push 0x49
pop edx
call fcn.1003b08d
mov ecx, dword [ebx + 0x38]
add esp, 0xc
mov eax, dword [esp + 0x54]
test eax, eax
js 0x1005bcf2
cmp byte [esp + 0x17], 0
je 0x1005bc20
mov esi, dword [esp + 0x30]
push esi
push eax
push dword [esp + 0x3c]
push 0x5a
pop edx
mov ecx, edi
call fcn.1003b08d
add esp, 0xc
jmp 0x1005bc7b
cmp dword [esp + 0x18], 0
je 0x1005bc37
mov esi, dword [esp + 0x30]
add eax, dword [esp + 0x74]
push 0
push esi
push eax
push 0x4e
jmp 0x1005bc13
mov edx, dword [esp + 0x3c]
imul eax, eax, 0x18
mov edx, dword [eax + edx + 4]
cmp byte [edx], 0x72
jne 0x1005bc6e
test ecx, ecx
jne 0x1005bc6e
push dword [esp + 0x7c]
mov ecx, edi
push dword [esp + 0x34]
push dword [esp + 0x50]
push 0x79
pop edx
call fcn.1003b08d
add esp, 0xc
mov dword [esp + 0x24], 1
jmp 0x1005bcec
mov esi, dword [esp + 0x30]
mov ecx, ebp
push esi
call fcn.1004d02f
pop ecx
xor eax, eax
mov ecx, edi
push eax
cmp dword [ebx + 0x38], eax
jne 0x1005bcc2
push eax
push esi
push 0x33
pop edx
call fcn.1003b08d
add esp, 0xc
mov ecx, edi
mov esi, eax
push dword [esp + 0x7c]
push dword [esp + 0x34]
push dword [esp + 0x50]
push 0x79
pop edx
call fcn.1003b08d
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.1003b7e1
mov ecx, dword [edi + 0x6c]
mov esi, dword [esp + 0x30]
mov dword [eax + 8], ecx
jmp 0x1005bcd5
mov eax, dword [edi + 0x6c]
add eax, 2
push eax
push esi
push 0x32
pop edx
call fcn.1003b08d
add esp, 0xc
push 0
push 0
push esi
push 0xf
pop edx
mov ecx, edi
call fcn.1003b08d
add esp, 0xc
and dword [esp + 0x24], 0
mov esi, dword [esp + 0x30]
jmp 0x1005bd3b
test ecx, ecx
jne 0x1005bd20
cmp byte [esp + 0x6c], cl
jne 0x1005bd20
push dword [esp + 0x7c]
mov esi, dword [esp + 0x34]
mov ecx, edi
push esi
push dword [esp + 0x50]
push 0x79
pop edx
call fcn.1003b08d
add esp, 0xc
mov dword [esp + 0x24], 1
jmp 0x1005bd3b
mov esi, dword [esp + 0x30]
mov ecx, edi
push 0
push esi
push 0
push 0x49
pop edx
call fcn.1003b08d
add esp, 0xc
and dword [esp + 0x24], 0
mov eax, dword [esp + 0x7c]
test eax, eax
jle 0x1005bd57
mov ecx, dword [ebp + 8]
mov edx, 0x97
push 0
push esi
push eax
call fcn.1003b08d
add esp, 0xc
and dword [esp + 0x50], 0
xor eax, eax
xor esi, esi
cmp ax, word [ebx + 0x2a]
jge 0x1005bddd
xor edx, edx
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x60]
movsx eax, word [ebx + 0x28]
add ecx, esi
mov dword [esp + 0x2c], ecx
cmp esi, eax
jne 0x1005bd92
push 0
push 0
push ecx
push 0x4a
pop edx
mov ecx, edi
call fcn.1003b08d
add esp, 0xc
jmp 0x1005bdc9
cmp dword [esp + 0xd4], 0
jne 0x1005be41
mov eax, dword [ebx + 4]
test byte [eax + edx + 0xf], 2
je 0x1005be2f
inc dword [esp + 0x50]
mov edx, dword [ebx + 4]
mov ecx, ebp
mov eax, dword [esp + 0x38]
push dword [esp + 0x2c]
mov edx, dword [edx + eax + 4]
call fcn.1004d0af
pop ecx
mov edx, dword [esp + 0x38]
inc esi
movsx eax, word [ebx + 0x2a]
add edx, 0x10
mov dword [esp + 0x38], edx
cmp esi, eax
jl 0x1005bd6c
cmp dword [ebx + 0x38], 0
mov edx, ebx
je 0x1005bfac
mov ecx, dword [esp + 0x58]
call fcn.1006b641
mov ecx, ebp
mov esi, eax
call fcn.1006c2c8
movsx eax, word [ebx + 0x2a]
mov ecx, edi
push 0xfffffffffffffff4
push esi
push dword [esp + 0x6c]
add eax, 2
push eax
push 1
push 0xa
pop edx
call fcn.1003b1c9
add esp, 0x14
cmp dword [esp + 0xd8], 0xb
jne 0x1005beee
push 2
pop edx
jmp 0x1005bef5
mov ecx, dword [esp + 0xd4]
mov eax, esi
sub eax, dword [esp + 0x50]
add ecx, 4
jmp 0x1005be75
mov edx, dword [esp + 0xd4]
xor eax, eax
add edx, 4
cmp dword [edx], eax
jle 0x1005be83
mov ecx, dword [esp + 0xd4]
mov ecx, dword [ecx]
add ecx, 4
mov dword [esp + 0x6c], edx
cmp dword [ecx], esi
je 0x1005be71
inc eax
mov dword [esp + 0x6c], edx
add ecx, 8
cmp eax, dword [edx]
jl 0x1005be5d
mov ecx, dword [esp + 0x6c]
mov edx, ecx
test eax, eax
js 0x1005bdb2
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x20], 0
je 0x1005bdb2
cmp dword [esp + 0xd4], 0
je 0x1005bea0
cmp eax, dword [edx]
jge 0x1005bdb2
cmp byte [esp + 0x17], 0
je 0x1005beb4
push ecx
push eax
push dword [esp + 0x3c]
push 0x5a
jmp 0x1005bd85
cmp dword [esp + 0x18], 0
je 0x1005bed6
mov edx, dword [esp + 0x74]
cmp edx, dword [esp + 0x60]
je 0x1005bdc9
push 0
push ecx
add eax, edx
push eax
push 0x4f
jmp 0x1005bd85
imul edx, eax, 0x18
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, ebp
mov edx, dword [edx + eax + 4]
call fcn.1004d02f
jmp 0x1005bdc8
mov edx, dword [esp + 0xd8]
mov ecx, edi
call fcn.1003b54c
mov ecx, ebp
call fcn.10055e84
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x1005bf24
push 0
push 1
push eax
push 0x53
pop edx
mov ecx, edi
call fcn.1003b08d
add esp, 0xc
mov edx, dword [esp + 0x68]
test edx, edx
je 0x1005bf53
movsx eax, word [ebx + 0x2a]
mov ecx, dword [esp + 0x60]
push esi
push dword [esp + 0xdc]
sub ecx, eax
sub ecx, 2
push ecx
push ebx
push 2
push 0
push 0x78
mov ecx, ebp
call fcn.10069527
add esp, 0x1c
mov edx, esi
mov ecx, edi
call fcn.1003b38b
cmp byte [esp + 0x17], 0
je 0x1005c069
mov ebx, dword [esp + 0x34]
xor esi, esi
push esi
push dword [esp + 0x84]
mov ecx, edi
push ebx
push 5
pop edx
call fcn.1003b08d
mov edx, dword [esp + 0x90]
add esp, 0xc
mov ecx, edi
call fcn.1003b7e1
mov ecx, dword [edi + 0x6c]
push esi
push esi
push ebx
mov dword [eax + 8], ecx
mov ecx, edi
push 0x75
pop edx
call fcn.1003b08d
add esp, 0xc
jmp 0x1005c092
push dword [esp + 0xdc]
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x74]
push 0
push eax
mov eax, dword [esp + 0x60]
mov ecx, ebp
push esi
push dword [esp + 0xe8]
shr eax, 0x1f
xor al, 1
movzx eax, al
push eax
push 0
push dword [esp + 0x80]
push dword [esp + 0x98]
push dword [esp + 0x6c]
push dword [esp + 0x84]
call fcn.1005c178
add esp, 0x2c
xor eax, eax
mov edx, ebx
mov ecx, ebp
push eax
push eax
push dword [esp + 0x6c]
push eax
call fcn.1005a233
add esp, 0x10
cmp dword [esp + 0x70], 0
je 0x1005c03b
cmp dword [esp + 0x68], 0
jne 0x1005c037
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
je 0x1005c03b
mov ecx, ebx
call fcn.10059ff3
test eax, eax
je 0x1005c03b
xor eax, eax
jmp 0x1005c03e
xor eax, eax
inc eax
push eax
push dword [esp + 0x28]
mov edx, ebx
mov ecx, ebp
push 0
push dword [esp + 0x68]
push dword [esp + 0x74]
push dword [esp + 0x8c]
push dword [esp + 0x60]
call fcn.1005cd12
add esp, 0x1c
jmp 0x1005bf07
cmp dword [esp + 0x18], 0
je 0x1005c092
mov edx, dword [esp + 0x80]
mov ecx, edi
call fcn.1003b10a
mov edx, dword [esp + 0x84]
mov ecx, edi
call fcn.1003b7e1
mov ecx, dword [edi + 0x6c]
mov dword [eax + 8], ecx
cmp byte [ebp + 0x12], 0
jne 0x1005c0ab
cmp dword [ebp + 0x70], 0
jne 0x1005c0ab
cmp dword [ebp + 0x68], 0
je 0x1005c0ab
mov ecx, ebp
call fcn.1005b13f
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x1005b704
push 0
push 1
push eax
push 0x51
pop edx
mov ecx, edi
call fcn.1003b08d
add esp, 0xc
xor edx, edx
inc edx
mov ecx, edi
call fcn.1003c37c
push 0
push str.rows_inserted
push ecx
xor edx, edx
mov ecx, edi
call fcn.1003c3d8
jmp 0x1005b8d3
mov ebx, dword [esp + 0xd0]
jmp 0x1005c0f9
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x1005b70c