Function at 0x4d5cb0
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6011a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
mov edx, dword [0x6cee7c]
push esi
push edi
lea eax, [ebp - 0x44]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x48]
xor ebx, ebx
push eax
push ecx
push ebx
push ebx
push str.RunIEMonitor
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4d5d09
cmp dword [ebp - 0x48], ebx
je 0x4d5fa2
xor ecx, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x24], bx
mov eax, dword [0x6cee18]
mov byte [ebp - 4], 1
cmp eax, ebx
mov esi, eax
jne 0x4d5d29
mov esi, 0x6cee1c
mov eax, 0x6a0048
test eax, eax
je 0x4d5e3a
cmp esi, ebx
je 0x4d5e3a
mov edx, str.IEMonitor.exe
test edx, edx
je 0x4d5e3a
push ebx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x18], bx
call fcn.00402890
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040d680
push str.IEMonitor.exe
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.0040d680
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00401070
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
call fcn.00401f50
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
push edi
mov ebx, eax
call fcn.005c4b4a
add esi, ebx
lea ebx, [eax + esi + 3]
lea esi, [ebx + ebx]
push esi
call fcn.005dd58d
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [ebp - 0x28], edi
je 0x4d5e11
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x34]
call fcn.00401f50
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00401f50
lea ecx, [ebp - 0x1c]
mov edi, eax
call fcn.00401f50
push esi
push edi
push eax
mov eax, dword [ebp - 0x28]
push ebx
push eax
call fcn.005c4ada
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.005c4b4a
add esp, 0x18
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401070
mov ecx, dword [ebp - 0x28]
xor ebx, ebx
cmp ecx, ebx
mov eax, ecx
jne 0x4d5e43
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4d5f96
mov ecx, 0x11
xor eax, eax
lea edi, [ebp - 0x9c]
mov dword [ebp - 0x1c], eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x9c], 0x44
mov dword [ebp - 0x70], 0x81
mov word [ebp - 0x6c], bx
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x18], bx
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 5
cmp ecx, ebx
jne 0x4d5e8f
lea ecx, [ebp - 0x24]
mov edx, str.__s_
test edx, edx
je 0x4d5f52
cmp ecx, ebx
je 0x4d5f52
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040d680
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00401070
push str.__s_
lea ecx, [ebp - 0x40]
call fcn.00401ed0
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 7
cmp eax, ebx
jne 0x4d5ed4
lea eax, [ebp - 0x30]
mov esi, dword [ebp - 0x38]
push eax
call fcn.005c4b4a
lea ebx, [eax + esi + 2]
lea esi, [ebx + ebx]
push esi
call fcn.005dd58d
mov edi, eax
add esp, 8
test edi, edi
mov dword [ebp - 0x1c], edi
je 0x4d5f35
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x34]
call fcn.00401f50
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00401f50
push esi
push eax
mov eax, dword [ebp - 0x1c]
push ebx
push eax
call fcn.005c4ada
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005c4b4a
add esp, 0x14
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.00401070
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
cmp eax, ebx
jne 0x4d5f59
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x9c]
push edx
push ecx
push ebx
push ebx
push 0x30
push 1
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
je 0x4d5f8a
mov edx, dword [ebp - 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x58]
push eax
call esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret