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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x5c
mov esi, dword [esp + 0x80]
lea edi, [esp + 0x74]
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
sub eax, ebx
sar eax, 3
cmp byte [esp + 0x7c], 0
je 0x4e6864
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov byte [esp + 0x3c], 0
mov byte [esp + 0x44], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
sub esp, 0x3c
movsd xmm0, qword [esp + 0x54]
movsd qword [esp + 0x1c], xmm0
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
movsd xmm0, qword [esp + 0x78]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x5c]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x64]
movsd qword [esp], xmm0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call fcn.0049eac0
add esp, 0x3c
test eax, eax
je 0x4e6980
call fcn.0046d170
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 6
ja 0x4e69d5
mov ecx, eax
push 7
push str.Error:
call fcn.0046b680
movzx edx, byte [esi]
test dl, 1
jne 0x4e69f2
inc esi
shr edx, 1
jmp 0x4e69f8
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov byte [esp + 0x30], 0
mov byte [esp + 0x38], 0
mov dword [esp + 4], 0
mov dword [esp], 0
sub esp, 0x38
movsd xmm0, qword [esp + 0x38]
movsd qword [esp + 0x20], xmm0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
movsd xmm0, qword [esp + 0x68]
movsd qword [esp + 0x14], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 4], xmm0
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
call fcn.0049feb0
add esp, 0x38
call fcn.0046d170
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 0x1d
ja 0x4e691b
mov ecx, eax
push 0x1e
push str.Remember_to_erase_graph_file:
call fcn.0046b680
mov ecx, dword [eax + 0x10]
jmp 0x4e6939
movups xmm0, xmmword [0x524342]
movups xmmword [ecx + 0xe], xmm0
movups xmm0, xmmword [str.Remember_to_erase_graph_file:]
movups xmmword [ecx], xmm0
mov ecx, dword [eax + 0x10]
add ecx, 0x1e
mov dword [eax + 0x10], ecx
mov edx, dword [edi]
mov esi, dword [edi + 4]
mov edi, dword [eax + 0xc]
sub edi, ecx
cmp edi, esi
jae 0x4e6955
mov ecx, eax
push esi
push edx
call fcn.0046b680
mov ecx, dword [eax + 0x10]
jmp 0x4e6970
test esi, esi
je 0x4e6970
push esi
push edx
push ecx
mov edi, eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov eax, edi
add esp, 0xc
add esi, dword [edi + 0x10]
mov dword [edi + 0x10], esi
mov ecx, esi
cmp dword [eax + 0xc], ecx
je 0x4e69c5
mov byte [ecx], 0xa
inc dword [eax + 0x10]
jmp 0x4e6a36
mov word [esp + 0x58], 0x105
mov eax, dword [edi]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
push 1
push eax
call fcn.004a8660
add esp, 8
call fcn.0046d170
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 7
ja 0x4e6a25
mov ecx, eax
push 8
push str._done.__n
call fcn.0046b680
jmp 0x4e6a36
mov ecx, eax
push 1
push 0x5241a8
call fcn.0046b680
jmp 0x4e6a36
mov dword [ecx + 3], 0x203a726f
mov dword [ecx], 0x6f727245
add dword [eax + 0x10], 7
movzx edx, byte [esi]
test dl, 1
je 0x4e685c
mov edx, dword [esi + 4]
mov esi, dword [esi + 8]
mov ecx, eax
push edx
push esi
call fcn.0046b680
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x4e6a13
mov byte [ecx], 0xa
inc dword [eax + 0x10]
mov al, 1
jmp 0x4e6a38
mov ecx, eax
push 1
push 0x5241a8
call fcn.0046b680
mov al, 1
jmp 0x4e6a38
mov dword [ecx + 4], 0xa202e65
mov dword [ecx], 0x6e6f6420
add dword [eax + 0x10], 8
xor eax, eax
add esp, 0x5c
pop esi
pop edi
pop ebx
ret