Function at 0x402cc0
Capabilities:
Create process on windows
Get common file path

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 0x413e4c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x320
mov eax, dword [0x41d014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x32c], esi
mov dword [ebp - 0x324], ecx
xor edi, edi
xorps xmm0, xmm0
mov dword [ebp - 0x328], edi
xor eax, eax
movups xmmword [ebp - 0x318], xmm0
mov dword [ebp - 0x308], edi
mov dword [ebp - 0x304], 7
mov word [ebp - 0x318], ax
lea edx, [ebp - 0x318]
mov dword [ebp - 4], eax
mov ecx, str.DOTNET_DISABLE_GUI_ERRORS
call fcn.0040d230
test al, al
je 0x402d78
cmp dword [ebp - 0x304], 8
lea eax, [ebp - 0x318]
cmovae eax, dword [ebp - 0x318]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
cmp eax, 1
je 0x403c1b
xor eax, eax
mov dword [ebp - 0x2bc], 7
xorps xmm0, xmm0
mov dword [ebp - 0x320], eax
movups xmmword [ebp - 0x2d0], xmm0
mov dword [ebp - 0x2c0], eax
mov word [ebp - 0x2d0], ax
movups xmmword [ebp - 0x2e8], xmm0
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2d4], 7
mov word [ebp - 0x2e8], ax
mov byte [ebp - 4], 2
cmp esi, 0x80008083
jne 0x402f96
lea ecx, [ebp - 0x2a0]
mov edi, str.You_must_install_.NET_Desktop_Runtime_to_run_this_application.
call fcn.004026c0
mov esi, eax
lea eax, [ebp - 0x2d0]
cmp eax, esi
je 0x402e68
mov ecx, dword [ebp - 0x2bc]
cmp ecx, 8
jb 0x402e27
mov edx, dword [ebp - 0x2d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402e1d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e9a
push ecx
push edx
call fcn.00410933
add esp, 8
mov dword [ebp - 0x2c0], 0
xor eax, eax
mov dword [ebp - 0x2bc], 7
mov word [ebp - 0x2d0], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2d0], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2c0], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x28c]
cmp ecx, 8
jb 0x402eaa
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402ea0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402ea0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00410933
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x2a8], 0
xor eax, eax
mov dword [ebp - 0x2a4], 7
movups xmmword [ebp - 0x2b8], xmm0
mov word [ebp - 0x2b8], ax
sub esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x130]
call fcn.00404a20
push ecx
lea edx, [ebp - 0x2b8]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x130]
call fcn.00405d60
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x402f43
nop word [eax + eax]
lea edx, [ebp - 0x2e8]
lea ecx, [ebp - 0x2b8]
call fcn.004024d0
test al, al
jne 0x402f43
push ecx
lea edx, [ebp - 0x2b8]
lea ecx, [ebp - 0x130]
call fcn.00405d60
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x402f10
lea ecx, [ebp - 0x130]
call fcn.00403c90
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 8
jb 0x403445
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4039ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4039ff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp esi, 0x80008096
jne 0x403719
mov eax, str.You_must_install_or_update_.NET_to_run_this_application.
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x320], eax
xor eax, eax
movups xmmword [ebp - 0x2a0], xmm0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
sub esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x130]
call fcn.00404a20
xor al, al
mov byte [ebp - 4], 6
push ecx
lea edx, [ebp - 0x2a0]
mov byte [ebp - 0x319], al
lea ecx, [ebp - 0x130]
call fcn.00405d60
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x4033bb
movups xmm0, xmmword [str.Framework:_]
movzx eax, word [0x4177e4]
mov esi, dword [ebp - 0x290]
mov word [ebp - 0x18], ax
movzx eax, word [0x417830]
mov word [ebp - 0x38], ax
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [0x4177dc]
movq qword [ebp - 0x20], xmm0
movups xmm0, xmmword [str.The_framework_]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [0x4177f8]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [str._was_not_found.]
movups xmmword [ebp - 0x80], xmm0
movups xmm0, xmmword [0x417818]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [0x417828]
movq qword [ebp - 0x40], xmm0
cmp esi, 0xc
jb 0x4030b6
cmp dword [ebp - 0x28c], 8
lea ecx, [ebp - 0x30]
push 0xc
lea eax, [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2a0]
push ecx
push eax
call fcn.00406e30
test eax, eax
jne 0x4030b0
mov byte [ebp - 0x31a], 1
jmp 0x403129
mov esi, dword [ebp - 0x290]
mov byte [ebp - 0x31a], 0
cmp esi, 0xf
jb 0x40324a
cmp dword [ebp - 0x28c], 8
lea ecx, [ebp - 0x60]
push 0xf
lea eax, [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2a0]
push ecx
push eax
call fcn.00406e30
mov esi, dword [ebp - 0x290]
test eax, eax
jne 0x40324a
cmp esi, 0xf
jb 0x40324a
cmp dword [ebp - 0x28c], 8
lea eax, [ebp - 0x2a0]
lea ecx, [ebp - 0x80]
cmovae eax, dword [ebp - 0x2a0]
push ecx
lea eax, [eax + esi*2]
add eax, 0xffffffe2
push eax
call fcn.00406de0
test eax, eax
jne 0x40324a
push 0xa
push str.Required:
lea ecx, [ebp - 0x2d0]
call fcn.00405490
cmp byte [ebp - 0x31a], 0
xorps xmm0, xmm0
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0
movups xmmword [ebp - 0x2b8], xmm0
je 0x4031aa
cmp eax, 0xb
jb 0x403c7b
add eax, 0xfffffff5
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x28c], 8
lea eax, [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2a0]
push ecx
add eax, 0x16
lea ecx, [ebp - 0x2b8]
push eax
call fcn.00405890
or edi, 1
mov byte [ebp - 4], 7
jmp 0x4031e9
lea ecx, [eax - 0xe]
lea edx, [ecx - 0xf]
cmp eax, 0xe
jb 0x403c7b
cmp ecx, edx
lea eax, [ebp - 0x2a0]
cmovb edx, ecx
cmp dword [ebp - 0x28c], 8
push edx
cmovae eax, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x2b8]
add eax, 0x1c
push eax
call fcn.00405890
or edi, 2
mov byte [ebp - 4], 8
cmp dword [ebp - 0x2a4], 8
lea eax, [ebp - 0x2b8]
push dword [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2d0]
push eax
call fcn.00405490
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 8
jb 0x403360
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403356
mov edx, dword [eax - 4]
sub eax, edx
add ecx, 0x23
jmp 0x40334a
cmp esi, 4
jb 0x40337b
cmp dword [ebp - 0x28c], 8
lea ecx, [ebp - 0x40]
push 4
lea eax, [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2a0]
push ecx
push eax
call fcn.00406e30
test eax, eax
jne 0x40337b
cmp dword [ebp - 0x2bc], 8
xorps xmm0, xmm0
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2d0]
cmovae eax, dword [ebp - 0x2d0]
xor ecx, ecx
movups xmmword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 0x2a4], ecx
mov word [eax], cx
mov eax, dword [ebp - 0x290]
cmp eax, 4
jb 0x403c7b
add eax, 0xfffffffc
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x28c], 8
lea eax, [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2a0]
push ecx
add eax, 8
lea ecx, [ebp - 0x2b8]
push eax
call fcn.00405890
or edi, 8
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2b8]
cmp dword [ebp - 0x2a4], 8
lea ecx, [ebp - 0x2d0]
push dword [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2b8]
push eax
call fcn.00405490
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 8
jb 0x403360
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403356
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e9a
push ecx
push edx
call fcn.00410933
add esp, 8
push 2
push 0x41784c
lea ecx, [ebp - 0x2d0]
call fcn.00405490
mov byte [ebp - 0x319], 1
jmp 0x403390
lea edx, [ebp - 0x2e8]
lea ecx, [ebp - 0x2a0]
call fcn.004024d0
test al, al
jne 0x4033b2
push ecx
lea edx, [ebp - 0x2a0]
lea ecx, [ebp - 0x130]
call fcn.00405d60
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x403011
cmp byte [ebp - 0x319], 0
jne 0x4033ee
lea ecx, [ebp - 0x2b8]
call fcn.004026c0
mov byte [ebp - 4], 0xa
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4033d4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x2d0]
call fcn.00405490
lea ecx, [ebp - 0x2b8]
call fcn.00401220
lea ecx, [ebp - 0x130]
call fcn.00403c90
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28c]
cmp ecx, 8
jb 0x40343f
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403435
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403435
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00410933
add esp, 8
mov edi, dword [ebp - 0x320]
push 9
push str.guitrue
lea ecx, [ebp - 0x2e8]
call fcn.00405490
cmp dword [ebp - 0x2bc], 8
lea ecx, [ebp - 0x2d0]
mov esi, dword [ebp - 0x324]
lea eax, [ebp - 0x2e8]
cmovae ecx, dword [ebp - 0x2d0]
cmp dword [ebp - 0x2d4], 8
push ecx
cmovae eax, dword [ebp - 0x2e8]
push eax
push dword [ebp - 0x32c]
push esi
push str.Showing_error_dialog_for_application:__s___error_code:_0x_x___url:__s___details:__s
call fcn.00406990
add esp, 0x14
lea eax, [ebp - 0x288]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x403aff
cmp eax, 0x104
jae 0x403aff
xorps xmm0, xmm0
mov dword [ebp - 0x290], 0
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x28c], 0
movups xmmword [ebp - 0x2a0], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4034e7
sub ecx, edx
lea eax, [ebp - 0x288]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2a0]
call fcn.00405890
mov edx, str.WindowsShell.Manifest
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2a0]
call fcn.00406f30
cmp dword [ebp - 0x28c], 8
lea eax, [ebp - 0x2a0]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0x20
cmovae eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
cmp eax, 0xffffffff
jne 0x403a0e
cmp dword [ebp - 0x28c], 8
lea esi, [ebp - 0x2a0]
cmovae esi, dword [ebp - 0x2a0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.CreateActCtxW_failed_using_manifest__s._Error_code:__d
call fcn.00406990
mov byte [ebp - 4], 2
add esp, 0xc
mov ecx, dword [ebp - 0x28c]
cmp ecx, 8
jb 0x4035d0
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4035c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ab3
push ecx
push edx
call fcn.00410933
add esp, 8
mov esi, dword [ebp - 0x324]
mov ecx, edi
mov dword [ebp - 0x2f0], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2ec], 0
movups xmmword [ebp - 0x300], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403600
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x300]
call fcn.00405890
push 2
push 0x41784c
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0xf
call fcn.00405490
cmp dword [ebp - 0x2bc], 8
lea eax, [ebp - 0x2d0]
push dword [ebp - 0x2c0]
cmovae eax, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x300]
push eax
call fcn.00405490
push 0x57
push str.Learn_more:_nhttps:__aka.ms_dotnet_app_launch_failed_n_nWould_you_like_to_download_it_now_
lea ecx, [ebp - 0x300]
call fcn.00405490
cmp dword [ebp - 0x2ec], 8
lea eax, [ebp - 0x300]
push 0x14
cmovae eax, dword [ebp - 0x300]
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4036b7
cmp dword [ebp - 0x2d4], 8
lea eax, [ebp - 0x2e8]
push 1
cmovae eax, dword [ebp - 0x2e8]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x2ec]
cmp ecx, 8
jb 0x4036f7
mov edx, dword [ebp - 0x300]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4036ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c4d
push ecx
push edx
call fcn.00410933
add esp, 8
xor eax, eax
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 7
mov word [ebp - 0x300], ax
jmp 0x403b65
cmp esi, 0x8000809f
jne 0x403b65
xor eax, eax
mov dword [ebp - 0x290], 0
movups xmmword [ebp - 0x2a0], xmm0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
sub esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x130]
call fcn.00404a20
push ecx
lea edx, [ebp - 0x2a0]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x130]
call fcn.00405d60
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x403b18
cmp dword [ebp - 0x290], 0x31
jb 0x403986
cmp dword [ebp - 0x28c], 8
lea eax, [ebp - 0x2a0]
push 0x31
cmovae eax, dword [ebp - 0x2a0]
push str.Bundle_header_version_compatibility_check_failed.
push eax
call fcn.00406e30
test eax, eax
jne 0x403986
mov dword [ebp - 0x320], str.You_must_install_.NET_Desktop_Runtime_to_run_this_application.
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2b8]
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x2a8], eax
push str.Architecture:
movups xmmword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2a4], eax
call fcn.00405890
push 3
or edi, 4
lea ecx, [ebp - 0x2b8]
push 0x417cdc
mov dword [ebp - 0x328], edi
call fcn.00405490
push 0x27
push str._nApp_host_version:_8.0.0_rc.1.23419.4_n_n
lea ecx, [ebp - 0x2b8]
call fcn.00405490
mov ecx, dword [ebp - 0x2bc]
cmp ecx, 8
jb 0x40385a
mov edx, dword [ebp - 0x2d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403850
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403b55
push ecx
push edx
call fcn.00410933
add esp, 8
movups xmm0, xmmword [ebp - 0x2b8]
push ecx
and edi, 0xfffffffb
lea ecx, [ebp - 0x2b8]
movups xmmword [ebp - 0x2d0], xmm0
mov dword [ebp - 0x328], edi
movq xmm0, qword [ebp - 0x2a8]
movq qword [ebp - 0x2c0], xmm0
mov byte [ebp - 4], 0xc
call fcn.00407870
mov esi, eax
lea eax, [ebp - 0x2e8]
cmp eax, esi
je 0x403922
mov ecx, dword [ebp - 0x2d4]
cmp ecx, 8
jb 0x4038e1
mov edx, dword [ebp - 0x2e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4038d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e9a
push ecx
push edx
call fcn.00410933
add esp, 8
mov dword [ebp - 0x2d8], 0
xor eax, eax
mov dword [ebp - 0x2d4], 7
mov word [ebp - 0x2e8], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2e8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2d8], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 8
jb 0x403962
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403958
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e9a
push ecx
push edx
call fcn.00410933
add esp, 8
push 0x11
push str.apphost_version
lea ecx, [ebp - 0x2e8]
call fcn.00405490
push 0x12
push str.8.0.0_rc.1.23419.4
lea ecx, [ebp - 0x2e8]
call fcn.00405490
push ecx
lea edx, [ebp - 0x2a0]
lea ecx, [ebp - 0x130]
call fcn.00405d60
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x403781
mov edi, dword [ebp - 0x320]
test edi, edi
je 0x403b18
lea ecx, [ebp - 0x130]
call fcn.00403c90
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28c]
cmp ecx, 8
jb 0x403445
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4039ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403b55
push ecx
push edx
call fcn.00410933
add esp, 8
jmp 0x403445
lea ecx, [ebp - 0x32c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x403a7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ActivateActCtx_failed._Error_code:__d
call fcn.00406990
mov byte [ebp - 4], 2
add esp, 8
mov ecx, dword [ebp - 0x28c]
cmp ecx, 8
jb 0x4035d6
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403a6e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ab3
push ecx
push edx
call fcn.00410933
add esp, 8
jmp 0x4035d6
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28c]
cmp ecx, 8
jb 0x403ac3
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403ab9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403ab9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00410933
add esp, 8
cmp dword [ebp - 0x2d4], 8
lea ecx, [ebp - 0x2e8]
lea eax, [ebp - 0x2d0]
mov edx, edi
cmovae ecx, dword [ebp - 0x2e8]
cmp dword [ebp - 0x2bc], 8
push ecx
cmovae eax, dword [ebp - 0x2d0]
mov ecx, esi
push eax
call fcn.00402a20
test al, al
jne 0x403b65
jmp 0x4035d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetWindowsDirectory_failed._Error_code:__d
call fcn.00406990
add esp, 8
jmp 0x4035d6
lea ecx, [ebp - 0x130]
call fcn.00403c90
mov ecx, dword [ebp - 0x28c]
cmp ecx, 8
jb 0x403b65
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403b5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403b5b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00410933
add esp, 8
mov ecx, dword [ebp - 0x2d4]
cmp ecx, 8
jb 0x403ba5
mov edx, dword [ebp - 0x2e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403b9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c4d
push ecx
push edx
call fcn.00410933
add esp, 8
mov ecx, dword [ebp - 0x2bc]
xor eax, eax
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 7
mov word [ebp - 0x2e8], ax
cmp ecx, 8
jb 0x403bfe
mov edx, dword [ebp - 0x2d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403bf4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c4d
push ecx
push edx
call fcn.00410933
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 7
mov word [ebp - 0x2d0], ax
mov ecx, dword [ebp - 0x304]
cmp ecx, 8
jb 0x403c5d
mov edx, dword [ebp - 0x318]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403c53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403c53
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00410933
add esp, 8
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.00410925
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00405850
int3