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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x705034]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
mov edi, ecx
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], edi
cmp dword [edi + 0x24], 0
mov eax, dword [edi]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x38], 0
movq qword [esp + 0x78], xmm0
mov dword [esp + 0x3c], eax
jne 0x4c74f6
cmp byte [eax + 0x51], 0
jne 0x4c74f6
call fcn.004c68e0
mov esi, eax
mov dword [esp + 8], esi
test esi, esi
je 0x4c74f6
push 0
push 0
push 0x7c
mov edx, esi
mov ecx, edi
call fcn.004e3b10
mov ecx, eax
add esp, 0xc
mov eax, dword [esi + 0xc]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], eax
test ecx, ecx
jne 0x4c6c9a
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, ecx
je 0x4c6c90
mov ecx, dword [esi + 0x48]
mov edx, dword [esi]
add ecx, 0x38
push 0
call fcn.0047e430
add esp, 4
cmp dword [eax + 8], 0
jne 0x4c6c9a
cmp dword [esi + 0x10], 0
jne 0x4c6c9a
mov dword [esp + 0x10], 0
jmp 0x4c6ca2
mov dword [esp + 0x10], 1
mov edx, esi
mov ecx, edi
call fcn.004c1ef0
test eax, eax
jne 0x4c74f6
cmp dword [esp + 0x5c], eax
mov edx, esi
mov ecx, edi
setne al
push eax
call fcn.004c69f0
add esp, 4
test eax, eax
jne 0x4c74f6
mov edx, dword [esi + 0x48]
mov ecx, dword [esp + 0x3c]
call fcn.004d6b50
mov ecx, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
add ecx, ecx
mov edx, 9
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, edi
push 0
push dword [esi]
call fcn.004be4e0
add esp, 0xc
mov dword [esp + 0x40], eax
cmp eax, 1
je 0x4c74f6
mov ecx, dword [esp + 0x58]
xor edx, edx
mov eax, dword [edi + 0x28]
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], edx
mov dword [ecx + 0x34], eax
inc dword [edi + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x28]
test eax, eax
je 0x4c6d40
nop
inc ecx
inc edx
mov dword [edi + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4c6d30
mov dword [esp + 0x50], edx
cmp dword [esp + 0x64], 0
je 0x4c6d5f
mov eax, dword [edi + 0xf0]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
mov dword [esp + 0x28], edi
mov dword [edi + 0xf0], eax
jmp 0x4c6d6f
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2c], eax
mov esi, dword [edi + 8]
mov dword [esp + 0x60], esi
test esi, esi
jne 0x4c6da0
cmp dword [edi + 0x74], esi
jne 0x4c6d8b
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x4c6d8b
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.0049ada0
mov esi, eax
mov dword [esp + 0x60], eax
test esi, esi
je 0x4c70f8
cmp byte [edi + 0x12], 0
jne 0x4c6dad
or dword [esi + 0x98], 0x20
push dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.004c5150
add esp, 4
cmp dword [esp + 0x64], 0
je 0x4c6dec
push dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ecx, edi
push 0
push 0
push dword [esp + 0x54]
call fcn.004c6a40
mov eax, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x6c], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x80]
mov edx, dword [esp + 0x48]
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], eax
call fcn.004b08c0
test eax, eax
jne 0x4c70f8
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
je 0x4c6e62
cmp byte [edi + 0x12], 0
jne 0x4c6e62
cmp dword [edi + 0x78], 0
jne 0x4c6e62
inc dword [edi + 0x2c]
mov edx, 0x46
mov eax, dword [edi + 0x2c]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x5c], eax
call fcn.0049b210
add esp, 8
cmp dword [esp + 0x40], 0
jne 0x4c6f16
cmp dword [esp + 0x48], 0
jne 0x4c6f16
cmp dword [esp + 0x10], 0
jne 0x4c6f16
mov eax, dword [esp + 8]
cmp dword [eax + 0x38], 0
jne 0x4c6f16
push dword [eax]
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 1
push dword [eax + 0x1c]
call fcn.004be570
mov ecx, dword [esp + 0x14]
add esp, 0xc
test byte [ecx + 0x24], 0x20
jne 0x4c6edb
mov edx, dword [esp + 0x54]
or eax, 0xffffffff
push 0xffffffffffffffff
push dword [ecx]
test edx, edx
cmovne eax, edx
mov edx, 0x89
push eax
push dword [esp + 0x24]
push dword [ecx + 0x1c]
mov ecx, esi
call fcn.0049b550
mov ecx, dword [esp + 0x1c]
add esp, 0x14
mov eax, dword [ecx + 8]
mov dword [esp + 0x5c], eax
test eax, eax
je 0x4c749c
mov edi, eax
nop dword [eax]
push dword [esp + 0x18]
mov edx, 0x89
mov ecx, esi
push dword [edi + 0x2c]
call fcn.0049b210
mov edi, dword [edi + 0x14]
add esp, 8
test edi, edi
jne 0x4c6ef0
mov edi, dword [esp + 0xc]
jmp 0x4c749c
test byte [esp + 0x98], 0x40
mov eax, 1
cmove eax, dword [esp + 0x10]
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 0x41c
movzx eax, ax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 8]
test byte [eax + 0x24], 0x20
jne 0x4c6f73
inc dword [edi + 0x2c]
mov edx, 0x49
mov eax, dword [edi + 0x2c]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x70], eax
call fcn.0049b210
add esp, 8
jmp 0x4c6fc5
mov ecx, eax
call fcn.004bfd20
mov dword [esp + 0x10], eax
movzx ecx, word [eax + 0x32]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x18], ecx
movsx ecx, cx
push ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x48], edx
mov ecx, esi
mov edx, dword [edi + 0x28]
mov dword [edi + 0x2c], eax
mov dword [esp + 0x38], edx
push edx
lea eax, [edx + 1]
mov edx, 0x70
mov dword [edi + 0x28], eax
call fcn.0049b210
mov edx, dword [esp + 0x18]
add esp, 8
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.0049c0f0
mov eax, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [esp + 0x58]
inc eax
push eax
push dword [esp + 0x44]
push 0
push 0
push dword [esp + 0x58]
call fcn.004f5670
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x74], ecx
test ecx, ecx
je 0x4c70f8
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x40], eax
movzx eax, byte [ecx + 0x31]
mov dword [esp + 0x24], eax
cmp eax, 1
je 0x4c701c
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4c7036
push 1
push eax
mov edx, 0x53
mov ecx, esi
call fcn.0049b210
add esp, 8
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4c7096
mov eax, dword [esp + 0x18]
xor ecx, ecx
cwde
mov dword [esp + 0x30], ecx
test eax, eax
jle 0x4c708c
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x44]
add eax, ecx
push eax
mov eax, dword [edx + 4]
mov edx, edi
movsx eax, word [eax + ecx*2]
mov ecx, esi
push eax
push dword [esp + 0x1c]
call fcn.004b63b0
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov edx, dword [esp + 0x18]
inc ecx
movsx eax, dx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
cmp ecx, eax
jl 0x4c7051
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
jmp 0x4c70b9
inc dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [edi + 0x2c]
mov edx, dword [esp + 8]
push eax
push 0xffffffffffffffff
push dword [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.004b63b0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp dword [esp + 0x24], 0
je 0x4c71c6
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
movzx eax, ax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
add eax, 2
cdq
push edx
push eax
call fcn.004799b0
mov ecx, eax
add esp, 8
mov dword [esp + 0x4c], ecx
test ecx, ecx
jne 0x4c7168
mov ecx, dword [esp + 0x74]
call fcn.004f61b0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4c710a
mov dword [eax + 0xf0], ecx
mov esi, dword [esp + 0x3c]
mov ecx, esi
mov edx, dword [esp + 0x58]
call fcn.004c4900
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4c712a
mov edx, eax
mov ecx, esi
call fcn.004b1ce0
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4c753e
test esi, esi
je 0x4c7535
cmp dword [esi + 0x1e8], 0
je 0x4c7503
mov edx, ecx
mov ecx, esi
call fcn.004795e0
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00621f5c
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x50]
inc eax
push eax
push 1
push ecx
call fcn.0063acc0
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov byte [eax + ecx + 1], 0
mov eax, dword [esp + 0x78]
test eax, eax
js 0x4c7198
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x40]
test eax, eax
js 0x4c71a6
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4c71b7
mov edx, eax
mov ecx, esi
call fcn.0049bef0
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x70], eax
jmp 0x4c7257
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4c7232
inc dword [edi + 0x2c]
mov edx, ecx
mov eax, dword [edi + 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
movsx esi, ax
push esi
push ecx
mov ecx, dword [edi]
mov dword [esp + 0x38], 0
call fcn.004cd960
mov ecx, dword [esp + 0x68]
add esp, 4
mov edx, 0x5c
push eax
push dword [esp + 0x14]
push esi
push dword [esp + 0x54]
call fcn.0049b550
add esp, 0x14
mov edx, 0x84
push esi
push dword [esp + 0x48]
mov esi, dword [esp + 0x68]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x40]
call fcn.0049b780
add esp, 0x10
jmp 0x4c724e
push eax
push dword [esp + 0x6c]
mov edx, 0x93
mov dword [esp + 0x38], 1
mov ecx, esi
call fcn.0049b210
add esp, 8
mov ecx, dword [esp + 0x74]
call fcn.004f61b0
cmp dword [esp + 0x64], 0
jne 0x4c72b7
cmp dword [esp + 0x24], 2
mov dword [esp + 0x20], 0
jne 0x4c727d
mov edx, 0x11
mov ecx, esi
call fcn.0049b150
mov dword [esp + 0x20], eax
mov edx, dword [esp + 8]
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
push dword [esp + 0x54]
push dword [esp + 0x20]
push 8
push 0x62
call fcn.004d0fd0
mov eax, dword [esp + 0x3c]
add esp, 0x18
cmp eax, 2
jne 0x4c72bb
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.0049bc00
jmp 0x4c72bf
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4c7303
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
cmp dword [ecx + 0x38], 0
jne 0x4c7383
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x14]
cmp byte [eax + edx], 0
je 0x4c7379
mov eax, dword [esp + 0x30]
mov ecx, esi
cwde
push eax
push dword [esp + 0x10]
push dword [esp + 0x78]
push edx
mov edx, 0x1c
call fcn.0049b780
add esp, 0x10
jmp 0x4c7371
cmp dword [esp + 0x10], 0
mov ecx, esi
je 0x4c7356
push dword [esp + 0x34]
mov edx, 0x24
call fcn.0049b1b0
mov dword [esp + 0x3c], eax
add esp, 4
mov eax, dword [esp + 8]
mov ecx, esi
push dword [esp + 0xc]
cmp dword [eax + 0x38], 0
je 0x4c7343
push 0
push dword [esp + 0x3c]
mov edx, 0x5a
call fcn.0049b0e0
jmp 0x4c736e
push dword [esp + 0x38]
mov edx, 0x7f
call fcn.0049b210
add esp, 8
jmp 0x4c7371
push dword [esp + 0xc]
mov edx, 0x29
push 0
push dword [esp + 0x70]
call fcn.0049b0e0
mov dword [esp + 0x44], eax
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
cmp dword [ecx + 0x38], 0
je 0x4c7414
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x20], eax
test eax, eax
je 0x4c73a1
mov ecx, dword [esp + 0x3c]
cmp dword [eax], ecx
je 0x4c739d
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4c7392
mov dword [esp + 0x20], eax
mov edx, dword [esp + 8]
mov ecx, edi
call fcn.004e95f0
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
cmp dword [esp + 0x24], 1
mov byte [ecx + 0x15], 1
jne 0x4c73de
push dword [esp + 0x14]
mov edx, 0x75
mov ecx, esi
call fcn.0049b1b0
add esp, 4
cmp dword [edi + 0x74], 0
jne 0x4c73de
mov byte [edi + 0x14], 0
push 0xfffffffffffffff4
push dword [esp + 0x24]
mov edx, 0xa
mov ecx, esi
push dword [esp + 0x14]
push 1
push 0
call fcn.0049b550
mov eax, dword [esi + 0x6c]
add esp, 0x14
test eax, eax
jle 0x4c744b
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4c744b
push dword [esp + 0x40]
cmp byte [edi + 0x12], 0
mov ecx, edi
push dword [esp + 0x28]
sete al
push 0xb
movzx eax, al
push eax
push dword [esp + 0x40]
push dword [esp + 0x20]
push dword [esp + 0x84]
push edx
push dword [esp + 0x7c]
mov edx, dword [esp + 0x2c]
call fcn.004c7560
add esp, 0x24
cmp dword [esp + 0x24], 0
mov ecx, esi
je 0x4c7468
mov edx, dword [esp + 0x70]
call fcn.0049b8d0
mov ecx, dword [esp + 0x74]
call fcn.004f61b0
jmp 0x4c749c
cmp dword [esp + 0x10], 0
je 0x4c7488
mov eax, dword [esp + 0x38]
mov edx, 5
inc eax
push eax
push dword [esp + 0x38]
call fcn.0049b210
add esp, 8
jmp 0x4c7491
mov edx, dword [esp + 0x38]
call fcn.0049b280
mov edx, dword [esp + 0x38]
mov ecx, esi
call fcn.0049bc00
cmp byte [edi + 0x12], 0
jne 0x4c74b5
cmp dword [edi + 0x78], 0
jne 0x4c74b5
cmp dword [edi + 0x70], 0
je 0x4c74b5
mov ecx, edi
call fcn.004cde50
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4c70f8
push 1
push eax
mov edx, 0x51
mov ecx, esi
call fcn.0049b210
mov edx, 1
mov ecx, esi
call fcn.0049d300
push 0
push str.rows_deleted
push 0
xor edx, edx
mov ecx, esi
call fcn.0049d3c0
add esp, 0x14
jmp 0x4c70f8
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
jmp 0x4c7100
cmp ecx, dword [esi + 0x138]
jb 0x4c7535
cmp ecx, dword [esi + 0x13c]
jae 0x4c7535
mov eax, dword [esi + 0x134]
mov dword [ecx], eax
mov dword [esi + 0x134], ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00621f5c
mov esp, ebp
pop ebp
ret
push ecx
call fcn.00479570
add esp, 4
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.00621f5c
mov esp, ebp
pop ebp
ret