Function at 0x402d10
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 0x4116fc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x320
mov eax, dword [0x41a040]
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.0040acd0
test al, al
je 0x402dc8
cmp dword [ebp - 0x304], 7
lea eax, [ebp - 0x318]
cmova 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 0x403c6b
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 0x402fe6
lea ecx, [ebp - 0x2a0]
mov edi, str.You_must_install_.NET_Desktop_Runtime_to_run_this_application.
call fcn.00402720
mov esi, eax
lea eax, [ebp - 0x2d0]
cmp eax, esi
je 0x402eb8
mov ecx, dword [ebp - 0x2bc]
cmp ecx, 7
jbe 0x402e77
mov edx, dword [ebp - 0x2d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402e6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402eea
push ecx
push edx
call fcn.0040e213
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, 7
jbe 0x402efa
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402ef0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402ef0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040e213
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.00404a50
push ecx
lea edx, [ebp - 0x2b8]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x130]
call fcn.00405e90
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x402f93
nop word [eax + eax]
lea edx, [ebp - 0x2e8]
lea ecx, [ebp - 0x2b8]
call fcn.00402540
test al, al
jne 0x402f93
push ecx
lea edx, [ebp - 0x2b8]
lea ecx, [ebp - 0x130]
call fcn.00405e90
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x402f60
lea ecx, [ebp - 0x130]
call fcn.00403ce0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 7
jbe 0x403495
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403a4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403a4f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp esi, 0x80008096
jne 0x403769
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.00404a50
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.00405e90
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x40340b
movups xmm0, xmmword [str.Framework:_]
movzx eax, word [0x4156f4]
mov esi, dword [ebp - 0x290]
mov word [ebp - 0x18], ax
movzx eax, word [0x415740]
mov word [ebp - 0x38], ax
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [0x4156ec]
movq qword [ebp - 0x20], xmm0
movups xmm0, xmmword [str.The_framework_]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [0x415708]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [str._was_not_found.]
movups xmmword [ebp - 0x80], xmm0
movups xmm0, xmmword [0x415728]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [str.___]
movq qword [ebp - 0x40], xmm0
cmp esi, 0xc
jb 0x403106
cmp dword [ebp - 0x28c], 7
lea ecx, [ebp - 0x30]
push 0xc
lea eax, [ebp - 0x2a0]
cmova eax, dword [ebp - 0x2a0]
push ecx
push eax
call fcn.00406fb0
test eax, eax
jne 0x403100
mov byte [ebp - 0x31a], 1
jmp 0x403179
mov esi, dword [ebp - 0x290]
mov byte [ebp - 0x31a], 0
cmp esi, 0xf
jb 0x40329a
cmp dword [ebp - 0x28c], 7
lea ecx, [ebp - 0x60]
push 0xf
lea eax, [ebp - 0x2a0]
cmova eax, dword [ebp - 0x2a0]
push ecx
push eax
call fcn.00406fb0
mov esi, dword [ebp - 0x290]
test eax, eax
jne 0x40329a
cmp esi, 0xf
jb 0x40329a
cmp dword [ebp - 0x28c], 7
lea eax, [ebp - 0x2a0]
lea ecx, [ebp - 0x80]
cmova eax, dword [ebp - 0x2a0]
push ecx
lea eax, [eax + esi*2]
add eax, 0xffffffe2
push eax
call fcn.00406f60
test eax, eax
jne 0x40329a
push 0xa
push str.Required:
lea ecx, [ebp - 0x2d0]
call fcn.00405790
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 0x4031fa
cmp eax, 0xb
jb 0x403ccb
add eax, 0xfffffff5
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x28c], 7
lea eax, [ebp - 0x2a0]
cmova eax, dword [ebp - 0x2a0]
push ecx
add eax, 0x16
lea ecx, [ebp - 0x2b8]
push eax
call fcn.00405aa0
or edi, 1
mov byte [ebp - 4], 7
jmp 0x403239
lea ecx, [eax - 0xe]
lea edx, [ecx - 0xf]
cmp eax, 0xe
jb 0x403ccb
cmp ecx, edx
lea eax, [ebp - 0x2a0]
cmovb edx, ecx
cmp dword [ebp - 0x28c], 7
push edx
cmova eax, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x2b8]
add eax, 0x1c
push eax
call fcn.00405aa0
or edi, 2
mov byte [ebp - 4], 8
cmp dword [ebp - 0x2a4], 7
lea eax, [ebp - 0x2b8]
push dword [ebp - 0x2a8]
cmova eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2d0]
push eax
call fcn.00405790
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 7
jbe 0x4033b0
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4033a6
mov edx, dword [eax - 4]
sub eax, edx
add ecx, 0x23
jmp 0x40339a
cmp esi, 4
jb 0x4033cb
cmp dword [ebp - 0x28c], 7
lea ecx, [ebp - 0x40]
push 4
lea eax, [ebp - 0x2a0]
cmova eax, dword [ebp - 0x2a0]
push ecx
push eax
call fcn.00406fb0
test eax, eax
jne 0x4033cb
cmp dword [ebp - 0x2bc], 7
xorps xmm0, xmm0
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2d0]
cmova 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 0x403ccb
add eax, 0xfffffffc
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x28c], 7
lea eax, [ebp - 0x2a0]
cmova eax, dword [ebp - 0x2a0]
push ecx
add eax, 8
lea ecx, [ebp - 0x2b8]
push eax
call fcn.00405aa0
or edi, 8
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2b8]
cmp dword [ebp - 0x2a4], 7
lea ecx, [ebp - 0x2d0]
push dword [ebp - 0x2a8]
cmova eax, dword [ebp - 0x2b8]
push eax
call fcn.00405790
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 7
jbe 0x4033b0
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4033a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402eea
push ecx
push edx
call fcn.0040e213
add esp, 8
push 2
push 0x41575c
lea ecx, [ebp - 0x2d0]
call fcn.00405790
mov byte [ebp - 0x319], 1
jmp 0x4033e0
lea edx, [ebp - 0x2e8]
lea ecx, [ebp - 0x2a0]
call fcn.00402540
test al, al
jne 0x403402
push ecx
lea edx, [ebp - 0x2a0]
lea ecx, [ebp - 0x130]
call fcn.00405e90
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x403061
cmp byte [ebp - 0x319], 0
jne 0x40343e
lea ecx, [ebp - 0x2b8]
call fcn.00402720
mov byte [ebp - 4], 0xa
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x403424
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x2d0]
call fcn.00405790
lea ecx, [ebp - 0x2b8]
call fcn.00401220
lea ecx, [ebp - 0x130]
call fcn.00403ce0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28c]
cmp ecx, 7
jbe 0x40348f
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403485
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403485
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040e213
add esp, 8
mov edi, dword [ebp - 0x320]
push 9
push str.guitrue
lea ecx, [ebp - 0x2e8]
call fcn.00405790
cmp dword [ebp - 0x2bc], 7
lea ecx, [ebp - 0x2d0]
mov esi, dword [ebp - 0x324]
lea eax, [ebp - 0x2e8]
cmova ecx, dword [ebp - 0x2d0]
cmp dword [ebp - 0x2d4], 7
push ecx
cmova 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.00406b10
add esp, 0x14
lea eax, [ebp - 0x288]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x403b4f
cmp eax, 0x104
jae 0x403b4f
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 0x403537
sub ecx, edx
lea eax, [ebp - 0x288]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2a0]
call fcn.00405aa0
mov edx, str.WindowsShell.Manifest
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2a0]
call fcn.004070b0
cmp dword [ebp - 0x28c], 7
lea eax, [ebp - 0x2a0]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0x20
cmova 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 0x403a5e
cmp dword [ebp - 0x28c], 7
lea esi, [ebp - 0x2a0]
cmova 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.00406b10
mov byte [ebp - 4], 2
add esp, 0xc
mov ecx, dword [ebp - 0x28c]
cmp ecx, 7
jbe 0x403620
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403616
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403b03
push ecx
push edx
call fcn.0040e213
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 0x403650
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x300]
call fcn.00405aa0
push 2
push 0x41575c
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0xf
call fcn.00405790
cmp dword [ebp - 0x2bc], 7
lea eax, [ebp - 0x2d0]
push dword [ebp - 0x2c0]
cmova eax, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x300]
push eax
call fcn.00405790
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.00405790
cmp dword [ebp - 0x2ec], 7
lea eax, [ebp - 0x300]
push 0x14
cmova eax, dword [ebp - 0x300]
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x403707
cmp dword [ebp - 0x2d4], 7
lea eax, [ebp - 0x2e8]
push 1
cmova 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, 7
jbe 0x403747
mov edx, dword [ebp - 0x300]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40373d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c9d
push ecx
push edx
call fcn.0040e213
add esp, 8
xor eax, eax
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 7
mov word [ebp - 0x300], ax
jmp 0x403bb5
cmp esi, 0x8000809f
jne 0x403bb5
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.00404a50
push ecx
lea edx, [ebp - 0x2a0]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x130]
call fcn.00405e90
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x403b68
cmp dword [ebp - 0x290], 0x31
jb 0x4039d6
cmp dword [ebp - 0x28c], 7
lea eax, [ebp - 0x2a0]
push 0x31
cmova eax, dword [ebp - 0x2a0]
push str.Bundle_header_version_compatibility_check_failed.
push eax
call fcn.00406fb0
test eax, eax
jne 0x4039d6
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.00405aa0
push 3
or edi, 4
lea ecx, [ebp - 0x2b8]
push 0x415bcc
mov dword [ebp - 0x328], edi
call fcn.00405790
push 0x1a
push str._nApp_host_version:_8.0.7_n_n
lea ecx, [ebp - 0x2b8]
call fcn.00405790
mov ecx, dword [ebp - 0x2bc]
cmp ecx, 7
jbe 0x4038aa
mov edx, dword [ebp - 0x2d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4038a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ba5
push ecx
push edx
call fcn.0040e213
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.004079f0
mov esi, eax
lea eax, [ebp - 0x2e8]
cmp eax, esi
je 0x403972
mov ecx, dword [ebp - 0x2d4]
cmp ecx, 7
jbe 0x403931
mov edx, dword [ebp - 0x2e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403927
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402eea
push ecx
push edx
call fcn.0040e213
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, 7
jbe 0x4039b2
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4039a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402eea
push ecx
push edx
call fcn.0040e213
add esp, 8
push 0x11
push str.apphost_version
lea ecx, [ebp - 0x2e8]
call fcn.00405790
push 5
push str.8.0.7
lea ecx, [ebp - 0x2e8]
call fcn.00405790
push ecx
lea edx, [ebp - 0x2a0]
lea ecx, [ebp - 0x130]
call fcn.00405e90
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x4037d1
mov edi, dword [ebp - 0x320]
test edi, edi
je 0x403b68
lea ecx, [ebp - 0x130]
call fcn.00403ce0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28c]
cmp ecx, 7
jbe 0x403495
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403a4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ba5
push ecx
push edx
call fcn.0040e213
add esp, 8
jmp 0x403495
lea ecx, [ebp - 0x32c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x403acd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ActivateActCtx_failed._Error_code:__d
call fcn.00406b10
mov byte [ebp - 4], 2
add esp, 8
mov ecx, dword [ebp - 0x28c]
cmp ecx, 7
jbe 0x403626
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403abe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403b03
push ecx
push edx
call fcn.0040e213
add esp, 8
jmp 0x403626
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28c]
cmp ecx, 7
jbe 0x403b13
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403b09
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403b09
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040e213
add esp, 8
cmp dword [ebp - 0x2d4], 7
lea ecx, [ebp - 0x2e8]
lea eax, [ebp - 0x2d0]
mov edx, edi
cmova ecx, dword [ebp - 0x2e8]
cmp dword [ebp - 0x2bc], 7
push ecx
cmova eax, dword [ebp - 0x2d0]
mov ecx, esi
push eax
call fcn.00402a80
test al, al
jne 0x403bb5
jmp 0x403626
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetWindowsDirectory_failed._Error_code:__d
call fcn.00406b10
add esp, 8
jmp 0x403626
lea ecx, [ebp - 0x130]
call fcn.00403ce0
mov ecx, dword [ebp - 0x28c]
cmp ecx, 7
jbe 0x403bb5
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403bab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403bab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040e213
add esp, 8
mov ecx, dword [ebp - 0x2d4]
cmp ecx, 7
jbe 0x403bf5
mov edx, dword [ebp - 0x2e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403beb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c9d
push ecx
push edx
call fcn.0040e213
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, 7
jbe 0x403c4e
mov edx, dword [ebp - 0x2d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403c44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c9d
push ecx
push edx
call fcn.0040e213
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, 7
jbe 0x403cad
mov edx, dword [ebp - 0x318]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403ca3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403ca3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040e213
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.0040e205
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00405a10
int3