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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x48], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], esi
mov byte [esp + 0x13], 0
mov byte [esp + 0x26], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x34], ecx
cmp dword [ebx + 0x24], esi
jne 0x4fa33f
cmp byte [ecx + 0x49], 0
jne 0x4fa33f
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x88], esi
cmp eax, esi
je 0x4f9397
test dword [eax + 8], 0x200
je 0x4f9397
cmp dword [eax + 0x34], esi
jne 0x4f9397
mov edx, dword [eax]
push ecx
mov dword [esp + 0x40], edx
mov dword [eax], esi
call fcn.00501d00
add esp, 4
mov dword [ebp + 0x10], esi
mov ecx, dword [ebp + 0xc]
mov eax, ebx
call fcn.004f2660
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, esi
je 0x4fa33f
mov ecx, dword [edi + 0x48]
mov edx, 0xfff0bdc0
mov dword [esp + 0x20], edx
cmp ecx, esi
je 0x4f93ec
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x10]
xor edx, edx
mov dword [esp + 0x20], edx
cmp dword [eax + 0xc], ecx
je 0x4f93ec
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x10]
add eax, 0xc
jmp 0x4f93e0
add eax, 0x10
inc edx
cmp dword [eax], ecx
jne 0x4f93e0
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x10]
shl edx, 4
mov ecx, dword [edx + eax]
mov edx, dword [edi]
push ecx
push esi
push edx
push 0x12
mov eax, ebx
call fcn.004eb3a0
add esp, 0x10
test eax, eax
jne 0x4fa33f
mov eax, dword [edi + 0x24]
shr eax, 5
and al, 1
mov byte [esp + 0x33], al
lea eax, [esp + 0x50]
push eax
push esi
push 0x74
mov edx, edi
mov eax, ebx
call fcn.0050cb50
xor ecx, ecx
add esp, 0xc
cmp dword [edi + 0xc], esi
mov dword [esp + 0x54], eax
setne cl
push edi
mov eax, ebx
mov dword [esp + 0x84], ecx
call fcn.004ee620
add esp, 4
test eax, eax
jne 0x4fa33f
mov edx, dword [esp + 0x50]
push edx
mov ecx, edi
mov eax, ebx
call fcn.004f26d0
add esp, 4
test eax, eax
jne 0x4fa33f
mov eax, ebx
call fcn.005046c0
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x4fa33f
cmp byte [ebx + 0x12], 0
jne 0x4f9491
or dword [eax + 0x94], 0x20
cmp dword [ebp + 0x10], esi
jne 0x4f949c
cmp dword [esp + 0x54], esi
je 0x4f94a1
mov esi, 1
mov ecx, dword [esp + 0x20]
push esi
mov edx, ebx
call fcn.004f12a0
mov esi, dword [ebp + 0x14]
add esp, 4
test esi, esi
jne 0x4f94d5
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push ecx
push edi
push ebx
call fcn.004fbef0
add esp, 0x10
test eax, eax
jne 0x4fa2e1
mov edx, dword [esp + 0x20]
push edx
mov ecx, ebx
call fcn.004f8fd0
movsx edx, word [edi + 0x2a]
mov dword [esp + 0x44], 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 + 0x5c], ecx
je 0x4f9510
inc ecx
inc eax
mov dword [esp + 0x5c], ecx
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x5c]
inc eax
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x24]
shr eax, 7
not al
and al, 1
mov byte [esp + 0x27], al
test esi, esi
je 0x4f9625
xor eax, eax
cmp dword [esi + 4], eax
jle 0x4f9550
jmp 0x4f9540
mov ecx, dword [esi]
mov dword [ecx + eax*8 + 4], 0xffffffff
inc eax
cmp eax, dword [esi + 4]
jl 0x4f9540
cmp dword [esi + 4], 0
mov dword [esp + 0x1c], 0
jle 0x4f9625
movsx eax, word [edi + 0x2a]
xor esi, esi
test eax, eax
jle 0x4f95d3
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + ecx*8]
lea eax, [eax + ecx*8]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x78], edx
mov dword [esp + 0x28], eax
lea ebx, [ebx]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x78]
call fcn.004ae7e0
test eax, eax
je 0x4f95b3
movsx eax, word [edi + 0x2a]
add dword [esp + 0x28], 0x10
inc esi
cmp esi, eax
jl 0x4f9590
jmp 0x4f95d3
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
mov dword [edx + 4], esi
cmp eax, esi
je 0x4f95c7
mov byte [esp + 0x27], 0
movsx ecx, word [edi + 0x28]
cmp esi, ecx
jne 0x4f95d3
mov dword [esp + 0x2c], eax
movsx edx, word [edi + 0x2a]
cmp esi, edx
jl 0x4f9610
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x1c]
mov esi, dword [ecx + edx*8]
call fcn.004e1fa0
test eax, eax
je 0x4f97e4
cmp byte [esp + 0x33], 0
jne 0x4f97e4
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x27], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x14]
inc eax
cmp eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
jl 0x4f9562
xor eax, eax
cmp dword [ebp + 0x10], eax
je 0x4f980f
mov ecx, dword [esp + 0x14]
inc dword [ebx + 0x2c]
mov eax, dword [ecx + 0x88]
mov esi, dword [ebx + 0x2c]
inc eax
push eax
push 0
push esi
push 0xd
push ecx
mov dword [esp + 0x58], eax
call fcn.004cc1f0
movzx ecx, byte [esp + 0x3b]
movsx edx, word [edi + 0x2a]
add esp, 0x14
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0x58]
lea eax, [esp + 0x84]
mov dword [esp + 0x8c], ecx
mov ecx, dword [ebp + 0x10]
push eax
push ecx
push ebx
mov byte [esp + 0x90], 0xd
mov dword [esp + 0x94], esi
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], edx
call fcn.005094b0
mov edx, dword [esp + 0x98]
add esp, 0xc
mov dword [esp + 0x68], edx
test eax, eax
jne 0x4fa33f
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x49], 0
jne 0x4fa33f
cmp dword [ebx + 0x24], 0
jne 0x4fa33f
mov eax, esi
mov esi, dword [esp + 0x14]
call fcn.004cc730
mov eax, dword [esp + 0x44]
dec eax
mov edx, esi
call fcn.004ccb60
cmp dword [esp + 0x54], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0x28], eax
jne 0x4f9712
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push edi
push ecx
mov eax, ebx
call fcn.004f8ed0
add esp, 8
test eax, eax
je 0x4f9888
mov edi, dword [ebx + 0x28]
lea edx, [edi + 1]
mov eax, ebx
mov byte [esp + 0x13], 1
mov dword [esp + 0x48], edi
mov dword [ebx + 0x28], edx
call fcn.004e6a30
mov dword [esp + 0x20], eax
mov eax, ebx
call fcn.004e6a30
push 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
push eax
push edi
push 0x71
push esi
call fcn.004cc1f0
mov ecx, dword [esp + 0x9c]
add esp, 0x14
push 0
push 0
push ecx
push 0xe
push esi
call fcn.004cc1f0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0xa0]
add esp, 0x14
push edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
push 0x66
push esi
call fcn.004cc1f0
mov edx, dword [esp + 0x30]
add esp, 0x14
push 0
push edx
push edi
push 0x79
push esi
call fcn.004cc1f0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add esp, 0x14
push eax
push ecx
push edi
push 0x7a
push esi
call fcn.004cc1f0
mov edi, dword [esp + 0x58]
add esp, 0x14
push 0
push edi
push 0
push 0xb
push esi
call fcn.004cc1f0
add esp, 0x14
mov eax, edi
mov edx, esi
call fcn.004ccb60
mov edx, dword [esp + 0x20]
mov eax, ebx
call fcn.004e6a50
mov edx, dword [esp + 0x1c]
call fcn.004e6a50
jmp 0x4f9884
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + ecx*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.004ae670
add esp, 0x10
mov byte [ebx + 0x11], 1
jmp 0x4fa33f
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 dword [esp + 0xa0], ebx
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x3c], eax
je 0x4f9880
mov eax, dword [esp + 0x3c]
mov edx, dword [eax]
push eax
lea eax, [esp + 0xa4]
mov dword [esp + 0x2c], edx
call fcn.004df590
add esp, 4
test eax, eax
jne 0x4fa33f
jmp 0x4f9884
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
xor edx, edx
cmp dword [ebp + 0x14], edx
jne 0x4f989f
cmp esi, edx
jle 0x4f989f
movsx eax, word [edi + 0x28]
mov dword [esp + 0x2c], eax
movsx ecx, word [edi + 0x2a]
cmp ecx, 2
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
jl 0x4f98e8
mov eax, dword [edi + 4]
add ecx, 0xfffffffe
shr ecx, 1
add eax, 0x1f
inc ecx
lea edx, [ecx + ecx]
movzx esi, byte [eax - 0x10]
shr esi, 1
and esi, 1
add dword [esp + 0x1c], esi
movzx esi, byte [eax]
shr esi, 1
and esi, 1
add dword [esp + 0x20], esi
add eax, 0x20
sub ecx, 1
jne 0x4f98bf
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
movsx ecx, word [edi + 0x2a]
cmp edx, ecx
jge 0x4f9902
mov eax, dword [edi + 4]
shl edx, 4
movzx eax, byte [edx + eax + 0xf]
shr eax, 1
and eax, 1
jmp 0x4f9906
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
add edx, edi
add eax, edx
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x4f993e
test esi, esi
je 0x4f9958
sub ecx, eax
cmp esi, ecx
je 0x4f9958
mov eax, dword [ebp + 0xc]
push esi
push ecx
push edx
push eax
push str.table__S_has__d_columns_but__d_values_were_supplied
mov esi, ebx
call fcn.004ae670
add esp, 0x14
jmp 0x4fa33f
mov eax, dword [edx + 4]
cmp esi, eax
je 0x4f9958
push eax
push esi
push str._d_values_for__d_columns
mov esi, ebx
call fcn.004ae670
jmp 0x4fa33c
mov ecx, dword [esp + 0x34]
test byte [ecx + 0x1c], 0x80
je 0x4f9991
cmp byte [ebx + 0x12], 0
jne 0x4f9991
cmp dword [ebx + 0x78], 0
jne 0x4f9991
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov esi, dword [esp + 0x14]
push 0
push eax
push 0
push 0x46
push esi
mov dword [esp + 0x90], eax
call fcn.004cc1f0
add esp, 0x14
jmp 0x4f9995
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x80], 0
jne 0x4f9a10
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x50]
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x6e
push esi
mov edi, ebx
call fcn.004fbc70
mov edi, eax
mov eax, dword [esp + 0x50]
add esp, 0x1c
lea ecx, [edi*4 + 4]
push 0
push ecx
call fcn.004ab890
add esp, 8
mov dword [esp + 0x60], eax
test eax, eax
je 0x4fa33f
mov eax, dword [esi + 8]
xor ecx, ecx
test edi, edi
jle 0x4f9a0c
lea ecx, [ecx]
inc dword [ebx + 0x2c]
mov edx, dword [ebx + 0x2c]
mov esi, dword [esp + 0x60]
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 0x4f99f0
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4f9a46
mov edx, dword [esp + 0x4c]
mov ecx, dword [ebp + 0xc]
mov edi, dword [esp + 0x58]
mov dword [ecx + 0x34], edx
cmp dword [eax], 0
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edi
mov dword [eax + 0x20], edx
je 0x4f9a46
push eax
push ebx
mov eax, ecx
call fcn.0050f3d0
add esp, 8
cmp byte [esp + 0x13], 0
je 0x4f9a6d
mov eax, dword [esp + 0x48]
push 0
push 0
push eax
push 0x24
push esi
call fcn.004cc1f0
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x84], ecx
jmp 0x4f9a8e
cmp dword [ebp + 0x10], 0
je 0x4f9a98
mov edx, dword [esp + 0x88]
push 0
push 0
push edx
push 0xe
push esi
call fcn.004cc1f0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
add esp, 0x14
mov eax, esi
call fcn.004cc760
test byte [esp + 0x50], 1
mov dword [esp + 0x20], eax
je 0x4f9ccd
mov eax, dword [esp + 0x18]
movsx esi, word [eax + 0x2a]
inc esi
mov ecx, ebx
call fcn.004e6a70
cmp dword [esp + 0x2c], 0
mov edi, eax
mov dword [esp + 0x50], edi
jge 0x4f9ad9
mov ecx, dword [esp + 0x14]
push 0
push edi
push 0xffffffffffffffff
push 0x46
push ecx
jmp 0x4f9b50
cmp byte [esp + 0x13], 0
push edi
je 0x4f9afc
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x18]
push edx
push eax
push 0x5a
push esi
call fcn.004cc1f0
add esp, 0x14
jmp 0x4f9b19
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
lea ecx, [eax + eax*2]
mov eax, dword [edx + ecx*8 + 4]
push eax
push ebx
call fcn.004e53f0
mov esi, dword [esp + 0x20]
add esp, 0xc
push 0
push 0
push edi
push 0x33
push esi
call fcn.004cc1f0
add esp, 0x14
push 0
push edi
push 0xffffffffffffffff
push 0x46
push esi
mov dword [esp + 0x58], eax
call fcn.004cc1f0
mov eax, dword [esp + 0x58]
add esp, 0x14
mov edx, esi
call fcn.004ccb60
push 0
push 0
push edi
push 0xf
push esi
call fcn.004cc1f0
mov edx, dword [esp + 0x2c]
xor ecx, ecx
add esp, 0x14
xor edi, edi
cmp cx, word [edx + 0x2a]
jge 0x4f9c45
mov ecx, dword [esp + 0x50]
or eax, 0xffffffff
lea esi, [ecx + 1]
sub eax, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x78], eax
cmp dword [ebp + 0x14], 0
je 0x4f9bad
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
xor edi, edi
test ecx, ecx
jle 0x4f9bad
mov edx, eax
mov eax, dword [edx]
add eax, 4
mov edx, dword [esp + 0x78]
add edx, esi
cmp dword [eax], edx
je 0x4f9bad
inc edi
add eax, 8
cmp edi, ecx
jl 0x4f9b9b
mov cl, byte [esp + 0x13]
test cl, cl
jne 0x4f9bbc
cmp dword [esp + 0x3c], 0
je 0x4f9bc8
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4f9be4
cmp edi, dword [eax + 4]
jl 0x4f9be4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x38]
mov eax, dword [ecx + edx + 4]
push esi
push eax
push ebx
call fcn.004e53f0
add esp, 0xc
jmp 0x4f9c1e
test cl, cl
je 0x4f9c00
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
push esi
push edi
push ecx
push 0x5a
push edx
call fcn.004cc1f0
add esp, 0x14
jmp 0x4f9c1e
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x1c]
lea eax, [edi + edi*2]
mov esi, dword [ecx + eax*8 + 4]
mov eax, dword [ebp + 8]
call fcn.004e54e0
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x1c]
cmp dword [ebp + 0x14], 0
jne 0x4f9c25
inc edi
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x78]
movsx ecx, word [eax + 0x2a]
add dword [esp + 0x38], 0x10
inc esi
add edx, esi
cmp edx, ecx
mov dword [esp + 0x1c], esi
jl 0x4f9b82
cmp dword [esp + 0x80], 0
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x5c]
jne 0x4f9c6c
mov eax, dword [esp + 0x14]
lea edx, [edi + 1]
push edx
push eax
mov eax, dword [esp + 0x20]
call fcn.004f8dc0
add esp, 8
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0x18]
push ecx
movsx ecx, word [eax + 0x2a]
push edx
mov edx, edi
sub edx, ecx
dec edx
push edx
push eax
mov eax, dword [esp + 0x64]
push 1
push 0
push 0x74
push eax
push ebx
call fcn.0050d490
mov ecx, dword [esp + 0x3c]
movsx eax, word [ecx + 0x2a]
inc eax
add esp, 0x24
cmp eax, 1
jne 0x4f9cc0
test edi, edi
je 0x4f9cd1
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4f9cd1
movzx edx, al
mov dword [ebx + edx*4 + 0x90], edi
inc byte [ebx + 0x13]
jmp 0x4f9cd1
cmp eax, dword [ebx + 0x1c]
jle 0x4f9cd1
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], edi
jmp 0x4f9cd1
mov esi, dword [esp + 0x5c]
cmp dword [esp + 0x80], 0
jne 0x4fa1c6
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x38], 0
je 0x4f9d01
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
push 0
push ecx
push 0
push 0x49
push edx
call fcn.004cc1f0
add esp, 0x14
cmp dword [esp + 0x2c], 0
jl 0x4f9e32
cmp byte [esp + 0x13], 0
je 0x4f9d87
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
push esi
push eax
push ecx
push 0x5a
mov edx, dword [esp + 0x24]
push edx
call fcn.004cc1f0
add esp, 0x14
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x38], 0
push 0
jne 0x4f9e0e
mov ecx, dword [esp + 0x18]
push 0
push esi
push 0x33
push ecx
call fcn.004cc1f0
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
add esp, 0x14
push edx
mov edi, eax
mov eax, dword [esp + 0x50]
push esi
push eax
push 0x79
push ecx
call fcn.004cc1f0
mov edx, dword [esp + 0x28]
add esp, 0x14
mov eax, edi
call fcn.004ccb60
mov edi, dword [esp + 0x14]
push 0
push 0
push esi
push 0xf
push edi
jmp 0x4f9e6d
cmp dword [ebp + 0x10], 0
je 0x4f9d9f
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
push 0
push esi
add eax, ecx
push eax
push 0x4e
jmp 0x4f9d20
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*8 + 4]
push esi
push edx
push ebx
call fcn.004e53f0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x88]
mov edx, dword [ecx]
add esp, 0xc
dec eax
cmp byte [edx + 0x49], 0
je 0x4f9dd3
mov eax, 0x6403fc
jmp 0x4f9ddc
mov ecx, dword [ecx + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp byte [eax], 0x49
jne 0x4f9d2d
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x38], 0
jne 0x4f9d2d
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov byte [esp + 0x26], 1
mov byte [eax], 0x79
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
jmp 0x4f9e75
mov edi, dword [esp + 0x18]
mov edx, dword [edi + 0x88]
add edx, 2
push edx
push esi
push 0x32
push edi
call fcn.004cc1f0
add esp, 0x14
push 0
push 0
push esi
push 0xf
push edi
jmp 0x4f9e6d
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x38], 0
jne 0x4f9e61
cmp byte [esp + 0x33], 0
jne 0x4f9e61
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
push ecx
push esi
push edx
push 0x79
push eax
call fcn.004cc1f0
mov byte [esp + 0x3a], 1
jmp 0x4f9e72
mov ecx, dword [esp + 0x14]
push 0
push esi
push 0
push 0x49
push ecx
call fcn.004cc1f0
add esp, 0x14
mov eax, dword [esp + 0x40]
xor edi, edi
cmp eax, edi
jle 0x4f9e93
mov edx, dword [ebx + 8]
push edi
push esi
push eax
push 0x98
push edx
call fcn.004cc1f0
add esp, 0x14
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ax, word [ecx + 0x2a]
mov dword [esp + 0x38], edi
mov dword [esp + 0x1c], edi
jge 0x4fa04d
mov esi, dword [esp + 0x58]
mov dword [esp + 0x40], edi
mov edi, dword [ebp + 0x14]
mov eax, ecx
jmp 0x4f9ec0
movsx edx, word [eax + 0x28]
mov ecx, dword [esp + 0x1c]
cmp ecx, edx
jne 0x4f9ee5
mov eax, dword [esp + 0x14]
push 0
push 0
push esi
push 0x4a
push eax
call fcn.004cc1f0
add esp, 0x14
jmp 0x4fa02c
test edi, edi
jne 0x4f9f80
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x40]
test byte [edx + eax + 0xf], 2
je 0x4f9f78
inc dword [esp + 0x38]
cmp byte [ebx + 0x17], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x40]
mov edi, dword [edx + eax + 4]
je 0x4fa01e
mov byte [esp + 0x98], 2
mov dword [esp + 0x88], 0x4e1a00
mov dword [esp + 0x8c], 0x4e19a0
mov dword [esp + 0x9c], 0
test edi, edi
je 0x4f9f64
lea ecx, [esp + 0x84]
push edi
push ecx
call fcn.004dd300
add esp, 8
cmp byte [esp + 0x98], 0
je 0x4fa01e
push esi
push edi
mov edi, ebx
call fcn.004e5270
mov edi, dword [ebp + 0x14]
add esp, 8
jmp 0x4fa02c
mov eax, ecx
sub eax, dword [esp + 0x38]
jmp 0x4f9fa1
mov edx, dword [edi + 4]
xor eax, eax
test edx, edx
jle 0x4f9fa9
mov ecx, dword [edi]
mov edi, dword [esp + 0x1c]
add ecx, 4
cmp dword [ecx], edi
je 0x4f9f9e
inc eax
add ecx, 8
cmp eax, edx
jl 0x4f9f92
mov edi, dword [ebp + 0x14]
test eax, eax
jl 0x4f9eff
cmp dword [esp + 0x28], 0
je 0x4f9eff
test edi, edi
je 0x4f9fc1
cmp eax, dword [edi + 4]
jge 0x4f9eff
cmp byte [esp + 0x13], 0
je 0x4f9fe0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
push esi
push eax
push ecx
push 0x5a
push edx
call fcn.004cc1f0
add esp, 0x14
jmp 0x4fa02c
cmp dword [ebp + 0x10], 0
je 0x4fa009
mov ecx, dword [esp + 0x68]
cmp ecx, dword [esp + 0x58]
je 0x4fa02c
push 0
mov edx, ecx
push esi
add eax, edx
push eax
mov eax, dword [esp + 0x20]
push 0x4f
push eax
call fcn.004cc1f0
add esp, 0x14
jmp 0x4fa02c
mov edx, dword [esp + 0x3c]
lea ecx, [eax + eax*2]
mov eax, dword [edx + ecx*8 + 4]
push esi
push eax
push ebx
call fcn.004e53f0
jmp 0x4fa029
push esi
push edi
push ebx
call fcn.004e53f0
mov edi, dword [ebp + 0x14]
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
movsx edx, word [eax + 0x2a]
add dword [esp + 0x40], 0x10
inc ecx
inc esi
cmp ecx, edx
mov dword [esp + 0x1c], ecx
jl 0x4f9ec0
xor edi, edi
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x38], edi
je 0x4fa111
mov edi, dword [esi + 0x40]
test edi, edi
je 0x4fa070
mov eax, dword [esp + 0x34]
cmp dword [edi], eax
je 0x4fa070
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x4fa065
push esi
mov eax, ebx
call fcn.00511430
movsx eax, word [esi + 0x2a]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x18]
add esp, 4
push ecx
add eax, 2
push eax
push 1
push 0xa
push esi
call fcn.004cc1f0
mov edx, dword [esi]
add esp, 0x14
cmp byte [edx + 0x49], 0
jne 0x4fa0dd
test eax, eax
jge 0x4fa0ac
mov eax, dword [esi + 0x88]
dec eax
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea eax, [ecx + eax*4]
je 0x4fa0cf
push edi
push eax
mov eax, 0xfffffff4
mov ecx, esi
call fcn.004cce90
add esp, 8
jmp 0x4fa0dd
test edi, edi
je 0x4fa0dd
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf4
inc dword [edi + 0xc]
mov ecx, dword [ebp + 0x18]
cmp ecx, 0xb
jne 0x4fa0ea
mov ecx, 2
mov eax, dword [esi + 0x88]
test eax, eax
jle 0x4fa0ff
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
mov word [eax + edx*4 - 0x12], cx
mov eax, dword [ebx + 0x74]
test eax, eax
jne 0x4fa108
mov eax, ebx
mov byte [eax + 0x15], 1
jmp 0x4fa1c6
mov ecx, dword [ebp + 0x1c]
cmp dword [esp + 0x2c], edi
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [ebp + 0x18]
push edi
lea edx, [esp + 0x4c]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x80]
setge dl
movzx eax, dl
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x78]
push edi
mov edi, dword [esp + 0x80]
push edi
push ecx
push edx
push eax
push esi
push ebx
call fcn.004fa490
add esp, 0x34
push 0
push 0
push edi
push 0
push esi
push ebx
call fcn.004f7c40
add esp, 0x18
cmp dword [esp + 0x44], 0
je 0x4fa198
cmp dword [esp + 0x54], 0
jne 0x4fa194
mov ecx, dword [esp + 0x34]
test dword [ecx + 0x1c], 0x4000
je 0x4fa198
mov eax, dword [esi + 0x48]
mov ebx, dword [esi]
add eax, 0x38
call fcn.004afeb0
mov ebx, dword [ebp + 8]
test eax, eax
je 0x4fa198
xor eax, eax
jmp 0x4fa19d
mov eax, 1
movzx edx, byte [esp + 0x26]
push eax
mov eax, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x74]
push 0
push eax
mov eax, dword [esp + 0x5c]
mov ecx, edi
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
push ebx
call fcn.004fba40
add esp, 0x24
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x14]
test eax, eax
je 0x4fa1e2
push 0
push 1
push eax
push 0x53
push esi
call fcn.004cc1f0
add esp, 0x14
mov edx, dword [esp + 0x54]
test edx, edx
je 0x4fa216
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x18]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x20]
movsx edi, word [ecx + 0x2a]
sub eax, edi
sub eax, 2
push eax
push ecx
push 2
push 0
push 0x74
push edx
push ebx
call fcn.0050d490
add esp, 0x24
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4fa235
mov edx, dword [esp + 0x20]
lea ecx, [edx*4 + 4]
mov edx, dword [esi + 0x88]
sub eax, ecx
mov dword [eax], edx
cmp byte [esp + 0x13], 0
je 0x4fa294
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x48]
push 0
push eax
push edi
push 5
push esi
call fcn.004cc1f0
mov eax, dword [esp + 0x88]
mov ecx, dword [esi + 0x88]
add esp, 0x14
test eax, eax
jge 0x4fa267
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x49], 0
je 0x4fa276
mov eax, 0x6403fc
jmp 0x4fa27f
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
push 0
push 0
push edi
push 0x75
push esi
mov dword [eax + 8], ecx
call fcn.004cc1f0
add esp, 0x14
jmp 0x4fa2e1
cmp dword [ebp + 0x10], 0
je 0x4fa2e1
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x14]
push 0
push eax
push 0
push 0xb
push esi
call fcn.004cc1f0
mov eax, dword [esp + 0x88]
mov ecx, dword [esi + 0x88]
add esp, 0x14
test eax, eax
jge 0x4fa2c6
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x49], 0
je 0x4fa2d5
mov eax, 0x6403fc
jmp 0x4fa2de
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
cmp byte [ebx + 0x12], 0
jne 0x4fa2fa
cmp dword [ebx + 0x78], 0
jne 0x4fa2fa
cmp dword [ebx + 0x70], 0
je 0x4fa2fa
mov esi, ebx
call fcn.004f9200
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4fa33f
mov ebx, dword [esp + 0x14]
push 0
push 1
push eax
push 0x51
push ebx
call fcn.004cc1f0
add esp, 0x14
push 1
call fcn.004ce040
mov eax, dword [ebx]
add esp, 4
cmp byte [eax + 0x49], 0
jne 0x4fa33f
mov ecx, dword [ebx + 0x64]
push 0
push 1
push str.rows_inserted
or eax, 0xffffffff
call fcn.004cb4c0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x34]
push ecx
mov eax, esi
call fcn.004f0b10
mov eax, dword [esp + 0x40]
add esp, 4
test eax, eax
je 0x4fa363
push eax
push esi
call fcn.004e1850
add esp, 8
mov ebx, dword [esp + 0x34]
mov esi, dword [ebp + 0x1c]
mov edi, ebx
call fcn.0050f1d0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4fa384
push 1
push eax
push ebx
call fcn.005019f0
add esp, 0xc
mov edi, dword [ebp + 0x14]
mov esi, ebx
call fcn.004f07c0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4fa3df
test ebx, ebx
je 0x4fa3d6
cmp dword [ebx + 0x1d8], 0
je 0x4fa3b1
mov ecx, ebx
call fcn.004ab500
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [ebx + 0x128]
jb 0x4fa3d6
cmp eax, dword [ebx + 0x12c]
jae 0x4fa3d6
mov edx, dword [ebx + 0x124]
mov dword [eax], edx
mov dword [ebx + 0x124], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.004ab490
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret