Function at 0x40c020
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a7998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, ecx
xor ebp, ebp
mov byte [esp + 0x2c], al
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov cl, byte [esp + 0x4c]
mov dword [esp + 0x44], ebx
mov byte [esp + 0x1c], cl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 1
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 2
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 3
call sub.MFC42u.DLL_CString::CString_5
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
push esi
push 1
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x50], 4
call fcn.00409340
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x40c1d7
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, edi
call fcn.0040bce0
cmp eax, 1
jne 0x40c1c6
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x40c1c6
mov ecx, dword [esp + 0x24]
mov eax, 0x66666667
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jne 0x40c1c6
cmp dword [esi + 0x14], ebx
jne 0x40c1c6
cmp dword [esi + 0x18], edx
jne 0x40c194
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::Empty
xor esi, esi
mov edx, dword [esp + 0x20]
xor ecx, ecx
lea eax, [esp + 0x14]
mov cl, byte [edx + esi + 4]
push ecx
push 0x4cb95c
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::operator
inc esi
cmp esi, 0x10
jl 0x40c123
push 0x4cb958
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::TrimRight
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push str.url.dll_FileProtocolHandler_http:__fireeye.ijinshan.com_analyse.html_md5_s
push eax
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0xc
push 1
push ebx
push ecx
push str.rundll32.exe
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40c1ec
mov edx, dword [0x545f7c]
mov ecx, dword [edi + 0x20]
push 4
push ebx
mov eax, dword [edx*4 + 0x4cbb44]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x40c1ec
lea edx, [esp + 0x2c]
push 1
push edx
mov ecx, edi
call fcn.0040c2a0
mov ebp, eax
jmp 0x40c1ec
mov eax, dword [0x545f7c]
push ebx
push ebx
mov ecx, dword [eax*4 + 0x4cbb38]
push ecx
jmp 0x40c1e7
mov edx, dword [0x545f7c]
push ebx
push ebx
mov eax, dword [edx*4 + 0x4cbb5c]
push eax
call sub.MFC42u.DLL_AfxMessageBox
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 1
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, eax
mov byte [esp + 0x44], bl
mov edi, eax
je 0x40c23a
mov ecx, esi
call sub.MFC42u.DLL_CString::CString
add esi, 0x28
cmp esi, edi
jne 0x40c228
mov esi, dword [esp + 0x20]
push esi
call sub.MFC42u.DLL_operatordelete
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
add esp, 4
cmp esi, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x44], 0xffffffff
mov edi, eax
je 0x40c277
mov ecx, esi
call sub.MFC42u.DLL_CString::CString
add esi, 4
cmp esi, edi
jne 0x40c265
mov esi, dword [esp + 0x30]
push esi
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x40]
add esp, 4
mov eax, ebp
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4