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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x40f5e6
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
push 0xc
mov dword [esp + 0x20], 0
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x140], 0
test eax, eax
je 0x401f94
mov dword [eax], vtable.appv::utility::scope_guard_func.0
mov byte [esp + 0x140], 1
lea ecx, [esp + 0x1c]
mov dword [eax], vtable.appv::utility::scope_guard_func_impl_class_std::_Bind_1__void__void____cdecl__const__long_int___class_std::reference_wrapper_long_int___.0
mov dword [eax + 4], 0x401bf0
mov dword [eax + 8], ecx
mov byte [esp + 0x140], 0
jmp 0x401f96
xor eax, eax
mov dword [esp + 0x140], 0xffffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x140], 3
xor eax, eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x90], 0x80070057
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], 0
mov word [esp + 0x94], ax
mov byte [esp + 0x140], 4
lea ecx, [esp + 0x90]
push esi
push dword [ebp + 8]
call fcn.00409300
cmp dword [esp + 0x90], 0
jl 0x40201f
lea ecx, [esp + 0x90]
call fcn.00409420
mov byte [esp + 0x140], 5
mov esi, dword [esp + 0x90]
test esi, esi
js 0x402044
movdqu xmm0, xmmword [esp + 0xac]
movdqu xmmword [esp + 0x104], xmm0
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [esp + 0x1c], esi
test esi, esi
js 0x402469
push 0x27
xor eax, eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [esp + 0x60]
push str.AppVDllSurrogate_started_for_CLSID__1_.
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
call fcn.00403580
mov byte [esp + 0x140], 7
xor eax, eax
xor ecx, ecx
mov word [esp + 0x44], ax
cmp word [str.VCom], cx
mov eax, 4
mov dword [esp + 0x54], 0
cmove eax, ecx
mov dword [esp + 0x58], 0
push eax
push str.VCom
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
call fcn.00403580
mov byte [esp + 0x140], 8
call fcn.00403050
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.0040b8c0
mov esi, eax
mov byte [esp + 0x140], 9
lea ecx, [esp + 0x74]
push 5
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
push str.wmain
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], 0
mov byte [esp + 0x7c], 0
call fcn.00403c30
mov byte [esp + 0x140], 0xa
mov dword [esp + 0x8c], 0x3a
mov byte [esp + 0x140], 0xb
lea edx, [esp + 0x104]
lea ecx, [esp + 0xcc]
call fcn.0040e700
mov byte [esp + 0x140], 0xc
lea eax, [esp + 0xcc]
push eax
mov ecx, esi
call fcn.0040b0b0
mov byte [esp + 0x140], 0xb
cmp dword [esp + 0xe0], 8
jb 0x4021a9
push dword [esp + 0xcc]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0xe0], 7
mov word [esp + 0xcc], ax
mov ecx, esi
lea eax, [esp + 0x2c]
mov dword [esp + 0xdc], 0
push eax
call fcn.0040aba0
mov byte [esp + 0x140], 0xd
lea ecx, [esp + 0x74]
push eax
lea eax, [esp + 0x48]
push eax
push 4
call fcn.0040b940
mov byte [esp + 0x140], 0xb
cmp dword [esp + 0x40], 8
jb 0x402206
push dword [esp + 0x2c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov byte [esp + 0x140], 9
cmp dword [esp + 0x88], 0x10
jb 0x402238
push dword [esp + 0x74]
call edi
add esp, 4
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
mov byte [esp + 0x140], 8
mov dword [esp + 0xe4], vtable.AppV::LogFormatter.0
mov byte [esp + 0x140], 8
cmp dword [esp + 0x100], 8
jb 0x402284
push dword [esp + 0xec]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], 0
mov word [esp + 0xec], ax
mov byte [esp + 0x140], 7
cmp dword [esp + 0x58], 8
jb 0x4022bc
push dword [esp + 0x44]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov byte [esp + 0x140], 5
cmp dword [esp + 0x70], 8
jb 0x4022eb
push dword [esp + 0x5c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
push eax
mov byte [esp + 0x4c], al
push eax
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [esp + 0x4c], eax
test eax, eax
movzx ecx, byte [esp + 0x48]
mov edx, 1
cmovns ecx, edx
mov dword [esp + 0x20], ecx
mov byte [esp + 0x48], cl
mov byte [esp + 0x140], 0x10
mov esi, dword [esp + 0x90]
test esi, esi
js 0x402356
movdqu xmm0, xmmword [esp + 0xbc]
movdqu xmmword [esp + 0x114], xmm0
mov dword [esp + 0x1c], esi
test esi, esi
js 0x40244f
push 0
push 8
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x134]
push eax
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
js 0x40244f
push 0x40
mov byte [esp + 0x1f], 1
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x140], 0x13
test eax, eax
je 0x4023be
lea ecx, [esp + 0x1b]
push ecx
mov ecx, eax
call fcn.00406900
mov edi, eax
jmp 0x4023c0
xor edi, edi
mov byte [esp + 0x140], 0x10
mov dword [esp + 0x24], edi
test edi, edi
je 0x4023d6
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov byte [esp + 0x140], 0x15
push edi
call dword [sym.imp.ole32.dll_CoRegisterSurrogate]
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
js 0x402437
mov eax, dword [edi]
lea ecx, [esp + 0x104]
push ecx
push edi
call dword [eax + 0xc]
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
js 0x402437
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1388
call esi
call dword [sym.imp.ole32.dll_CoFreeUnusedLibraries]
cmp byte [esp + 0x1b], 0
jne 0x402435
push 0x7d0
call esi
call dword [sym.imp.ole32.dll_CoFreeUnusedLibraries]
cmp byte [esp + 0x1b], 0
je 0x402421
xor esi, esi
mov byte [esp + 0x140], 0x10
test edi, edi
je 0x402449
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov byte [esp + 0x140], 5
cmp byte [esp + 0x20], 0
je 0x402469
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [esp + 0x48], 0
mov byte [esp + 0x140], 3
cmp dword [esp + 0xa8], 8
jb 0x402487
push dword [esp + 0x94]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], 0
mov word [esp + 0x94], ax
mov dword [esp + 0x140], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00401b50
mov eax, esi
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.0040e8d2
mov esp, ebp
pop ebp
ret