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

Disassembly:
sub esp, 0x8c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x9c]
xor edx, edx
xor eax, eax
mov ecx, dword [esi]
mov dword [esp + 0x68], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x6c], edx
cmp ecx, eax
mov dword [esp + 0x70], edx
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x78], edx
jne 0x4795ab
mov eax, dword [esp + 0x30]
mov cl, byte [eax + 0x38]
test cl, cl
jne 0x4795ab
mov ecx, dword [esp + 0xa4]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4795ab
mov edx, ecx
push edx
push esi
call fcn.00476820
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4795ab
mov eax, dword [ebx + 0x40]
mov ebp, dword [esp + 0x30]
push eax
push ebp
call fcn.00466870
mov edx, dword [ebp + 0x10]
mov edi, eax
mov ecx, edi
shl ecx, 4
mov eax, dword [ecx + edx]
push eax
mov eax, dword [ebx]
push 0
push eax
push 0x12
push esi
call fcn.004726d0
add esp, 0x1c
test eax, eax
jne 0x4795ab
lea ecx, [esp + 0x68]
push ecx
push eax
push 0x69
push ebx
push esi
call fcn.00482f70
mov ecx, dword [ebx + 0xc]
xor edx, edx
test ecx, ecx
setne dl
push ebx
push esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x70], edx
call fcn.004741b0
add esp, 0x1c
test eax, eax
jne 0x4795ab
mov eax, dword [esp + 0x68]
push eax
push ebx
push esi
call fcn.00476d20
add esp, 0xc
test eax, eax
jne 0x4795ab
push esi
call fcn.0047d410
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4795ab
mov al, byte [esi + 0x12]
test al, al
jne 0x478a32
push ebp
call fcn.00476cd0
add esp, 4
mov eax, dword [esp + 0xac]
test eax, eax
jne 0x478a49
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x478a49
xor eax, eax
jmp 0x478a4e
mov eax, 1
push edi
push eax
push esi
call fcn.00475f00
mov eax, dword [esp + 0xbc]
add esp, 0xc
test eax, eax
jne 0x478a87
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xac]
push edi
push ecx
push edx
push ebx
push esi
call fcn.0047a230
add esp, 0x14
test eax, eax
jne 0x47954b
push ebx
push edi
push esi
call fcn.004797c0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xb8]
add esp, 0xc
test eax, eax
je 0x478bc7
lea ecx, [esp + 0x6c]
push ecx
push eax
push esi
call fcn.00479870
add esp, 0xc
test eax, eax
jne 0x4795ab
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x74]
inc edx
mov dword [esp + 0x18], edx
mov edx, dword [ecx]
mov dword [esp + 0x5c], eax
mov eax, dword [edx]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x478af9
push ebx
push edi
push 0
push esi
call fcn.00479700
add esp, 0x10
test eax, eax
je 0x478c3a
mov eax, dword [esi + 0x48]
push esi
mov dword [esp + 0x20], eax
inc eax
mov dword [esp + 0x38], 1
mov dword [esi + 0x48], eax
call fcn.0046cd70
push esi
mov edi, eax
call fcn.0046cd70
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push ecx
push edx
push 0x2a
push ebp
mov dword [esp + 0x2c], eax
call fcn.0046cd30
mov eax, dword [esp + 0x88]
push eax
push 4
push ebp
call fcn.0046d7c0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
push ecx
push 0x1b
push ebp
call fcn.0046d7c0
mov edx, dword [esp + 0x58]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x8c]
push edi
push edx
push eax
push 0x1f
push ebp
call fcn.0046c390
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
add esp, 0x44
push ecx
push edx
push 0x38
push ebp
call fcn.0046cd30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push eax
push edi
push ecx
push 0x39
push ebp
call fcn.0046c390
mov edx, dword [esp + 0x7c]
push edx
push 0
push 1
push ebp
call fcn.0046cd30
mov eax, dword [esp + 0x7c]
push eax
push ebp
call fcn.0046cd50
push edi
push esi
call fcn.0046cda0
mov ecx, dword [esp + 0x58]
add esp, 0x44
push ecx
push esi
call fcn.0046cda0
add esp, 8
jmp 0x478c3a
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x7c]
mov dword [esp + 0x1c], 0xffffffff
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xa8]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x7c], esi
je 0x478bf1
mov eax, dword [eax]
jmp 0x478bf3
xor eax, eax
cmp eax, edi
mov dword [esp + 0x28], eax
jle 0x478c3a
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 8]
mov edx, dword [ecx + eax]
lea eax, [esp + 0x7c]
push edx
push eax
call fcn.004703f0
add esp, 8
test eax, eax
jne 0x4795ab
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
inc edi
add ecx, 0x14
cmp edi, eax
mov dword [esp + 0x14], ecx
jl 0x478bff
test byte [ebx + 0x2a], 0x10
je 0x478c65
movsx edi, word [ebx + 0x26]
test edi, edi
jle 0x478c65
mov eax, dword [ebx + 4]
add eax, 0x16
mov cl, byte [eax]
mov edx, dword [esp + 0x24]
shr ecx, 1
and ecx, 1
add eax, 0x18
add edx, ecx
dec edi
mov dword [esp + 0x24], edx
jne 0x478c4e
mov ecx, dword [esp + 0xb0]
test ecx, ecx
jne 0x478cad
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x478dda
movsx eax, word [ebx + 0x26]
sub eax, dword [esp + 0x24]
cmp ecx, eax
je 0x478dce
mov edx, ecx
push edx
push eax
mov eax, dword [esp + 0xac]
push 0
push eax
push str.table__S_has__d_columns_but__d_values_were_supplied
push esi
call fcn.004603a0
add esp, 0x18
jmp 0x4795ab
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x28]
cmp eax, edx
je 0x478ccf
mov ecx, eax
push edx
push ecx
push str._d_values_for__d_columns
push esi
call fcn.004603a0
add esp, 0x10
jmp 0x4795ab
xor eax, eax
test edx, edx
jle 0x478ce6
or edx, 0xffffffff
mov edi, dword [ecx]
inc eax
mov dword [edi + eax*8 - 4], edx
mov edi, dword [ecx + 4]
cmp eax, edi
jl 0x478cd8
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x478dda
xor edi, edi
cmp word [ebx + 0x26], di
jle 0x478d60
mov dword [esp + 0x14], edi
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + edx]
mov edx, dword [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [edx]
mov edx, dword [eax + ecx*8]
push edx
call fcn.00441850
add esp, 8
test eax, eax
je 0x478d43
movsx eax, word [ebx + 0x26]
mov edx, dword [esp + 0x14]
inc edi
add edx, 0x18
cmp edi, eax
mov dword [esp + 0x14], edx
jl 0x478d05
jmp 0x478d60
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [edx + eax*8 + 4], edi
movsx ecx, word [ebx + 0x24]
cmp edi, ecx
jne 0x478d60
mov dword [esp + 0x20], eax
movsx edx, word [ebx + 0x26]
cmp edi, edx
mov edi, dword [esp + 0xb0]
jl 0x478d8d
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx*8]
push edx
call fcn.004721a0
add esp, 4
test eax, eax
je 0x478da3
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 4]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x478cf9
jmp 0x478dda
mov ecx, dword [edi]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx*8]
mov ecx, dword [esp + 0xa4]
push eax
push 0
push ecx
push str.table__S_has_no_column_named__s
push esi
call fcn.004603a0
add esp, 0x14
mov byte [esi + 0x11], 1
jmp 0x4795ab
test ecx, ecx
jle 0x478dda
movsx edx, word [ebx + 0x24]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x30]
test byte [eax + 0x18], 0x10
je 0x478dff
mov edx, dword [esi + 0x4c]
inc edx
mov eax, edx
mov dword [esi + 0x4c], edx
push eax
push 0
push 7
push ebp
mov dword [esp + 0x74], eax
call fcn.0046cd30
add esp, 0x10
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x478e4f
mov eax, dword [esi + 0x48]
push 0x28
push eax
push ebx
push esi
mov dword [esp + 0x48], eax
call fcn.0047a180
mov edx, dword [esp + 0x40]
mov edi, eax
lea ecx, [edi*4 + 4]
push ecx
push edx
call fcn.00440390
add esp, 0x18
mov dword [esp + 0x40], eax
test eax, eax
je 0x4795ab
test edi, edi
jle 0x478e4f
mov ecx, dword [esi + 0x4c]
add eax, 4
inc ecx
dec edi
mov dword [esi + 0x4c], ecx
mov dword [eax - 4], ecx
jne 0x478e3f
mov eax, dword [esp + 0x34]
test eax, eax
je 0x478e77
mov eax, dword [esp + 0x1c]
push eax
push 0x48
push ebp
call fcn.0046d7c0
push ebp
mov dword [esp + 0x60], eax
call fcn.0046d850
add esp, 0x10
mov dword [esp + 0x4c], eax
jmp 0x478ea7
mov eax, dword [esp + 0xac]
test eax, eax
je 0x478ea7
mov ecx, dword [esp + 0x70]
push ecx
push 4
push ebp
call fcn.0046d7c0
mov edx, dword [esp + 0x24]
mov dword [esp + 0x58], eax
push edx
push 0x1b
push ebp
call fcn.0046d7c0
add esp, 0x18
mov dword [esp + 0x50], eax
movsx ecx, word [ebx + 0x26]
mov eax, dword [esi + 0x4c]
lea edi, [eax + 1]
lea eax, [ecx + eax + 1]
mov dword [esi + 0x4c], eax
mov cl, byte [ebx + 0x2a]
test cl, 0x10
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], edi
je 0x478ed1
inc edi
inc eax
mov dword [esp + 0x24], edi
mov dword [esi + 0x4c], eax
lea edx, [edi + 1]
push ebp
mov dword [esp + 0x5c], edx
call fcn.0046d7e0
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x6c]
add esp, 4
test al, 1
je 0x4790c2
movsx eax, word [ebx + 0x26]
inc eax
push eax
push esi
call fcn.00470330
mov edi, eax
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
jge 0x478f1a
push edi
push 0xffffffffffffffff
push 7
push ebp
call fcn.0046cd30
add esp, 0x10
jmp 0x478f87
mov eax, dword [esp + 0x34]
push edi
test eax, eax
je 0x478f3a
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
push 0x1d
push ebp
call fcn.0046c390
add esp, 0x14
jmp 0x478f58
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xac]
mov edx, dword [ecx + 8]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4]
push eax
push esi
call fcn.0046da90
add esp, 0xc
push edi
push 0x4a
push ebp
call fcn.0046d7c0
push edi
push 0xffffffffffffffff
push 7
push ebp
mov dword [esp + 0x34], eax
call fcn.0046cd30
mov ecx, dword [esp + 0x34]
push ecx
push ebp
call fcn.0046cd50
push edi
push 0x15
push ebp
call fcn.0046d7c0
add esp, 0x30
xor eax, eax
cmp word [ebx + 0x26], ax
mov dword [esp + 0x10], eax
jle 0x479062
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x478fd1
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
mov dword [esp + 0x44], edx
jle 0x478fd1
mov ecx, dword [ecx]
mov edx, dword [esp + 0x10]
add ecx, 4
cmp dword [ecx], edx
je 0x478fca
inc eax
add ecx, 8
cmp eax, dword [esp + 0x44]
jl 0x478fbc
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x478fe2
cmp dword [esp + 0xa8], edx
je 0x478feb
test ecx, ecx
je 0x479008
cmp eax, dword [ecx + 4]
jl 0x479008
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
lea eax, [edi + edx + 1]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [ecx + edx + 4]
push eax
push esi
call fcn.0046da90
jmp 0x47903f
mov ecx, dword [esp + 0x10]
test edx, edx
lea edx, [edi + ecx + 1]
push edx
je 0x479028
push eax
mov eax, dword [esp + 0x24]
push eax
push 0x1d
push ebp
call fcn.0046c390
add esp, 0x14
jmp 0x479042
mov ecx, dword [esp + 0xac]
lea eax, [eax + eax*4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + eax*4]
push eax
push esi
call fcn.00479630
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add ecx, 0x18
inc eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
movsx ecx, word [ebx + 0x26]
cmp eax, ecx
jl 0x478f9b
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x479085
movsx edx, word [ebx + 0x26]
lea eax, [edi + 1]
push edx
push eax
push 0x1e
push ebp
call fcn.0046cd30
push ebx
push ebp
call fcn.00479680
add esp, 0x18
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xb4]
movsx eax, word [ebx + 0x26]
push ecx
mov ecx, edi
sub ecx, eax
push edx
mov edx, dword [esp + 0x44]
dec ecx
push ecx
push ebx
push 1
push 0
push 0x69
push edx
push esi
call fcn.004835e0
movsx eax, word [ebx + 0x26]
inc eax
push eax
push edi
push esi
call fcn.00470360
mov edi, dword [esp + 0x54]
add esp, 0x30
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x479454
test byte [ebx + 0x2a], 0x10
je 0x4790e6
mov ecx, dword [esp + 0x48]
push ecx
push 0
push 0xa
push ebp
call fcn.0046cd30
add esp, 0x10
mov eax, dword [esp + 0x20]
test eax, eax
jl 0x479200
mov eax, dword [esp + 0x34]
test eax, eax
je 0x479159
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edi
push edx
push eax
push 0x1d
push ebp
call fcn.0046c390
add esp, 0x14
test byte [ebx + 0x2a], 0x10
jne 0x4791dc
push edi
push 0x4a
push ebp
call fcn.0046d7c0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
push eax
push edi
push ecx
push 0x38
push ebp
call fcn.0046c390
mov edx, dword [esp + 0x64]
push edx
push ebp
call fcn.0046cd50
add esp, 0x28
push edi
push 0x15
push ebp
call fcn.0046d7c0
add esp, 0xc
jmp 0x479234
mov eax, dword [esp + 0xac]
push edi
test eax, eax
je 0x47917d
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x60]
add edx, ecx
push edx
push 0xf
push ebp
call fcn.0046cd30
add esp, 0x10
jmp 0x479110
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xac]
mov edx, dword [ecx + 8]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4]
push eax
push esi
call fcn.0046da90
push 0xffffffffffffffff
push ebp
call fcn.00479600
add esp, 0x14
test eax, eax
je 0x479110
cmp byte [eax], 0xa
jne 0x479110
test byte [ebx + 0x2a], 0x10
jne 0x479110
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x60], 1
mov byte [eax], 0x38
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
jmp 0x479234
push ebp
call fcn.0046d850
add eax, 2
push eax
push edi
push 0x49
push ebp
call fcn.0046cd30
add esp, 0x14
push edi
push 0x15
push ebp
call fcn.0046d7c0
add esp, 0xc
jmp 0x479234
test byte [ebx + 0x2a], 0x10
je 0x479216
push edi
push 0
push 0xa
push ebp
call fcn.0046cd30
add esp, 0x10
jmp 0x479234
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
push eax
push edi
push ecx
push 0x38
push ebp
call fcn.0046c390
add esp, 0x14
mov dword [esp + 0x60], 1
mov edx, dword [esp + 0x2c]
push edi
push edx
push esi
call fcn.00479840
xor eax, eax
add esp, 0xc
cmp word [ebx + 0x26], ax
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], eax
jle 0x4792d7
mov edi, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], edi
movsx ecx, word [ebx + 0x24]
cmp eax, ecx
jne 0x47927b
push edi
push 0
push 0xa
push ebp
call fcn.0046cd30
add esp, 0x10
jmp 0x4792b6
mov ecx, dword [esp + 0xb0]
test ecx, ecx
jne 0x479341
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x2c]
test byte [edx + ecx + 0x16], 2
je 0x47933b
inc dword [esp + 0x24]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x2c]
push edi
mov edx, dword [eax + ecx + 4]
push edx
push esi
call fcn.0046da90
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
add ecx, 0x18
inc eax
mov dword [esp + 0x2c], ecx
inc edi
movsx ecx, word [ebx + 0x26]
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edi
jl 0x479263
test byte [ebx + 0x2a], 0x10
je 0x4793e9
mov edx, dword [esp + 0x30]
push ebx
push edx
call fcn.004681c0
push ebx
push esi
mov edi, eax
call fcn.00484bd0
movsx ecx, word [ebx + 0x26]
mov eax, dword [esp + 0x58]
push 0xfffffffffffffff6
push edi
add ecx, 2
push eax
push ecx
push 1
push 0x8c
push ebp
call fcn.0046c350
mov eax, dword [esp + 0xe0]
add esp, 0x2c
cmp eax, 0x63
jne 0x479326
mov eax, 2
push eax
push ebp
call fcn.0046d260
push esi
call fcn.00475f50
add esp, 0xc
jmp 0x479454
sub eax, dword [esp + 0x24]
jmp 0x47936a
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
jle 0x479379
mov ecx, dword [esp + 0xb0]
mov edi, dword [esp + 0x10]
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], edi
je 0x479366
inc eax
add ecx, 8
cmp eax, edx
jl 0x47935a
mov edi, dword [esp + 0x18]
test eax, eax
jl 0x4792a0
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x28]
test edx, edx
je 0x4792a0
test ecx, ecx
je 0x479392
cmp eax, dword [ecx + 4]
jge 0x4792a0
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4793b1
mov edx, dword [esp + 0x1c]
push edi
push eax
push edx
push 0x1d
push ebp
call fcn.0046c390
add esp, 0x14
jmp 0x4792b6
mov ecx, dword [esp + 0xac]
push edi
test ecx, ecx
je 0x4793d4
mov ecx, dword [esp + 0x60]
add eax, ecx
push eax
push 0xf
push ebp
call fcn.0046cd30
add esp, 0x10
jmp 0x4792b6
lea edx, [eax + eax*4]
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + edx*4]
jmp 0x4792ac
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x44]
mov edi, dword [esp + 0x48]
push edx
push eax
mov eax, dword [esp + 0x28]
xor edx, edx
test eax, eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x44]
push 0
setge dl
push edx
push eax
push edi
push ecx
push ebx
push esi
call fcn.00479930
push edi
push 0
push ebx
push esi
call fcn.004772e0
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x98]
xor edx, edx
test ecx, ecx
mov ecx, dword [esp + 0x78]
sete dl
push edx
mov edx, dword [esp + 0x74]
push eax
push 0
push ecx
push edi
push edx
push ebx
push esi
call fcn.0047a050
add esp, 0x58
mov eax, dword [esp + 0x30]
test byte [eax + 0x18], 0x10
je 0x479470
mov ecx, dword [esp + 0x64]
push 1
push ecx
push 0x14
push ebp
call fcn.0046cd30
add esp, 0x10
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4794a8
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xb4]
movsx ecx, word [ebx + 0x26]
push edx
push eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x44]
sub eax, ecx
sub eax, 2
push eax
push ebx
push 2
push 0
push 0x69
push edx
push esi
call fcn.004835e0
add esp, 0x24
mov eax, dword [esp + 0x14]
push eax
push ebp
call fcn.0046d830
mov eax, dword [esp + 0x3c]
add esp, 8
test eax, eax
je 0x4794e9
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
push ecx
push edi
push 0x5f
push ebp
call fcn.0046cd30
mov edx, dword [esp + 0x60]
push edx
push ebp
call fcn.0046cd50
push edi
push 0x2d
push ebp
call fcn.0046d7c0
add esp, 0x24
jmp 0x479511
mov eax, dword [esp + 0xac]
test eax, eax
je 0x479511
mov eax, dword [esp + 0x4c]
push eax
push 0
push 1
push ebp
call fcn.0046cd30
mov ecx, dword [esp + 0x60]
push ecx
push ebp
call fcn.0046cd50
add esp, 0x18
test byte [ebx + 0x2a], 0x10
jne 0x47954b
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x47954b
mov edi, dword [esp + 0x38]
push edi
push 0x2d
push ebp
call fcn.0046d7c0
mov ebx, dword [ebx + 8]
add esp, 0xc
test ebx, ebx
je 0x47954b
inc edi
push edi
push 0x2d
push ebp
call fcn.0046d7c0
mov ebx, dword [ebx + 0x14]
add esp, 0xc
inc edi
test ebx, ebx
jne 0x479537
mov al, byte [esi + 0x12]
test al, al
jne 0x479565
mov eax, dword [esi + 0x1b4]
test eax, eax
jne 0x479565
push esi
call fcn.00478790
add esp, 4
mov edx, dword [esp + 0x30]
test byte [edx + 0x18], 0x10
je 0x4795ab
mov al, byte [esi + 0x12]
test al, al
jne 0x4795ab
mov eax, dword [esi + 0x1b4]
test eax, eax
jne 0x4795ab
mov eax, dword [esp + 0x64]
push 1
push eax
push 0x10
push ebp
call fcn.0046cd30
push 1
push ebp
call fcn.00466de0
push 0
push str.rows_inserted
push 0
push 0
push ebp
call fcn.00466e50
add esp, 0x2c
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0x30]
push ecx
push esi
call fcn.00467240
mov edx, dword [esp + 0xb0]
push edx
push esi
call fcn.00463790
mov eax, dword [esp + 0xbc]
push eax
push esi
call fcn.004671a0
mov ecx, dword [esp + 0xc8]
push ecx
push esi
call fcn.004672d0
mov edx, dword [esp + 0x60]
push edx
push esi
call fcn.00440110
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret