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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
push esi
push edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x54], eax
mov byte [ebp + 0xb], al
mov byte [ebp - 9], al
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], ecx
cmp dword [ebx + 0x24], eax
jne 0x529cb1
mov edx, ecx
cmp byte [edx + 0x51], al
jne 0x529cb1
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x88], esi
cmp eax, esi
je 0x528d2a
test dword [eax + 4], 0x200
je 0x528d2a
cmp dword [eax + 0x34], esi
jne 0x528d2a
mov ecx, dword [eax + 0x1c]
push 1
push eax
push edx
mov dword [ebp - 0x48], ecx
mov dword [eax + 0x1c], esi
call fcn.004c3490
add esp, 0xc
mov dword [ebp + 0x10], esi
mov eax, dword [ebp + 0xc]
push ebx
call fcn.004f14e0
add esp, 4
mov dword [ebp - 8], eax
cmp eax, esi
je 0x529cb1
mov edx, dword [ebp - 0x2c]
mov edi, eax
mov ecx, dword [edi + 0x48]
mov esi, 0xfff0bdc0
mov dword [ebp - 0x1c], esi
test ecx, ecx
je 0x528d70
mov eax, dword [edx + 0x10]
xor esi, esi
mov dword [ebp - 0x1c], esi
cmp dword [eax + 0xc], ecx
je 0x528d70
add eax, 0xc
add eax, 0x10
inc esi
cmp dword [eax], ecx
jne 0x528d65
mov dword [ebp - 0x1c], esi
mov edx, dword [edx + 0x10]
mov ecx, esi
add ecx, ecx
mov eax, dword [edx + ecx*8]
mov ecx, dword [edi]
push eax
push 0
push ecx
push 0x12
mov eax, ebx
call fcn.004dbaf0
add esp, 0x10
test eax, eax
jne 0x529cb1
mov edi, dword [ebp - 8]
mov edx, dword [edi + 0x24]
lea eax, [ebp - 0x68]
push eax
push 0
shr edx, 7
and dl, 1
push 0x7d
push edi
mov eax, ebx
mov byte [ebp - 0x1d], dl
call fcn.004b9680
xor ecx, ecx
cmp dword [edi + 0xc], ecx
mov dword [ebp - 0x58], eax
setne cl
push edi
mov eax, ebx
mov dword [ebp - 0x70], ecx
call fcn.004fda00
add esp, 0x14
test eax, eax
jne 0x529cb1
mov edx, dword [ebp - 0x68]
push edx
mov eax, ebx
call fcn.004dd8c0
add esp, 4
test eax, eax
jne 0x529cb1
mov ecx, ebx
call fcn.004cf540
mov dword [ebp - 4], eax
test eax, eax
je 0x529cb1
cmp byte [ebx + 0x12], 0
jne 0x528e09
or dword [eax + 0x98], 0x10
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x528e19
cmp dword [ebp - 0x58], edi
jne 0x528e19
xor eax, eax
jmp 0x528e1e
mov eax, 1
push eax
mov ecx, esi
mov edx, ebx
call fcn.004fdd40
add esp, 4
cmp dword [ebp + 0x14], 0
jne 0x528e4d
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 8]
push esi
push eax
push ecx
push ebx
mov eax, edi
call fcn.004fee30
add esp, 0x10
test eax, eax
jne 0x529b96
mov edi, dword [ebp - 8]
push esi
mov edx, ebx
call fcn.004c30d0
movsx edx, word [edi + 0x2a]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x2c]
lea ecx, [eax + 1]
lea eax, [edx + eax + 1]
add esp, 4
mov dword [ebx + 0x2c], eax
cmp dword [edi + 0x38], 0
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x18], ecx
je 0x528e83
inc ecx
inc eax
mov dword [ebp - 0x18], ecx
mov dword [ebx + 0x2c], eax
inc ecx
test dword [edi + 0x24], 0x440
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp + 0x14]
sete byte [ebp - 0xa]
test ecx, ecx
je 0x528f8e
xor eax, eax
cmp dword [ecx + 4], eax
jle 0x528eb4
mov edx, dword [ecx]
mov dword [edx + eax*8 + 4], 0xffffffff
inc eax
cmp eax, dword [ecx + 4]
jl 0x528ea4
cmp dword [ecx + 4], 0
mov dword [ebp - 0x14], 0
jle 0x528f8e
mov edx, dword [ebp - 8]
movsx eax, word [edx + 0x2a]
xor esi, esi
mov dword [ebp - 0x74], eax
test eax, eax
jle 0x528f47
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov edx, dword [edx + 4]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x10], edx
jmp 0x528ef3
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
sub edi, ecx
lea ebx, [ebx]
movzx eax, byte [ecx]
movzx edx, byte [edi + ecx]
cmp eax, edx
jne 0x529103
test eax, eax
jne 0x529115
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 4], esi
cmp eax, esi
je 0x528f28
mov byte [ebp - 0xa], 0
mov ecx, dword [ebp - 8]
movsx edx, word [ecx + 0x28]
cmp esi, edx
jne 0x528f36
mov dword [ebp - 0x28], eax
mov ecx, dword [ecx + 4]
lea eax, [esi + esi*4]
test byte [ecx + eax*4 + 0x10], 0x60
jne 0x52912e
mov edx, dword [ebp - 8]
movsx eax, word [edx + 0x2a]
cmp esi, eax
jl 0x528f7b
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x14]
mov edx, dword [edx + esi*8]
call fcn.004b6c80
test eax, eax
je 0x52914f
cmp byte [ebp - 0x1d], 0
jne 0x52914f
mov dword [ebp - 0x28], esi
mov byte [ebp - 0xa], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ecx + 4]
jl 0x528ec5
cmp dword [ebp + 0x10], 0
je 0x529176
mov eax, dword [ebp - 4]
inc dword [ebx + 0x2c]
mov edi, dword [eax + 0x6c]
mov esi, dword [ebx + 0x2c]
inc edi
push edi
push 0
push esi
push 0xd
push eax
call fcn.004c6360
movzx ecx, byte [ebp - 0xa]
mov edx, dword [ebp - 8]
movsx eax, word [edx + 0x2a]
mov edx, dword [ebp + 0x10]
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x3c]
mov byte [ebp - 0x8c], 0xd
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0x8c]
push ecx
push edx
push ebx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], eax
call fcn.00519060
mov ecx, dword [ebp - 0x84]
add esp, 0x20
mov dword [ebp - 0x34], ecx
test eax, eax
jne 0x529cb1
mov edx, dword [ebp - 0x2c]
cmp byte [edx + 0x51], al
jne 0x529cb1
cmp dword [ebx + 0x24], eax
jne 0x529cb1
mov eax, dword [ebp - 4]
mov ecx, esi
call fcn.004c6860
mov edx, dword [ebp - 4]
lea eax, [edi - 1]
call fcn.004c0a20
cmp dword [ebp - 0x58], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
jne 0x52905a
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
push edi
push eax
mov eax, ebx
call fcn.004d4c00
add esp, 8
test eax, eax
je 0x5291e5
mov edx, dword [ebx + 0x28]
lea ecx, [edx + 1]
mov dword [ebx + 0x28], ecx
mov ecx, ebx
mov byte [ebp + 0xb], 1
mov dword [ebp - 0x24], edx
call fcn.004b6f30
mov esi, eax
call fcn.004b6f30
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
push 0x64
call fcn.004c6470
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 4]
push 0xe
call fcn.004c6420
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
push esi
push edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x84]
push eax
push 0x5b
push ecx
call fcn.004c6360
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
push 0x78
call fcn.004c6470
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
mov edx, edi
push edx
push esi
push eax
push 0x79
push ecx
call fcn.004c6360
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add esp, 0x34
call fcn.004c64c0
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004c0a20
mov edx, esi
mov eax, ebx
call fcn.004b6f50
mov edx, dword [ebp - 0x1c]
call fcn.004b6f50
jmp 0x5291e2
movzx edx, byte [edx + 0x568f80]
movzx eax, byte [eax + 0x568f80]
sub eax, edx
jne 0x52911b
inc ecx
jmp 0x528f00
add dword [ebp - 0x10], 0x14
inc esi
cmp esi, dword [ebp - 0x74]
jl 0x528ef0
jmp 0x528f47
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
lea edx, [esi + esi*4]
mov edx, dword [ecx + edx*4]
push edx
push str.cannot_INSERT_into_generated_column___s_
mov esi, ebx
call fcn.004d7320
add esp, 8
jmp 0x529cb1
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + esi*8]
mov eax, dword [ebp + 0xc]
push edx
push 0
push eax
push str.table__S_has_no_column_named__s
mov esi, ebx
call fcn.004d7320
add esp, 0x10
mov byte [ebx + 0x11], 1
jmp 0x529cb1
xor eax, eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0x24], 0xffffffff
test eax, eax
je 0x5291db
mov edx, dword [eax]
push eax
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0x10], edx
call fcn.00512f60
add esp, 8
test eax, eax
jne 0x529cb1
jmp 0x5291e2
mov dword [ebp - 0x10], 0
mov edi, dword [ebp - 8]
cmp dword [ebp + 0x14], 0
jne 0x529222
cmp dword [ebp - 0x10], 0
jle 0x529222
movsx edx, word [edi + 0x28]
mov dword [ebp - 0x28], edx
test edx, edx
js 0x529222
test byte [edi + 0x24], 0x60
je 0x529222
lea eax, [edx - 1]
test eax, eax
js 0x529222
mov esi, dword [edi + 4]
lea ecx, [eax + eax*4]
lea ecx, [esi + ecx*4 + 0x10]
test byte [ecx], 0x60
je 0x529219
dec edx
sub ecx, 0x14
dec eax
jns 0x529213
mov dword [ebp - 0x28], edx
movsx edx, word [edi + 0x2a]
mov esi, dword [ebp - 0x44]
test edx, edx
jle 0x529241
mov eax, dword [edi + 4]
add eax, 0x10
mov ecx, edx
test byte [eax], 0x62
je 0x52923b
inc esi
add eax, 0x14
dec ecx
jne 0x529235
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x529275
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x529296
mov eax, edx
sub eax, esi
cmp ecx, eax
je 0x529296
mov edx, ecx
push edx
push eax
mov eax, dword [ebp + 0xc]
push 0
push eax
push str.table__S_has__d_columns_but__d_values_were_supplied
mov esi, ebx
call fcn.004d7320
add esp, 0x14
jmp 0x529cb1
mov eax, dword [eax + 4]
cmp dword [ebp - 0x10], eax
je 0x529296
mov ecx, dword [ebp - 0x10]
push eax
push ecx
push str._d_values_for__d_columns
mov esi, ebx
call fcn.004d7320
add esp, 0xc
jmp 0x529cb1
mov esi, dword [ebp - 0x2c]
mov ecx, dword [esi + 0x24]
and ecx, 1
xor eax, eax
or eax, ecx
je 0x5292cc
cmp byte [ebx + 0x12], 0
jne 0x5292cc
cmp dword [ebx + 0x78], 0
jne 0x5292cc
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
push 0x45
xor edx, edx
mov dword [ebp - 0x50], edi
call fcn.004c6470
mov edi, dword [ebp - 8]
add esp, 4
cmp dword [ebp - 0x70], 0
jne 0x529341
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x38]
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x61
push edi
push ebx
call fcn.004f4ec0
mov edi, eax
lea ecx, [edi*4 + 8]
push 0
push ecx
mov ecx, esi
call fcn.004bc820
add esp, 0x28
mov dword [ebp - 0x40], eax
test eax, eax
je 0x529cb1
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 8]
mov edx, dword [ebp - 0x40]
xor eax, eax
test edi, edi
jle 0x529338
lea ecx, [ecx]
inc dword [ebx + 0x2c]
mov esi, dword [ebx + 0x2c]
mov dword [edx + eax*4], esi
movzx esi, word [ecx + 0x34]
add dword [ebx + 0x2c], esi
mov ecx, dword [ecx + 0x14]
inc eax
cmp eax, edi
jl 0x529320
inc dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x2c]
mov dword [edx + eax*4], ecx
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x5293c7
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x52936c
mov ecx, dword [eax]
push ecx
push str.UPSERT_not_implemented_for_virtual_table___s_
mov esi, ebx
call fcn.004d7320
add esp, 8
jmp 0x529cb1
cmp dword [eax + 0xc], 0
je 0x529386
push str.cannot_UPSERT_a_view
mov esi, ebx
call fcn.004d7320
add esp, 4
jmp 0x529cb1
mov eax, dword [ecx]
push ebx
call fcn.004dce80
add esp, 4
test eax, eax
jne 0x529cb1
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x3c]
mov dword [ecx + 0x34], edx
cmp dword [eax], 0
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], esi
mov dword [eax + 0x20], edx
je 0x5293c7
push eax
push ecx
push ebx
call fcn.00513ea0
add esp, 0xc
cmp byte [ebp + 0xb], 0
mov esi, dword [ebp - 4]
je 0x5293e7
mov edi, dword [ebp - 0x24]
push 0x25
mov eax, esi
call fcn.004c6420
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x54], eax
jmp 0x52941d
cmp dword [ebp + 0x10], 0
je 0x529420
mov edi, dword [ebp - 0x88]
push 0xe
mov eax, esi
call fcn.004c6420
add esp, 4
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x64], eax
jl 0x529420
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
push 0x4d
mov eax, esi
call fcn.004c6470
add esp, 4
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0x3c]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], eax
cmp cx, word [edx + 0x2a]
jge 0x5295bb
mov dword [ebp - 0x1c], eax
lea ecx, [ecx]
mov eax, dword [ebp - 8]
movsx ecx, word [eax + 0x28]
mov edx, dword [ebp - 0x14]
cmp edx, ecx
jne 0x529495
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x52946d
mov esi, dword [ebp - 4]
push 0
push 0
push edi
push 0x49
call fcn.004c6320
add esp, 0x10
jmp 0x5295a0
mov ecx, dword [esi + 0x68]
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x49
jmp 0x5295a0
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
add ecx, eax
movzx eax, word [ecx + 0x10]
mov dword [ebp - 0x60], ecx
test al, 0x62
je 0x5294ed
inc dword [ebp - 0x44]
test al, 0x20
je 0x5294b5
dec edi
jmp 0x5295a0
test al, 0x40
je 0x5294d4
test byte [ebp - 0x68], 1
je 0x5295a0
push 0x49
mov eax, esi
call fcn.004c6420
add esp, 4
jmp 0x5295a0
cmp dword [ebp + 0x14], 0
jne 0x5294f3
mov eax, dword [ecx + 4]
push edi
mov ecx, ebx
call fcn.004fcda0
add esp, 4
jmp 0x5295a0
cmp dword [ebp + 0x14], 0
je 0x529536
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 4]
xor eax, eax
test edx, edx
jle 0x529522
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x14]
add ecx, 4
lea ebx, [ebx]
cmp dword [ecx], esi
je 0x52951c
inc eax
add ecx, 8
cmp eax, edx
jl 0x529510
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebp - 4]
cmp eax, edx
jl 0x529551
mov eax, dword [ecx + 4]
push edi
mov ecx, ebx
call fcn.004fcda0
add esp, 4
jmp 0x5295a0
cmp dword [ebp - 0x10], 0
jne 0x52954c
mov eax, dword [ecx + 4]
push edi
mov ecx, ebx
call fcn.004fcda0
add esp, 4
jmp 0x5295a0
mov eax, edx
sub eax, dword [ebp - 0x44]
cmp byte [ebp + 0xb], 0
je 0x52956a
mov edx, dword [ebp - 0x24]
push edi
push eax
push edx
push 0x59
push esi
call fcn.004c6360
add esp, 0x14
jmp 0x5295a0
cmp dword [ebp + 0x10], 0
je 0x52958b
mov ecx, dword [ebp - 0x3c]
cmp dword [ebp - 0x34], ecx
je 0x5295a0
mov edx, dword [ebp - 0x34]
add edx, eax
push 0x4e
mov eax, esi
call fcn.004c6470
add esp, 4
jmp 0x5295a0
mov ecx, dword [ebp - 0x48]
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*4 + 4]
push edi
push edx
push ebx
call fcn.00523de0
add esp, 0xc
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
movsx edx, word [ecx + 0x2a]
add dword [ebp - 0x1c], 0x14
inc eax
inc edi
mov dword [ebp - 0x14], eax
cmp eax, edx
jl 0x529440
dec dword [ebx + 0x38]
test byte [ebp - 0x68], 1
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x34], eax
je 0x529717
mov ecx, dword [ebp - 8]
movsx esi, word [ecx + 0x2a]
inc esi
mov ecx, ebx
call fcn.004b6f70
mov edi, eax
mov eax, dword [ebp - 0x28]
test eax, eax
jns 0x5295f8
mov eax, dword [ebp - 4]
push 0x45
or edx, 0xffffffff
call fcn.004c6470
jmp 0x529673
cmp byte [ebp + 0xb], 0
push edi
je 0x529614
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
push edx
push 0x59
push eax
call fcn.004c6360
add esp, 0x14
jmp 0x529628
mov edx, dword [ebp - 0x48]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4 + 4]
push eax
push ebx
call fcn.00523de0
add esp, 0xc
mov eax, dword [ebp - 4]
push 0x33
call fcn.004c6420
mov esi, eax
mov eax, dword [ebp - 4]
push 0x45
or edx, 0xffffffff
call fcn.004c6470
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x6c]
add esp, 8
test esi, esi
jns 0x529651
lea esi, [ecx - 1]
mov edx, dword [eax]
cmp byte [edx + 0x51], 0
je 0x529660
mov edx, 0x596088
jmp 0x529669
lea edx, [esi + esi*4]
mov esi, dword [eax + 0x68]
lea edx, [esi + edx*4]
push 0xf
mov dword [edx + 8], ecx
call fcn.004c6420
mov esi, dword [ebp - 8]
movsx ecx, word [esi + 0x2c]
mov edx, dword [ebp - 0x3c]
add esp, 4
dec ecx
push ecx
lea eax, [edi + 1]
push eax
mov eax, dword [ebp - 4]
push edx
push 0x4d
push eax
call fcn.004c6360
add esp, 0x14
test byte [esi + 0x24], 0x60
je 0x5296aa
lea eax, [edi + 1]
push eax
push ebx
mov eax, esi
call fcn.0050c920
add esp, 8
cmp dword [ebp - 0x70], 0
jne 0x5296c2
mov ecx, dword [ebp - 4]
lea eax, [edi + 1]
push eax
push ecx
mov eax, esi
call fcn.004c9ca0
add esp, 8
mov edx, dword [ebp - 0x34]
movsx ecx, word [esi + 0x2a]
mov eax, dword [ebp + 0x18]
push edx
push eax
mov eax, dword [ebp - 0x58]
mov edx, edi
sub edx, ecx
dec edx
push edx
push esi
push 1
push 0
push 0x7d
push eax
push ebx
call fcn.0052a630
movsx eax, word [esi + 0x2a]
inc eax
add esp, 0x24
cmp eax, 1
jne 0x52970c
test edi, edi
je 0x529717
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x529717
movzx ecx, al
mov dword [ebx + ecx*4 + 0x94], edi
inc byte [ebx + 0x13]
jmp 0x529717
cmp eax, dword [ebx + 0x1c]
jle 0x529717
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], edi
cmp dword [ebp - 0x70], 0
jne 0x5299f8
mov edi, dword [ebp - 8]
cmp dword [edi + 0x38], 0
mov esi, dword [ebp - 4]
je 0x529741
mov edi, dword [ebp - 0x4c]
push 0x48
xor edx, edx
mov eax, esi
call fcn.004c6470
mov edi, dword [ebp - 8]
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
js 0x529814
cmp byte [ebp + 0xb], 0
je 0x529768
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
push edx
push eax
push ecx
push 0x59
push esi
call fcn.004c6360
add esp, 0x14
jmp 0x5297b1
cmp dword [ebp + 0x10], 0
jne 0x5297b1
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + edx*4 + 4]
cmp byte [eax], 0x77
jne 0x5297a3
cmp dword [edi + 0x38], 0
jne 0x5297a3
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
push ecx
push edx
push eax
push 0x78
push esi
call fcn.004c6360
add esp, 0x14
mov byte [ebp - 9], 1
jmp 0x529851
mov ecx, dword [ebp - 0x18]
push ecx
push eax
push ebx
call fcn.00523de0
add esp, 0xc
cmp dword [edi + 0x38], 0
mov eax, esi
jne 0x5297f3
mov edi, dword [ebp - 0x18]
push 0x33
call fcn.004c6420
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
push edx
mov edi, eax
mov eax, dword [ebp - 0x18]
push eax
push ecx
push 0x78
push esi
call fcn.004c6360
add esp, 0x18
mov eax, edi
mov edx, esi
call fcn.004c0a20
mov edi, dword [ebp - 0x18]
push 0xf
mov eax, esi
call fcn.004c6420
jmp 0x52984b
mov edi, dword [esi + 0x6c]
mov edx, dword [ebp - 0x18]
add edi, 2
push 0x32
call fcn.004c6470
mov edi, dword [ebp - 0x18]
add esp, 4
push 0xf
mov eax, esi
call fcn.004c6420
jmp 0x52984b
cmp dword [edi + 0x38], 0
jne 0x52983d
cmp byte [ebp - 0x1d], 0
jne 0x52983d
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x38]
push edx
push eax
push ecx
push 0x78
push esi
call fcn.004c6360
add esp, 0x14
mov byte [ebp - 9], 1
jmp 0x529851
mov edi, dword [ebp - 0x18]
push 0x48
xor edx, edx
mov eax, esi
call fcn.004c6470
mov edi, dword [ebp - 8]
add esp, 4
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
push ebx
call fcn.004c9db0
add esp, 4
test byte [edi + 0x24], 0x60
je 0x529875
mov edx, dword [ebp - 0x3c]
push edx
push ebx
mov eax, edi
call fcn.0050c920
add esp, 8
cmp dword [edi + 0x38], 0
je 0x529974
mov edi, dword [edi + 0x40]
mov dword [ebp - 0x30], edi
test edi, edi
je 0x52989e
mov eax, dword [ebp - 0x2c]
lea esp, [esp]
cmp dword [edi], eax
je 0x52989b
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x529890
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 8]
mov eax, ebx
call fcn.004c36f0
mov ecx, dword [esi + 0x6c]
mov eax, edi
movsx edx, word [eax + 0x2a]
add edx, 2
cmp dword [esi + 0x70], ecx
jg 0x5298cf
mov ecx, dword [ebp - 0x4c]
mov esi, dword [ebp - 4]
push ecx
push edx
push 1
push 0xa
call fcn.004c6320
add esp, 0x10
jmp 0x529900
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
mov esi, dword [esi + 0x68]
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*4]
mov esi, dword [ebp - 4]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x4c]
mov dword [eax + 4], 1
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov dword [eax], 0xa
mov eax, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
jne 0x529943
test eax, eax
jns 0x529910
mov eax, dword [esi + 0x6c]
dec eax
mov ecx, dword [ebp - 0x30]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
cmp byte [eax + edx*4 + 1], 0
lea eax, [eax + edx*4]
je 0x529935
push ecx
push eax
push esi
mov eax, 0xfffffff4
call fcn.004c0c30
add esp, 0xc
jmp 0x529943
test ecx, ecx
je 0x529943
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf4
inc dword [ecx + 0xc]
mov ecx, dword [ebp + 0x18]
cmp ecx, 0xb
jne 0x529950
mov ecx, 2
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x529962
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov word [eax + edx*4 - 0x12], cx
mov eax, dword [ebx + 0x74]
test eax, eax
jne 0x52996b
mov eax, ebx
mov byte [eax + 0x15], 1
jmp 0x5299f8
mov ecx, dword [ebp + 0x1c]
cmp dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 0x18]
push 0
lea edx, [ebp - 0x6c]
push edx
push eax
push ecx
mov ecx, dword [ebp - 0x4c]
setge dl
movzx eax, dl
mov edx, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x38]
push 0
push ecx
mov ecx, dword [ebp - 0x40]
push edx
push eax
push ecx
push edi
push ebx
call fcn.00526e20
mov edx, dword [ebp - 0x4c]
push 0
push 0
push edx
push 0
push edi
push ebx
call fcn.00518880
add esp, 0x4c
cmp dword [ebp - 0x6c], 0
je 0x5299d1
cmp dword [esi + 0xd8], 0
je 0x5299d1
xor eax, eax
jmp 0x5299d6
mov eax, 1
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x4c]
push eax
movzx eax, byte [ebp - 9]
push eax
mov eax, dword [ebp - 0x5c]
push 0
push ecx
mov ecx, dword [ebp - 0x38]
push edx
push eax
push ecx
push edi
push ebx
call fcn.004d4d00
add esp, 0x24
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 4]
xor edi, edi
cmp ecx, edi
je 0x529a41
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x529a1c
push edi
push 1
push ecx
push 0x52
call fcn.004c6320
add esp, 0x10
jmp 0x529a41
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 0x52
cmp dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x34]
je 0x529a72
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0x18]
movsx edx, word [ecx + 0x2a]
push edi
push eax
mov eax, dword [ebp - 0x3c]
sub eax, edx
sub eax, 2
push eax
mov eax, dword [ebp - 0x58]
push ecx
push 2
push 0
push 0x7d
push eax
push ebx
call fcn.0052a630
add esp, 0x24
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x3c]
add ecx, dword [eax + 0x38]
not edi
jns 0x529a90
mov esi, dword [ebp - 4]
push edi
push esi
mov edi, eax
call fcn.004c68c0
add esp, 8
jmp 0x529a9c
mov edx, dword [eax + 0x40]
mov eax, dword [esi + 0x6c]
mov esi, dword [ebp - 4]
mov dword [edx + edi*4], eax
cmp byte [ebp + 0xb], 0
je 0x529b5e
mov eax, dword [esi + 0x6c]
mov edi, dword [ebp - 0x24]
cmp dword [esi + 0x70], eax
jg 0x529ac7
mov ecx, dword [ebp - 0x54]
mov esi, dword [ebp - 4]
push 0
push ecx
push edi
push 5
call fcn.004c6320
add esp, 0x10
jmp 0x529af8
mov ecx, dword [esi + 0x68]
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov esi, dword [ebp - 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [ebp - 0x54]
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 5
mov eax, dword [ebp - 0x64]
mov ecx, dword [esi + 0x6c]
test eax, eax
jns 0x529b05
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x51], 0
je 0x529b14
mov eax, 0x596088
jmp 0x529b1d
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x529b39
push 0
push 0
push edi
push 0x74
call fcn.004c6320
add esp, 0x10
jmp 0x529b96
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x74
jmp 0x529b93
cmp dword [ebp + 0x10], 0
je 0x529b96
mov edi, dword [ebp - 0x54]
mov eax, esi
call fcn.004c64c0
mov eax, dword [ebp - 0x64]
mov ecx, dword [esi + 0x6c]
test eax, eax
jns 0x529b7b
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x51], 0
je 0x529b8a
mov eax, 0x596088
jmp 0x529b93
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
cmp byte [ebx + 0x12], 0
jne 0x529bb1
cmp dword [ebx + 0x78], 0
jne 0x529bb1
cmp dword [ebx + 0x70], 0
je 0x529bb1
push ebx
call fcn.004f4d90
add esp, 4
cmp dword [ebp - 0x50], 0
je 0x529cb1
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x6c]
mov esi, ecx
cmp dword [ecx + 0x70], eax
jg 0x529bdc
mov eax, dword [ebp - 0x50]
push 0
push 1
push eax
push 0x50
call fcn.004c6320
add esp, 0x10
jmp 0x529c06
lea edx, [eax + 1]
mov dword [ecx + 0x6c], edx
mov ecx, dword [ecx + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x50
push 1
mov eax, esi
call fcn.004c0e50
mov edx, dword [esi]
add esp, 4
cmp byte [edx + 0x51], 0
jne 0x529cb1
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x74]
mov ecx, 0x2400
mov edi, 0x202
test word [esi + 8], cx
jne 0x529c3a
cmp dword [esi + 0x18], 0
je 0x529c41
mov eax, esi
call fcn.004b3ab0
xor edx, edx
mov ecx, str.rows_inserted
mov dword [esi + 0x10], ecx
cmp edx, 0x4ae0d0
jne 0x529c9a
mov eax, dword [esi + 0x20]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x529c8b
cmp dword [eax + 0x14c], ecx
jbe 0x529c8b
cmp dword [eax + 0x144], ecx
ja 0x529c77
mov eax, 0x80
mov dword [esi + 0x18], eax
jmp 0x529ca2
cmp dword [eax + 0x148], ecx
ja 0x529c8b
movzx eax, word [eax + 0x11e]
mov dword [esi + 0x18], eax
jmp 0x529ca2
push ecx
call dword [0x58e7cc]
add esp, 4
mov dword [esi + 0x18], eax
jmp 0x529ca2
mov dword [esi + 0x24], edx
mov edi, 0xa02
mov dword [esi + 0xc], 0xd
mov word [esi + 8], di
mov byte [esi + 0xa], 1
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c]
push eax
mov eax, edi
call fcn.004b80f0
mov eax, dword [ebp - 0x48]
add esp, 4
test eax, eax
je 0x529cd3
push eax
push edi
call fcn.004c8500
add esp, 8
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x529d26
mov eax, dword [esi]
test eax, eax
je 0x529cea
push eax
push edi
call fcn.004c8500
add esp, 8
mov eax, dword [esi + 4]
test eax, eax
je 0x529cfb
push eax
push edi
call fcn.004c8350
add esp, 8
mov eax, dword [esi + 8]
test eax, eax
je 0x529d0c
push eax
push edi
call fcn.004c8500
add esp, 8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x529d1d
push eax
push edi
call fcn.004c8350
add esp, 8
mov eax, esi
mov ecx, edi
call fcn.004ae210
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x529d39
push 1
push eax
push edi
call fcn.004c3490
add esp, 0xc
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp - 0x2c]
call fcn.004b7ef0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x529db1
test esi, esi
je 0x529da8
cmp dword [esi + 0x1f8], 0
je 0x529d66
mov ecx, esi
call fcn.004ae1b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [esi + 0x14c]
jae 0x529da8
cmp eax, dword [esi + 0x144]
jb 0x529d8b
mov ecx, dword [esi + 0x140]
pop edi
mov dword [eax], ecx
mov dword [esi + 0x140], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [esi + 0x148]
jb 0x529da8
mov edx, dword [esi + 0x138]
pop edi
mov dword [eax], edx
mov dword [esi + 0x138], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.004ae140
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret