Function at 0x478830
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 0x4794eb
mov eax, dword [esp + 0x30]
mov cl, byte [eax + 0x38]
test cl, cl
jne 0x4794eb
mov ecx, dword [esp + 0xa4]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4794eb
mov edx, ecx
push edx
push esi
call fcn.00476760
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4794eb
mov eax, dword [ebx + 0x40]
mov ebp, dword [esp + 0x30]
push eax
push ebp
call fcn.004667b0
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.00472610
add esp, 0x1c
test eax, eax
jne 0x4794eb
lea ecx, [esp + 0x68]
push ecx
push eax
push 0x69
push ebx
push esi
call fcn.00482eb0
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.004740f0
add esp, 0x1c
test eax, eax
jne 0x4794eb
mov eax, dword [esp + 0x68]
push eax
push ebx
push esi
call fcn.00476c60
add esp, 0xc
test eax, eax
jne 0x4794eb
push esi
call fcn.0047d350
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4794eb
mov al, byte [esi + 0x12]
test al, al
jne 0x478972
push ebp
call fcn.00476c10
add esp, 4
mov eax, dword [esp + 0xac]
test eax, eax
jne 0x478989
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x478989
xor eax, eax
jmp 0x47898e
mov eax, 1
push edi
push eax
push esi
call fcn.00475e40
mov eax, dword [esp + 0xbc]
add esp, 0xc
test eax, eax
jne 0x4789c7
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xac]
push edi
push ecx
push edx
push ebx
push esi
call fcn.0047a170
add esp, 0x14
test eax, eax
jne 0x47948b
push ebx
push edi
push esi
call fcn.00479700
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xb8]
add esp, 0xc
test eax, eax
je 0x478b07
lea ecx, [esp + 0x6c]
push ecx
push eax
push esi
call fcn.004797b0
add esp, 0xc
test eax, eax
jne 0x4794eb
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 0x478a39
push ebx
push edi
push 0
push esi
call fcn.00479640
add esp, 0x10
test eax, eax
je 0x478b7a
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.0046ccb0
push esi
mov edi, eax
call fcn.0046ccb0
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.0046cc70
mov eax, dword [esp + 0x88]
push eax
push 4
push ebp
call fcn.0046d700
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
push ecx
push 0x1b
push ebp
call fcn.0046d700
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.0046c2d0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
add esp, 0x44
push ecx
push edx
push 0x38
push ebp
call fcn.0046cc70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push eax
push edi
push ecx
push 0x39
push ebp
call fcn.0046c2d0
mov edx, dword [esp + 0x7c]
push edx
push 0
push 1
push ebp
call fcn.0046cc70
mov eax, dword [esp + 0x7c]
push eax
push ebp
call fcn.0046cc90
push edi
push esi
call fcn.0046cce0
mov ecx, dword [esp + 0x58]
add esp, 0x44
push ecx
push esi
call fcn.0046cce0
add esp, 8
jmp 0x478b7a
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 0x478b31
mov eax, dword [eax]
jmp 0x478b33
xor eax, eax
cmp eax, edi
mov dword [esp + 0x28], eax
jle 0x478b7a
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.00470330
add esp, 8
test eax, eax
jne 0x4794eb
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
inc edi
add ecx, 0x14
cmp edi, eax
mov dword [esp + 0x14], ecx
jl 0x478b3f
test byte [ebx + 0x2a], 0x10
je 0x478ba5
movsx edi, word [ebx + 0x26]
test edi, edi
jle 0x478ba5
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 0x478b8e
mov ecx, dword [esp + 0xb0]
test ecx, ecx
jne 0x478bed
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x478d1a
movsx eax, word [ebx + 0x26]
sub eax, dword [esp + 0x24]
cmp ecx, eax
je 0x478d0e
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.004602e0
add esp, 0x18
jmp 0x4794eb
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x28]
cmp eax, edx
je 0x478c0f
mov ecx, eax
push edx
push ecx
push str._d_values_for__d_columns
push esi
call fcn.004602e0
add esp, 0x10
jmp 0x4794eb
xor eax, eax
test edx, edx
jle 0x478c26
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 0x478c18
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x478d1a
xor edi, edi
cmp word [ebx + 0x26], di
jle 0x478ca0
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.00441790
add esp, 8
test eax, eax
je 0x478c83
movsx eax, word [ebx + 0x26]
mov edx, dword [esp + 0x14]
inc edi
add edx, 0x18
cmp edi, eax
mov dword [esp + 0x14], edx
jl 0x478c45
jmp 0x478ca0
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 0x478ca0
mov dword [esp + 0x20], eax
movsx edx, word [ebx + 0x26]
cmp edi, edx
mov edi, dword [esp + 0xb0]
jl 0x478ccd
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx*8]
push edx
call fcn.004720e0
add esp, 4
test eax, eax
je 0x478ce3
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 0x478c39
jmp 0x478d1a
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.004602e0
add esp, 0x14
mov byte [esi + 0x11], 1
jmp 0x4794eb
test ecx, ecx
jle 0x478d1a
movsx edx, word [ebx + 0x24]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x30]
test byte [eax + 0x18], 0x10
je 0x478d3f
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.0046cc70
add esp, 0x10
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x478d8f
mov eax, dword [esi + 0x48]
push 0x28
push eax
push ebx
push esi
mov dword [esp + 0x48], eax
call fcn.0047a0c0
mov edx, dword [esp + 0x40]
mov edi, eax
lea ecx, [edi*4 + 4]
push ecx
push edx
call fcn.004402d0
add esp, 0x18
mov dword [esp + 0x40], eax
test eax, eax
je 0x4794eb
test edi, edi
jle 0x478d8f
mov ecx, dword [esi + 0x4c]
add eax, 4
inc ecx
dec edi
mov dword [esi + 0x4c], ecx
mov dword [eax - 4], ecx
jne 0x478d7f
mov eax, dword [esp + 0x34]
test eax, eax
je 0x478db7
mov eax, dword [esp + 0x1c]
push eax
push 0x48
push ebp
call fcn.0046d700
push ebp
mov dword [esp + 0x60], eax
call fcn.0046d790
add esp, 0x10
mov dword [esp + 0x4c], eax
jmp 0x478de7
mov eax, dword [esp + 0xac]
test eax, eax
je 0x478de7
mov ecx, dword [esp + 0x70]
push ecx
push 4
push ebp
call fcn.0046d700
mov edx, dword [esp + 0x24]
mov dword [esp + 0x58], eax
push edx
push 0x1b
push ebp
call fcn.0046d700
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 0x478e11
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.0046d720
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x6c]
add esp, 4
test al, 1
je 0x479002
movsx eax, word [ebx + 0x26]
inc eax
push eax
push esi
call fcn.00470270
mov edi, eax
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
jge 0x478e5a
push edi
push 0xffffffffffffffff
push 7
push ebp
call fcn.0046cc70
add esp, 0x10
jmp 0x478ec7
mov eax, dword [esp + 0x34]
push edi
test eax, eax
je 0x478e7a
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
push 0x1d
push ebp
call fcn.0046c2d0
add esp, 0x14
jmp 0x478e98
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.0046d9d0
add esp, 0xc
push edi
push 0x4a
push ebp
call fcn.0046d700
push edi
push 0xffffffffffffffff
push 7
push ebp
mov dword [esp + 0x34], eax
call fcn.0046cc70
mov ecx, dword [esp + 0x34]
push ecx
push ebp
call fcn.0046cc90
push edi
push 0x15
push ebp
call fcn.0046d700
add esp, 0x30
xor eax, eax
cmp word [ebx + 0x26], ax
mov dword [esp + 0x10], eax
jle 0x478fa2
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x478f11
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
mov dword [esp + 0x44], edx
jle 0x478f11
mov ecx, dword [ecx]
mov edx, dword [esp + 0x10]
add ecx, 4
cmp dword [ecx], edx
je 0x478f0a
inc eax
add ecx, 8
cmp eax, dword [esp + 0x44]
jl 0x478efc
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x478f22
cmp dword [esp + 0xa8], edx
je 0x478f2b
test ecx, ecx
je 0x478f48
cmp eax, dword [ecx + 4]
jl 0x478f48
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.0046d9d0
jmp 0x478f7f
mov ecx, dword [esp + 0x10]
test edx, edx
lea edx, [edi + ecx + 1]
push edx
je 0x478f68
push eax
mov eax, dword [esp + 0x24]
push eax
push 0x1d
push ebp
call fcn.0046c2d0
add esp, 0x14
jmp 0x478f82
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.00479570
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 0x478edb
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x478fc5
movsx edx, word [ebx + 0x26]
lea eax, [edi + 1]
push edx
push eax
push 0x1e
push ebp
call fcn.0046cc70
push ebx
push ebp
call fcn.004795c0
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.00483520
movsx eax, word [ebx + 0x26]
inc eax
push eax
push edi
push esi
call fcn.004702a0
mov edi, dword [esp + 0x54]
add esp, 0x30
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x479394
test byte [ebx + 0x2a], 0x10
je 0x479026
mov ecx, dword [esp + 0x48]
push ecx
push 0
push 0xa
push ebp
call fcn.0046cc70
add esp, 0x10
mov eax, dword [esp + 0x20]
test eax, eax
jl 0x479140
mov eax, dword [esp + 0x34]
test eax, eax
je 0x479099
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edi
push edx
push eax
push 0x1d
push ebp
call fcn.0046c2d0
add esp, 0x14
test byte [ebx + 0x2a], 0x10
jne 0x47911c
push edi
push 0x4a
push ebp
call fcn.0046d700
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.0046c2d0
mov edx, dword [esp + 0x64]
push edx
push ebp
call fcn.0046cc90
add esp, 0x28
push edi
push 0x15
push ebp
call fcn.0046d700
add esp, 0xc
jmp 0x479174
mov eax, dword [esp + 0xac]
push edi
test eax, eax
je 0x4790bd
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x60]
add edx, ecx
push edx
push 0xf
push ebp
call fcn.0046cc70
add esp, 0x10
jmp 0x479050
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.0046d9d0
push 0xffffffffffffffff
push ebp
call fcn.00479540
add esp, 0x14
test eax, eax
je 0x479050
cmp byte [eax], 0xa
jne 0x479050
test byte [ebx + 0x2a], 0x10
jne 0x479050
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 0x479174
push ebp
call fcn.0046d790
add eax, 2
push eax
push edi
push 0x49
push ebp
call fcn.0046cc70
add esp, 0x14
push edi
push 0x15
push ebp
call fcn.0046d700
add esp, 0xc
jmp 0x479174
test byte [ebx + 0x2a], 0x10
je 0x479156
push edi
push 0
push 0xa
push ebp
call fcn.0046cc70
add esp, 0x10
jmp 0x479174
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
push eax
push edi
push ecx
push 0x38
push ebp
call fcn.0046c2d0
add esp, 0x14
mov dword [esp + 0x60], 1
mov edx, dword [esp + 0x2c]
push edi
push edx
push esi
call fcn.00479780
xor eax, eax
add esp, 0xc
cmp word [ebx + 0x26], ax
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], eax
jle 0x479217
mov edi, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], edi
movsx ecx, word [ebx + 0x24]
cmp eax, ecx
jne 0x4791bb
push edi
push 0
push 0xa
push ebp
call fcn.0046cc70
add esp, 0x10
jmp 0x4791f6
mov ecx, dword [esp + 0xb0]
test ecx, ecx
jne 0x479281
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x2c]
test byte [edx + ecx + 0x16], 2
je 0x47927b
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.0046d9d0
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 0x4791a3
test byte [ebx + 0x2a], 0x10
je 0x479329
mov edx, dword [esp + 0x30]
push ebx
push edx
call fcn.00468100
push ebx
push esi
mov edi, eax
call fcn.00484b10
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.0046c290
mov eax, dword [esp + 0xe0]
add esp, 0x2c
cmp eax, 0x63
jne 0x479266
mov eax, 2
push eax
push ebp
call fcn.0046d1a0
push esi
call fcn.00475e90
add esp, 0xc
jmp 0x479394
sub eax, dword [esp + 0x24]
jmp 0x4792aa
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
jle 0x4792b9
mov ecx, dword [esp + 0xb0]
mov edi, dword [esp + 0x10]
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], edi
je 0x4792a6
inc eax
add ecx, 8
cmp eax, edx
jl 0x47929a
mov edi, dword [esp + 0x18]
test eax, eax
jl 0x4791e0
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x28]
test edx, edx
je 0x4791e0
test ecx, ecx
je 0x4792d2
cmp eax, dword [ecx + 4]
jge 0x4791e0
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4792f1
mov edx, dword [esp + 0x1c]
push edi
push eax
push edx
push 0x1d
push ebp
call fcn.0046c2d0
add esp, 0x14
jmp 0x4791f6
mov ecx, dword [esp + 0xac]
push edi
test ecx, ecx
je 0x479314
mov ecx, dword [esp + 0x60]
add eax, ecx
push eax
push 0xf
push ebp
call fcn.0046cc70
add esp, 0x10
jmp 0x4791f6
lea edx, [eax + eax*4]
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + edx*4]
jmp 0x4791ec
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.00479870
push edi
push 0
push ebx
push esi
call fcn.00477220
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.00479f90
add esp, 0x58
mov eax, dword [esp + 0x30]
test byte [eax + 0x18], 0x10
je 0x4793b0
mov ecx, dword [esp + 0x64]
push 1
push ecx
push 0x14
push ebp
call fcn.0046cc70
add esp, 0x10
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4793e8
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.00483520
add esp, 0x24
mov eax, dword [esp + 0x14]
push eax
push ebp
call fcn.0046d770
mov eax, dword [esp + 0x3c]
add esp, 8
test eax, eax
je 0x479429
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
push ecx
push edi
push 0x5f
push ebp
call fcn.0046cc70
mov edx, dword [esp + 0x60]
push edx
push ebp
call fcn.0046cc90
push edi
push 0x2d
push ebp
call fcn.0046d700
add esp, 0x24
jmp 0x479451
mov eax, dword [esp + 0xac]
test eax, eax
je 0x479451
mov eax, dword [esp + 0x4c]
push eax
push 0
push 1
push ebp
call fcn.0046cc70
mov ecx, dword [esp + 0x60]
push ecx
push ebp
call fcn.0046cc90
add esp, 0x18
test byte [ebx + 0x2a], 0x10
jne 0x47948b
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x47948b
mov edi, dword [esp + 0x38]
push edi
push 0x2d
push ebp
call fcn.0046d700
mov ebx, dword [ebx + 8]
add esp, 0xc
test ebx, ebx
je 0x47948b
inc edi
push edi
push 0x2d
push ebp
call fcn.0046d700
mov ebx, dword [ebx + 0x14]
add esp, 0xc
inc edi
test ebx, ebx
jne 0x479477
mov al, byte [esi + 0x12]
test al, al
jne 0x4794a5
mov eax, dword [esi + 0x1b4]
test eax, eax
jne 0x4794a5
push esi
call fcn.004786d0
add esp, 4
mov edx, dword [esp + 0x30]
test byte [edx + 0x18], 0x10
je 0x4794eb
mov al, byte [esi + 0x12]
test al, al
jne 0x4794eb
mov eax, dword [esi + 0x1b4]
test eax, eax
jne 0x4794eb
mov eax, dword [esp + 0x64]
push 1
push eax
push 0x10
push ebp
call fcn.0046cc70
push 1
push ebp
call fcn.00466d20
push 0
push str.rows_inserted
push 0
push 0
push ebp
call fcn.00466d90
add esp, 0x2c
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0x30]
push ecx
push esi
call fcn.00467180
mov edx, dword [esp + 0xb0]
push edx
push esi
call fcn.004636d0
mov eax, dword [esp + 0xbc]
push eax
push esi
call fcn.004670e0
mov ecx, dword [esp + 0xc8]
push ecx
push esi
call fcn.00467210
mov edx, dword [esp + 0x60]
push edx
push esi
call fcn.00440050
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret