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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x70b034]
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 0x4d63bd
cmp byte [eax + 0x51], 0
jne 0x4d63bd
mov dword [esp + 0x54], 0
test ecx, ecx
je 0x4d520a
test dword [ecx + 8], 0x200
je 0x4d520a
cmp dword [ecx + 0x34], 0
jne 0x4d520a
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
mov edx, ecx
mov dword [ecx], 0
mov ecx, eax
push 1
call fcn.004de810
add esp, 4
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x64]
mov ecx, esi
call fcn.004cda50
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x4d63b9
mov ecx, dword [edi + 0x48]
mov edx, 0xfff0bdc0
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x4d5253
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 0x4d5253
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4d5247
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.004c5650
add esp, 0xc
test eax, eax
jne 0x4d63b9
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.004eac80
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.004c9060
test eax, eax
jne 0x4d63b9
push dword [esp + 0x80]
mov edx, edi
mov ecx, esi
call fcn.004cdb60
add esp, 4
test eax, eax
jne 0x4d63b9
mov ecx, esi
call fcn.004e19b0
mov edi, eax
mov dword [esp + 0x3c], edi
test edi, edi
je 0x4d63b9
cmp byte [esi + 0x12], 0
jne 0x4d52ff
or dword [edi + 0x98], 0x20
cmp dword [esp + 0x40], 0
jne 0x4d5311
cmp dword [esp + 0x60], 0
jne 0x4d5311
xor edx, edx
jmp 0x4d5316
mov edx, 1
push dword [esp + 0x1c]
mov ecx, esi
call fcn.004cc2c0
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x4d534c
push dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, esi
push dword [ebp + 0x10]
push dword [esp + 0x48]
call fcn.004d8460
add esp, 0xc
test eax, eax
jne 0x4d631a
push dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.004d4dc0
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 0x4d5391
add ecx, 2
inc eax
mov dword [esp + 0x38], ecx
mov dword [esi + 0x2c], eax
jmp 0x4d5395
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 0x4d54ec
xor ecx, ecx
cmp dword [eax + 4], ecx
jle 0x4d53db
mov edi, eax
mov eax, dword [edi]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
cmp ecx, dword [edi + 4]
jl 0x4d53c3
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
cmp dword [eax + 4], 0
mov dword [esp + 0x18], 0
jle 0x4d54ec
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 0x4d5493
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.00483e40
mov ecx, dword [esp + 0x28]
test eax, eax
je 0x4d5458
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 0x4d5421
mov edx, dword [esp + 0xc]
jmp 0x4d5493
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 0x4d5493
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 0x4d54d6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + eax*8]
call fcn.004ba8a0
test eax, eax
je 0x4d55f8
cmp byte [esp + 0x84], 0
jne 0x4d55f8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov byte [esp + 0x24], 0
jmp 0x4d54da
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [ecx + 4]
jl 0x4d53f0
cmp dword [esp + 0x40], 0
je 0x4d56f9
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.004a2240
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.004e7050
mov ecx, dword [esp + 0xac]
add esp, 4
mov dword [esp + 0x88], ecx
test eax, eax
jne 0x4d63b9
mov eax, dword [esp + 0x48]
cmp byte [eax + 0x51], 0
jne 0x4d63b9
cmp dword [esi + 0x24], 0
jne 0x4d63b9
mov edx, dword [esp + 0x78]
mov ecx, edi
call fcn.004a2970
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.004a2d60
cmp dword [esp + 0x60], 0
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
jne 0x4d5622
push dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.004d4ce0
add esp, 4
test eax, eax
jne 0x4d5622
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
jmp 0x4d574b
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.00483c70
add esp, 0x14
mov byte [esi + 0x11], 1
jmp 0x4d63bd
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.004c04f0
mov edi, eax
call fcn.004c04f0
push dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
push edx
mov edx, 0x70
mov dword [esp + 0x30], eax
call fcn.004a2370
mov eax, dword [esp + 0xac]
mov edx, 0xe
mov ecx, dword [esp + 0x44]
push eax
mov dword [esp + 0x60], eax
call fcn.004a2310
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.004a2240
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov edx, 0x79
push dword [esp + 0x28]
push dword [esp + 0x38]
call fcn.004a2370
push dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov edx, 0x7a
push edi
push dword [esp + 0x44]
call fcn.004a2240
mov ecx, dword [esp + 0x50]
add esp, 0x14
mov edx, esi
call fcn.004a23e0
mov ecx, dword [esp + 0x3c]
mov edx, esi
call fcn.004a2d60
mov ecx, dword [esp + 0x20]
mov edx, edi
call fcn.004c0510
mov edx, dword [esp + 0x28]
call fcn.004c0510
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
jmp 0x4d574b
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 0x4d5745
mov eax, dword [ecx]
mov edx, ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x24], eax
call fcn.004b7b00
test eax, eax
jne 0x4d63b9
mov eax, dword [esp + 0x24]
jmp 0x4d574b
xor eax, eax
mov dword [esp + 0x24], eax
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0xc]
jne 0x4d5762
test eax, eax
jle 0x4d5762
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 0x4d57c1
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 0x4d5793
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 0x4d57e9
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 0x4d582c
cmp dword [esp + 0x24], eax
je 0x4d584c
movsx eax, word [ecx + 0x2a]
sub eax, edx
mov edx, dword [esp + 0x24]
cmp edx, eax
je 0x4d584c
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.00483c70
add esp, 0x18
jmp 0x4d63b9
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x24]
cmp edx, eax
je 0x4d584c
push eax
push edx
push str._d_values_for__d_columns
push esi
call fcn.00483c70
add esp, 0x10
jmp 0x4d63b9
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
je 0x4d588c
cmp byte [esi + 0x12], 0
jne 0x4d588c
cmp dword [esi + 0x78], 0
jne 0x4d588c
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.004a2370
mov ecx, dword [esp + 0x14]
add esp, 8
cmp dword [esp + 0x58], 0
jne 0x4d592a
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.004d8140
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x94], eax
push 0
lea eax, [eax*4 + 8]
push eax
call fcn.00480b20
add esp, 0x20
mov dword [esp + 0x68], eax
test eax, eax
je 0x4d63b9
mov ecx, dword [esp + 0xc]
xor edx, edx
mov eax, dword [ecx + 8]
mov dword [esp + 0x30], eax
cmp dword [esp + 0x7c], edx
jle 0x4d5919
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 0x4d58f3
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 0x4d599b
cmp dword [ecx + 0x38], 0
je 0x4d594d
push dword [ecx]
push str.UPSERT_not_implemented_for_virtual_table___s_
push esi
call fcn.00483c70
jmp 0x4d63b6
mov edx, dword [edx]
mov ecx, esi
call fcn.004ca5b0
test eax, eax
jne 0x4d63b9
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 0x4d599b
push edx
mov edx, dword [esp + 0x68]
mov ecx, esi
call fcn.004ee040
add esp, 4
cmp byte [esp + 0x17], 0
je 0x4d59c2
push dword [esp + 0x34]
mov edx, 0x24
mov ecx, edi
call fcn.004a2310
mov dword [esp + 0x98], eax
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x78], eax
jmp 0x4d59e6
cmp dword [esp + 0x40], 0
je 0x4d59e9
push dword [esp + 0x54]
mov edx, 0xe
mov ecx, edi
call fcn.004a2310
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 0x4d5c82
mov eax, dword [esp + 0xc]
mov ecx, esi
movsx edx, word [eax + 0x2a]
inc edx
call fcn.004c0530
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
push eax
test ecx, ecx
jns 0x4d5a34
push 0xffffffffffffffff
mov edx, 0x46
mov ecx, edi
call fcn.004a2370
add esp, 8
jmp 0x4d5aa9
cmp byte [esp + 0x1b], 0
je 0x4d5a51
push ecx
push dword [esp + 0x3c]
mov edx, 0x5a
mov ecx, edi
call fcn.004a2240
add esp, 0xc
jmp 0x4d5a66
mov eax, dword [esp + 0x50]
lea edx, [ecx + ecx*2]
mov ecx, esi
mov edx, dword [eax + edx*8 + 4]
call fcn.004bea80
add esp, 4
push dword [esp + 0x18]
mov edx, 0x33
mov ecx, edi
call fcn.004a2310
add esp, 4
mov edx, 0x46
mov ecx, edi
mov esi, eax
push dword [esp + 0x18]
push 0xffffffffffffffff
call fcn.004a2370
mov edx, esi
mov ecx, edi
call fcn.004a2d60
push dword [esp + 0x20]
mov edx, 0xf
mov ecx, edi
call fcn.004a2310
add esp, 0xc
mov ecx, dword [esp + 0xc]
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x2a]
jge 0x4d5bfc
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 0x4d5b0d
xor esi, esi
cmp dword [eax + 4], esi
jle 0x4d5b0d
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 0x4d5b05
inc esi
add ecx, 8
cmp esi, dword [eax + 4]
jl 0x4d5af1
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
cmp byte [esp + 0x17], 0
jne 0x4d5b1b
cmp dword [esp + 0x4c], 0
je 0x4d5b24
test eax, eax
je 0x4d5b8f
cmp esi, dword [eax + 4]
jl 0x4d5b8f
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x54]
mov eax, dword [eax + ecx + 4]
test eax, eax
je 0x4d5b55
cmp byte [eax], 0xab
jne 0x4d5b55
push edx
push dword [eax + 0x1c]
mov eax, dword [esp + 0x28]
mov edx, 0x4e
mov ecx, dword [eax + 8]
call fcn.004a2370
add esp, 8
jmp 0x4d5bc4
mov ecx, dword [esp + 0x20]
push edx
mov edx, eax
call fcn.004bd780
mov edx, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, edx
je 0x4d5bc8
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4d5bc8
push edx
push dword [esp + 0x34]
mov edx, 0x4f
call fcn.004a2370
add esp, 8
jmp 0x4d5bc4
cmp byte [esp + 0x17], 0
push edx
je 0x4d5bad
push esi
push dword [esp + 0x3c]
mov edx, 0x5a
mov ecx, edi
call fcn.004a2240
add esp, 0xc
jmp 0x4d5bc4
mov eax, dword [esp + 0x50]
lea edx, [esi + esi*2]
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + edx*8 + 4]
call fcn.004beb70
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 0x4d5ad6
cmp dword [esp + 0x58], 0
jne 0x4d5c15
mov eax, dword [esp + 0x18]
mov edx, ecx
inc eax
mov ecx, edi
push eax
call fcn.004d4bc0
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.004eb690
mov ecx, dword [esp + 0x28]
add esp, 0x1c
movsx eax, word [ecx + 0x2a]
inc eax
cmp eax, 1
jne 0x4d5c71
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4d5c86
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4d5c86
movzx eax, al
mov dword [esi + eax*4 + 0x94], edx
inc byte [esi + 0x13]
jmp 0x4d5c86
cmp eax, dword [esi + 0x1c]
jle 0x4d5c86
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x20], eax
jmp 0x4d5c86
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x58], 0
jne 0x4d6140
cmp dword [ecx + 0x38], 0
je 0x4d5cb0
push dword [esp + 0x6c]
mov edx, 0x49
mov ecx, edi
push 0
call fcn.004a2370
mov ecx, dword [esp + 0x14]
add esp, 8
mov eax, dword [esp + 0x5c]
test eax, eax
js 0x4d5da0
cmp byte [esp + 0x17], 0
je 0x4d5cde
mov esi, dword [esp + 0x38]
mov edx, 0x5a
push esi
push eax
push dword [esp + 0x3c]
mov ecx, edi
call fcn.004a2240
add esp, 0xc
jmp 0x4d5d2f
cmp dword [esp + 0x40], 0
je 0x4d5d03
mov esi, dword [esp + 0x38]
mov edx, 0x4e
add eax, dword [esp + 0x88]
mov ecx, edi
push esi
push eax
call fcn.004a2370
add esp, 8
jmp 0x4d5d2f
mov edx, dword [esp + 0x4c]
lea eax, [eax + eax*2]
mov edx, dword [edx + eax*8 + 4]
cmp byte [edx], 0x75
jne 0x4d5d1d
cmp dword [ecx + 0x38], 0
je 0x4d5db0
push dword [esp + 0x38]
mov ecx, esi
call fcn.004bea80
mov esi, dword [esp + 0x3c]
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
cmp dword [eax + 0x38], 0
jne 0x4d5d75
push esi
mov edx, 0x33
call fcn.004a2310
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.004a2240
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.004a2d60
mov esi, dword [esp + 0x38]
jmp 0x4d5d8a
mov eax, dword [edi + 0x6c]
mov edx, 0x32
add eax, 2
push eax
push esi
call fcn.004a2370
add esp, 8
push esi
mov edx, 0xf
mov ecx, edi
call fcn.004a2310
mov esi, dword [esp + 0x24]
add esp, 4
jmp 0x4d5de7
cmp dword [ecx + 0x38], 0
jne 0x4d5dd2
cmp byte [esp + 0x84], 0
jne 0x4d5dd2
push dword [esp + 0x44]
mov edx, 0x79
mov ecx, edi
push dword [esp + 0x3c]
push dword [esp + 0x58]
call fcn.004a2240
add esp, 0xc
mov byte [esp + 0x2f], 1
jmp 0x4d5de7
push dword [esp + 0x38]
mov edx, 0x49
mov ecx, edi
push 0
call fcn.004a2370
add esp, 8
push dword [esp + 0x38]
mov edx, dword [esp + 0x48]
mov ecx, esi
call fcn.004d4f50
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 0x4d5ee8
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 0x4d5e8c
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d5e53
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x4a
mov ecx, edi
call fcn.004a2200
add esp, 0xc
jmp 0x4d5eca
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 0x4d5ece
cmp dword [esp + 0x10], 0
jne 0x4d5f8a
mov esi, dword [esp + 0x44]
mov eax, dword [edx + 4]
test byte [eax + esi + 0xf], 2
mov esi, dword [esp + 0x20]
je 0x4d5f82
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.004beae0
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 0x4d5e20
cmp dword [edx + 0x38], 0
je 0x4d6073
mov eax, dword [edx + 0x40]
mov dword [esp + 0x84], eax
test eax, eax
je 0x4d5f16
mov ecx, dword [esp + 0x48]
cmp dword [eax], ecx
je 0x4d5f0f
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4d5f04
mov dword [esp + 0x84], eax
mov ecx, esi
call fcn.004f0750
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.004a26b0
mov eax, dword [edi + 0x6c]
add esp, 0x14
test eax, eax
jle 0x4d5f6f
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 0x4d6140
mov eax, ecx
sub eax, dword [esp + 0x58]
jmp 0x4d5fc9
mov esi, dword [esp + 0x10]
xor eax, eax
cmp dword [esi + 4], eax
mov esi, dword [esp + 0x20]
jle 0x4d5fd1
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 0x4d5fbd
inc eax
add ecx, 8
cmp eax, dword [edi + 4]
jl 0x4d5fb0
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
test eax, eax
js 0x4d5eb1
cmp dword [esp + 0x24], 0
je 0x4d5eb1
cmp dword [esp + 0x10], 0
mov esi, dword [esp + 0x20]
je 0x4d5ff8
mov esi, dword [esp + 0x10]
cmp eax, dword [esi + 4]
mov esi, dword [esp + 0x20]
jge 0x4d5eb1
cmp byte [esp + 0x17], 0
je 0x4d601c
push dword [esp + 0x1c]
mov edx, 0x5a
mov ecx, edi
push eax
push dword [esp + 0x3c]
call fcn.004a2240
add esp, 0xc
jmp 0x4d5eca
cmp dword [esp + 0x40], 0
je 0x4d6058
mov esi, dword [esp + 0x88]
cmp esi, dword [esp + 0x70]
mov esi, dword [esp + 0x20]
je 0x4d5ed2
push dword [esp + 0x1c]
add eax, dword [esp + 0x8c]
mov edx, 0x4f
push eax
mov ecx, edi
call fcn.004a2370
add esp, 8
jmp 0x4d5eca
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.004bea80
jmp 0x4d5ec7
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.004d64d0
mov edx, dword [esp + 0x38]
add esp, 0x2c
mov ecx, esi
push 0
push 0
push dword [esp + 0x74]
push 0
call fcn.004d39a0
add esp, 0x10
cmp dword [esp + 0x30], 0
je 0x4d6111
cmp dword [esp + 0x60], 0
jne 0x4d610d
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
je 0x4d6111
mov eax, dword [esp + 0xc]
push 0
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
call fcn.00485590
add esp, 4
cmp dword [eax + 8], 0
je 0x4d6111
xor eax, eax
jmp 0x4d6116
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.004d7e90
add esp, 0x1c
mov edx, dword [esp + 0x98]
test edx, edx
je 0x4d619c
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d6169
push 0
push 1
push edx
mov edx, 0x53
mov ecx, edi
call fcn.004a2200
add esp, 0xc
jmp 0x4d619c
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 0x4d61d1
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.004eb690
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 0x4d61ef
push edx
mov edx, edi
call fcn.004a29e0
add esp, 4
jmp 0x4d61f8
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
cmp byte [esp + 0x17], 0
je 0x4d62dc
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d6227
mov edx, dword [esp + 0x74]
mov ecx, edi
push 0
push edx
push dword [esp + 0x3c]
mov edx, 5
call fcn.004a2200
add esp, 0xc
jmp 0x4d625a
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 0x4d626b
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4d627a
mov eax, 0x71e19c
jmp 0x4d6283
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 0x4d62a7
push 0
push 0
push dword [esp + 0x3c]
mov edx, 0x75
mov ecx, edi
call fcn.004a2200
add esp, 0xc
jmp 0x4d631a
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 0x4d631a
cmp dword [esp + 0x40], 0
je 0x4d631a
mov edx, dword [esp + 0x74]
mov ecx, edi
call fcn.004a23e0
mov ecx, dword [esp + 0x94]
mov edx, dword [edi + 0x6c]
test ecx, ecx
jns 0x4d62ff
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4d630e
mov eax, 0x71e19c
jmp 0x4d6317
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 0x4d6333
cmp dword [esi + 0x78], 0
jne 0x4d6333
cmp dword [esi + 0x70], 0
je 0x4d6333
mov ecx, esi
call fcn.004d4fc0
mov edx, dword [esp + 0x98]
test edx, edx
je 0x4d63b9
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d6360
push 0
push 1
push edx
mov edx, 0x51
mov ecx, edi
call fcn.004a2200
add esp, 0xc
jmp 0x4d638f
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.004a4460
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4d63b9
mov ecx, dword [edi + 0x74]
mov edx, str.rows_inserted
push 0
push 1
push 0xffffffffffffffff
call fcn.004a1560
add esp, 0xc
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x48]
mov ecx, esi
mov edx, dword [esp + 0x64]
call fcn.004cba70
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4d63dd
mov edx, eax
mov ecx, esi
call fcn.004ba080
mov edx, dword [esp + 0x8c]
mov ecx, esi
call fcn.004ede30
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4d6401
push 1
mov edx, eax
mov ecx, esi
call fcn.004de810
add esp, 4
mov edx, edi
mov ecx, esi
call fcn.004cb660
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x4d6477
test esi, esi
je 0x4d646e
cmp dword [esi + 0x1e8], 0
je 0x4d643c
mov edx, ecx
mov ecx, esi
call fcn.00480750
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.00625788
mov esp, ebp
pop ebp
ret
cmp ecx, dword [esi + 0x138]
jb 0x4d646e
cmp ecx, dword [esi + 0x13c]
jae 0x4d646e
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.00625788
mov esp, ebp
pop ebp
ret
push ecx
call fcn.004806e0
add esp, 4
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
xor ecx, esp
call fcn.00625788
mov esp, ebp
pop ebp
ret