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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x703034]
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 0x4c5726
cmp byte [eax + 0x51], 0
jne 0x4c5726
call fcn.004c4b10
mov esi, eax
mov dword [esp + 8], esi
test esi, esi
je 0x4c5726
push 0
push 0
push 0x7c
mov edx, esi
mov ecx, edi
call fcn.004e1d40
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 0x4c4eca
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, ecx
je 0x4c4ec0
mov ecx, dword [esi + 0x48]
mov edx, dword [esi]
add ecx, 0x38
push 0
call fcn.0047c650
add esp, 4
cmp dword [eax + 8], 0
jne 0x4c4eca
cmp dword [esi + 0x10], 0
jne 0x4c4eca
mov dword [esp + 0x10], 0
jmp 0x4c4ed2
mov dword [esp + 0x10], 1
mov edx, esi
mov ecx, edi
call fcn.004c0120
test eax, eax
jne 0x4c5726
cmp dword [esp + 0x5c], eax
mov edx, esi
mov ecx, edi
setne al
push eax
call fcn.004c4c20
add esp, 4
test eax, eax
jne 0x4c5726
mov edx, dword [esi + 0x48]
mov ecx, dword [esp + 0x3c]
call fcn.004d4d80
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.004bc700
add esp, 0xc
mov dword [esp + 0x40], eax
cmp eax, 1
je 0x4c5726
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 0x4c4f70
nop
inc ecx
inc edx
mov dword [edi + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4c4f60
mov dword [esp + 0x50], edx
cmp dword [esp + 0x64], 0
je 0x4c4f8f
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 0x4c4f9f
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 0x4c4fd0
cmp dword [edi + 0x74], esi
jne 0x4c4fbb
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x4c4fbb
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.00498fc0
mov esi, eax
mov dword [esp + 0x60], eax
test esi, esi
je 0x4c5328
cmp byte [edi + 0x12], 0
jne 0x4c4fdd
or dword [esi + 0x98], 0x20
push dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.004c3380
add esp, 4
cmp dword [esp + 0x64], 0
je 0x4c501c
push dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ecx, edi
push 0
push 0
push dword [esp + 0x54]
call fcn.004c4c70
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.004aeae0
test eax, eax
jne 0x4c5328
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
je 0x4c5092
cmp byte [edi + 0x12], 0
jne 0x4c5092
cmp dword [edi + 0x78], 0
jne 0x4c5092
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.00499430
add esp, 8
cmp dword [esp + 0x40], 0
jne 0x4c5146
cmp dword [esp + 0x48], 0
jne 0x4c5146
cmp dword [esp + 0x10], 0
jne 0x4c5146
mov eax, dword [esp + 8]
cmp dword [eax + 0x38], 0
jne 0x4c5146
push dword [eax]
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 1
push dword [eax + 0x1c]
call fcn.004bc790
mov ecx, dword [esp + 0x14]
add esp, 0xc
test byte [ecx + 0x24], 0x20
jne 0x4c510b
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.00499770
mov ecx, dword [esp + 0x1c]
add esp, 0x14
mov eax, dword [ecx + 8]
mov dword [esp + 0x5c], eax
test eax, eax
je 0x4c56cc
mov edi, eax
nop dword [eax]
push dword [esp + 0x18]
mov edx, 0x89
mov ecx, esi
push dword [edi + 0x2c]
call fcn.00499430
mov edi, dword [edi + 0x14]
add esp, 8
test edi, edi
jne 0x4c5120
mov edi, dword [esp + 0xc]
jmp 0x4c56cc
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 0x4c51a3
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.00499430
add esp, 8
jmp 0x4c51f5
mov ecx, eax
call fcn.004bdf50
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.00499430
mov edx, dword [esp + 0x18]
add esp, 8
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.0049a310
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.004f3890
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x74], ecx
test ecx, ecx
je 0x4c5328
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 0x4c524c
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 0x4c5266
push 1
push eax
mov edx, 0x53
mov ecx, esi
call fcn.00499430
add esp, 8
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4c52c6
mov eax, dword [esp + 0x18]
xor ecx, ecx
cwde
mov dword [esp + 0x30], ecx
test eax, eax
jle 0x4c52bc
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.004b45d0
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 0x4c5281
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
jmp 0x4c52e9
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.004b45d0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp dword [esp + 0x24], 0
je 0x4c53f6
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.00477bd0
mov ecx, eax
add esp, 8
mov dword [esp + 0x4c], ecx
test ecx, ecx
jne 0x4c5398
mov ecx, dword [esp + 0x74]
call fcn.004f43d0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4c533a
mov dword [eax + 0xf0], ecx
mov esi, dword [esp + 0x3c]
mov ecx, esi
mov edx, dword [esp + 0x58]
call fcn.004c2b30
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4c535a
mov edx, eax
mov ecx, esi
call fcn.004aff00
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4c576e
test esi, esi
je 0x4c5765
cmp dword [esi + 0x1e8], 0
je 0x4c5733
mov edx, ecx
mov ecx, esi
call fcn.00477800
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00620181
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x50]
inc eax
push eax
push 1
push ecx
call fcn.00638f20
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 0x4c53c8
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x40]
test eax, eax
js 0x4c53d6
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4c53e7
mov edx, eax
mov ecx, esi
call fcn.0049a110
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x70], eax
jmp 0x4c5487
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4c5462
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.004cbb90
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.00499770
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.004999a0
add esp, 0x10
jmp 0x4c547e
push eax
push dword [esp + 0x6c]
mov edx, 0x93
mov dword [esp + 0x38], 1
mov ecx, esi
call fcn.00499430
add esp, 8
mov ecx, dword [esp + 0x74]
call fcn.004f43d0
cmp dword [esp + 0x64], 0
jne 0x4c54e7
cmp dword [esp + 0x24], 2
mov dword [esp + 0x20], 0
jne 0x4c54ad
mov edx, 0x11
mov ecx, esi
call fcn.00499370
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.004cf200
mov eax, dword [esp + 0x3c]
add esp, 0x18
cmp eax, 2
jne 0x4c54eb
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.00499e20
jmp 0x4c54ef
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4c5533
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
cmp dword [ecx + 0x38], 0
jne 0x4c55b3
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x14]
cmp byte [eax + edx], 0
je 0x4c55a9
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.004999a0
add esp, 0x10
jmp 0x4c55a1
cmp dword [esp + 0x10], 0
mov ecx, esi
je 0x4c5586
push dword [esp + 0x34]
mov edx, 0x24
call fcn.004993d0
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 0x4c5573
push 0
push dword [esp + 0x3c]
mov edx, 0x5a
call fcn.00499300
jmp 0x4c559e
push dword [esp + 0x38]
mov edx, 0x7f
call fcn.00499430
add esp, 8
jmp 0x4c55a1
push dword [esp + 0xc]
mov edx, 0x29
push 0
push dword [esp + 0x70]
call fcn.00499300
mov dword [esp + 0x44], eax
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
cmp dword [ecx + 0x38], 0
je 0x4c5644
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x20], eax
test eax, eax
je 0x4c55d1
mov ecx, dword [esp + 0x3c]
cmp dword [eax], ecx
je 0x4c55cd
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4c55c2
mov dword [esp + 0x20], eax
mov edx, dword [esp + 8]
mov ecx, edi
call fcn.004e7810
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 0x4c560e
push dword [esp + 0x14]
mov edx, 0x75
mov ecx, esi
call fcn.004993d0
add esp, 4
cmp dword [edi + 0x74], 0
jne 0x4c560e
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.00499770
mov eax, dword [esi + 0x6c]
add esp, 0x14
test eax, eax
jle 0x4c567b
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4c567b
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.004c5790
add esp, 0x24
cmp dword [esp + 0x24], 0
mov ecx, esi
je 0x4c5698
mov edx, dword [esp + 0x70]
call fcn.00499af0
mov ecx, dword [esp + 0x74]
call fcn.004f43d0
jmp 0x4c56cc
cmp dword [esp + 0x10], 0
je 0x4c56b8
mov eax, dword [esp + 0x38]
mov edx, 5
inc eax
push eax
push dword [esp + 0x38]
call fcn.00499430
add esp, 8
jmp 0x4c56c1
mov edx, dword [esp + 0x38]
call fcn.004994a0
mov edx, dword [esp + 0x38]
mov ecx, esi
call fcn.00499e20
cmp byte [edi + 0x12], 0
jne 0x4c56e5
cmp dword [edi + 0x78], 0
jne 0x4c56e5
cmp dword [edi + 0x70], 0
je 0x4c56e5
mov ecx, edi
call fcn.004cc080
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4c5328
push 1
push eax
mov edx, 0x51
mov ecx, esi
call fcn.00499430
mov edx, 1
mov ecx, esi
call fcn.0049b520
push 0
push str.rows_deleted
push 0
xor edx, edx
mov ecx, esi
call fcn.0049b5e0
add esp, 0x14
jmp 0x4c5328
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
jmp 0x4c5330
cmp ecx, dword [esi + 0x138]
jb 0x4c5765
cmp ecx, dword [esi + 0x13c]
jae 0x4c5765
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.00620181
mov esp, ebp
pop ebp
ret
push ecx
call fcn.00477790
add esp, 4
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.00620181
mov esp, ebp
pop ebp
ret