Function at 0x402d20
Capabilities:
Accept command line arguments
Hide graphical window
Inspect load icon resource
Load windows common language runtime
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41bc10
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf0
mov eax, dword [0x426014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
call fcn.00405260
call fcn.00405960
cmp dword [0x65af30], 0x28
mov dword [0x65b038], 0
mov dword [0x65b03c], 0
jge 0x402e95
mov eax, dword [0x65ae28]
cmp eax, 0x3c
jne 0x402deb
cmp dword [0x65ae2c], 0xa
jge 0x402e47
mov ecx, 0x65af38
mov esi, 0x423398
mov edx, 0x80
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7fffff7e]
test eax, eax
je 0x402e7e
movzx eax, word [esi + ecx]
test ax, ax
je 0x402e7e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x402dc0
jmp 0x402e7e
cmp eax, 0x33
jne 0x402e47
cmp dword [0x65ae2c], 0x1e
jge 0x402e47
mov ecx, 0x65af38
mov esi, 0x4233f8
mov edx, 0x80
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7fffff7e]
test eax, eax
je 0x402e2e
movzx eax, word [esi + ecx]
test ax, ax
je 0x402e2e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x402e10
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov dword [0x65b038], 1
jmp 0x402e8b
mov ecx, 0x65af38
mov esi, 0x42344c
mov edx, 0x80
sub esi, ecx
nop dword [eax + eax]
lea eax, [edx + 0x7fffff7e]
test eax, eax
je 0x402e7e
movzx eax, word [ecx + esi]
test ax, ax
je 0x402e7e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x402e60
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov dword [0x65b03c], 1
push 0x422330
push 0x65ae30
call fcn.00407503
add esp, 8
test eax, eax
jne 0x403055
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov ecx, eax
cmp ecx, 0x409
jne 0x402ec3
xor eax, eax
jmp 0x402edd
cmp ecx, 0x404
jne 0x402ed2
mov eax, 2
jmp 0x402edd
xor eax, eax
cmp ecx, 0x804
sete al
mov ecx, str..NET_version_is_not_compatible__do_you_want_to_download_and_install_.NET_4.5_
mov dword [ebp - 0x30], 0
cmp eax, 1
mov dword [ebp - 0x20], 0
mov edx, 0x422334
mov dword [ebp - 0x1c], 7
cmovne edx, ecx
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402f07
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00403ba0
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push 3
cmovae eax, dword [ebp - 0x30]
push str.Runtime_Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x402fce
push 0
push 0x402b90
push 0
push 0x67
push edi
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 0x65
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push 0x80
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebx + 0x14]
mov dword [0x65ad20], esi
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x7c]
push 0
push 0
push 0
push eax
call edi
test eax, eax
je 0x402fce
cmp eax, 0xffffffff
je 0x403004
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x402fbe
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x7c]
push eax
call edi
test eax, eax
jne 0x402f96
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x4038a9
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403046
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4038cb
jmp 0x403046
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x40303e
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403034
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4038cb
push edx
push ecx
call fcn.0040671e
add esp, 8
or eax, 0xffffffff
jmp 0x4038ab
push edx
push ecx
call fcn.0040671e
add esp, 8
jmp 0x4038a9
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4030a1
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40309a
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0xcc]
push ecx
call eax
movzx eax, word [ebp - 0xb4]
mov dword [ebp - 0xb4], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0xcc]
lea ecx, [ebp - 0x60]
call fcn.00401590
mov ecx, eax
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x4030d7
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x4030cf
mov eax, dword [ecx]
mov word [eax + edx], 0x2e
jmp 0x4030f0
push 1
push ecx
mov byte [ebp - 0x8c], 0
push dword [ebp - 0x8c]
push 1
call fcn.00404470
mov ecx, eax
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [ecx + 0x10]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
lea ecx, [ebp - 0x78]
mov edx, dword [ebp - 0xd0]
movq qword [ebp - 0x38], xmm0
call fcn.00401590
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x30]
call fcn.00404ac0
call fcn.0040ffc7
cmp dword [ebp - 0x1c], 0x10
lea esi, [ebp - 0x30]
mov edi, eax
lea eax, [ebp - 0x8c]
cmovae esi, dword [ebp - 0x30]
push eax
push esi
mov dword [edi], 0
call fcn.0040f57a
add esp, 8
fstp qword [ebp - 0xc8]
cmp esi, dword [ebp - 0x8c]
je 0x4038d0
cmp dword [edi], 0x22
je 0x4038da
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x4031aa
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4031a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4038e4
push edx
push ecx
call fcn.0040671e
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x4031f0
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4031e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4038e4
push edx
push ecx
call fcn.0040671e
add esp, 8
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x403224
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40321a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4038e4
push edx
push ecx
call fcn.0040671e
add esp, 8
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp edx, 0x10
jb 0x40326a
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403260
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4038e4
push edx
push ecx
call fcn.0040671e
add esp, 8
movsd xmm0, qword [ebp - 0xc8]
comisd xmm0, xmmword [0x423488]
jbe 0x4032d1
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push str.debugger
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4038e9
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push str.x64dbg
push eax
call esi
test eax, eax
jne 0x4038e9
push str.OllyDbg
push eax
call esi
test eax, eax
jne 0x4038e9
push str.IDA_Pro
push eax
call esi
test eax, eax
jne 0x4038e9
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.slc.dll
call esi
push 0x422470
call esi
mov edi, dword [sym.imp.mscoree.dll_CLRCreateInstance]
lea eax, [ebp - 0x9c]
xor esi, esi
push eax
push 0x4224c0
push 0x422598
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x80], esi
call edi
test eax, eax
js 0x403414
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x84]
push edx
push 0x4225c8
push 0x422480
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x403414
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x94]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x403414
cmp dword [ebp - 0x94], esi
je 0x403414
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x88]
push edx
push 0x4224d0
push 0x422578
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x403414
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x403414
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x4033b9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x88]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
js 0x403414
mov edi, dword [ebp - 0x98]
test edi, edi
je 0x4038f5
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x4033f9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
push ecx
push 0x422568
push edi
call dword [eax]
mov edi, dword [sym.imp.mscoree.dll_CLRCreateInstance]
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x40342b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x40343f
mov esi, eax
xor eax, eax
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x403450
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x403898
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], 0
push eax
push 0x422588
push 0x422598
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd8], 0
call edi
lea eax, [ebp - 0xd4]
push eax
push 0x42253c
push 0x42252c
call edi
lea eax, [ebp - 0xd8]
push eax
push 0x4224f8
push 0x4225b8
call edi
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xa0]
push edx
push 0x4225a8
mov dword [ebp - 0xa0], 0
mov ecx, dword [eax]
push 0x422480
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0xdc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0xa4]
push edx
push 0x422508
mov dword [ebp - 0xa4], 0
mov ecx, dword [eax]
push 0x422578
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb0], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x4038f5
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0xac]
push edx
mov dword [ebp - 0xac], 0
mov ecx, dword [eax]
push 0x422568
push eax
call dword [ecx]
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x90], 0
push eax
push 1
push 0x11
mov dword [ebp - 0xc8], 0x233800
mov dword [ebp - 0xc4], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
push ecx
push 0x65a080
mov edi, eax
mov dword [ebp - 0xbc], 0
push 0x426898
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x94], edi
call fcn.004043d0
push ecx
push 0x426898
push 0x426880
lea ecx, [ebp - 0x3c]
call fcn.004043d0
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x38]
call fcn.00404e00
lea eax, [ebp - 0xbc]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
push 0x233800
push dword [ebp - 0x3c]
push dword [ebp - 0xbc]
call fcn.004079a0
add esp, 0xc
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov edi, dword [ebp - 0xac]
test edi, edi
je 0x4038f5
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x40364f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
push ecx
push dword [ebp - 0x94]
push edi
call dword [eax + 0xb4]
cmp dword [ebp - 0x90], 0
je 0x4037eb
lea eax, [ebp - 0x100]
mov dword [ebp - 0xa8], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x80], 0
test eax, eax
je 0x4038f5
mov ecx, dword [eax]
lea edx, [ebp - 0xa8]
push edx
push eax
call dword [ecx + 0x40]
test eax, eax
js 0x4037eb
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xc0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x4037eb
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x4037a1
cmp word [eax], 0
jbe 0x4037a1
cmp dword [eax + 0x10], 0
jbe 0x4037a1
mov edi, dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
push 1
push 0
push 0xc
call edi
mov dword [ebp - 0x80], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x84]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push dword [ebp - 0x84]
mov dword [ebp - 0x94], eax
mov eax, 0x2008
push 0
push 8
mov word [ebp - 0x28], ax
call edi
mov edi, dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x88], ecx
cmp dword [ebp - 0x84], ecx
jle 0x403787
mov esi, dword [ebp - 0x94]
push dword [esi + ecx*4]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x20]
call edi
mov ecx, dword [ebp - 0x88]
inc ecx
mov dword [ebp - 0x88], ecx
cmp ecx, dword [ebp - 0x84]
jl 0x403756
mov esi, dword [ebp - 0x8c]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x9c], 0
push eax
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0x80]
call edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0x100]
movups xmm0, xmmword [ebp - 0xf0]
push eax
push dword [ebp - 0x80]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
push ecx
movups xmmword [eax], xmm0
call dword [edx + 0x94]
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x40381f
mov ecx, dword [ebp - 0x34]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x403815
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4038f0
push ecx
push edx
call fcn.0040671e
add esp, 8
mov edx, dword [ebp - 0x54]
test edx, edx
je 0x403853
mov ecx, dword [ebp - 0x4c]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x403849
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4038f0
push ecx
push edx
call fcn.0040671e
add esp, 8
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x40386a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x403881
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x403898
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xc
test esi, esi
je 0x4038a9
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004062aa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.0040fed9
push str.invalid_stod_argument
call fcn.00405fc7
push str.stod_argument_out_of_range
call fcn.00406007
call fcn.0040fed9
push 0xffffffffffffffff
call fcn.0040994d
call fcn.0040fed9
push 0x80004003
call fcn.00406140
int3