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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
xor eax, eax
mov dword [esp + 0x70], edx
push esi
mov esi, ecx
mov dword [esp + 0x4c], eax
or ecx, 0xffffffff
mov dword [esp + 0x5c], eax
mov dword [esp + 0x38], eax
xorps xmm0, xmm0
mov dword [esp + 0x84], eax
cmp dword [esi + 0x40], 0
mov dword [esp + 0x80], eax
mov byte [esp + 0x12], al
mov dword [esp + 0x50], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x68], eax
mov eax, dword [esi]
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], ecx
mov dword [esp + 0x44], eax
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0xa0], 0
jne 0x4c8be4
cmp byte [eax + 0x41], 0
jne 0x4c8be4
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x4c7938
mov edx, 0x100
test word [ecx + 6], dx
je 0x4c7938
cmp dword [ecx + 0x34], 0
jne 0x4c7938
mov edx, dword [ecx]
mov dword [esp + 0x54], edx
mov edx, ecx
mov dword [ecx], 0
mov ecx, eax
push 1
call fcn.004cfbf0
add esp, 4
mov dword [esp + 0x34], 0
mov edx, dword [esp + 0x78]
cmp dword [edx + 0x10], 0
je 0x4c8beb
mov ecx, esi
call fcn.004bfd00
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x4c8beb
mov ecx, dword [esp + 0x44]
mov edx, dword [edi + 0x40]
call fcn.004cf2f0
mov ecx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
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.004b8c70
add esp, 0xc
test eax, eax
jne 0x4c8beb
mov al, byte [edi + 0x2a]
mov edx, edi
mov byte [esp + 0x3b], al
mov ecx, esi
lea eax, [esp + 0x58]
push eax
push 0
push 0x6c
call fcn.004dac30
add esp, 0xc
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0xc]
mov edx, edi
mov ecx, esi
mov dword [esp + 0x74], eax
call fcn.004bbd00
test eax, eax
jne 0x4c8beb
push dword [esp + 0x58]
mov edx, edi
mov ecx, esi
call fcn.004bfd40
add esp, 4
test eax, eax
jne 0x4c8beb
mov ecx, esi
call fcn.004d2cd0
mov edi, eax
mov dword [esp + 0x28], edi
test edi, edi
je 0x4c8beb
cmp byte [esi + 0x12], 0
jne 0x4c7a03
or dword [edi + 0x58], 4
cmp dword [esp + 0x34], 0
jne 0x4c7a15
cmp dword [esp + 0x70], 0
jne 0x4c7a15
xor edx, edx
jmp 0x4c7a1a
mov edx, 1
push dword [esp + 0x2c]
mov ecx, esi
call fcn.004beab0
add esp, 4
cmp dword [ebp + 0xc], 0
jne 0x4c7a4f
push dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [esp + 0x3c]
call fcn.004ca5d0
add esp, 0xc
test eax, eax
jne 0x4c8b71
push dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov ecx, esi
call fcn.004c70f0
mov ecx, dword [esi + 0x48]
add esp, 4
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], eax
lea eax, [ecx + 1]
mov dword [esp + 0x68], eax
mov dword [esp + 0x30], eax
movsx eax, word [edx + 0x22]
inc eax
add eax, ecx
mov dword [esi + 0x48], eax
mov cl, byte [edx + 0x2a]
test cl, 0x10
je 0x4c7a99
mov ecx, dword [esp + 0x68]
inc ecx
inc eax
mov dword [esp + 0x30], ecx
mov dword [esi + 0x48], eax
mov cl, byte [edx + 0x2a]
mov eax, dword [esp + 0x30]
mov edx, dword [ebp + 0xc]
inc eax
shr cl, 7
not cl
mov dword [esp + 0x7c], eax
and cl, 1
mov byte [esp + 0x17], cl
test edx, edx
je 0x4c7bdd
mov eax, dword [edx + 4]
xor ecx, ecx
test eax, eax
jle 0x4c7ad4
mov eax, dword [edx]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
mov eax, dword [edx + 4]
cmp ecx, eax
jl 0x4c7ac2
xor edx, edx
mov dword [esp + 0x18], edx
test eax, eax
jle 0x4c7bdd
mov ecx, dword [esp + 0x10]
movzx eax, word [ecx + 0x22]
mov dword [esp + 0x24], eax
nop
cwde
xor esi, esi
test eax, eax
jle 0x4c7b5e
mov eax, dword [ebp + 0xc]
mov edi, dword [ecx + 4]
mov eax, dword [eax]
lea eax, [eax + edx*8]
mov dword [esp + 0x1c], eax
push dword [edi]
push dword [eax]
call fcn.004839e0
add esp, 8
test eax, eax
je 0x4c7b2f
mov ecx, dword [esp + 0x24]
inc esi
movsx eax, cx
add edi, 0x18
cmp esi, eax
mov eax, dword [esp + 0x1c]
jl 0x4c7b06
mov edx, dword [esp + 0x18]
jmp 0x4c7b5e
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov edx, dword [esp + 0x18]
cmp edx, esi
mov dword [eax + 4], esi
movzx eax, byte [esp + 0x17]
cmove ecx, eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x17], cl
movsx eax, word [eax + 0x20]
cmp esi, eax
jne 0x4c7b5e
mov dword [esp + 0x64], edx
mov byte [esp + 0x17], cl
mov eax, dword [esp + 0x10]
movzx edi, word [eax + 0x22]
movsx eax, di
cmp esi, eax
jl 0x4c7b94
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov esi, dword [eax + edx*8]
mov ecx, esi
call fcn.004b1760
test eax, eax
je 0x4c7bb0
test byte [esp + 0x3b], 0x20
jne 0x4c7bb0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x64], edx
mov byte [esp + 0x17], 0
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
cmp edx, dword [ecx + 4]
jge 0x4c7bd5
mov ecx, dword [esp + 0x10]
jmp 0x4c7af0
push esi
mov esi, dword [esp + 0x24]
push 0
push dword [esp + 0x80]
push str.table__S_has_no_column_named__s
push esi
call fcn.00483840
add esp, 0x14
mov byte [esi + 0x11], 1
jmp 0x4c8beb
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x34], 0
je 0x4c7f4b
inc dword [esi + 0x48]
mov edx, 0x11
mov eax, dword [edi + 0x20]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x24], eax
inc eax
push eax
push 0
mov dword [esp + 0x24], ecx
push ecx
mov ecx, edi
call fcn.0049d670
mov eax, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [esp + 0x34]
mov ecx, esi
mov dword [esp + 0x94], eax
xor eax, eax
cmp byte [esp + 0x17], al
mov dword [esp + 0x9c], 0
cmovne eax, dword [esp + 0x7c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x10]
mov word [esp + 0x90], 0xd
movsx eax, word [eax + 0x22]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x90]
push eax
call fcn.004d7700
mov ecx, dword [esp + 0x9c]
add esp, 4
mov dword [esp + 0x80], ecx
test eax, eax
jne 0x4c8beb
mov eax, dword [esp + 0x44]
cmp byte [eax + 0x41], 0
jne 0x4c8beb
cmp dword [esi + 0x40], 0
jne 0x4c8beb
push dword [esp + 0x1c]
mov edx, 0x12
mov ecx, edi
call fcn.0049d730
mov edx, dword [esp + 0x28]
add esp, 4
mov ecx, edi
call fcn.0049dfa0
cmp dword [esp + 0x70], 0
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
jne 0x4c7e79
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4c7d0d
mov ecx, esi
call fcn.0049d4e0
mov dword [esp + 0x18], eax
mov dword [esi + 8], eax
test eax, eax
je 0x4c7cf4
mov edx, 0x9e
mov ecx, eax
call fcn.0049d6d0
mov eax, dword [esp + 0x18]
cmp dword [esi + 0x198], 0
jne 0x4c7d0d
mov eax, dword [esi]
test byte [eax + 0x3c], 8
mov eax, dword [esp + 0x18]
jne 0x4c7d0d
mov byte [esi + 0x17], 1
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x1c], ecx
test byte [edx + 0x2a], 0x10
je 0x4c7d38
mov edx, dword [edx + 0x38]
test edx, edx
je 0x4c7d3a
mov eax, dword [esi]
cmp dword [edx], eax
je 0x4c7d32
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x4c7d27
mov eax, dword [esp + 0x18]
jmp 0x4c7d3a
xor edx, edx
mov edi, 1
cmp ecx, edi
jle 0x4c7dc9
mov eax, dword [eax]
mov al, byte [eax + 0x41]
mov byte [esp + 0x17], al
test edi, edi
lea eax, [ecx - 1]
cmovns eax, edi
cmp byte [esp + 0x17], 0
je 0x4c7d66
mov eax, 0x734434
jmp 0x4c7d73
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
lea eax, [eax + ecx*4]
mov cl, byte [eax]
cmp cl, 0x36
jne 0x4c7db2
mov ecx, dword [esp + 0x2c]
cmp dword [eax + 0xc], ecx
jne 0x4c7dc0
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x10]
cmp ecx, dword [eax + 0x1c]
je 0x4c7e79
mov eax, dword [eax + 8]
test eax, eax
je 0x4c7dc0
nop word [eax + eax]
cmp ecx, dword [eax + 0x2c]
je 0x4c7e79
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4c7da0
jmp 0x4c7dc0
cmp cl, 0x98
jne 0x4c7dc0
cmp dword [eax + 0x10], edx
je 0x4c7e79
mov ecx, dword [esp + 0x1c]
inc edi
cmp edi, ecx
jl 0x4c7d50
mov edi, dword [esp + 0x40]
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
test edx, edx
jne 0x4c7de4
test edi, edi
jle 0x4c7de4
movsx ecx, word [eax + 0x20]
mov dword [esp + 0x64], ecx
test byte [eax + 0x2a], 0x10
je 0x4c7fb1
movsx ecx, word [eax + 0x22]
xor edx, edx
xor edi, edi
mov dword [esp + 0x24], edx
xor eax, eax
mov dword [esp + 0x1c], ecx
cmp ecx, 2
jl 0x4c7e4c
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
add edx, 0xfffffffe
shr edx, 1
mov ecx, dword [eax + 4]
add ecx, 0x2f
inc edx
lea eax, [edx + edx]
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx - 0x18]
lea ecx, [ecx + 0x30]
shr eax, 1
and eax, 1
add edi, eax
movzx eax, byte [ecx - 0x30]
shr eax, 1
and eax, 1
add dword [esp + 0x24], eax
sub edx, 1
jne 0x4c7e20
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jge 0x4c7fa1
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
movzx ecx, byte [eax + ecx*8 + 0x17]
lea eax, [edx + edi]
mov edx, dword [ebp + 0xc]
shr ecx, 1
and ecx, 1
add ecx, eax
mov eax, dword [esp + 0x10]
jmp 0x4c7fb3
mov edx, dword [esi + 0x44]
mov ecx, esi
mov byte [esp + 0x16], 1
mov dword [esp + 0x3c], edx
lea eax, [edx + 1]
mov dword [esi + 0x44], eax
call fcn.004b5470
mov edi, eax
call fcn.004b5470
push dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, 0x39
mov dword [esp + 0x2c], eax
call fcn.0049d7a0
push dword [esp + 0x9c]
mov ecx, dword [esp + 0x34]
mov edx, 0x14
call fcn.0049d730
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov edx, 0x31
mov esi, eax
push edi
push dword [esp + 0x44]
push dword [esp + 0x88]
call fcn.0049d670
mov edx, dword [esp + 0x48]
add esp, 0xc
mov ecx, dword [esp + 0x28]
push dword [esp + 0x24]
push edx
mov edx, 0x4b
call fcn.0049d7a0
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, 0x54
push edi
push dword [esp + 0x4c]
call fcn.0049d670
mov ecx, dword [esp + 0x3c]
add esp, 0x14
mov edx, esi
call fcn.0049d800
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.0049dfa0
mov esi, dword [esp + 0x20]
mov edx, edi
mov ecx, esi
call fcn.004b5490
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.004b5490
jmp 0x4c7dc9
mov eax, dword [esp + 0x54]
xorps xmm0, xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xc0], esi
mov dword [esp + 0x3c], 0xffffffff
test eax, eax
je 0x4c7f96
mov edi, dword [eax]
lea ecx, [esp + 0xc0]
mov edx, eax
mov dword [esp + 0x40], edi
call fcn.004af680
test eax, eax
jne 0x4c8beb
jmp 0x4c7dcd
xor edi, edi
mov dword [esp + 0x40], edi
jmp 0x4c7dcd
lea eax, [edx + edi]
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x10]
jmp 0x4c7fb3
xor ecx, ecx
test edx, edx
jne 0x4c7fe7
mov edx, dword [esp + 0x40]
test edx, edx
je 0x4c8007
movsx eax, word [eax + 0x22]
sub eax, ecx
cmp edx, eax
je 0x4c8007
push edx
push eax
push 0
push dword [esp + 0x84]
push str.table__S_has__d_columns_but__d_values_were_supplied
push esi
call fcn.00483840
add esp, 0x18
jmp 0x4c8beb
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x40]
cmp edx, eax
je 0x4c8007
push eax
push edx
push str._d_values_for__d_columns
push esi
call fcn.00483840
add esp, 0x10
jmp 0x4c8beb
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x28]
test byte [eax + 0x18], 0x80
je 0x4c8034
inc dword [esi + 0x48]
mov edx, 0x17
mov eax, dword [esi + 0x48]
mov ecx, edi
push eax
push 0
mov dword [esp + 0x94], eax
call fcn.0049d7a0
add esp, 8
cmp dword [esp + 0x74], 0
jne 0x4c80aa
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x60]
mov ecx, esi
push eax
push 0
push 0xffffffffffffffff
push 0x37
call fcn.004ca320
mov ecx, dword [esp + 0x58]
add esp, 0x14
mov dword [esp + 0x1c], eax
lea eax, [eax*4 + 4]
push 0
push eax
call fcn.00481060
add esp, 8
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4c8beb
mov edx, dword [esp + 0x1c]
xor ecx, ecx
test edx, edx
jle 0x4c80a2
mov edi, eax
nop dword [eax + eax]
inc dword [esi + 0x48]
mov eax, dword [esi + 0x48]
mov dword [edi + ecx*4], eax
inc ecx
cmp ecx, edx
jl 0x4c8090
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x50], eax
cmp byte [esp + 0x16], 0
je 0x4c80cd
push dword [esp + 0x3c]
mov edx, 0x6d
mov ecx, edi
call fcn.0049d730
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 0x20]
jmp 0x4c80ee
cmp dword [esp + 0x34], 0
je 0x4c80f8
push dword [esp + 0x94]
mov edx, 0x14
mov ecx, edi
call fcn.0049d730
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], eax
add esp, 4
mov ecx, edi
call fcn.0049dc20
test byte [esp + 0x58], 1
mov dword [esp + 0x24], eax
je 0x4c83f7
mov eax, dword [esp + 0x10]
mov ecx, esi
movsx edx, word [eax + 0x22]
inc edx
call fcn.004b54d0
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x18], eax
push eax
test ecx, ecx
jns 0x4c813e
push 0xffffffffffffffff
mov edx, 0x17
mov ecx, edi
call fcn.0049d7a0
add esp, 8
jmp 0x4c81b5
cmp byte [esp + 0x1a], 0
je 0x4c815b
push ecx
push dword [esp + 0x44]
mov edx, 0x2f
mov ecx, edi
call fcn.0049d670
add esp, 0xc
jmp 0x4c8172
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 4]
mov ecx, esi
mov edx, dword [edx + eax*8]
call fcn.004b4400
add esp, 4
push dword [esp + 0x18]
mov edx, 0x4d
mov ecx, edi
call fcn.0049d730
add esp, 4
mov edx, 0x17
mov ecx, edi
mov esi, eax
push dword [esp + 0x18]
push 0xffffffffffffffff
call fcn.0049d7a0
mov edx, esi
mov ecx, edi
call fcn.0049dfa0
push dword [esp + 0x20]
mov edx, 0x26
mov ecx, edi
call fcn.0049d730
add esp, 0xc
mov esi, dword [esp + 0x10]
xor edx, edx
movzx eax, word [esi + 0x22]
mov ecx, eax
cmp dx, ax
jge 0x4c837f
mov ecx, dword [esp + 0x18]
or eax, 0xffffffff
sub eax, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], eax
lea esi, [ecx + 1]
nop
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4c81ec
lea ecx, [eax + esi]
jmp 0x4c821a
xor ecx, ecx
cmp dword [edx + 4], ecx
jle 0x4c821a
mov edx, dword [edx]
mov edi, dword [esp + 0x1c]
add edx, 4
nop dword [eax]
lea eax, [edi + esi]
cmp dword [edx], eax
je 0x4c8213
mov eax, dword [ebp + 0xc]
inc ecx
add edx, 8
cmp ecx, dword [eax + 4]
jl 0x4c8200
mov edi, dword [esp + 0x28]
mov edx, dword [ebp + 0xc]
mov al, byte [esp + 0x16]
test al, al
jne 0x4c8229
cmp dword [esp + 0x54], 0
je 0x4c8232
test edx, edx
je 0x4c8253
cmp ecx, dword [edx + 4]
jl 0x4c8253
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
push esi
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x30]
mov edx, dword [edx + eax + 4]
call fcn.004b4400
add esp, 4
jmp 0x4c8356
test al, al
je 0x4c8271
push esi
push ecx
push dword [esp + 0x44]
mov edx, 0x2f
mov ecx, edi
call fcn.0049d670
add esp, 0xc
jmp 0x4c8356
mov eax, dword [esp + 0x54]
lea ecx, [ecx + ecx*2]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x60], edx
test eax, eax
je 0x4c82a5
cmp byte [eax], 0x9f
jne 0x4c82a5
mov ecx, dword [esp + 0x60]
mov edx, 0x1f
push esi
push dword [eax + 0x1c]
jmp 0x4c82c8
push esi
mov edx, eax
call fcn.004b32b0
mov edx, eax
add esp, 4
cmp edx, esi
je 0x4c82d0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4c82d4
push esi
push edx
mov edx, 0x20
call fcn.0049d7a0
add esp, 8
mov eax, dword [esp + 0x20]
inc dword [eax + 0x48]
mov edx, dword [esp + 0x60]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x20]
mov dword [esp + 0xbc], ecx
cmp dword [eax + 0x54], ecx
jg 0x4c830a
mov ecx, edx
call fcn.0049d5e0
test eax, eax
jne 0x4c833c
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0xbc]
mov eax, dword [edx + 4]
lea ecx, [ecx + ecx*4]
inc dword [edx + 0x20]
mov edx, dword [esp + 0x58]
mov word [eax + ecx*4], 0x1f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4c8340
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x4c]
mov al, byte [ecx]
and dword [ecx + 4], 0xffffefff
mov byte [ecx + 0x26], al
mov byte [ecx], 0x9f
mov dword [ecx + 0x1c], edx
mov eax, dword [esp + 0x10]
inc esi
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x2c], 0x18
add ecx, esi
movzx edx, word [eax + 0x22]
movsx eax, dx
cmp ecx, eax
mov eax, dword [esp + 0x1c]
jl 0x4c81e0
mov esi, dword [esp + 0x10]
mov ecx, edx
cmp dword [esp + 0x74], 0
movzx eax, cx
jne 0x4c839f
mov eax, dword [esp + 0x18]
mov edx, esi
inc eax
mov ecx, edi
push eax
call fcn.004c7030
movzx eax, word [esi + 0x22]
add esp, 4
push dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push dword [ebp + 0x10]
mov edx, dword [esp + 0x78]
cwde
sub ecx, eax
dec ecx
push ecx
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
push 1
push 0
push 0x6c
call fcn.004db560
mov eax, dword [esp + 0x2c]
add esp, 0x1c
mov edx, dword [esp + 0x18]
mov ecx, esi
movsx eax, word [eax + 0x22]
inc eax
push eax
mov dword [esp + 0x50], eax
call fcn.004b2d30
mov eax, dword [esp + 0x50]
add esp, 4
cmp eax, dword [esi + 0x38]
jle 0x4c83f7
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x3c], eax
cmp dword [esp + 0x74], 0
jne 0x4c892d
mov eax, dword [esp + 0x10]
mov al, byte [eax + 0x2a]
test al, 0x10
je 0x4c8429
push dword [esp + 0x68]
mov edx, 0x1a
mov ecx, edi
push 0
call fcn.0049d7a0
mov eax, dword [esp + 0x18]
add esp, 8
mov al, byte [eax + 0x2a]
mov ecx, dword [esp + 0x64]
test ecx, ecx
js 0x4c856e
cmp byte [esp + 0x16], 0
push dword [esp + 0x30]
je 0x4c84a6
push ecx
push dword [esp + 0x44]
mov edx, 0x2f
mov ecx, edi
call fcn.0049d670
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, edi
test byte [eax + 0x2a], 0x10
jne 0x4c8541
push dword [esp + 0x30]
mov edx, 0x4d
call fcn.0049d730
mov ecx, dword [esp + 0x4c]
add esp, 4
mov edx, 0x4b
mov esi, eax
push ecx
push dword [esp + 0x34]
mov ecx, dword [esp + 0x64]
push ecx
mov ecx, edi
call fcn.0049d670
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.0049dfa0
mov esi, dword [esp + 0x20]
jmp 0x4c8559
cmp dword [esp + 0x38], 0
je 0x4c84c8
mov eax, dword [esp + 0x84]
mov edx, 0x1f
add eax, ecx
mov ecx, edi
push eax
call fcn.0049d7a0
add esp, 8
jmp 0x4c8454
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 4]
mov ecx, esi
mov edx, dword [edx + eax*8]
call fcn.004b4400
mov eax, dword [edi + 0x20]
add esp, 4
lea ecx, [eax + eax*4]
mov eax, dword [edi]
shl ecx, 2
cmp byte [eax + 0x41], 0
je 0x4c84f7
mov eax, 0x734434
jmp 0x4c8505
mov eax, dword [edi + 4]
add eax, 0xffffffec
add eax, ecx
je 0x4c8454
cmp byte [eax], 0x1a
jne 0x4c8454
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x2a], 0x10
jne 0x4c8454
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov byte [eax], 0x4b
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [esp + 0x28], 1
jmp 0x4c85bd
mov eax, dword [edi + 0x20]
mov edx, 0x4c
add eax, 2
push eax
push dword [esp + 0x34]
call fcn.0049d7a0
add esp, 8
push dword [esp + 0x30]
mov edx, 0x26
mov ecx, edi
call fcn.0049d730
add esp, 4
jmp 0x4c85b5
test al, 0x10
jne 0x4c85a0
test byte [esp + 0x3b], 0x20
jne 0x4c85a0
mov ecx, dword [esp + 0x48]
mov edx, 0x4b
push ecx
push dword [esp + 0x34]
mov ecx, dword [esp + 0x64]
push ecx
mov ecx, edi
call fcn.0049d670
add esp, 0xc
mov dword [esp + 0x28], 1
jmp 0x4c85bd
push dword [esp + 0x30]
mov edx, 0x1a
mov ecx, edi
push 0
call fcn.0049d7a0
add esp, 8
mov dword [esp + 0x28], 0
push dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
mov ecx, esi
call fcn.004c7550
mov eax, dword [esp + 0x14]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x4c], 0
add esp, 4
mov dword [esp + 0x1c], ecx
cmp dx, word [eax + 0x22]
jge 0x4c8807
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x7c]
movsx eax, word [eax + 0x20]
add edx, ecx
mov dword [esp + 0x18], edx
cmp ecx, eax
jne 0x4c8618
push edx
mov edx, 0x1b
mov ecx, edi
call fcn.0049d730
add esp, 4
jmp 0x4c87e5
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4c8658
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov dl, byte [eax + edx + 0x17]
mov eax, dword [esp + 0x48]
and dl, 2
je 0x4c8648
inc eax
or ecx, 0xffffffff
test dl, dl
cmove eax, dword [esp + 0x48]
mov dword [esp + 0x48], eax
jmp 0x4c8680
sub ecx, eax
inc eax
test dl, dl
cmove eax, dword [esp + 0x48]
mov dword [esp + 0x48], eax
jmp 0x4c8680
mov edx, dword [eax + 4]
xor ecx, ecx
test edx, edx
jle 0x4c868b
mov eax, dword [eax]
mov esi, dword [esp + 0x1c]
add eax, 4
nop word [eax + eax]
cmp dword [eax], esi
je 0x4c867c
inc ecx
add eax, 8
cmp ecx, edx
jl 0x4c8670
mov esi, dword [esp + 0x20]
test ecx, ecx
js 0x4c8705
mov eax, dword [ebp + 0xc]
cmp dword [esp + 0x40], 0
je 0x4c8705
test eax, eax
je 0x4c869b
cmp ecx, dword [eax + 4]
jge 0x4c8705
cmp byte [esp + 0x16], 0
je 0x4c86bf
push dword [esp + 0x18]
mov edx, 0x2f
push ecx
push dword [esp + 0x44]
mov ecx, edi
call fcn.0049d670
add esp, 0xc
jmp 0x4c87e5
cmp dword [esp + 0x34], 0
je 0x4c86e5
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x7c]
je 0x4c87e5
push dword [esp + 0x18]
add eax, ecx
mov ecx, edi
push eax
jmp 0x4c87d8
push dword [esp + 0x18]
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 4]
mov ecx, esi
mov edx, dword [edx + eax*8]
call fcn.004b4400
add esp, 4
jmp 0x4c87e5
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov esi, dword [eax + ecx + 4]
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x17], 0
je 0x4c8793
xorps xmm0, xmm0
mov dword [esp + 0xd8], 0
movaps xmmword [esp + 0xc0], xmm0
lea ecx, [esp + 0xc0]
movq qword [esp + 0xd0], xmm0
mov edx, esi
mov byte [esp + 0xd4], 1
mov dword [esp + 0xc0], 0x4b1470
mov dword [esp + 0xc4], 0x4b1580
mov dword [esp + 0xd8], 0
call fcn.004ad790
cmp byte [esp + 0xd4], 0
je 0x4c8793
push 0
push dword [esp + 0x1c]
mov edx, esi
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.004b4210
jmp 0x4c87e2
test esi, esi
je 0x4c87b1
cmp byte [esi], 0x9f
jne 0x4c87b1
push dword [esp + 0x18]
mov edx, 0x1f
push dword [esi + 0x1c]
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 8]
jmp 0x4c87dd
push dword [esp + 0x18]
mov edx, esi
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.004b32b0
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x18]
cmp edx, eax
je 0x4c87e5
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4c87e5
push eax
push edx
mov edx, 0x20
call fcn.0049d7a0
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x2c], 0x18
inc ecx
mov dword [esp + 0x1c], ecx
movsx eax, word [eax + 0x22]
cmp ecx, eax
mov eax, dword [esp + 0x10]
jl 0x4c85f1
test byte [eax + 0x2a], 0x10
je 0x4c88a5
mov esi, dword [eax + 0x38]
test esi, esi
je 0x4c882b
mov ecx, dword [esp + 0x44]
nop dword [eax]
cmp dword [esi], ecx
je 0x4c882b
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4c8820
mov ecx, dword [esp + 0x20]
mov edx, eax
call fcn.004df2e0
mov eax, dword [esp + 0x10]
mov edx, 0xd
push 0xfffffffffffffff6
push esi
push dword [esp + 0x70]
movsx eax, word [eax + 0x22]
mov ecx, edi
add eax, 2
push eax
push 1
call fcn.0049d9e0
mov eax, dword [edi + 0x20]
add esp, 0x14
lea ecx, [eax + eax*4]
mov eax, dword [edi]
shl ecx, 2
cmp byte [eax + 0x41], 0
je 0x4c8872
mov ecx, 0x734437
jmp 0x4c8878
add ecx, 0xffffffef
add ecx, dword [edi + 4]
mov edx, dword [ebp + 0x10]
mov esi, 2
cmp edx, 0xa
movzx eax, dl
cmove eax, esi
mov esi, dword [esp + 0x20]
mov byte [ecx], al
mov ecx, esi
mov eax, dword [esi + 0x198]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x4c892d
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x6c]
mov ecx, esi
push dword [ebp + 0x10]
shr eax, 0x1f
xor al, 1
movzx eax, al
push eax
push 0
push dword [esp + 0x7c]
push dword [esp + 0x68]
push dword [esp + 0x78]
push dword [esp + 0x8c]
call fcn.004c8c80
mov edx, dword [esp + 0x34]
add esp, 0x24
mov ecx, esi
push 0
push 0
push dword [esp + 0x70]
push 0
call fcn.004c5b70
mov edx, dword [esp + 0x20]
xor eax, eax
cmp dword [esp + 0x5c], eax
mov ecx, esi
sete al
push eax
push dword [esp + 0x3c]
push 0
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x74]
push dword [esp + 0x84]
call fcn.004c9fa0
add esp, 0x2c
mov eax, dword [esp + 0x44]
test byte [eax + 0x18], 0x80
je 0x4c8994
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov edx, ecx
mov dword [esp + 0x4c], ecx
cmp dword [eax + 0x54], ecx
jg 0x4c895a
mov ecx, edi
call fcn.0049d5e0
test eax, eax
jne 0x4c8994
mov edx, dword [edi + 0x20]
mov ecx, dword [esp + 0x4c]
lea eax, [edx + 1]
mov edx, dword [esp + 0x8c]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x25
mov byte [eax + ecx*4 + 3], 0
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 + 0x70], 0
je 0x4c89cc
mov ecx, dword [esp + 0x10]
push dword [esp + 0x24]
mov edx, dword [esp + 0x80]
push dword [ebp + 0x10]
movsx eax, word [ecx + 0x22]
sub edx, eax
sub edx, 2
push edx
mov edx, dword [esp + 0x7c]
push ecx
push 2
push 0
push 0x6c
mov ecx, esi
call fcn.004db560
add esp, 0x1c
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x4c89e8
mov eax, dword [esp + 0x24]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
cmp byte [esp + 0x16], 0
mov dword [edx + 0x58], eax
je 0x4c8aa3
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov edx, ecx
mov dword [esp + 0x4c], ecx
cmp dword [eax + 0x54], ecx
jg 0x4c8a1d
mov ecx, edi
call fcn.0049d5e0
test eax, eax
jne 0x4c8a57
mov edx, dword [edi + 0x20]
mov ecx, dword [esp + 0x4c]
lea eax, [edx + 1]
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x84]
mov word [eax + ecx*4], 8
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
dec ecx
mov dword [eax + 0x58], ecx
mov eax, dword [edi]
mov edx, dword [edi + 0x20]
cmp byte [eax + 0x41], 0
je 0x4c8a73
mov eax, 0x734434
jmp 0x4c8a8b
mov ecx, dword [esp + 0x88]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + ecx*4]
push dword [esp + 0x3c]
mov dword [eax + 8], edx
mov ecx, edi
mov edx, 0x3d
call fcn.0049d730
add esp, 4
jmp 0x4c8ac6
cmp dword [esp + 0x34], 0
je 0x4c8ac6
mov edx, dword [esp + 0x84]
mov ecx, edi
call fcn.0049d800
mov edx, dword [esp + 0x88]
mov ecx, edi
call fcn.0049dfa0
mov eax, dword [esp + 0x10]
test byte [eax + 0x2a], 0x10
jne 0x4c8b71
cmp dword [esp + 0x74], 0
jne 0x4c8b71
mov ecx, dword [esp + 0x5c]
cmp ecx, dword [esp + 0x50]
jge 0x4c8afd
push ecx
mov edx, 0x3d
mov ecx, edi
call fcn.0049d730
mov eax, dword [esp + 0x14]
add esp, 4
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
test eax, eax
je 0x4c8b71
nop dword [eax + eax]
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
cmp dword [eax + 0x54], esi
jg 0x4c8b26
mov ecx, edi
call fcn.0049d5e0
test eax, eax
jne 0x4c8b5a
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 0x3d
mov byte [eax + ecx*4 + 3], 0
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
mov ecx, dword [esp + 0x58]
inc dword [esp + 0x50]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x58], ecx
test ecx, ecx
jne 0x4c8b10
mov esi, dword [esp + 0x20]
cmp byte [esi + 0x12], 0
jne 0x4c8b87
cmp dword [esi + 0x19c], 0
jne 0x4c8b87
mov ecx, esi
call fcn.004c75b0
mov eax, dword [esp + 0x44]
test byte [eax + 0x18], 0x80
je 0x4c8beb
cmp byte [esi + 0x12], 0
jne 0x4c8beb
cmp dword [esi + 0x19c], 0
jne 0x4c8beb
push 1
push dword [esp + 0x90]
mov edx, 0x21
mov ecx, edi
call fcn.0049d7a0
add esp, 8
mov edx, 1
mov ecx, edi
call fcn.0049f270
mov eax, dword [edi]
cmp byte [eax + 0x41], 0
jne 0x4c8beb
mov ecx, dword [edi + 0x10]
mov edx, str.rows_inserted
push 0
push 1
push 0xffffffffffffffff
call fcn.0049cb50
add esp, 0xc
jmp 0x4c8beb
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov esi, dword [esp + 0x44]
mov ecx, esi
mov edx, dword [esp + 0x78]
call fcn.004be1f0
mov edx, dword [esp + 0x54]
mov ecx, esi
call fcn.004b12d0
mov edx, dword [esp + 0x34]
mov ecx, esi
push 1
call fcn.004cfbf0
mov edx, dword [ebp + 0xc]
add esp, 4
mov ecx, esi
call fcn.004bdea0
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4c8c76
test esi, esi
je 0x4c8c6d
cmp dword [esi + 0x208], 0
je 0x4c8c43
mov edx, ecx
mov ecx, esi
call fcn.00480db0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, dword [esi + 0x114]
jb 0x4c8c6d
cmp ecx, dword [esi + 0x118]
jae 0x4c8c6d
mov eax, dword [esi + 0x110]
mov dword [ecx], eax
dec dword [esi + 0xfc]
mov dword [esi + 0x110], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
call fcn.00480d40
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret