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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x70a034]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
push edi
mov dword [esp + 0x64], edx
mov esi, ecx
mov dword [esp + 0x20], esi
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x8c], eax
or eax, 0xffffffff
mov dword [esp + 0x5c], eax
mov ecx, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x24], 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x74], eax
mov byte [esp + 0x17], al
mov byte [esp + 0x2f], al
mov dword [esp + 0x4c], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x68], eax
mov eax, dword [esi]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x48], eax
jne 0x4d621d
cmp byte [eax + 0x51], 0
jne 0x4d621d
mov dword [esp + 0x54], 0
test ecx, ecx
je 0x4d506a
test dword [ecx + 8], 0x200
je 0x4d506a
cmp dword [ecx + 0x34], 0
jne 0x4d506a
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
mov edx, ecx
mov dword [ecx], 0
mov ecx, eax
push 1
call fcn.004de680
add esp, 4
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x64]
mov ecx, esi
call fcn.004cd8b0
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x4d6219
mov ecx, dword [edi + 0x48]
mov edx, 0xfff0bdc0
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x4d50b3
mov eax, dword [esp + 0x48]
xor edx, edx
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4d50b3
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4d50a7
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x48]
mov ecx, edx
add ecx, ecx
mov edx, 0x12
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, esi
push 0
push dword [edi]
call fcn.004c54b0
add esp, 0xc
test eax, eax
jne 0x4d6219
mov eax, dword [edi + 0x24]
mov edx, edi
shr eax, 5
mov ecx, esi
and eax, 0xffffff01
mov dword [esp + 0x84], eax
lea eax, [esp + 0x80]
push eax
push 0
push 0x7b
call fcn.004eaaf0
add esp, 0xc
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0xc]
mov edx, edi
mov ecx, esi
mov dword [esp + 0x58], eax
call fcn.004c8ec0
test eax, eax
jne 0x4d6219
push dword [esp + 0x80]
mov edx, edi
mov ecx, esi
call fcn.004cd9c0
add esp, 4
test eax, eax
jne 0x4d6219
mov ecx, esi
call fcn.004e1820
mov edi, eax
mov dword [esp + 0x3c], edi
test edi, edi
je 0x4d6219
cmp byte [esi + 0x12], 0
jne 0x4d515f
or dword [edi + 0x98], 0x20
cmp dword [esp + 0x40], 0
jne 0x4d5171
cmp dword [esp + 0x60], 0
jne 0x4d5171
xor edx, edx
jmp 0x4d5176
mov edx, 1
push dword [esp + 0x1c]
mov ecx, esi
call fcn.004cc120
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x4d51ac
push dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, esi
push dword [ebp + 0x10]
push dword [esp + 0x48]
call fcn.004d82c0
add esp, 0xc
test eax, eax
jne 0x4d617a
push dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.004d4c20
mov ecx, dword [esi + 0x2c]
add esp, 4
mov edx, dword [esp + 0xc]
mov dword [esp + 0x44], eax
lea eax, [ecx + 1]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x38], eax
movsx eax, word [edx + 0x2a]
inc eax
add eax, ecx
mov dword [esi + 0x2c], eax
cmp dword [edx + 0x38], 0
je 0x4d51f1
add ecx, 2
inc eax
mov dword [esp + 0x38], ecx
mov dword [esi + 0x2c], eax
jmp 0x4d51f5
mov ecx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov ecx, dword [edx + 0x24]
shr ecx, 7
not cl
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x10]
and ecx, 0xffffff01
mov dword [esp + 0x24], ecx
test eax, eax
je 0x4d534c
xor ecx, ecx
cmp dword [eax + 4], ecx
jle 0x4d523b
mov edi, eax
mov eax, dword [edi]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
cmp ecx, dword [edi + 4]
jl 0x4d5223
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
cmp dword [eax + 4], 0
mov dword [esp + 0x18], 0
jle 0x4d534c
nop dword [eax]
movsx eax, word [edx + 0x2a]
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
test eax, eax
jle 0x4d52f3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
lea eax, [eax + ecx*8]
mov dword [esp + 0x78], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x9c], eax
mov edx, dword [eax]
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
call fcn.00483c40
mov ecx, dword [esp + 0x28]
test eax, eax
je 0x4d52b8
mov eax, dword [esp + 0x9c]
inc ecx
add eax, 0x10
mov dword [esp + 0x28], ecx
mov dword [esp + 0x9c], eax
cmp ecx, dword [esp + 0x30]
jl 0x4d5281
mov edx, dword [esp + 0xc]
jmp 0x4d52f3
mov eax, dword [esp + 0x78]
xor edx, edx
cmp dword [esp + 0x18], ecx
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x24]
movzx eax, al
cmove edx, eax
mov dword [esp + 0x30], edx
mov byte [esp + 0x24], dl
mov edx, dword [esp + 0xc]
movsx eax, word [edx + 0x28]
cmp ecx, eax
jne 0x4d52f3
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov al, byte [esp + 0x30]
mov dword [esp + 0x24], eax
movsx eax, word [edx + 0x2a]
cmp ecx, eax
jl 0x4d5336
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + eax*8]
call fcn.004ba710
test eax, eax
je 0x4d5458
cmp byte [esp + 0x84], 0
jne 0x4d5458
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov byte [esp + 0x24], 0
jmp 0x4d533a
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [ecx + 4]
jl 0x4d5250
cmp dword [esp + 0x40], 0
je 0x4d5559
inc dword [esi + 0x2c]
mov edx, 0xd
mov eax, dword [edi + 0x6c]
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x30], eax
inc eax
push eax
push 0
mov dword [esp + 0x80], ecx
push ecx
mov ecx, edi
call fcn.004a2080
mov eax, dword [esp + 0x84]
add esp, 0xc
mov edx, dword [esp + 0x40]
mov ecx, esi
mov dword [esp + 0xa4], eax
xor eax, eax
cmp byte [esp + 0x24], al
mov byte [esp + 0xa0], 0xd
cmovne eax, dword [esp + 0x70]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb0], 0
movsx eax, word [eax + 0x2a]
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa0]
push eax
call fcn.004e6ec0
mov ecx, dword [esp + 0xac]
add esp, 4
mov dword [esp + 0x88], ecx
test eax, eax
jne 0x4d6219
mov eax, dword [esp + 0x48]
cmp byte [eax + 0x51], 0
jne 0x4d6219
cmp dword [esi + 0x24], 0
jne 0x4d6219
mov edx, dword [esp + 0x78]
mov ecx, edi
call fcn.004a27b0
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.004a2ba0
cmp dword [esp + 0x60], 0
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
jne 0x4d5482
push dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.004d4b40
add esp, 4
test eax, eax
jne 0x4d5482
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
jmp 0x4d55ab
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [edi]
push dword [eax + ecx*8]
push 0
push dword [esp + 0x6c]
push str.table__S_has_no_column_named__s
push esi
call fcn.00483a70
add esp, 0x14
mov byte [esi + 0x11], 1
jmp 0x4d621d
mov edx, dword [esi + 0x28]
mov ecx, esi
mov byte [esp + 0x17], 1
mov dword [esp + 0x34], edx
lea eax, [edx + 1]
mov dword [esi + 0x28], eax
call fcn.004c0360
mov edi, eax
call fcn.004c0360
push dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
push edx
mov edx, 0x70
mov dword [esp + 0x30], eax
call fcn.004a21b0
mov eax, dword [esp + 0xac]
mov edx, 0xe
mov ecx, dword [esp + 0x44]
push eax
mov dword [esp + 0x60], eax
call fcn.004a2150
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov edx, 0x5c
mov esi, eax
push edi
push dword [esp + 0x28]
push dword [esp + 0x90]
call fcn.004a2080
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov edx, 0x79
push dword [esp + 0x28]
push dword [esp + 0x38]
call fcn.004a21b0
push dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov edx, 0x7a
push edi
push dword [esp + 0x44]
call fcn.004a2080
mov ecx, dword [esp + 0x50]
add esp, 0x14
mov edx, esi
call fcn.004a2220
mov ecx, dword [esp + 0x3c]
mov edx, esi
call fcn.004a2ba0
mov ecx, dword [esp + 0x20]
mov edx, edi
call fcn.004c0380
mov edx, dword [esp + 0x28]
call fcn.004c0380
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
jmp 0x4d55ab
mov ecx, dword [esp + 0x4c]
xorps xmm0, xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xa0], esi
mov dword [esp + 0x34], 0xffffffff
test ecx, ecx
je 0x4d55a5
mov eax, dword [ecx]
mov edx, ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x24], eax
call fcn.004b7940
test eax, eax
jne 0x4d6219
mov eax, dword [esp + 0x24]
jmp 0x4d55ab
xor eax, eax
mov dword [esp + 0x24], eax
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0xc]
jne 0x4d55c2
test eax, eax
jle 0x4d55c2
movsx eax, word [ecx + 0x28]
mov dword [esp + 0x5c], eax
movsx eax, word [ecx + 0x2a]
xor edx, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
cmp eax, 2
jl 0x4d5621
mov edx, dword [ecx + 4]
add eax, 0xfffffffe
shr eax, 1
add edx, 0x1f
inc eax
mov dword [esp + 0x30], eax
add eax, eax
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
movzx eax, byte [edx - 0x10]
lea edx, [edx + 0x20]
shr eax, 1
and eax, 1
add dword [esp + 0x28], eax
movzx eax, byte [edx - 0x20]
shr eax, 1
and eax, 1
add dword [esp + 0x18], eax
sub edi, 1
jne 0x4d55f3
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
movsx eax, word [ecx + 0x2a]
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x1c], eax
jge 0x4d5649
shl dword [esp + 0x1c], 4
mov esi, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
movzx eax, byte [esi + eax + 0xf]
mov esi, dword [esp + 0x20]
shr eax, 1
and eax, 1
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x18]
add eax, edx
mov edx, dword [esp + 0x7c]
add edx, eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4d568c
cmp dword [esp + 0x24], eax
je 0x4d56ac
movsx eax, word [ecx + 0x2a]
sub eax, edx
mov edx, dword [esp + 0x24]
cmp edx, eax
je 0x4d56ac
push edx
push eax
push 0
push dword [esp + 0x70]
push str.table__S_has__d_columns_but__d_values_were_supplied
push esi
call fcn.00483a70
add esp, 0x18
jmp 0x4d6219
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x24]
cmp edx, eax
je 0x4d56ac
push eax
push edx
push str._d_values_for__d_columns
push esi
call fcn.00483a70
add esp, 0x10
jmp 0x4d6219
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
je 0x4d56ec
cmp byte [esi + 0x12], 0
jne 0x4d56ec
cmp dword [esi + 0x78], 0
jne 0x4d56ec
inc dword [esi + 0x2c]
mov edx, 0x46
mov eax, dword [esi + 0x2c]
mov ecx, edi
push eax
push 0
mov dword [esp + 0xa0], eax
call fcn.004a21b0
mov ecx, dword [esp + 0x14]
add esp, 8
cmp dword [esp + 0x58], 0
jne 0x4d578a
lea eax, [esp + 0x90]
mov edx, ecx
push eax
lea eax, [esp + 0x54]
mov ecx, esi
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x62
call fcn.004d7fa0
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x94], eax
push 0
lea eax, [eax*4 + 8]
push eax
call fcn.00480920
add esp, 0x20
mov dword [esp + 0x68], eax
test eax, eax
je 0x4d6219
mov ecx, dword [esp + 0xc]
xor edx, edx
mov eax, dword [ecx + 8]
mov dword [esp + 0x30], eax
cmp dword [esp + 0x7c], edx
jle 0x4d5779
mov edi, eax
inc dword [esi + 0x2c]
mov ecx, dword [esp + 0x68]
mov eax, dword [esi + 0x2c]
mov dword [ecx + edx*4], eax
inc edx
movzx eax, word [edi + 0x34]
add dword [esi + 0x2c], eax
mov edi, dword [edi + 0x14]
cmp edx, dword [esp + 0x7c]
jl 0x4d5753
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov esi, dword [esp + 0x68]
mov dword [esi + edx*4], eax
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x8c]
test edx, edx
je 0x4d57fb
cmp dword [ecx + 0x38], 0
je 0x4d57ad
push dword [ecx]
push str.UPSERT_not_implemented_for_virtual_table___s_
push esi
call fcn.00483a70
jmp 0x4d6216
mov edx, dword [edx]
mov ecx, esi
call fcn.004ca410
test eax, eax
jne 0x4d6219
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x34], ecx
cmp dword [edx], 0
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x90]
mov dword [edx + 0x1c], ecx
mov dword [edx + 0x20], eax
je 0x4d57fb
push edx
mov edx, dword [esp + 0x68]
mov ecx, esi
call fcn.004edeb0
add esp, 4
cmp byte [esp + 0x17], 0
je 0x4d5822
push dword [esp + 0x34]
mov edx, 0x24
mov ecx, edi
call fcn.004a2150
mov dword [esp + 0x98], eax
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x78], eax
jmp 0x4d5846
cmp dword [esp + 0x40], 0
je 0x4d5849
push dword [esp + 0x54]
mov edx, 0xe
mov ecx, edi
call fcn.004a2150
mov ecx, eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x98], ecx
add esp, 4
dec dword [esi + 0x38]
test byte [esp + 0x80], 1
mov eax, dword [esi + 0x38]
mov dword [esp + 0x28], eax
je 0x4d5ae2
mov eax, dword [esp + 0xc]
mov ecx, esi
movsx edx, word [eax + 0x2a]
inc edx
call fcn.004c03a0
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
push eax
test ecx, ecx
jns 0x4d5894
push 0xffffffffffffffff
mov edx, 0x46
mov ecx, edi
call fcn.004a21b0
add esp, 8
jmp 0x4d5909
cmp byte [esp + 0x1b], 0
je 0x4d58b1
push ecx
push dword [esp + 0x3c]
mov edx, 0x5a
mov ecx, edi
call fcn.004a2080
add esp, 0xc
jmp 0x4d58c6
mov eax, dword [esp + 0x50]
lea edx, [ecx + ecx*2]
mov ecx, esi
mov edx, dword [eax + edx*8 + 4]
call fcn.004be8f0
add esp, 4
push dword [esp + 0x18]
mov edx, 0x33
mov ecx, edi
call fcn.004a2150
add esp, 4
mov edx, 0x46
mov ecx, edi
mov esi, eax
push dword [esp + 0x18]
push 0xffffffffffffffff
call fcn.004a21b0
mov edx, esi
mov ecx, edi
call fcn.004a2ba0
push dword [esp + 0x20]
mov edx, 0xf
mov ecx, edi
call fcn.004a2150
add esp, 0xc
mov ecx, dword [esp + 0xc]
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x2a]
jge 0x4d5a5c
mov edx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
inc edx
or eax, 0xffffffff
mov dword [esp + 0x1c], edx
sub eax, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4d596d
xor esi, esi
cmp dword [eax + 4], esi
jle 0x4d596d
mov ecx, dword [eax]
mov edi, dword [esp + 0x80]
add ecx, 4
lea eax, [edx + edi]
cmp dword [ecx], eax
mov eax, dword [esp + 0x10]
je 0x4d5965
inc esi
add ecx, 8
cmp esi, dword [eax + 4]
jl 0x4d5951
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
cmp byte [esp + 0x17], 0
jne 0x4d597b
cmp dword [esp + 0x4c], 0
je 0x4d5984
test eax, eax
je 0x4d59ef
cmp esi, dword [eax + 4]
jl 0x4d59ef
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x54]
mov eax, dword [eax + ecx + 4]
test eax, eax
je 0x4d59b5
cmp byte [eax], 0xab
jne 0x4d59b5
push edx
push dword [eax + 0x1c]
mov eax, dword [esp + 0x28]
mov edx, 0x4e
mov ecx, dword [eax + 8]
call fcn.004a21b0
add esp, 8
jmp 0x4d5a24
mov ecx, dword [esp + 0x20]
push edx
mov edx, eax
call fcn.004bd5f0
mov edx, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, edx
je 0x4d5a28
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4d5a28
push edx
push dword [esp + 0x34]
mov edx, 0x4f
call fcn.004a21b0
add esp, 8
jmp 0x4d5a24
cmp byte [esp + 0x17], 0
push edx
je 0x4d5a0d
push esi
push dword [esp + 0x3c]
mov edx, 0x5a
mov ecx, edi
call fcn.004a2080
add esp, 0xc
jmp 0x4d5a24
mov eax, dword [esp + 0x50]
lea edx, [esi + esi*2]
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + edx*8 + 4]
call fcn.004be9e0
add esp, 4
mov edx, dword [esp + 0x1c]
add dword [esp + 0x54], 0x10
lea eax, [esi + 1]
mov ecx, dword [esp + 0x80]
inc edx
cmp dword [esp + 0x10], 0
mov dword [esp + 0x1c], edx
cmovne eax, esi
add ecx, edx
mov esi, eax
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x2a]
cmp ecx, eax
mov ecx, dword [esp + 0xc]
jl 0x4d5936
cmp dword [esp + 0x58], 0
jne 0x4d5a75
mov eax, dword [esp + 0x18]
mov edx, ecx
inc eax
mov ecx, edi
push eax
call fcn.004d4a20
add esp, 4
mov edx, dword [esp + 0xc]
push dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push dword [ebp + 0x10]
movsx eax, word [edx + 0x2a]
mov esi, dword [esp + 0x28]
sub ecx, eax
dec ecx
push ecx
push edx
mov edx, dword [esp + 0x70]
mov ecx, esi
push 1
push 0
push 0x7b
call fcn.004eb500
mov ecx, dword [esp + 0x28]
add esp, 0x1c
movsx eax, word [ecx + 0x2a]
inc eax
cmp eax, 1
jne 0x4d5ad1
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4d5ae6
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4d5ae6
movzx eax, al
mov dword [esi + eax*4 + 0x94], edx
inc byte [esi + 0x13]
jmp 0x4d5ae6
cmp eax, dword [esi + 0x1c]
jle 0x4d5ae6
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x20], eax
jmp 0x4d5ae6
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x58], 0
jne 0x4d5fa0
cmp dword [ecx + 0x38], 0
je 0x4d5b10
push dword [esp + 0x6c]
mov edx, 0x49
mov ecx, edi
push 0
call fcn.004a21b0
mov ecx, dword [esp + 0x14]
add esp, 8
mov eax, dword [esp + 0x5c]
test eax, eax
js 0x4d5c00
cmp byte [esp + 0x17], 0
je 0x4d5b3e
mov esi, dword [esp + 0x38]
mov edx, 0x5a
push esi
push eax
push dword [esp + 0x3c]
mov ecx, edi
call fcn.004a2080
add esp, 0xc
jmp 0x4d5b8f
cmp dword [esp + 0x40], 0
je 0x4d5b63
mov esi, dword [esp + 0x38]
mov edx, 0x4e
add eax, dword [esp + 0x88]
mov ecx, edi
push esi
push eax
call fcn.004a21b0
add esp, 8
jmp 0x4d5b8f
mov edx, dword [esp + 0x4c]
lea eax, [eax + eax*2]
mov edx, dword [edx + eax*8 + 4]
cmp byte [edx], 0x75
jne 0x4d5b7d
cmp dword [ecx + 0x38], 0
je 0x4d5c10
push dword [esp + 0x38]
mov ecx, esi
call fcn.004be8f0
mov esi, dword [esp + 0x3c]
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
cmp dword [eax + 0x38], 0
jne 0x4d5bd5
push esi
mov edx, 0x33
call fcn.004a2150
add esp, 4
mov edx, 0x79
mov ecx, edi
mov esi, eax
push dword [esp + 0x44]
push dword [esp + 0x3c]
push dword [esp + 0x58]
call fcn.004a2080
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.004a2ba0
mov esi, dword [esp + 0x38]
jmp 0x4d5bea
mov eax, dword [edi + 0x6c]
mov edx, 0x32
add eax, 2
push eax
push esi
call fcn.004a21b0
add esp, 8
push esi
mov edx, 0xf
mov ecx, edi
call fcn.004a2150
mov esi, dword [esp + 0x24]
add esp, 4
jmp 0x4d5c47
cmp dword [ecx + 0x38], 0
jne 0x4d5c32
cmp byte [esp + 0x84], 0
jne 0x4d5c32
push dword [esp + 0x44]
mov edx, 0x79
mov ecx, edi
push dword [esp + 0x3c]
push dword [esp + 0x58]
call fcn.004a2080
add esp, 0xc
mov byte [esp + 0x2f], 1
jmp 0x4d5c47
push dword [esp + 0x38]
mov edx, 0x49
mov ecx, edi
push 0
call fcn.004a21b0
add esp, 8
push dword [esp + 0x38]
mov edx, dword [esp + 0x48]
mov ecx, esi
call fcn.004d4db0
mov edx, dword [esp + 0x10]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x5c], 0
add esp, 4
mov dword [esp + 0x18], ecx
cmp ax, word [edx + 0x2a]
jge 0x4d5d48
mov dword [esp + 0x44], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x70]
add eax, ecx
mov dword [esp + 0x1c], eax
movsx eax, word [edx + 0x28]
cmp ecx, eax
jne 0x4d5cec
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d5cb3
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x4a
mov ecx, edi
call fcn.004a2040
add esp, 0xc
jmp 0x4d5d2a
mov esi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4d5d2e
cmp dword [esp + 0x10], 0
jne 0x4d5dea
mov esi, dword [esp + 0x44]
mov eax, dword [edx + 4]
test byte [eax + esi + 0xf], 2
mov esi, dword [esp + 0x20]
je 0x4d5de2
inc dword [esp + 0x58]
mov edx, dword [edx + 4]
mov ecx, esi
mov eax, dword [esp + 0x44]
push dword [esp + 0x1c]
mov edx, dword [edx + eax + 4]
call fcn.004be950
add esp, 4
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
movsx eax, word [edx + 0x2a]
inc ecx
add dword [esp + 0x44], 0x10
mov dword [esp + 0x18], ecx
cmp ecx, eax
jl 0x4d5c80
cmp dword [edx + 0x38], 0
je 0x4d5ed3
mov eax, dword [edx + 0x40]
mov dword [esp + 0x84], eax
test eax, eax
je 0x4d5d76
mov ecx, dword [esp + 0x48]
cmp dword [eax], ecx
je 0x4d5d6f
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4d5d64
mov dword [esp + 0x84], eax
mov ecx, esi
call fcn.004f05c0
mov eax, dword [esp + 0xc]
mov edx, 0xa
push 0xfffffffffffffff4
push dword [esp + 0x88]
mov ecx, edi
movsx eax, word [eax + 0x2a]
push dword [esp + 0x74]
add eax, 2
push eax
push 1
call fcn.004a24f0
mov eax, dword [edi + 0x6c]
add esp, 0x14
test eax, eax
jle 0x4d5dcf
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xb
movzx edx, cx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [esp + 0x30], 2
cmove edx, dword [esp + 0x30]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esi + 0x74]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x4d5fa0
mov eax, ecx
sub eax, dword [esp + 0x58]
jmp 0x4d5e29
mov esi, dword [esp + 0x10]
xor eax, eax
cmp dword [esi + 4], eax
mov esi, dword [esp + 0x20]
jle 0x4d5e31
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov ecx, dword [ecx]
add ecx, 4
nop word [eax + eax]
cmp dword [ecx], edx
je 0x4d5e1d
inc eax
add ecx, 8
cmp eax, dword [edi + 4]
jl 0x4d5e10
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
test eax, eax
js 0x4d5d11
cmp dword [esp + 0x24], 0
je 0x4d5d11
cmp dword [esp + 0x10], 0
mov esi, dword [esp + 0x20]
je 0x4d5e58
mov esi, dword [esp + 0x10]
cmp eax, dword [esi + 4]
mov esi, dword [esp + 0x20]
jge 0x4d5d11
cmp byte [esp + 0x17], 0
je 0x4d5e7c
push dword [esp + 0x1c]
mov edx, 0x5a
mov ecx, edi
push eax
push dword [esp + 0x3c]
call fcn.004a2080
add esp, 0xc
jmp 0x4d5d2a
cmp dword [esp + 0x40], 0
je 0x4d5eb8
mov esi, dword [esp + 0x88]
cmp esi, dword [esp + 0x70]
mov esi, dword [esp + 0x20]
je 0x4d5d32
push dword [esp + 0x1c]
add eax, dword [esp + 0x8c]
mov edx, 0x4f
push eax
mov ecx, edi
call fcn.004a21b0
add esp, 8
jmp 0x4d5d2a
push dword [esp + 0x1c]
lea edx, [eax + eax*2]
mov ecx, esi
mov eax, dword [esp + 0x50]
mov edx, dword [eax + edx*8 + 4]
call fcn.004be8f0
jmp 0x4d5d27
push dword [esp + 0x8c]
lea eax, [esp + 0x34]
mov ecx, esi
push 0
push eax
push dword [esp + 0x34]
mov eax, dword [esp + 0x6c]
push dword [ebp + 0x10]
shr eax, 0x1f
xor al, 1
movzx eax, al
push eax
push 0
push dword [esp + 0x88]
push dword [esp + 0xb0]
push dword [esp + 0x74]
push dword [esp + 0x90]
call fcn.004d6330
mov edx, dword [esp + 0x38]
add esp, 0x2c
mov ecx, esi
push 0
push 0
push dword [esp + 0x74]
push 0
call fcn.004d3800
add esp, 0x10
cmp dword [esp + 0x30], 0
je 0x4d5f71
cmp dword [esp + 0x60], 0
jne 0x4d5f6d
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
je 0x4d5f71
mov eax, dword [esp + 0xc]
push 0
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
call fcn.004853a0
add esp, 4
cmp dword [eax + 8], 0
je 0x4d5f71
xor eax, eax
jmp 0x4d5f76
mov eax, 1
mov edx, dword [esp + 0xc]
mov ecx, esi
push eax
movzx eax, byte [esp + 0x33]
push eax
push 0
push dword [esp + 0x74]
push dword [esp + 0x7c]
push dword [esp + 0xa4]
push dword [esp + 0x68]
call fcn.004d7cf0
add esp, 0x1c
mov edx, dword [esp + 0x98]
test edx, edx
je 0x4d5ffc
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d5fc9
push 0
push 1
push edx
mov edx, 0x53
mov ecx, edi
call fcn.004a2040
add esp, 0xc
jmp 0x4d5ffc
mov esi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x53
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x60], 0
je 0x4d6031
mov ecx, dword [esp + 0xc]
push dword [esp + 0x28]
mov edx, dword [esp + 0x74]
push dword [ebp + 0x10]
movsx eax, word [ecx + 0x2a]
sub edx, eax
sub edx, 2
push edx
mov edx, dword [esp + 0x6c]
push ecx
push 2
push 0
push 0x7b
mov ecx, esi
call fcn.004eb500
add esp, 0x1c
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d604f
push edx
mov edx, edi
call fcn.004a2820
add esp, 4
jmp 0x4d6058
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
cmp byte [esp + 0x17], 0
je 0x4d613c
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d6087
mov edx, dword [esp + 0x74]
mov ecx, edi
push 0
push edx
push dword [esp + 0x3c]
mov edx, 5
call fcn.004a2040
add esp, 0xc
jmp 0x4d60ba
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x74]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x94]
mov edx, dword [edi + 0x6c]
test ecx, ecx
jns 0x4d60cb
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4d60da
mov eax, 0x71d19c
jmp 0x4d60e3
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d6107
push 0
push 0
push dword [esp + 0x3c]
mov edx, 0x75
mov ecx, edi
call fcn.004a2040
add esp, 0xc
jmp 0x4d617a
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x75
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4d617a
cmp dword [esp + 0x40], 0
je 0x4d617a
mov edx, dword [esp + 0x74]
mov ecx, edi
call fcn.004a2220
mov ecx, dword [esp + 0x94]
mov edx, dword [edi + 0x6c]
test ecx, ecx
jns 0x4d615f
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4d616e
mov eax, 0x71d19c
jmp 0x4d6177
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp byte [esi + 0x12], 0
jne 0x4d6193
cmp dword [esi + 0x78], 0
jne 0x4d6193
cmp dword [esi + 0x70], 0
je 0x4d6193
mov ecx, esi
call fcn.004d4e20
mov edx, dword [esp + 0x98]
test edx, edx
je 0x4d6219
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d61c0
push 0
push 1
push edx
mov edx, 0x51
mov ecx, edi
call fcn.004a2040
add esp, 0xc
jmp 0x4d61ef
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x51
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, 1
mov ecx, edi
call fcn.004a42a0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4d6219
mov ecx, dword [edi + 0x74]
mov edx, str.rows_inserted
push 0
push 1
push 0xffffffffffffffff
call fcn.004a13a0
add esp, 0xc
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x48]
mov ecx, esi
mov edx, dword [esp + 0x64]
call fcn.004cb8d0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4d623d
mov edx, eax
mov ecx, esi
call fcn.004b9ef0
mov edx, dword [esp + 0x8c]
mov ecx, esi
call fcn.004edca0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4d6261
push 1
mov edx, eax
mov ecx, esi
call fcn.004de680
add esp, 4
mov edx, edi
mov ecx, esi
call fcn.004cb4c0
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x4d62d7
test esi, esi
je 0x4d62ce
cmp dword [esi + 0x1e8], 0
je 0x4d629c
mov edx, ecx
mov ecx, esi
call fcn.00480550
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.006255fe
mov esp, ebp
pop ebp
ret
cmp ecx, dword [esi + 0x138]
jb 0x4d62ce
cmp ecx, dword [esi + 0x13c]
jae 0x4d62ce
mov eax, dword [esi + 0x134]
mov dword [ecx], eax
mov dword [esi + 0x134], ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.006255fe
mov esp, ebp
pop ebp
ret
push ecx
call fcn.004804e0
add esp, 4
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
xor ecx, esp
call fcn.006255fe
mov esp, ebp
pop ebp
ret