Function at 0x4c79c0
Capabilities:
Check if file exists
Enumerate threads
Resolve function by parsing pe exports
Resume thread

Disassembly:
sub esp, 0x4cc
mov eax, dword [0x6b66bc]
xor eax, esp
mov dword [esp + 0x4c8], eax
mov eax, dword [esp + 0x4e8]
push ebx
push esi
mov dword [esp + 0x48], eax
mov esi, 0x707384
mov eax, dword [esp + 0x4f8]
push edi
mov edi, dword [esp + 0x4f8]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x500]
push esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
call fcn.0041c070
mov eax, dword [esp + 0x4e0]
add esp, 4
cmp dword [esp + 0x504], 1
mov dword [edi + 0x9614], eax
mov eax, dword [esp + 0x4e0]
sete bl
mov dword [edi + 0x940c], eax
mov eax, dword [esp + 0x4f0]
mov dword [edi + 0x9404], eax
mov eax, dword [esp + 0x4e8]
mov dword [edi + 0x9408], eax
mov byte [esp + 0xd], 1
mov byte [esp + 0xe], 1
mov byte [esp + 0xf], 0
call fcn.00493010
test al, al
je 0x4c7a76
call fcn.00425090
or bl, al
mov ecx, dword [0x6f656c]
test ecx, ecx
je 0x4c7ae3
push 0x7007c0
lea eax, [esp + 0x11]
push eax
push str.bSendUnattendedBugReports
push str._Script_UnrealEd.CrashReportsPrivacySettings
call fcn.00491020
mov ecx, dword [0x6f656c]
lea eax, [esp + 0xe]
push 0x7007c0
push eax
push str.bSendUsageData
push str._Script_UnrealEd.AnalyticsPrivacySettings
call fcn.00491020
cmp dword [esp + 0x504], 1
je 0x4c7b3e
mov ecx, dword [0x6f656c]
lea eax, [esp + 0xf]
push 0x700790
push eax
push str.bImplicitSend
push str.CrashReportClient
call fcn.00491020
jmp 0x4c7b3e
call fcn.004caaf0
push eax
lea eax, [esp + 0xa4]
push str._s_NotAllowedUnattendedBugReports
push eax
call fcn.004116b0
add esp, 0xc
mov eax, 0x60f5ec
cmp dword [esp + 0xa4], 0
cmovne eax, dword [esp + 0xa0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
movzx ecx, byte [esp + 0xd]
xor edx, edx
test eax, eax
mov eax, dword [esp + 0xa0]
cmovne ecx, edx
mov byte [esp + 0xd], cl
test eax, eax
je 0x4c7b3e
push eax
call fcn.0043f8f0
add esp, 4
call fcn.0040d550
test al, al
je 0x4c7b55
xor al, al
xor cl, cl
mov byte [esp + 0xd], al
mov byte [esp + 0xe], cl
jmp 0x4c7b5d
mov al, byte [esp + 0xd]
mov cl, byte [esp + 0xe]
test bl, bl
je 0x4c7b69
test al, al
je 0x4c8110
mov byte [edi + 0x9411], al
mov edx, edi
mov al, byte [esp + 0xf]
mov byte [edi + 0x9412], cl
mov ecx, dword [esp + 0x4e4]
sub edx, ecx
mov byte [edi + 0x9410], bl
mov byte [edi + 0x9413], al
mov al, byte [0x70057e]
mov byte [edi + 0x981d], al
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4c7ba0
xor ebx, ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x54], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
push 4
mov dword [esp + 0x60], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c8], ebx
mov dword [esp + 0x4cc], ebx
mov dword [esp + 0x4d0], 0x100
cmp eax, 0xffffffff
je 0x4c7df4
lea ecx, [esp + 0xac]
mov dword [esp + 0xac], 0x1c
push ecx
push eax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x4c7df0
mov ecx, dword [sym.imp.KERNEL32.dll_OpenThread]
lea esi, [edi + 0x1000]
mov eax, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x5c], eax
nop word [eax + eax]
mov eax, dword [esp + 0x54]
cmp dword [esp + 0xb8], eax
jne 0x4c7dc3
mov esi, dword [esp + 0xb4]
cmp esi, dword [esp + 0x58]
je 0x4c7d1c
push esi
push 0
push 2
call ecx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4c7d15
push eax
call dword [esp + 0x60]
mov edx, dword [esp + 0x4c8]
lea ecx, [esp + 0xc8]
test edx, edx
lea eax, [esp + 0x1c]
mov dword [esp + 0x74], eax
cmovne ecx, edx
cmp eax, ecx
jb 0x4c7cd4
mov eax, dword [esp + 0x4d0]
lea eax, [ecx + eax*4]
lea ecx, [esp + 0x1c]
cmp ecx, eax
jae 0x4c7cd4
lea eax, [esp + 0x74]
mov dword [esp + 0x78], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x78]
push eax
call fcn.0060bbc0
add esp, 4
nop
int3
mov esi, dword [esp + 0x4cc]
lea eax, [esi + 1]
mov dword [esp + 0x4cc], eax
cmp eax, dword [esp + 0x4d0]
jle 0x4c7d02
push esi
lea ecx, [esp + 0xcc]
call fcn.004c93e0
mov edx, dword [esp + 0x4c8]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xc8]
test edx, edx
cmovne ecx, edx
mov dword [ecx + esi*4], eax
mov esi, dword [esp + 0xb4]
mov eax, dword [esp + 0x20]
mov ecx, dword [0x757724]
mov dword [eax], esi
mov eax, dword fs:[0x2c]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x6dfcd8]
cmp eax, dword [ebx + 8]
jg 0x4c8132
mov eax, dword [0x6dfce8]
cmp eax, dword [ebx + 8]
jg 0x4c81c7
cmp esi, dword [0x700590]
jne 0x4c7d62
mov eax, 0x6dfccc
jmp 0x4c7d7f
call fcn.00448ba0
test al, al
je 0x4c7d72
mov eax, 0x6dfcdc
jmp 0x4c7d7f
push esi
call fcn.0043fda0
mov ecx, eax
call fcn.00445b40
cmp dword [eax + 4], 1
mov ecx, 0x61b434
jle 0x4c7d8c
mov ecx, dword [eax]
mov ebx, dword [esp + 0x44]
mov edx, edi
sub edx, ecx
add edx, ebx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx + 0x13fe], ax
test ax, ax
jne 0x4c7da0
inc dword [esp + 0x24]
add dword [esp + 0x20], 4
sub ebx, 0xffffff80
mov dword [esp + 0x44], ebx
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x2c]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
je 0x4c7de8
mov ecx, dword [esp + 0x34]
cmp ebx, 0x8000
jb 0x4c7c40
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x9400], ebx
mov dword [esp + 0x38], eax
call eax
mov dword [esp + 0x38], 0
mov eax, 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lock xadd dword [0x707380], eax
inc eax
lea ecx, [esp + 0x38]
dec eax
push ecx
push eax
lea eax, [edi + 0xa3c8]
push eax
call fcn.0041cf20
add esp, 0xc
test al, al
je 0x4c7e90
cmp dword [esp + 0x3c], 0
mov ebx, 0x60f5ec
mov ecx, ebx
mov edx, edi
cmovne ecx, dword [esp + 0x38]
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx + 0x9616], ax
test ax, ax
jne 0x4c7e60
lea eax, [esp + 0x38]
push eax
call fcn.0041dbc0
cmp dword [esp + 0x40], 0
cmovne ebx, dword [esp + 0x3c]
push ebx
call fcn.004c5da0
add esp, 8
mov eax, dword [esp + 0x4c]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
test eax, eax
je 0x4c7ea7
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
lea ebx, [edi + 0x134c0]
mov al, 1
cmp edi, ebx
je 0x4c7eea
test al, al
je 0x4c80a4
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0
push eax
mov eax, ebx
sub eax, edi
push eax
push edi
push dword [esp + 0x7c]
call fcn.004d3f20
add edi, dword [esp + 0x58]
add esp, 0x10
cmp edi, ebx
jne 0x4c7eb3
test al, al
je 0x4c80a4
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], 0
xor bl, bl
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x10
call fcn.00430ea0
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
mov edi, dword [esp + 0x4c]
movups xmmword [eax], xmm0
lea eax, [esp + 0x50]
push eax
push edi
call fcn.004cea80
add esp, 8
test al, al
jne 0x4c8093
mov esi, dword [esp + 0x60]
nop
test bl, bl
jne 0x4c808f
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004d24a0
add esp, 8
test al, al
je 0x4c8079
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], 0
test eax, eax
jg 0x4c7f9a
lea eax, [esp + 0x64]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x80]
push eax
call fcn.006090b0
add esp, 4
nop
int3
mov ecx, dword [esp + 0x10]
cmp byte [ecx], 0xd
jne 0x4c8079
mov dword [esp + 0x68], 1
cmp eax, 1
jg 0x4c7fe4
lea eax, [esp + 0x68]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x88]
push eax
call fcn.006090b0
add esp, 4
nop
int3
cmp byte [ecx + 1], 0xe
jne 0x4c8079
mov dword [esp + 0x6c], 2
cmp eax, 2
jg 0x4c802b
lea eax, [esp + 0x6c]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x90]
push eax
call fcn.006090b0
add esp, 4
nop
int3
cmp byte [ecx + 2], 0xa
jne 0x4c8079
mov dword [esp + 0x30], 3
cmp eax, 3
jg 0x4c806a
lea eax, [esp + 0x30]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x98]
push eax
call fcn.006090b0
add esp, 4
nop
int3
cmp byte [ecx + 3], 0xd
mov eax, 1
movzx ebx, bl
cmove ebx, eax
lea eax, [esp + 0x50]
push eax
push edi
call fcn.004cea80
add esp, 8
test al, al
je 0x4c7f40
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c80a4
push eax
call fcn.0043f8f0
add esp, 4
mov ecx, dword [esp + 0x4c8]
lea ebx, [esp + 0xc8]
mov eax, dword [esp + 0x4cc]
test ecx, ecx
cmovne ebx, ecx
lea eax, [ebx + eax*4]
cmp ebx, eax
je 0x4c80e7
mov esi, eax
mov edi, dword [ebx]
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [esp + 0x38]
add ebx, 4
cmp ebx, esi
jne 0x4c80c7
mov ecx, dword [esp + 0x4c8]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4c80ff
push eax
call fcn.0043f8f0
mov ecx, dword [esp + 0x4cc]
add esp, 4
test ecx, ecx
je 0x4c810c
push ecx
call fcn.0043f8f0
add esp, 4
test esi, esi
je 0x4c8117
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x4d4]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005f4480
add esp, 0x4cc
ret
push 0x6dfcd8
call fcn.005f48b1
add esp, 4
cmp dword [0x6dfcd8], 0xffffffff
jne 0x4c7d42
push 0xb
mov ecx, 0x6dfccc
mov dword [0x6dfccc], 0
mov dword [0x6dfcd0], 0
mov dword [0x6dfcd4], 0
call fcn.0040ce40
mov ecx, dword [0x6dfcd0]
lea eax, [ecx + 0xb]
mov dword [0x6dfcd0], eax
cmp eax, dword [0x6dfcd4]
jle 0x4c8199
push ecx
mov ecx, 0x6dfccc
call fcn.0040cde0
jmp 0x4c8199
push 0x16
push 0x6210fc
push dword [0x6dfccc]
call fcn.004263f0
push 0x605840
call fcn.005f4769
push 0x6dfcd8
call fcn.005f4867
add esp, 0x14
jmp 0x4c7d42
push 0x6dfce8
call fcn.005f48b1
add esp, 4
cmp dword [0x6dfce8], 0xffffffff
jne 0x4c7d53
push 0xd
mov ecx, 0x6dfcdc
mov dword [0x6dfcdc], 0
mov dword [0x6dfce0], 0
mov dword [0x6dfce4], 0
call fcn.0040ce40
mov ecx, dword [0x6dfce0]
lea eax, [ecx + 0xd]
mov dword [0x6dfce0], eax
cmp eax, dword [0x6dfce4]
jle 0x4c822e
push ecx
mov ecx, 0x6dfcdc
call fcn.0040cde0
jmp 0x4c822e
push 0x1a
push 0x621114
push dword [0x6dfcdc]
call fcn.004263f0
push 0x605960
call fcn.005f4769
push 0x6dfce8
call fcn.005f4867
add esp, 0x14
jmp 0x4c7d53