Function at 0x401000
Capabilities:
Get file attributes
Hide graphical window
Initialize iwebbrowser2

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
test eax, eax
je 0x4012b3
cmp byte [eax], 0
je 0x4012b3
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_BeginPaint]
push 0
push 0
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
call esi
mov ebp, dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
push 0
call ebp
mov ebx, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push 0
call ebx
call fcn.0040335d
test al, al
je 0x4012af
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x1b], 0
call edi
push 0
push 0
call esi
push 0
call ebp
push 0
call ebx
mov ecx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push ecx
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
add eax, 2
lea edx, [eax + eax]
push edx
push 8
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
push 0
push 0
mov dword [esp + 0x20], eax
call edi
push 0
push 0
call esi
push 0
call ebp
push 0
call ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
push eax
push ecx
push 0xffffffffffffffff
push edx
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
lea eax, [esp + 0x14]
push eax
push 0x405178
push 5
push 0
push 0x405168
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40127b
push 0
push 0
mov byte [esp + 0x1b], 1
call edi
push 0
push 0
call esi
push 0
call ebp
push 0
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xa4]
mov al, byte [esp + 0x38]
test al, al
jne 0x401189
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x110]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xc4]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0xac]
push 0
push 0
call edi
push 0
push 0
call esi
push 0
call ebp
push 0
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xbc]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0
push 0
mov dword [esp + 0x3c], eax
call edi
push 0
push 0
call esi
push 0
call ebp
push 0
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push edx
push edx
push edx
mov edx, dword [esp + 0x44]
push edx
push eax
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov al, byte [esp + 0x38]
test al, al
jne 0x4011e1
push 0x2710
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xa4]
push 0
push 0
call edi
push 0
push 0
call esi
push 0
call ebp
push 0
call ebx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [edx + 0x94]
mov al, byte [esp + 0x38]
test al, al
je 0x401227
mov edx, dword [esp + 0x1c]
push 3
push edx
call esi
push 0
push 0
call edi
push 0
push 0
call esi
push 0
call ebp
push 0
call ebx
mov al, byte [esp + 0x38]
test al, al
jne 0x401267
push 0
push 0
call edi
push 0
push 0
call esi
push 0
call ebp
push 0
call ebx
mov eax, dword [esp + 0x1c]
push 0x4052ab
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
push 0
call edi
push 0
push 0
call esi
push 0
call ebp
push 0
call ebx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x401293
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4012a9
mov cl, byte [esp + 0x13]
test cl, cl
je 0x4012a9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret