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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
push esi
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x4c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], eax
mov byte [esp + 0xf], al
mov byte [esp + 0x23], al
mov dword [esp + 0x44], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x24], ecx
cmp dword [ebx + 0x24], eax
jne 0x4f86ef
mov edx, ecx
cmp byte [edx + 0x45], al
jne 0x4f86ef
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [esp + 0x88], esi
cmp eax, esi
je 0x4f77ab
test dword [eax + 8], 0x200
je 0x4f77ab
cmp dword [eax + 0x30], esi
jne 0x4f77ab
mov ecx, dword [eax]
push edx
mov dword [esp + 0x48], ecx
mov dword [eax], esi
call fcn.004ffcd0
add esp, 4
mov dword [ebp + 0x10], esi
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], esi
je 0x4f86ef
push ebx
call fcn.004f0d00
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
test edi, edi
je 0x4f86ef
mov esi, dword [edi + 0x48]
mov ecx, dword [esp + 0x24]
call fcn.004ff0c0
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edi]
mov dword [esp + 0x18], eax
shl eax, 4
mov eax, dword [eax + edx]
push eax
push 0
push ecx
push 0x12
mov eax, ebx
call fcn.004e9b50
add esp, 0x10
test eax, eax
jne 0x4f86ef
mov eax, dword [edi + 0x24]
shr eax, 5
lea edx, [esp + 0x54]
push edx
and al, 1
mov byte [esp + 0x3f], al
push 0
push 0x6c
mov edx, edi
mov eax, ebx
call fcn.0050a1c0
mov dword [esp + 0x68], eax
xor eax, eax
add esp, 0xc
cmp dword [edi + 0xc], eax
push edi
setne al
mov dword [esp + 0x7c], eax
mov eax, ebx
call fcn.004ecd60
add esp, 4
test eax, eax
jne 0x4f86ef
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, edi
mov eax, ebx
call fcn.004f0d80
add esp, 4
test eax, eax
jne 0x4f86ef
mov eax, ebx
call fcn.00502520
mov dword [esp + 0x48], eax
test eax, eax
je 0x4f86ef
cmp byte [ebx + 0x12], 0
jne 0x4f7882
or dword [eax + 0x94], 0x10
cmp dword [ebp + 0x10], 0
jne 0x4f7893
cmp dword [esp + 0x5c], 0
jne 0x4f7893
xor eax, eax
jmp 0x4f7898
mov eax, 1
mov esi, dword [esp + 0x18]
push eax
mov ecx, esi
mov edx, ebx
call fcn.004ef8e0
add esp, 4
cmp dword [ebp + 0x14], 0
jne 0x4f78c9
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
push esi
push edx
push edi
push ebx
call fcn.004fa0b0
add esp, 0x10
test eax, eax
jne 0x4f868b
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
push eax
mov eax, ebx
call fcn.004f7440
movsx edx, word [edi + 0x2a]
mov dword [esp + 0x40], 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 [esp + 0x64], ecx
mov dword [esp + 0x28], ecx
je 0x4f7908
inc ecx
inc eax
mov dword [esp + 0x28], ecx
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x24]
inc ecx
shr eax, 7
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp + 0x14]
not al
and al, 1
mov byte [esp + 0x22], al
test ecx, ecx
je 0x4f7a0b
xor eax, eax
cmp dword [ecx + 4], eax
jle 0x4f7940
lea ecx, [ecx]
mov edx, dword [ecx]
mov dword [edx + eax*8 + 4], 0xffffffff
inc eax
cmp eax, dword [ecx + 4]
jl 0x4f7930
cmp dword [ecx + 4], 0
mov dword [esp + 0x14], 0
jle 0x4f7a0b
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x2a]
xor esi, esi
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x4f79c1
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
mov ecx, dword [edx + eax*8]
lea eax, [edx + eax*8]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], ecx
mov eax, dword [edi]
mov ecx, dword [esp + 0x40]
call fcn.004b27e0
test eax, eax
je 0x4f799d
inc esi
add edi, 0x10
cmp esi, dword [esp + 0x1c]
jl 0x4f7982
jmp 0x4f79c1
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4f79b1
mov byte [esp + 0x22], 0
mov ecx, dword [esp + 0x10]
movsx edx, word [ecx + 0x28]
cmp esi, edx
jne 0x4f79c1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x2a]
cmp esi, ecx
mov edi, dword [esp + 0x14]
jl 0x4f79fa
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov esi, dword [eax + edi*8]
call fcn.004e1d70
test eax, eax
je 0x4f7bcb
cmp byte [esp + 0x3b], 0
jne 0x4f7bcb
mov dword [esp + 0x34], edi
mov byte [esp + 0x22], 0
mov ecx, dword [ebp + 0x14]
inc edi
cmp edi, dword [ecx + 4]
mov dword [esp + 0x14], edi
jl 0x4f7952
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x4f7bf2
mov ecx, dword [esp + 0x48]
inc dword [ebx + 0x2c]
mov eax, dword [ecx + 0x88]
mov esi, dword [ebx + 0x2c]
inc eax
push eax
push 0
push esi
push 0xf
push ecx
mov dword [esp + 0x54], eax
call fcn.004cd400
movzx eax, byte [esp + 0x36]
mov ecx, dword [esp + 0x24]
movsx edx, word [ecx + 0x2a]
add esp, 0x14
neg eax
sbb eax, eax
and eax, dword [esp + 0x50]
mov byte [esp + 0x84], 0xd
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x84]
push eax
push edi
push ebx
mov dword [esp + 0x94], esi
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], edx
call fcn.00506f20
mov ecx, dword [esp + 0x98]
add esp, 0xc
mov dword [esp + 0x74], ecx
test eax, eax
jne 0x4f86ef
mov edx, dword [esp + 0x24]
cmp byte [edx + 0x45], al
jne 0x4f86ef
cmp dword [ebx + 0x24], eax
jne 0x4f86ef
mov edi, dword [esp + 0x48]
mov eax, esi
mov esi, edi
call fcn.004cd790
mov eax, dword [esp + 0x40]
dec eax
mov edx, edi
call fcn.004cdb30
cmp dword [esp + 0x5c], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [esp + 0x2c], edx
jne 0x4f7af9
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push esi
push eax
mov eax, ebx
call fcn.004f7350
add esp, 8
test eax, eax
je 0x4f7c73
mov esi, dword [ebx + 0x28]
lea ecx, [esi + 1]
mov eax, ebx
mov byte [esp + 0xf], 1
mov dword [esp + 0x4c], esi
mov dword [ebx + 0x28], ecx
call fcn.004e66d0
mov dword [esp + 0x18], eax
mov eax, ebx
call fcn.004e66d0
mov edx, dword [esp + 0x2c]
push 0
push edx
push esi
push 0x6c
push edi
mov dword [esp + 0x30], eax
call fcn.004cd400
mov eax, dword [esp + 0x9c]
add esp, 0x14
push 0
push 0
push eax
push 0x10
push edi
call fcn.004cd400
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
add esp, 0x14
push ecx
push edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x94]
push eax
push 0x63
push edi
call fcn.004cd400
mov ecx, dword [esp + 0x30]
add esp, 0x14
push 0
push ecx
push esi
push 0x73
push edi
call fcn.004cd400
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 0x14
push edx
push eax
push esi
push 0x74
push edi
call fcn.004cd400
mov esi, dword [esp + 0x54]
add esp, 0x14
push 0
push esi
push 0
push 0xd
push edi
call fcn.004cd400
add esp, 0x14
mov eax, esi
mov edx, edi
call fcn.004cdb30
mov esi, dword [esp + 0x18]
mov eax, ebx
call fcn.004e66f0
mov esi, dword [esp + 0x1c]
call fcn.004e66f0
jmp 0x4f7c6f
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [eax + edi*8]
mov edx, dword [ebp + 0xc]
push ecx
push 0
push edx
push str.table__S_has_no_column_named__s
mov esi, ebx
call fcn.004b2660
add esp, 0x10
mov byte [ebx + 0x11], 1
jmp 0x4f86ef
xor eax, eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x4c], 0xffffffff
test eax, eax
je 0x4f7c63
mov ecx, dword [eax]
push eax
lea eax, [esp + 0xa4]
mov dword [esp + 0x30], ecx
call fcn.004df7c0
add esp, 4
test eax, eax
jne 0x4f86ef
jmp 0x4f7c6b
mov dword [esp + 0x2c], 0
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x10]
xor eax, eax
cmp dword [ebp + 0x14], eax
jne 0x4f7c88
cmp dword [esp + 0x2c], eax
jle 0x4f7c88
movsx edx, word [esi + 0x28]
mov dword [esp + 0x34], edx
movsx ecx, word [esi + 0x2a]
cmp ecx, 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
jl 0x4f7cd5
mov eax, dword [esi + 4]
add ecx, 0xfffffffe
shr ecx, 1
add eax, 0x1f
inc ecx
lea edx, [ecx + ecx]
mov dword [esp + 0x14], edx
movzx edx, byte [eax - 0x10]
shr edx, 1
and edx, 1
add dword [esp + 0x1c], edx
movzx edx, byte [eax]
shr edx, 1
and edx, 1
add dword [esp + 0x18], edx
add eax, 0x20
sub ecx, 1
jne 0x4f7cac
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
movsx ecx, word [esi + 0x2a]
cmp eax, ecx
jge 0x4f7cef
mov ecx, dword [esi + 4]
shl eax, 4
movzx eax, byte [eax + ecx + 0xf]
shr eax, 1
and eax, 1
jmp 0x4f7cf3
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add edx, ecx
mov ecx, dword [ebp + 0x14]
add eax, edx
test ecx, ecx
jne 0x4f7d34
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4f7d57
movsx ecx, word [esi + 0x2a]
sub ecx, eax
cmp edx, ecx
je 0x4f7d57
mov eax, dword [ebp + 0xc]
push edx
push ecx
push 0
push eax
push str.table__S_has__d_columns_but__d_values_were_supplied
mov esi, ebx
call fcn.004b2660
add esp, 0x14
jmp 0x4f86ef
mov eax, dword [ecx + 4]
cmp dword [esp + 0x2c], eax
je 0x4f7d57
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push str._d_values_for__d_columns
mov esi, ebx
call fcn.004b2660
add esp, 0xc
jmp 0x4f86ef
mov edx, dword [esp + 0x24]
test byte [edx + 0x18], 0x80
je 0x4f7d7e
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push 0
push eax
push 0
push 0x38
push edi
mov dword [esp + 0x90], eax
call fcn.004cd400
add esp, 0x14
cmp dword [esp + 0x78], 0
jne 0x4f7df2
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x5c]
push ecx
push 0
push 0xffffffffffffffff
push 0
push 0x69
push esi
mov eax, ebx
call fcn.004f9e30
mov edi, eax
mov eax, dword [esp + 0x40]
add esp, 0x1c
lea edx, [edi*4 + 4]
push 0
push edx
call fcn.004afe20
add esp, 8
mov dword [esp + 0x68], eax
test eax, eax
je 0x4f86ef
mov eax, dword [esi + 8]
xor ecx, ecx
test edi, edi
jle 0x4f7dee
mov esi, dword [esp + 0x68]
inc dword [ebx + 0x2c]
mov edx, dword [ebx + 0x2c]
mov dword [esi + ecx*4], edx
movzx edx, word [eax + 0x34]
add dword [ebx + 0x2c], edx
mov eax, dword [eax + 0x14]
inc ecx
cmp ecx, edi
jl 0x4f7dd6
mov edi, dword [esp + 0x48]
cmp byte [esp + 0xf], 0
je 0x4f7e19
mov eax, dword [esp + 0x4c]
push 0
push 0
push eax
push 0x25
push edi
call fcn.004cd400
mov ecx, dword [edi + 0x88]
mov dword [esp + 0x80], ecx
jmp 0x4f7e3a
cmp dword [ebp + 0x10], 0
je 0x4f7e44
mov edx, dword [esp + 0x88]
push 0
push 0
push edx
push 0x10
push edi
call fcn.004cd400
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
add esp, 0x14
mov eax, edi
call fcn.004cd7c0
test byte [esp + 0x54], 1
mov dword [esp + 0x18], eax
je 0x4f808e
mov eax, dword [esp + 0x10]
movsx esi, word [eax + 0x2a]
inc esi
mov ecx, ebx
call fcn.004e6730
cmp dword [esp + 0x34], 0
mov dword [esp + 0x14], eax
jge 0x4f7e80
push 0
mov ecx, eax
push ecx
push 0xffffffffffffffff
push 0x38
jmp 0x4f7ef2
cmp byte [esp + 0xf], 0
mov esi, dword [esp + 0x14]
push esi
je 0x4f7ea3
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
push edx
push eax
push 0x60
push edi
call fcn.004cd400
add esp, 0x14
jmp 0x4f7ebc
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x48]
lea ecx, [eax + eax*2]
mov eax, dword [edx + ecx*8 + 8]
push eax
push ebx
call fcn.004e54a0
add esp, 0xc
push 0
push 0
push esi
push 0x4c
push edi
call fcn.004cd400
add esp, 0x14
push 0
push esi
push 0xffffffffffffffff
push 0x38
push edi
mov dword [esp + 0x54], eax
call fcn.004cd400
mov eax, dword [esp + 0x54]
add esp, 0x14
mov edx, edi
call fcn.004cdb30
push 0
push 0
push esi
push 0x11
push edi
call fcn.004cd400
mov edx, dword [esp + 0x24]
xor esi, esi
xor ecx, ecx
add esp, 0x14
cmp cx, word [edx + 0x2a]
mov dword [esp + 0x1c], esi
jge 0x4f8011
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
or eax, 0xffffffff
sub eax, ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x40], eax
lea esp, [esp]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4f7f6c
mov ecx, dword [eax + 4]
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x60], ecx
test ecx, ecx
jle 0x4f7f6c
mov eax, dword [eax]
mov ecx, dword [esp + 0x30]
add eax, 4
mov edx, dword [esp + 0x40]
add edx, ecx
cmp dword [eax], edx
je 0x4f7f65
inc esi
add eax, 8
cmp esi, dword [esp + 0x60]
jl 0x4f7f51
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], esi
mov cl, byte [esp + 0xf]
test cl, cl
jne 0x4f7f7b
cmp dword [esp + 0x44], 0
je 0x4f7f84
test eax, eax
je 0x4f7fa4
cmp esi, dword [eax + 4]
jl 0x4f7fa4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
push eax
mov eax, dword [esp + 0x58]
mov ecx, dword [edx + eax + 4]
push ecx
push ebx
call fcn.004e54a0
add esp, 0xc
jmp 0x4f7fe2
test cl, cl
je 0x4f7fc0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x4c]
push edx
push esi
push eax
push 0x60
push edi
call fcn.004cd400
add esp, 0x14
jmp 0x4f7fe2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x44]
mov esi, dword [eax + edx*8 + 8]
push ecx
mov eax, ebx
call fcn.004e5510
mov esi, dword [esp + 0x20]
add esp, 4
cmp dword [ebp + 0x14], 0
jne 0x4f7fed
inc esi
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
add dword [esp + 0x54], 0x10
inc eax
add ecx, eax
mov dword [esp + 0x30], eax
movsx eax, word [edx + 0x2a]
cmp ecx, eax
jl 0x4f7f30
cmp dword [esp + 0x78], 0
jne 0x4f802b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
push ecx
push edi
call fcn.004f7240
add esp, 8
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
movsx ecx, word [esi + 0x2a]
mov eax, dword [ebp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x64]
sub edx, ecx
dec edx
push edx
push esi
push 1
push 0
push 0x6c
push eax
push ebx
call fcn.0050aa70
movsx esi, word [esi + 0x2a]
inc esi
add esp, 0x24
cmp esi, 1
jne 0x4f8070
mov esi, dword [esp + 0x14]
mov eax, ebx
call fcn.004e66f0
jmp 0x4f808e
mov ecx, dword [esp + 0x14]
push esi
push ecx
push ebx
call fcn.004e41a0
add esp, 0xc
cmp esi, dword [ebx + 0x1c]
jle 0x4f808e
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], edx
cmp dword [esp + 0x78], 0
jne 0x4f856f
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x38], 0
je 0x4f80b7
mov eax, dword [esp + 0x64]
push 0
push eax
push 0
push 0x3b
push edi
call fcn.004cd400
add esp, 0x14
cmp dword [esp + 0x34], 0
jl 0x4f81d8
cmp byte [esp + 0xf], 0
mov esi, dword [esp + 0x28]
je 0x4f8132
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x4c]
push esi
push ecx
push edx
push 0x60
push edi
call fcn.004cd400
add esp, 0x14
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x38], 0
push 0
jne 0x4f81b9
push 0
push esi
push 0x4c
push edi
call fcn.004cd400
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x6c]
add esp, 0x14
push ecx
push esi
push edx
push 0x73
push edi
mov dword [esp + 0x74], eax
call fcn.004cd400
mov eax, dword [esp + 0x74]
add esp, 0x14
mov edx, edi
call fcn.004cdb30
push 0
push 0
push esi
push 0x11
jmp 0x4f820e
cmp dword [ebp + 0x10], 0
mov eax, dword [esp + 0x34]
je 0x4f814a
mov ecx, dword [esp + 0x74]
push 0
push esi
add ecx, eax
push ecx
push 0x40
jmp 0x4f80da
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + edx*8 + 8]
push esi
push ecx
push ebx
call fcn.004e54a0
mov eax, dword [edi + 0x88]
mov edx, dword [edi]
add esp, 0xc
dec eax
cmp byte [edx + 0x45], 0
je 0x4f8176
mov eax, 0x5ef850
jmp 0x4f8187
mov ecx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
test eax, eax
je 0x4f80e3
cmp byte [eax], 0x3b
jne 0x4f80e3
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x38], 0
jne 0x4f80e3
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x23], 1
mov byte [eax], 0x73
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
jmp 0x4f8217
mov eax, dword [edi + 0x88]
add eax, 2
push eax
push esi
push 0x4b
push edi
call fcn.004cd400
add esp, 0x14
push 0
push 0
push esi
push 0x11
jmp 0x4f820e
cmp dword [esi + 0x38], 0
jne 0x4f8203
cmp byte [esp + 0x3b], 0
jne 0x4f8203
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
push ecx
push esi
push edx
push 0x73
push edi
call fcn.004cd400
mov byte [esp + 0x37], 1
jmp 0x4f8214
mov esi, dword [esp + 0x28]
push 0
push esi
push 0
push 0x3b
push edi
call fcn.004cd400
add esp, 0x14
cmp dword [esp + 0x3c], 0
jle 0x4f8237
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebx + 8]
push 0
push esi
push eax
push 0x92
push ecx
call fcn.004cd400
add esp, 0x14
mov ecx, dword [esp + 0x10]
xor eax, eax
xor edx, edx
cmp dx, word [ecx + 0x2a]
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], eax
jge 0x4f83f4
mov esi, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x10]
movsx edx, word [ecx + 0x28]
cmp dword [esp + 0x14], edx
jne 0x4f8280
push 0
push 0
push esi
push 0x3c
push edi
call fcn.004cd400
add esp, 0x14
jmp 0x4f83d1
cmp dword [ebp + 0x14], 0
jne 0x4f8318
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x3c]
test byte [eax + edx + 0xf], 2
je 0x4f830e
inc dword [esp + 0x30]
cmp byte [ebx + 0x17], 0
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x3c]
mov esi, dword [eax + ecx + 4]
je 0x4f83be
mov byte [esp + 0x98], 1
mov dword [esp + 0x88], 0x4e18d0
mov dword [esp + 0x8c], 0x4e19e0
mov dword [esp + 0x9c], 0
test esi, esi
je 0x4f82fd
lea edx, [esp + 0x84]
push esi
push edx
call fcn.004dda50
add esp, 8
cmp byte [esp + 0x98], 0
je 0x4f83be
mov eax, dword [esp + 0x28]
push eax
push esi
push ebx
call fcn.004e5320
jmp 0x4f83ca
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x30]
jmp 0x4f8344
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 4]
xor eax, eax
test edx, edx
jle 0x4f834c
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov esi, dword [esp + 0x14]
add ecx, 4
cmp dword [ecx], esi
je 0x4f833c
inc eax
add ecx, 8
cmp eax, edx
jl 0x4f8330
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
test eax, eax
jl 0x4f829c
cmp dword [esp + 0x2c], 0
je 0x4f829c
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x4f8367
cmp eax, dword [edx + 4]
jge 0x4f829c
cmp byte [esp + 0xf], 0
je 0x4f8382
mov edx, dword [esp + 0x4c]
push esi
push eax
push edx
push 0x60
push edi
call fcn.004cd400
add esp, 0x14
jmp 0x4f83d1
cmp dword [ebp + 0x10], 0
je 0x4f83a9
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x74], ecx
je 0x4f83d1
mov edx, dword [esp + 0x74]
push 0
push esi
add eax, edx
push eax
push 0x41
push edi
call fcn.004cd400
add esp, 0x14
jmp 0x4f83d1
mov ecx, dword [esp + 0x44]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*8 + 8]
push esi
push edx
push ebx
call fcn.004e54a0
jmp 0x4f83ce
mov ecx, dword [esp + 0x28]
push ecx
push esi
push ebx
call fcn.004e54a0
mov esi, dword [esp + 0x34]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
movsx ecx, word [edx + 0x2a]
add dword [esp + 0x3c], 0x10
inc eax
inc esi
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], esi
jl 0x4f825d
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x38], 0
je 0x4f84bb
mov esi, dword [eax + 0x40]
test esi, esi
je 0x4f8418
mov edx, dword [esi]
cmp edx, dword [esp + 0x24]
je 0x4f8418
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4f8409
mov eax, dword [esp + 0x10]
push eax
mov eax, ebx
call fcn.0050e090
mov ecx, dword [esp + 0x14]
movsx eax, word [ecx + 0x2a]
mov edx, dword [esp + 0x68]
add esp, 4
push edx
add eax, 2
push eax
push 1
push 0xc
push edi
call fcn.004cd400
mov ecx, dword [edi]
add esp, 0x14
cmp byte [ecx + 0x45], 0
jne 0x4f8487
test eax, eax
jge 0x4f8458
mov eax, dword [edi + 0x88]
dec eax
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
cmp byte [eax + edx*4 + 1], 0
lea ecx, [eax + edx*4]
je 0x4f8479
push esi
push edi
mov eax, 0xfffffff4
call fcn.004cde50
add esp, 8
jmp 0x4f8487
test esi, esi
je 0x4f8487
mov dword [ecx + 0x10], esi
mov byte [ecx + 1], 0xf4
inc dword [esi + 0xc]
mov ecx, dword [ebp + 0x18]
cmp ecx, 0xa
jne 0x4f8494
mov ecx, 2
mov eax, dword [edi + 0x88]
test eax, eax
jle 0x4f84a9
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
mov word [eax + edx*4 - 0x12], cx
mov eax, dword [ebx + 0x78]
test eax, eax
jne 0x4f84b2
mov eax, ebx
mov byte [eax + 0x15], 1
jmp 0x4f856f
cmp dword [esp + 0x34], 0
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x18]
mov esi, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x64]
push ecx
push edx
push eax
mov eax, dword [esp + 0x74]
setge cl
movzx edx, cl
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x6c]
push 0
push eax
mov eax, dword [esp + 0x84]
push ecx
push edx
push eax
push esi
push ebx
call fcn.004f87d0
mov ecx, dword [esp + 0x94]
push 0
push 0
push ecx
push 0
push esi
push ebx
call fcn.004f5f10
add esp, 0x48
cmp dword [esp + 0x60], 0
je 0x4f8540
cmp dword [esp + 0x5c], 0
jne 0x4f853c
mov edx, dword [esp + 0x24]
test dword [edx + 0x18], 0x4000
je 0x4f8540
mov eax, esi
call fcn.004f5bf0
test eax, eax
je 0x4f8540
xor eax, eax
jmp 0x4f8545
mov eax, 1
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push eax
movzx eax, byte [esp + 0x27]
push eax
mov eax, dword [esp + 0x88]
push 0
push ecx
mov ecx, dword [esp + 0x68]
push edx
push eax
push ecx
push esi
push ebx
call fcn.004f9c00
add esp, 0x24
mov edx, dword [esp + 0x24]
test byte [edx + 0x18], 0x80
mov esi, dword [esp + 0x50]
je 0x4f8591
mov eax, dword [esp + 0x7c]
push 0
push 1
push eax
push 0x45
push edi
call fcn.004cd400
add esp, 0x14
cmp dword [esp + 0x5c], 0
je 0x4f85c4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0x18]
push ecx
movsx ecx, word [eax + 0x2a]
push edx
mov edx, dword [esp + 0x64]
sub esi, ecx
sub esi, 2
push esi
push eax
push 2
push 0
push 0x6c
push edx
push ebx
call fcn.0050aa70
add esp, 0x24
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4f85e3
mov ecx, dword [esp + 0x18]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0x88]
sub eax, edx
mov dword [eax], ecx
cmp byte [esp + 0xf], 0
je 0x4f8642
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x4c]
push 0
push edx
push esi
push 7
push edi
call fcn.004cd400
mov eax, dword [esp + 0x84]
mov ecx, dword [edi + 0x88]
add esp, 0x14
test eax, eax
jge 0x4f8615
lea eax, [ecx - 1]
mov edx, dword [edi]
cmp byte [edx + 0x45], 0
je 0x4f8624
mov eax, 0x5ef850
jmp 0x4f862d
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
push 0
push 0
push esi
push 0x70
push edi
mov dword [eax + 8], ecx
call fcn.004cd400
add esp, 0x14
jmp 0x4f868b
cmp dword [ebp + 0x10], 0
je 0x4f868b
mov eax, dword [esp + 0x6c]
push 0
push eax
push 0
push 0xd
push edi
call fcn.004cd400
mov eax, dword [esp + 0x84]
mov ecx, dword [edi + 0x88]
add esp, 0x14
test eax, eax
jge 0x4f8670
lea eax, [ecx - 1]
mov edx, dword [edi]
cmp byte [edx + 0x45], 0
je 0x4f867f
mov eax, 0x5ef850
jmp 0x4f8688
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
cmp byte [ebx + 0x12], 0
jne 0x4f86a4
cmp dword [ebx + 0x7c], 0
jne 0x4f86a4
cmp dword [ebx + 0x74], 0
je 0x4f86a4
mov esi, ebx
call fcn.004f7620
mov eax, dword [esp + 0x24]
test byte [eax + 0x18], 0x80
je 0x4f86ef
cmp byte [ebx + 0x12], 0
jne 0x4f86ef
cmp dword [ebx + 0x7c], 0
jne 0x4f86ef
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x48]
push 0
push 1
push ecx
push 0x43
push esi
call fcn.004cd400
add esp, 0x14
push 1
push esi
call fcn.004cef40
push 0
push str.rows_inserted
push 0
push 0
mov ecx, esi
call fcn.004cf010
add esp, 0x18
mov edx, dword [ebp + 0xc]
mov esi, dword [esp + 0x24]
push edx
mov eax, esi
call fcn.004ef1b0
mov eax, dword [esp + 0x48]
add esp, 4
test eax, eax
je 0x4f8713
push eax
push esi
call fcn.004e1770
add esp, 8
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4f8726
push 1
push eax
push esi
call fcn.004ffa50
add esp, 0xc
mov edi, dword [ebp + 0x14]
call fcn.004eedd0
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4f8785
test esi, esi
je 0x4f877c
cmp dword [esi + 0x1c8], 0
je 0x4f8751
mov ecx, esi
call fcn.004afa70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [esi + 0x120]
jb 0x4f877c
cmp eax, dword [esi + 0x124]
jae 0x4f877c
mov ecx, dword [esi + 0x11c]
mov dword [eax], ecx
dec dword [esi + 0x108]
mov dword [esi + 0x11c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.004afa00
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret