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

Disassembly:
sub esp, 0x9c
push ebx
mov ebx, dword [esp + 0xa4]
xor eax, eax
push esi
push edi
lea edi, [esp + 0x70]
xor edx, edx
mov esi, dword [ebx]
or ecx, 0xffffffff
stosd dword es:[edi], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], ecx
stosd dword es:[edi], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x58], edx
stosd dword es:[edi], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x1c], esi
stosd dword es:[edi], eax
cmp dword [ebx + 0x40], edx
jne 0x498c5a
cmp byte [esi + 0x1e], dl
jne 0x498c5a
mov eax, dword [esp + 0xb0]
cmp dword [eax + 0xc], edx
je 0x498c5a
push ebp
push eax
push ebx
call fcn.004a0531
mov ebp, eax
mov dword [esp + 0x78], ebp
pop ecx
pop ecx
test ebp, ebp
je 0x498c59
push dword [ebp + 0x44]
push esi
call fcn.0049eb74
mov esi, eax
xor edi, edi
mov eax, dword [esp + 0x28]
mov ecx, esi
add ecx, ecx
mov eax, dword [eax + 8]
push dword [eax + ecx*8]
push edi
push dword [ebp]
push 0x12
push ebx
call fcn.0048d627
add esp, 0x1c
test eax, eax
jne 0x498c59
lea eax, [esp + 0x18]
push eax
push edi
push 0x69
push ebp
push ebx
call fcn.004a1088
mov dword [esp + 0x74], eax
xor eax, eax
cmp dword [ebp + 0x1c], edi
push ebp
setne al
push ebx
mov dword [esp + 0x6c], eax
call fcn.004ab0da
add esp, 0x1c
test eax, eax
jne 0x498c59
push dword [esp + 0x18]
push ebp
push ebx
call fcn.00498d09
add esp, 0xc
test eax, eax
jne 0x498c59
push ebx
call fcn.0049753d
mov edi, eax
mov dword [esp + 0x3c], edi
pop ecx
test edi, edi
je 0x498c59
cmp byte [ebx + 0x13], 0
jne 0x49808a
mov byte [edi + 0x62], 1
cmp dword [esp + 0xbc], 0
jne 0x49809f
cmp dword [esp + 0x60], 0
jne 0x49809f
xor eax, eax
jmp 0x4980a2
xor eax, eax
inc eax
push esi
push eax
push ebx
call fcn.0048df88
add esp, 0xc
cmp dword [esp + 0xc0], 0
jne 0x4980d8
push esi
push dword [esp + 0xc8]
push dword [esp + 0xc4]
push ebp
push ebx
call fcn.004b131c
add esp, 0x14
test eax, eax
jne 0x498bfe
push ebp
push esi
push ebx
call fcn.004785eb
add esp, 0xc
mov dword [esp + 0x2c], eax
cmp dword [esp + 0xbc], 0
je 0x4982cd
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
push eax
push 0
push 7
push edi
mov dword [esp + 0x2c], eax
call fcn.004a2f7a
mov eax, dword [ebx + 0x48]
xor ecx, ecx
inc eax
mov dword [esp + 0x8c], ecx
mov dword [ebx + 0x48], eax
mov dword [esp + 0x90], ecx
mov ecx, dword [edi + 0x1c]
add ecx, 2
mov dword [esp + 0x88], eax
push eax
mov word [esp + 0x88], 0xa
mov dword [esp + 0x58], ecx
lea eax, [ecx - 1]
push eax
push 7
push edi
call fcn.004a2f7a
xor eax, eax
push eax
push eax
push eax
push 1
push edi
call fcn.004a2f95
mov dword [esp + 0x74], eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0xf4]
push ebx
call fcn.0049ed09
add esp, 0x40
test eax, eax
jne 0x498c59
cmp dword [ebx + 0x40], eax
jne 0x498c59
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x1e], 0
jne 0x498c59
push dword [esp + 0x1c]
push 1
push 7
push edi
call fcn.004a2f7a
push dword [esp + 0x88]
push 4
push edi
call fcn.004a2f61
push 0
push 2
pop eax
push eax
push eax
push 6
push edi
call fcn.004a2f95
push dword [esp + 0x70]
push edi
call fcn.004a8f90
mov eax, dword [esp + 0xb4]
add esp, 0x38
cmp dword [esp + 0x60], 0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xbc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jne 0x498202
push ebp
push esi
push dword [esp + 0x4c]
push ebx
call fcn.00489ad4
add esp, 0x10
test eax, eax
je 0x498336
mov edx, dword [ebx + 0x44]
push ebx
mov dword [esp + 0x34], 1
mov dword [esp + 0x18], edx
lea eax, [edx + 1]
mov dword [ebx + 0x44], eax
call fcn.00496d46
push dword [esp + 0xb4]
mov ebx, eax
call fcn.00496d46
push dword [esp + 0x30]
mov ebp, eax
push edx
push 0x2a
push edi
call fcn.004a2f7a
push dword [esp + 0x90]
push 4
push edi
call fcn.004a2f61
push dword [esp + 0x40]
mov esi, eax
push 0x1b
push edi
call fcn.004a2f61
push ebx
push dword [esp + 0x5c]
mov edi, eax
push dword [esp + 0x84]
push 0x1f
push dword [esp + 0x78]
call fcn.004a2f95
add esp, 0x44
push ebp
push dword [esp + 0x18]
push 0x38
push dword [esp + 0x44]
call fcn.004a2f7a
push ebp
push ebx
push dword [esp + 0x2c]
push 0x39
push dword [esp + 0x58]
call fcn.004a2f95
push esi
push 0
push 1
push dword [esp + 0x68]
call fcn.004a2f7a
push edi
mov edi, dword [esp + 0x70]
push edi
call fcn.004a8f90
push ebx
mov ebx, dword [esp + 0xf0]
push ebx
call fcn.0049dd33
add esp, 0x44
push ebp
push ebx
call fcn.0049dd33
mov ebp, dword [esp + 0x78]
pop ecx
pop ecx
jmp 0x498336
or dword [esp + 0x14], 0xffffffff
lea edi, [esp + 0x88]
push 9
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x88], ebx
test ecx, ecx
je 0x4982f6
mov eax, dword [ecx]
jmp 0x4982f8
xor eax, eax
xor edi, edi
mov dword [esp + 0x28], eax
test eax, eax
jle 0x498332
xor esi, esi
mov eax, dword [ecx + 0xc]
push dword [eax + esi]
lea eax, [esp + 0x8c]
push eax
call fcn.0049deb3
pop ecx
pop ecx
test eax, eax
jne 0x498c59
mov ecx, dword [esp + 0xb8]
inc edi
add esi, 0x14
cmp edi, dword [esp + 0x28]
jl 0x498304
mov edi, dword [esp + 0x38]
test byte [ebp + 0x22], 0x10
mov esi, dword [esp + 0x10]
je 0x49835c
mov edx, dword [ebp + 8]
test edx, edx
jle 0x49835c
mov ecx, dword [ebp + 0xc]
add ecx, 0x17
xor eax, eax
cmp byte [ecx], al
lea ecx, [ecx + 0x18]
setne al
add esi, eax
dec edx
jne 0x49834d
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x28]
test edx, edx
jne 0x498443
test ecx, ecx
je 0x4983a4
mov eax, dword [ebp + 8]
sub eax, esi
cmp ecx, eax
je 0x498399
push ecx
push eax
push edx
push dword [esp + 0xc0]
push str.table__S_has__d_columns_but__d_values_were_supplied
push ebx
call fcn.00492feb
add esp, 0x18
jmp 0x498c59
test ecx, ecx
jle 0x4983a4
mov ecx, dword [ebp + 4]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x20]
test dword [eax + 0xc], 0x1000
je 0x4983c9
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
push eax
push 0
push 7
push edi
mov dword [esp + 0x74], eax
call fcn.004a2f7a
add esp, 0x10
cmp dword [esp + 0x50], 0
jne 0x498419
mov eax, dword [ebx + 0x44]
push 0x28
push eax
push ebp
push ebx
mov dword [esp + 0x34], eax
call fcn.00499a55
mov esi, eax
lea eax, [esi*4 + 4]
push eax
push dword [esp + 0x34]
call fcn.00491dff
mov edx, eax
add esp, 0x18
mov dword [esp + 0x58], edx
test edx, edx
je 0x498c59
xor ecx, ecx
test esi, esi
jle 0x498419
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, esi
jl 0x49840b
cmp dword [esp + 0x30], 0
je 0x498540
push dword [esp + 0x14]
push 0x48
push edi
call fcn.004a2f61
mov dword [esp + 0x68], eax
add esp, 0xc
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x48], eax
jmp 0x49856d
mov eax, dword [edx + 4]
cmp ecx, eax
je 0x49845f
push eax
push ecx
push str._d_values_for__d_columns
push ebx
call fcn.00492feb
add esp, 0x10
jmp 0x498c59
xor ecx, ecx
test eax, eax
jle 0x498472
mov eax, dword [edx]
or dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
cmp ecx, dword [edx + 4]
jl 0x498465
xor esi, esi
cmp dword [edx + 4], esi
jle 0x4983a4
xor eax, eax
mov dword [esp + 0x10], eax
cmp eax, dword [ebp + 8]
jge 0x4984eb
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + esi*8]
mov dword [esp + 0x40], edx
push dword [ecx]
push edx
call fcn.004a0c89
pop ecx
test eax, eax
mov eax, dword [esp + 0x14]
pop ecx
je 0x4984c9
mov ecx, dword [esp + 0x3c]
inc eax
mov edx, dword [esp + 0x40]
add ecx, 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], ecx
cmp eax, dword [ebp + 8]
jl 0x49849c
jmp 0x4984df
mov ecx, dword [esp + 0x44]
mov dword [ecx + esi*8 + 4], eax
mov ecx, dword [esp + 0x34]
cmp eax, dword [ebp + 4]
cmove ecx, esi
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xc0]
cmp eax, dword [ebp + 8]
jl 0x498505
mov eax, dword [edx]
push dword [eax + esi*8]
call fcn.00498d76
pop ecx
test eax, eax
je 0x498514
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x34], esi
inc esi
cmp esi, dword [edx + 4]
jl 0x49847d
jmp 0x4983a4
mov eax, dword [esp + 0xc0]
mov eax, dword [eax]
push dword [eax + esi*8]
push 0
push dword [esp + 0xbc]
push str.table__S_has_no_column_named__s
push ebx
call fcn.00492feb
add esp, 0x14
mov byte [ebx + 0x12], 1
jmp 0x498c59
cmp dword [esp + 0xbc], 0
je 0x49856d
push dword [esp + 0x78]
push 4
push edi
call fcn.004a2f61
push dword [esp + 0x28]
mov dword [esp + 0x58], eax
push 0x1b
push edi
call fcn.004a2f61
add esp, 0x18
mov dword [esp + 0x5c], eax
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebp + 8]
inc eax
add eax, ecx
lea edx, [ecx + 1]
mov dword [ebx + 0x48], eax
test byte [ebp + 0x22], 0x10
mov esi, edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x54], esi
je 0x498597
lea esi, [edx + 1]
inc eax
mov dword [esp + 0x54], esi
mov dword [ebx + 0x48], eax
lea eax, [esi + 1]
push edi
mov dword [esp + 0x44], eax
call fcn.004a92f5
test byte [esp + 0x1c], 1
pop ecx
mov dword [esp + 0x10], eax
je 0x4987bb
mov ecx, dword [ebp + 8]
inc ecx
push ecx
push ebx
call fcn.00496d15
pop ecx
mov esi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], esi
pop ecx
push esi
test eax, eax
jns 0x4985df
push 0xffffffffffffffff
push 7
push edi
call fcn.004a2f7a
add esp, 0x10
jmp 0x498642
cmp dword [esp + 0x34], 0
je 0x4985f8
push eax
push dword [esp + 0x1c]
push 0x1d
push edi
call fcn.004a2f95
add esp, 0x14
jmp 0x498611
imul ecx, eax, 0x14
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 0xc]
push dword [ecx + eax]
push ebx
call fcn.004935e5
add esp, 0xc
push esi
push 0x4a
push edi
call fcn.004a2f61
mov esi, eax
mov eax, dword [esp + 0x28]
push eax
push 0xffffffffffffffff
push 7
push edi
call fcn.004a2f7a
push esi
push edi
call fcn.004a8f90
mov esi, dword [esp + 0x40]
push esi
push 0x15
push edi
call fcn.004a2f61
add esp, 0x30
xor edx, edx
mov dword [esp + 0x44], edx
cmp dword [ebp + 8], edx
jle 0x498762
and dword [esp + 0x18], edx
mov eax, dword [esp + 0xc0]
test eax, eax
jne 0x498664
mov ecx, edx
jmp 0x498692
xor ecx, ecx
cmp dword [eax + 4], ecx
jle 0x498692
mov eax, dword [eax]
mov ebx, dword [esp + 0xc0]
add eax, 4
cmp dword [eax], edx
je 0x498684
inc ecx
add eax, 8
cmp ecx, dword [ebx + 4]
jl 0x498677
mov ebx, dword [esp + 0xb0]
mov eax, dword [esp + 0xc0]
cmp dword [esp + 0x30], 0
jne 0x4986a3
cmp dword [esp + 0xb8], 0
je 0x4986ac
test eax, eax
je 0x4986cb
cmp ecx, dword [eax + 4]
jl 0x4986cb
mov ecx, dword [esp + 0x18]
lea eax, [edx + 1]
add eax, esi
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + ecx + 4]
push ebx
call fcn.004935e5
add esp, 0xc
jmp 0x49874b
cmp dword [esp + 0x30], 0
je 0x4986ea
lea eax, [edx + 1]
add eax, esi
push eax
push ecx
push dword [esp + 0x1c]
push 0x1d
push edi
call fcn.004a2f95
add esp, 0x14
jmp 0x49874b
mov eax, dword [esp + 0xb8]
imul ecx, ecx, 0x14
mov eax, dword [eax + 0xc]
mov esi, dword [ecx + eax]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x68], esi
add eax, edx
push eax
push esi
push ebx
call fcn.004935e5
add esp, 0xc
cmp byte [esi], 0x84
je 0x498747
inc dword [ebx + 0x48]
mov esi, dword [ebx + 0x48]
push esi
push eax
push 0xe
push dword [esp + 0x90]
call fcn.004a2f7a
mov ecx, dword [esp + 0x78]
add esp, 0x10
mov al, byte [ecx]
mov dword [ecx + 0x18], esi
mov byte [ecx + 0x23], al
mov byte [ecx], 0x84
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
add dword [esp + 0x18], 0x18
inc edx
mov dword [esp + 0x44], edx
cmp edx, dword [ebp + 8]
jl 0x498655
cmp dword [esp + 0x50], 0
jne 0x498782
push dword [ebp + 8]
lea eax, [esi + 1]
push eax
push 0x1e
push edi
call fcn.004a2f7a
push ebp
push edi
call fcn.004a0d39
add esp, 0x18
push dword [esp + 0x10]
mov eax, esi
push dword [esp + 0xc8]
sub eax, dword [ebp + 8]
dec eax
push eax
push ebp
push 1
push 0
push 0x69
push dword [esp + 0x7c]
push ebx
call fcn.004907b2
mov eax, dword [ebp + 8]
inc eax
push eax
push esi
push ebx
call fcn.0049dd0a
mov esi, dword [esp + 0x84]
add esp, 0x30
cmp dword [esp + 0x50], 0
jne 0x498b11
test byte [ebp + 0x22], 0x10
je 0x4987dd
push dword [esp + 0x3c]
push 0
push 0xa
push edi
call fcn.004a2f7a
add esp, 0x10
mov eax, dword [esp + 0x34]
test eax, eax
js 0x4988c3
cmp dword [esp + 0x30], 0
push esi
je 0x49883c
push eax
push dword [esp + 0x1c]
push 0x1d
push edi
call fcn.004a2f95
add esp, 0x14
test byte [ebp + 0x22], 0x10
jne 0x4988a2
push esi
push 0x4a
push edi
call fcn.004a2f61
mov ecx, dword [esp + 0x38]
mov esi, eax
push ecx
push dword [esp + 0x64]
mov ecx, dword [esp + 0x38]
push ecx
push 0x38
push edi
call fcn.004a2f95
push esi
push edi
call fcn.004a8f90
mov esi, dword [esp + 0x7c]
add esp, 0x28
jmp 0x4988b5
cmp dword [esp + 0xc0], 0
je 0x498858
add eax, dword [esp + 0x50]
push eax
push 0xf
push edi
call fcn.004a2f7a
add esp, 0x10
jmp 0x498801
imul ecx, eax, 0x14
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 0xc]
push dword [ecx + eax]
push ebx
call fcn.004935e5
push 0xffffffffffffffff
push edi
call fcn.004a8a7d
add esp, 0x14
test eax, eax
je 0x498801
cmp byte [eax], 0xa
jne 0x498801
test byte [ebp + 0x22], 0x10
jne 0x4988a2
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x38
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
jmp 0x4988ef
mov eax, dword [edi + 0x1c]
add eax, 2
push eax
push esi
push 0x49
push edi
call fcn.004a2f7a
add esp, 0x10
push esi
push 0x15
push edi
call fcn.004a2f61
add esp, 0xc
jmp 0x4988f7
test byte [ebp + 0x22], 0x10
je 0x4988d9
push esi
push 0
push 0xa
push edi
call fcn.004a2f7a
add esp, 0x10
jmp 0x4988f7
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x28]
push esi
push ecx
push 0x38
push edi
call fcn.004a2f95
add esp, 0x14
mov dword [esp + 0x6c], 1
push esi
push dword [esp + 0x30]
push ebx
call fcn.0047865f
and dword [esp + 0x24], 0
xor esi, esi
add esp, 0xc
cmp dword [ebp + 8], esi
jle 0x498974
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x40]
add edx, esi
cmp esi, dword [ebp + 4]
jne 0x498932
push edx
push 0
push 0xa
push edi
call fcn.004a2f7a
add esp, 0x10
jmp 0x498963
cmp dword [esp + 0xc0], 0
jne 0x4989ec
mov eax, dword [ebp + 0xc]
cmp byte [eax + ecx + 0x17], 0
je 0x4989e4
inc dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
push edx
push dword [eax + ecx + 4]
push ebx
call fcn.004935e5
add esp, 0xc
mov ecx, dword [esp + 0x2c]
inc esi
add ecx, 0x18
mov dword [esp + 0x2c], ecx
cmp esi, dword [ebp + 8]
jl 0x498917
test byte [ebp + 0x22], 0x10
je 0x498aa9
push ebp
push dword [esp + 0x24]
call fcn.00497329
push ebp
push ebx
mov esi, eax
call fcn.004ab62f
mov eax, dword [ebp + 8]
push 0xfffffffffffffff6
push esi
push dword [esp + 0x54]
push 2
pop esi
add eax, esi
push eax
push 1
push 0x8c
push edi
call fcn.004a2fe6
mov ecx, dword [esp + 0xf0]
cmp ecx, 0x63
movzx eax, cl
cmove eax, esi
movzx eax, al
push eax
push edi
call fcn.004a333d
mov eax, dword [ebx + 0x1a8]
add esp, 0x34
test eax, eax
mov ecx, ebx
cmovne ecx, eax
mov byte [ecx + 0x159], 1
jmp 0x498b11
mov eax, esi
sub eax, dword [esp + 0x18]
jmp 0x498a29
mov ebx, dword [esp + 0xc0]
xor eax, eax
cmp dword [ebx + 4], eax
mov ebx, dword [esp + 0xb0]
jle 0x498a31
mov ecx, dword [esp + 0xc0]
mov ebp, dword [esp + 0xc0]
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], esi
je 0x498a21
inc eax
add ecx, 8
cmp eax, dword [ebp + 4]
jl 0x498a14
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
test eax, eax
js 0x498952
cmp dword [esp + 0x28], 0
je 0x498952
cmp dword [esp + 0xc0], 0
mov edi, dword [esp + 0x38]
je 0x498a61
mov ebx, dword [esp + 0xc0]
cmp eax, dword [ebx + 4]
mov ebx, dword [esp + 0xb0]
jge 0x498952
cmp dword [esp + 0x30], 0
push edx
je 0x498a7e
push eax
push dword [esp + 0x1c]
push 0x1d
push edi
call fcn.004a2f95
add esp, 0x14
jmp 0x498963
cmp dword [esp + 0xc0], 0
je 0x498a94
add eax, dword [esp + 0x50]
push eax
push 0xf
jmp 0x498927
imul ecx, eax, 0x14
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 0xc]
push dword [ecx + eax]
jmp 0x49895a
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x68]
mov esi, dword [esp + 0x3c]
push eax
push dword [esp + 0x14]
xor eax, eax
test ecx, ecx
push dword [esp + 0xcc]
setns al
push 0
push eax
push dword [esp + 0x6c]
push esi
push dword [esp + 0x40]
push ebp
push ebx
call fcn.00496278
push esi
push 0
push ebp
push ebx
call fcn.00495b71
xor eax, eax
cmp dword [esp + 0xa0], eax
sete al
push eax
push dword [esp + 0xa8]
push 0
push dword [esp + 0x9c]
push esi
push dword [esp + 0x70]
push ebp
push ebx
call fcn.00490e24
add esp, 0x58
mov esi, dword [esp + 0x20]
test dword [esi + 0xc], 0x1000
je 0x498b2f
push 1
push dword [esp + 0x68]
push 0x14
push edi
call fcn.004a2f7a
add esp, 0x10
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x498b5f
push dword [esp + 0x10]
mov eax, dword [esp + 0x44]
push dword [esp + 0xc8]
sub eax, dword [ebp + 8]
push 2
pop edx
sub eax, edx
push eax
push ebp
push edx
push 0
push 0x69
push ecx
push ebx
call fcn.004907b2
add esp, 0x24
push dword [esp + 0x10]
push edi
call fcn.004aa6f5
cmp dword [esp + 0x38], 0
pop ecx
pop ecx
je 0x498b9d
push dword [esp + 0x48]
push dword [esp + 0x18]
push 0x5f
push edi
call fcn.004a2f7a
push dword [esp + 0x6c]
push edi
call fcn.004a8f90
push dword [esp + 0x2c]
push 0x2d
push edi
call fcn.004a2f61
add esp, 0x24
jmp 0x498bc2
cmp dword [esp + 0xbc], 0
je 0x498bc2
push dword [esp + 0x48]
push 0
push 1
push edi
call fcn.004a2f7a
push dword [esp + 0x6c]
push edi
call fcn.004a8f90
add esp, 0x18
test byte [ebp + 0x22], 0x10
jne 0x498c02
cmp dword [esp + 0x50], 0
jne 0x498c02
push dword [esp + 0x24]
push 0x2d
push edi
call fcn.004a2f61
mov esi, dword [ebp + 0x10]
add esp, 0xc
test esi, esi
je 0x498bfe
mov ebp, dword [esp + 0x24]
inc ebp
push ebp
push 0x2d
push edi
call fcn.004a2f61
mov esi, dword [esi + 0x20]
add esp, 0xc
inc ebp
test esi, esi
jne 0x498bea
mov esi, dword [esp + 0x20]
cmp byte [ebx + 0x13], 0
jne 0x498c18
cmp dword [ebx + 0x1ac], 0
jne 0x498c18
push ebx
call fcn.0048d9a0
pop ecx
test dword [esi + 0xc], 0x1000
je 0x498c59
cmp byte [ebx + 0x13], 0
jne 0x498c59
cmp dword [ebx + 0x1ac], 0
jne 0x498c59
push 1
push dword [esp + 0x68]
push 0x10
push edi
call fcn.004a2f7a
push 1
push edi
call fcn.004aab11
xor eax, eax
push eax
push str.rows_inserted
push eax
push eax
push edi
call fcn.004aaad8
add esp, 0x2c
pop ebp
push dword [esp + 0xb0]
mov ebx, dword [esp + 0x20]
push ebx
call fcn.004a022d
push dword [esp + 0xbc]
push ebx
call fcn.00494d3f
push dword [esp + 0xc8]
push ebx
call fcn.0049fe14
push dword [esp + 0xd4]
push ebx
call fcn.004977ef
push dword [esp + 0x74]
push ebx
call fcn.00491da8
add esp, 0x28
pop edi
pop esi
pop ebx
add esp, 0x9c
ret