Function at 0x402d20
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 0x41155c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x320
mov eax, dword [0x41a014]
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.0040ab70
test al, al
je 0x402dd8
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 0x403c7b
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 0x402ff6
lea ecx, [ebp - 0x2a0]
mov edi, str.You_must_install_.NET_Desktop_Runtime_to_run_this_application.
call fcn.00402730
mov esi, eax
lea eax, [ebp - 0x2d0]
cmp eax, esi
je 0x402ec8
mov ecx, dword [ebp - 0x2bc]
cmp ecx, 8
jb 0x402e87
mov edx, dword [ebp - 0x2d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402e7d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402efa
push ecx
push edx
call fcn.0040e053
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 0x402f0a
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402f00
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402f00
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040e053
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.00404b30
push ecx
lea edx, [ebp - 0x2b8]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x130]
call fcn.00405db0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x402fa3
nop word [eax + eax]
lea edx, [ebp - 0x2e8]
lea ecx, [ebp - 0x2b8]
call fcn.00402540
test al, al
jne 0x402fa3
push ecx
lea edx, [ebp - 0x2b8]
lea ecx, [ebp - 0x130]
call fcn.00405db0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x402f70
lea ecx, [ebp - 0x130]
call fcn.00403cf0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 8
jb 0x4034a5
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403a5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403a5f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp esi, 0x80008096
jne 0x403779
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.00404b30
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.00405db0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x40341b
movups xmm0, xmmword [str.Framework:_]
movzx eax, word [0x415724]
mov esi, dword [ebp - 0x290]
mov word [ebp - 0x18], ax
movzx eax, word [0x415770]
mov word [ebp - 0x38], ax
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [0x41571c]
movq qword [ebp - 0x20], xmm0
movups xmm0, xmmword [str.The_framework_]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [0x415738]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [str._was_not_found.]
movups xmmword [ebp - 0x80], xmm0
movups xmm0, xmmword [0x415758]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [0x415768]
movq qword [ebp - 0x40], xmm0
cmp esi, 0xc
jb 0x403116
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.00406e10
test eax, eax
jne 0x403110
mov byte [ebp - 0x31a], 1
jmp 0x403189
mov esi, dword [ebp - 0x290]
mov byte [ebp - 0x31a], 0
cmp esi, 0xf
jb 0x4032aa
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.00406e10
mov esi, dword [ebp - 0x290]
test eax, eax
jne 0x4032aa
cmp esi, 0xf
jb 0x4032aa
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.00406dc0
test eax, eax
jne 0x4032aa
push 0xa
push str.Required:
lea ecx, [ebp - 0x2d0]
call fcn.00405640
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 0x40320a
cmp eax, 0xb
jb 0x403cdb
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.00405970
or edi, 1
mov byte [ebp - 4], 7
jmp 0x403249
lea ecx, [eax - 0xe]
lea edx, [ecx - 0xf]
cmp eax, 0xe
jb 0x403cdb
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.00405970
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.00405640
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 8
jb 0x4033c0
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4033b6
mov edx, dword [eax - 4]
sub eax, edx
add ecx, 0x23
jmp 0x4033aa
cmp esi, 4
jb 0x4033db
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.00406e10
test eax, eax
jne 0x4033db
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 0x403cdb
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.00405970
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.00405640
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 8
jb 0x4033c0
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4033b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402efa
push ecx
push edx
call fcn.0040e053
add esp, 8
push 2
push 0x41578c
lea ecx, [ebp - 0x2d0]
call fcn.00405640
mov byte [ebp - 0x319], 1
jmp 0x4033f0
lea edx, [ebp - 0x2e8]
lea ecx, [ebp - 0x2a0]
call fcn.00402540
test al, al
jne 0x403412
push ecx
lea edx, [ebp - 0x2a0]
lea ecx, [ebp - 0x130]
call fcn.00405db0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x403071
cmp byte [ebp - 0x319], 0
jne 0x40344e
lea ecx, [ebp - 0x2b8]
call fcn.00402730
mov byte [ebp - 4], 0xa
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x403434
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x2d0]
call fcn.00405640
lea ecx, [ebp - 0x2b8]
call fcn.00401220
lea ecx, [ebp - 0x130]
call fcn.00403cf0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28c]
cmp ecx, 8
jb 0x40349f
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403495
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403495
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040e053
add esp, 8
mov edi, dword [ebp - 0x320]
push 9
push str.guitrue
lea ecx, [ebp - 0x2e8]
call fcn.00405640
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.00406970
add esp, 0x14
lea eax, [ebp - 0x288]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x403b5f
cmp eax, 0x104
jae 0x403b5f
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 0x403547
sub ecx, edx
lea eax, [ebp - 0x288]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2a0]
call fcn.00405970
mov edx, str.WindowsShell.Manifest
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2a0]
call fcn.00406f10
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 0x403a6e
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.00406970
mov byte [ebp - 4], 2
add esp, 0xc
mov ecx, dword [ebp - 0x28c]
cmp ecx, 8
jb 0x403630
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403626
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403b13
push ecx
push edx
call fcn.0040e053
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 0x403660
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x300]
call fcn.00405970
push 2
push 0x41578c
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0xf
call fcn.00405640
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.00405640
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.00405640
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 0x403717
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 0x403757
mov edx, dword [ebp - 0x300]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40374d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403cad
push ecx
push edx
call fcn.0040e053
add esp, 8
xor eax, eax
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 7
mov word [ebp - 0x300], ax
jmp 0x403bc5
cmp esi, 0x8000809f
jne 0x403bc5
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.00404b30
push ecx
lea edx, [ebp - 0x2a0]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x130]
call fcn.00405db0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x403b78
cmp dword [ebp - 0x290], 0x31
jb 0x4039e6
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.00406e10
test eax, eax
jne 0x4039e6
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.00405970
push 3
or edi, 4
lea ecx, [ebp - 0x2b8]
push 0x415bfc
mov dword [ebp - 0x328], edi
call fcn.00405640
push 0x1a
push str._nApp_host_version:_8.0.0_n_n
lea ecx, [ebp - 0x2b8]
call fcn.00405640
mov ecx, dword [ebp - 0x2bc]
cmp ecx, 8
jb 0x4038ba
mov edx, dword [ebp - 0x2d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4038b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403bb5
push ecx
push edx
call fcn.0040e053
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.00407850
mov esi, eax
lea eax, [ebp - 0x2e8]
cmp eax, esi
je 0x403982
mov ecx, dword [ebp - 0x2d4]
cmp ecx, 8
jb 0x403941
mov edx, dword [ebp - 0x2e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403937
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402efa
push ecx
push edx
call fcn.0040e053
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 0x4039c2
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4039b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402efa
push ecx
push edx
call fcn.0040e053
add esp, 8
push 0x11
push str.apphost_version
lea ecx, [ebp - 0x2e8]
call fcn.00405640
push 5
push str.8.0.0
lea ecx, [ebp - 0x2e8]
call fcn.00405640
push ecx
lea edx, [ebp - 0x2a0]
lea ecx, [ebp - 0x130]
call fcn.00405db0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x4037e1
mov edi, dword [ebp - 0x320]
test edi, edi
je 0x403b78
lea ecx, [ebp - 0x130]
call fcn.00403cf0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28c]
cmp ecx, 8
jb 0x4034a5
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403a5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403bb5
push ecx
push edx
call fcn.0040e053
add esp, 8
jmp 0x4034a5
lea ecx, [ebp - 0x32c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x403add
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ActivateActCtx_failed._Error_code:__d
call fcn.00406970
mov byte [ebp - 4], 2
add esp, 8
mov ecx, dword [ebp - 0x28c]
cmp ecx, 8
jb 0x403636
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403ace
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403b13
push ecx
push edx
call fcn.0040e053
add esp, 8
jmp 0x403636
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28c]
cmp ecx, 8
jb 0x403b23
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403b19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403b19
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040e053
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.00402a90
test al, al
jne 0x403bc5
jmp 0x403636
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetWindowsDirectory_failed._Error_code:__d
call fcn.00406970
add esp, 8
jmp 0x403636
lea ecx, [ebp - 0x130]
call fcn.00403cf0
mov ecx, dword [ebp - 0x28c]
cmp ecx, 8
jb 0x403bc5
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403bbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403bbb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040e053
add esp, 8
mov ecx, dword [ebp - 0x2d4]
cmp ecx, 8
jb 0x403c05
mov edx, dword [ebp - 0x2e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403bfb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403cad
push ecx
push edx
call fcn.0040e053
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 0x403c5e
mov edx, dword [ebp - 0x2d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403c54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403cad
push ecx
push edx
call fcn.0040e053
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 0x403cbd
mov edx, dword [ebp - 0x318]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403cb3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403cb3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040e053
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.0040e045
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00405930
int3