Function at 0x416762
Capabilities:
Create process on windows
Query environment variable
Set environment variable

Disassembly:
mov eax, 0x605266
call fcn.00465b38
mov eax, 0x4814
call fcn.00466c20
mov edx, dword [ebp + 0x74]
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], ecx
cmp dword [0x6a3388], ebx
mov ecx, dword [ebp + 0x84]
push esi
push edi
mov esi, 0x6a2af4
je 0x416806
cmp dword [ebp + 0x90], ebx
mov eax, str.NULL
mov edi, eax
je 0x4167a9
mov edi, dword [ebp + 0x90]
cmp ecx, ebx
mov dword [ebp - 0x2c], eax
je 0x4167b3
mov dword [ebp - 0x2c], ecx
cmp edx, ebx
mov dword [ebp - 0x24], eax
je 0x4167bd
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x20], eax
cmp ecx, ebx
je 0x4167ca
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0x10]
cmp edx, ebx
jne 0x4167d3
mov edx, eax
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
jne 0x4167dc
mov ecx, eax
cmp dword [ebp + 8], ebx
je 0x4167e4
mov eax, dword [ebp + 8]
push edi
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push edx
push ecx
push eax
push str.COEAViewerApp::OpenFileWithNamedProcess_lpwszProcess__s___lpwszFilePath__s___lpwszCmdline__s___lpszPassthruExt__s___lpwszReleaseDir__s___lpszOnlyNetWork__s___lpwszVolume__s_
push str.StartProc
push 4
push esi
call fcn.004cdcb0
add esp, 0x2c
cmp dword [0x6a3388], ebx
je 0x41685c
push dword [ebp + 0x94]
push dword [ebp + 0x8c]
push dword [ebp + 0x88]
push dword [ebp + 0x80]
push dword [ebp + 0x7c]
push dword [ebp + 0x78]
push dword [ebp + 0x6c]
push dword [ebp + 0x68]
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
push dword [ebp + 0x58]
push dword [ebp + 0x54]
push dword [ebp + 0x50]
push dword [ebp + 0x4c]
push str.COEAViewerApp::OpenFileWithNamedProcess_dwSyncDate__lu___dwAutoDelete__lu___dwInvalid__lu___dwIgnoreTextLength__lu___dwDisableCopyEdit__lu___dwDisablePrint__lu___dwDisableVirtualPrint__lu___dwDisableClipboard__lu___dwDisableSnapshot__lu___bHideLimit__d___bUseFileSandBox__d___bUseSandBox__d___dwOpenWay__lu___bOeadFile__d___bEnableCopyEdit_oedx___d_
push str.OeaProp
push 4
push esi
call fcn.004cdcb0
add esp, 0x4c
mov eax, dword [ebp + 0x14]
mov esi, 0x69dc58
push esi
lea ecx, [ebp - 0x14]
mov dword [eax], ebx
call fcn.00480200
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], ebx
call fcn.00480200
xor eax, eax
cmp dword [ebp + 0x88], 4
push esi
lea ecx, [ebp - 0x18]
sete al
mov byte [ebp - 4], 1
mov dword [ebp + 8], eax
call fcn.00480200
mov ecx, 0x7eb
xor eax, eax
cmp dword [ebp + 0x8c], ebx
lea edi, [ebp - 0x2d8c]
mov dword [ebp - 0x2d90], ebx
mov byte [ebp - 4], 2
rep stosd dword es:[edi], eax
je 0x416934
push 3
lea eax, [ebp - 0xdf0]
push dword [ebp + 0x90]
mov dword [ebp - 0xdf4], 1
push eax
call fcn.0046634f
mov eax, dword [ebp + 0x94]
add esp, 0xc
mov dword [ebp - 0xde8], eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.00480d50
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
jne 0x41696f
push str..exe
push dword [ebp + 0xc]
call fcn.004e5270
pop ecx
test eax, eax
pop ecx
je 0x41696f
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00480d50
push esi
lea ecx, [ebp - 0x18]
call fcn.00480d50
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.00480d50
jmp 0x416999
cmp dword [ebp + 0x7c], ebx
je 0x4168ea
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp + 0x90]
push eax
lea ecx, [edi + 0x128]
call fcn.0040d274
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00480c20
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 2
call fcn.00480a70
jmp 0x4168f8
cmp dword [ebp + 8], ebx
jne 0x416999
push dword [ebp + 0x10]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp - 0x18]
call fcn.00415c1a
test eax, eax
jne 0x416999
xor esi, esi
jmp 0x417790
cmp dword [ebp + 0x80], ebx
jne 0x4169b4
lea ecx, [edi + 0x1a8]
mov dword [ebp + 0x90], ecx
call fcn.00480790
jmp 0x4169fa
mov eax, dword [edi + 0x1a8]
lea esi, [edi + 0x1a8]
mov dword [ebp + 0x90], esi
cmp dword [eax - 8], ebx
jne 0x4169fa
lea eax, [ebp + 0xc]
lea ecx, [edi + 0x128]
push eax
call fcn.0040cf7f
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00480c20
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.00480a70
push dword [esi]
call fcn.00438877
pop ecx
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.0047fff0
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp + 0x88], esp
push eax
mov byte [ebp - 4], 5
call fcn.0047fff0
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.0041b7ef
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
mov dword [ebp + 0x94], ebx
call fcn.005ece05
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x306]
mov word [ebp - 0x308], bx
rep stosd dword es:[edi], eax
push str.sldworks.exe
mov byte [ebp - 4], 6
push dword [ebp - 0x24]
stosw word es:[edi], ax
call fcn.004e5270
pop ecx
test eax, eax
pop ecx
jne 0x416aa5
push str.proe.exe
push dword [ebp - 0x24]
call fcn.004e5270
pop ecx
test eax, eax
pop ecx
jne 0x416aa5
lea eax, [ebp - 0x308]
push 0x104
push eax
push dword [ebp - 0x24]
call fcn.004dde10
add esp, 0xc
test eax, eax
je 0x416aa5
mov dword [ebp + 0x94], 1
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x30]
push eax
call fcn.0047fff0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.00481e30
push str.visio.exe
push dword [ebp - 0x30]
call fcn.00466c4f
pop ecx
test eax, eax
pop ecx
je 0x416add
push 0x66d9dc
lea ecx, [ebp - 0x14]
call fcn.004816b0
push str.devenv.exe
push dword [ebp - 0x30]
call fcn.00466c4f
pop ecx
test eax, eax
pop ecx
je 0x416af7
mov ecx, esi
call fcn.0041b367
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.0047fff0
push dword [ebp - 0x10]
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.0041cf17
test eax, eax
je 0x416b85
mov ecx, esi
mov dword [ebp - 0x2c], 1
call fcn.0041cea2
push eax
lea ecx, [ebp - 0x28]
call fcn.00480d50
push 0x66d9bc
lea ecx, [ebp - 0x28]
call fcn.004816b0
push dword [ebp - 0x10]
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
call fcn.00417d1d
push dword [eax]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.004816b0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 8
call fcn.005ecd91
cmp dword [0x6a3388], ebx
je 0x416b85
push dword [ebp - 0x28]
push str.COEAViewerApp::OpenFileWithNamedProcess_wstrProcessTTM__s_
push str.test
push 4
push 0x6a2af4
call fcn.004cdcb0
add esp, 0x14
push 1
mov esi, 0x103
pop eax
mov dword [ebp - 0x2d8c], eax
mov dword [ebp - 0x2d88], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x2984], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2d80], eax
mov eax, dword [ebp + 0x20]
push dword [ebp - 0x28]
mov dword [ebp - 0x2980], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x297c], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp - 0x1800], eax
lea eax, [ebp - 0x2d7c]
push eax
call fcn.0046634f
mov eax, dword [ebp + 0x90]
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 8]
cmp ecx, 0x20
jl 0x416bec
push 0x1f
pop ecx
push ecx
push eax
lea eax, [ebp - 0x2148]
push eax
call fcn.0046634f
add esp, 0xc
cmp dword [ebp + 0x74], ebx
je 0x416c1d
push dword [ebp + 0x74]
call fcn.00465c4f
push eax
lea eax, [ebp - 0x20c0]
push dword [ebp + 0x74]
push eax
call fcn.0046634f
add esp, 0x10
mov ecx, 0x10b
xor eax, eax
lea edi, [ebp - 0xddc]
mov dword [ebp - 0xde0], ebx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x48]
mov dword [ebp - 0x4c], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ecx, 0x127
xor eax, eax
cmp dword [ebp + 0x8c], ebx
lea edi, [ebp - 0x9ac]
mov dword [ebp - 0x9b0], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xde0]
push eax
je 0x416cb4
call fcn.0044702d
test eax, eax
pop ecx
je 0x416c83
lea eax, [ebp - 0xde0]
push 0x430
push eax
lea eax, [ebp - 0x2978]
push eax
call fcn.00465c70
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
call fcn.00447051
test eax, eax
pop ecx
je 0x416ca6
lea eax, [ebp - 0x4c]
push 0xc
push eax
lea eax, [ebp - 0x1cac]
push eax
call fcn.00465c70
add esp, 0xc
lea eax, [ebp - 0x9b0]
push eax
call fcn.00447072
jmp 0x416d08
call fcn.0044fae4
test eax, eax
pop ecx
je 0x416cd9
lea eax, [ebp - 0xde0]
push 0x430
push eax
lea eax, [ebp - 0x2978]
push eax
call fcn.00465c70
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
call fcn.0044fb08
test eax, eax
pop ecx
je 0x416cfc
lea eax, [ebp - 0x4c]
push 0xc
push eax
lea eax, [ebp - 0x1cac]
push eax
call fcn.00465c70
add esp, 0xc
lea eax, [ebp - 0x9b0]
push eax
call fcn.0044fb29
test eax, eax
pop ecx
je 0x416d3b
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x9b0]
push eax
call fcn.0041c2f9
lea eax, [ebp - 0x9b0]
push 0x4a0
push eax
lea eax, [ebp - 0x1ca0]
push eax
call fcn.00465c70
add esp, 0xc
mov eax, dword [ebp + 0x98]
push 0x48
mov dword [ebp - 0xde4], eax
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x2108]
push eax
call fcn.00465c70
mov eax, dword [ebp + 0x78]
push dword [ebp + 0x28]
mov dword [ebp - 0x1cb0], eax
call fcn.00465c4f
mov edi, 0x1ff
add esp, 0x10
cmp eax, edi
jle 0x416da0
push edi
lea eax, [ebp - 0x2548]
push dword [ebp + 0x28]
push eax
call fcn.0046634f
lea eax, [ebp - 0x2548]
push 0x3b
push eax
call fcn.004663c1
add esp, 0x14
cmp eax, ebx
je 0x416db3
mov word [eax], bx
jmp 0x416db3
push eax
lea eax, [ebp - 0x2548]
push dword [ebp + 0x28]
push eax
call fcn.0046634f
add esp, 0xc
push esi
lea eax, [ebp - 0x17fc]
push dword [ebp - 0x18]
push eax
call fcn.0046634f
push edi
lea eax, [ebp - 0x15f4]
push dword [ebp + 0x84]
push eax
call fcn.0046634f
add esp, 0x18
lea ecx, [ebp - 0x20]
push 0x69dc58
call fcn.00480200
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push eax
call fcn.00428b69
test eax, eax
pop ecx
je 0x416e5f
cmp dword [0x6a3388], ebx
je 0x416e1c
push dword [ebp - 0x20]
push str.COEAViewerApp::OpenFileWithNamedProcess__s_
push str.test
push 4
push 0x6a2af4
call fcn.004cdcb0
add esp, 0x14
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax - 8]
cmp ecx, edi
jle 0x416e4e
push edi
push eax
lea eax, [ebp - 0x11f4]
push eax
call fcn.0046634f
lea eax, [ebp - 0x2548]
push 0x3b
push eax
call fcn.004663c1
add esp, 0x14
cmp eax, ebx
je 0x416e5f
mov word [eax], bx
jmp 0x416e5f
push ecx
push eax
lea eax, [ebp - 0x11f4]
push eax
call fcn.0046634f
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov edi, 0x1fb0
lea eax, [ebp - 0x2d90]
push edi
push eax
mov dword [ebp + 0x74], esi
call fcn.0043872a
pop ecx
cmp eax, 0xffffffff
pop ecx
mov dword [ebp + 0x88], eax
jne 0x416eb2
cmp dword [0x6a3388], ebx
je 0x416eab
push eax
push str.SetTargetProcessByMatch_nIndex__d_
push str.StartProc
push 1
push 0x6a2af4
call fcn.004cdcb0
add esp, 0x14
xor esi, esi
jmp 0x417760
push str.pmill.exe
push dword [ebp - 0x30]
call fcn.00466c4f
pop ecx
test eax, eax
pop ecx
je 0x417023
lea ecx, [ebp - 0x60]
call fcn.005e624e
lea eax, [ebp - 0x60]
push 0xfffffffffffffffe
push eax
mov byte [ebp - 4], 0xb
call fcn.004ba4e0
pop ecx
test eax, eax
pop ecx
je 0x416f84
xor esi, esi
cmp dword [ebp - 0x58], ebx
jle 0x416f84
mov eax, dword [ebp - 0x5c]
push dword [eax + esi*4]
lea eax, [ebp + 0xc]
push eax
call fcn.004ba400
pop ecx
pop ecx
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xc
call fcn.005ed33d
push str.svchost__k_dcomlaunch
lea ecx, [ebp + 0xc]
call fcn.005e1d3d
cmp eax, 0xffffffff
je 0x416f6e
push str.tsysdrv.dll
call fcn.00537350
mov eax, dword [ebp - 0x1c]
pop ecx
push dword [0x66b7a0]
add eax, 0x190
push eax
lea eax, [ebp + 0x28]
push eax
call fcn.005ed036
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push eax
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0xd
push dword [eax + esi*4]
push 1
call fcn.00537870
add esp, 0x1c
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0xc
call fcn.005ecd91
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xb
call fcn.005ecd91
inc esi
cmp esi, dword [ebp - 0x58]
jl 0x416ef5
push 0x103
lea eax, [ebp - 0x2d7c]
push str.sdx.exe
push eax
call fcn.0046634f
lea eax, [ebp - 0x2d90]
push edi
push eax
call fcn.0043872a
add esp, 0x14
cmp eax, 0xffffffff
mov dword [ebp + 0x88], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x60]
jne 0x41701b
call fcn.005e6281
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00480a70
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00480a70
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00480a70
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.005ecd91
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00480a70
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00480a70
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00480a70
xor eax, eax
jmp 0x4177b5
call fcn.005e6281
mov esi, dword [ebp + 0x74]
mov edi, dword [ebp - 0x1c]
push dword [ebp - 0x10]
mov ecx, edi
call fcn.0041a82a
test eax, eax
je 0x41703b
mov ecx, edi
call fcn.0041a91d
mov dword [ebp + 0xc], ebx
call fcn.004d8300
test eax, eax
je 0x4170f4
lea eax, [ebp - 0x14]
lea ecx, [ebp + 0x74]
push eax
call fcn.0047fff0
lea ecx, [ebp + 0x74]
mov byte [ebp - 4], 0xe
call fcn.00481e30
push str.shimgvw.dll
push dword [ebp + 0x74]
call fcn.00466c4f
pop ecx
test eax, eax
pop ecx
jne 0x417089
push str.photoviewer.dll
push dword [ebp + 0x74]
call fcn.00466c4f
pop ecx
test eax, eax
pop ecx
je 0x417096
push str.photoviewer.dll
lea ecx, [ebp - 0x10]
call fcn.00480d50
lea ecx, [ebp - 0x78]
call fcn.00407b8e
push dword [ebp + 8]
mov eax, dword [edi + 0x1c0]
mov ecx, dword [ebp + 0x90]
mov byte [ebp - 4], 0xf
push eax
push dword [ebp + 0x14]
mov ecx, dword [ecx]
push 0x1d4c0
push dword [ebp + 0x7c]
push dword [ebp + 0x88]
push ecx
lea ecx, [ebp - 0x78]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.00407cae
lea ecx, [ebp - 0x78]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0xe
call fcn.00407c51
lea ecx, [ebp + 0x74]
mov byte [ebp - 4], 0xa
call fcn.00480a70
jmp 0x417723
mov eax, dword [0x6a3388]
cmp eax, ebx
je 0x417127
push 0x4000410
push dword [ebp - 0x2c]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [ebp + 8]
push str.ShellOrCreate_bOnlyOpenProc__d__wstrProcess__s__wstrFilePath__s__bStartByShellExecute__d__dwCreationFlags__x_
push str.StartProc
push 1
push 0x6a2af4
call fcn.004cdcb0
add esp, 0x24
push 0x44
lea eax, [ebp - 0x100]
pop esi
push esi
push ebx
push eax
call fcn.00466010
push 0x10
lea eax, [ebp - 0x40]
push ebx
push eax
mov dword [ebp - 0x100], esi
call fcn.00466010
add esp, 0x18
cmp dword [ebp + 8], ebx
jne 0x41718d
push str.ugs_router.exe
push dword [ebp - 0x10]
call fcn.00466c4f
pop ecx
test eax, eax
pop ecx
je 0x417172
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push str.__s____ug__use_file_dir____s_
jmp 0x4171d2
push str.GcLauncher.exe
push dword [ebp - 0x10]
call fcn.00466c4f
pop ecx
test eax, eax
pop ecx
je 0x4171ae
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], ebx
jne 0x4171a3
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str.__s_
push eax
call fcn.00483a80
add esp, 0xc
jmp 0x4171de
push eax
push dword [ebp - 0x10]
push str.__s___O___s_
jmp 0x4171d2
push 0x66d6ac
push dword [ebp - 0x10]
call fcn.004e5270
pop ecx
test eax, eax
pop ecx
je 0x4171de
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
je 0x4171de
push dword [ebp - 0x18]
push eax
push str.__s____s_
lea eax, [ebp - 0x14]
push eax
call fcn.00483a80
add esp, 0x10
push dword [ebp - 0x10]
lea eax, [ebp + 0x28]
push eax
call fcn.00410a06
pop ecx
pop ecx
push 0x69dc58
lea ecx, [ebp + 0x8c]
mov byte [ebp - 4], 0x10
call fcn.005ece05
mov eax, dword [ebp + 0x28]
mov byte [ebp - 4], 0x11
cmp dword [eax - 8], ebx
je 0x417281
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push ebx
push ebx
push str.path
call esi
cmp eax, ebx
je 0x417273
lea edi, [eax + 1]
lea eax, [edi + edi]
push eax
call fcn.005ed45a
mov dword [ebp + 0x7c], eax
lea eax, [edi + edi]
push eax
push ebx
push dword [ebp + 0x7c]
call fcn.00466010
add esp, 0x10
push edi
mov edi, dword [ebp + 0x7c]
push edi
push str.path
call esi
push 0x66d6a8
lea ecx, [ebp + 0x28]
call fcn.005ed182
push edi
lea ecx, [ebp + 0x28]
call fcn.005ed182
push edi
lea ecx, [ebp + 0x8c]
call fcn.005ecf28
push edi
call fcn.005ed483
pop ecx
push dword [ebp + 0x28]
push str.path
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp dword [ebp - 0x2c], ebx
je 0x4174c7
mov ecx, 0x6a3
xor eax, eax
lea edi, [ebp - 0x481e]
mov word [ebp - 0x4820], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x4820]
push 0x1a90
push eax
mov dword [ebp + 0x94], ebx
call fcn.0043888f
pop ecx
cmp eax, 0xffffffff
pop ecx
je 0x41736b
cmp eax, ebx
jbe 0x41736b
lea esi, [ebp - 0x47e0]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x90]
push dword [eax]
lea eax, [esi - 0x40]
push eax
call fcn.00466804
pop ecx
test eax, eax
pop ecx
jne 0x41735f
mov edx, dword [esi]
cmp edx, ebx
je 0x41735f
mov ecx, 0x81
lea edi, [ebp - 0x50e]
mov word [ebp - 0x510], bx
push edx
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x6c]
stosw word es:[edi], ax
call fcn.004b8cc0
lea eax, [ebp - 0x510]
push 0x104
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x12
call fcn.004b93e0
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x417353
push dword [ebp - 0x10]
lea eax, [ebp - 0x510]
push eax
call fcn.00466804
pop ecx
test eax, eax
pop ecx
jne 0x417353
mov dword [ebp + 0x94], 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x11
call fcn.004b8df0
add esi, 0x44
dec dword [ebp + 0xc]
jne 0x4172d5
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp + 8]
push dword [eax + 0x190]
call fcn.00480200
push str.OeaShellexecute.exe
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x13
call fcn.004816b0
push 0x103
lea eax, [ebp - 0x2d7c]
push dword [ebp + 8]
push eax
call fcn.0046634f
lea eax, [ebp - 0x2d90]
push 0x1fb0
push eax
call fcn.0043872a
add esp, 0x14
cmp dword [0x6a3388], ebx
mov esi, eax
je 0x4173d9
push esi
push 0x66d630
push str.StartProc
push 1
push 0x6a2af4
call fcn.004cdcb0
add esp, 0x14
push 0x66d62c
lea ecx, [ebp + 0x7c]
call fcn.00480200
lea eax, [ebp - 0x18]
lea ecx, [ebp + 0x7c]
push eax
mov byte [ebp - 4], 0x14
call fcn.00481710
lea eax, [ebp - 0x40]
mov edi, dword [ebp + 8]
push eax
lea eax, [ebp - 0x100]
push eax
push ebx
push ebx
push 0x4000410
push ebx
push ebx
push ebx
push 0x104
lea ecx, [ebp + 0x7c]
call fcn.00481730
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x417475
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp + 0x94], ebx
je 0x417462
cmp eax, dword [ebp + 0x74]
jb 0x417445
sub eax, dword [ebp + 0x74]
jmp 0x41744e
mov ecx, dword [ebp + 0x74]
not ecx
lea eax, [ecx + eax + 1]
cmp eax, dword [0x66b830]
jae 0x417462
push dword [ebp + 0x88]
call fcn.00438749
pop ecx
push dword [ebp - 0x40]
mov dword [ebp + 0xc], 1
call edi
push dword [ebp - 0x3c]
call edi
jmp 0x4174a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp + 0x74]
jb 0x417485
sub eax, dword [ebp + 0x74]
jmp 0x41748e
mov ecx, dword [ebp + 0x74]
not ecx
lea eax, [ecx + eax + 1]
cmp eax, dword [0x66b830]
jae 0x41749d
push esi
call fcn.00438749
pop ecx
mov dword [ebp + 0xc], ebx
push 0xffffffffffffffff
lea ecx, [ebp + 0x7c]
call fcn.00481810
lea ecx, [ebp + 0x7c]
mov byte [ebp - 4], 0x13
call fcn.00480a70
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x11
call fcn.00480a70
jmp 0x41764c
push str.seviewer.exe
push dword [ebp - 0x10]
call fcn.004e5270
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
test eax, eax
pop ecx
je 0x4175f0
call fcn.00410b32
mov esi, eax
cmp esi, ebx
je 0x4175f0
test byte [0x69dd08], 1
jne 0x417513
or byte [0x69dd08], 1
push 0x66c178
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x69dd04], eax
mov eax, dword [0x69dd04]
cmp eax, ebx
je 0x41761b
test byte [0x69dd08], 2
jne 0x417541
or byte [0x69dd08], 2
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69dd00], eax
cmp dword [0x69dd00], ebx
je 0x4175e8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0xbc]
push eax
push ebx
push ebx
push ebx
push 0x104
mov dword [ebp - 0xbc], 0x44
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], 1
mov word [ebp - 0x8a], bx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov word [ebp - 0x8c], 5
mov dword [ebp - 0xb4], ebx
call fcn.00481730
push eax
push ebx
push 1
push esi
call dword [0x69dd00]
mov dword [ebp + 0xc], eax
push esi
call edi
cmp dword [ebp + 0xc], ebx
jne 0x417642
push 0x10
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.00466010
add esp, 0xc
cmp dword [ebp + 0x94], ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x100]
push eax
je 0x417620
lea eax, [ebp - 0x308]
push eax
jmp 0x417621
push esi
call edi
jmp 0x4175f0
push ebx
push ebx
push 0x4000410
push ebx
push ebx
push ebx
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00481730
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp + 0xc], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00481810
mov eax, dword [ebp + 0x28]
cmp dword [eax - 8], ebx
je 0x41766b
mov eax, dword [ebp + 0x8c]
cmp dword [eax - 8], ebx
je 0x41766b
push eax
push str.path
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp dword [ebp + 0xc], ebx
je 0x417705
cmp dword [ebp - 0x2c], ebx
jne 0x417705
push dword [ebp - 0x40]
call edi
push dword [ebp - 0x3c]
call edi
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0x10
mov dword [ecx], eax
lea ecx, [ebp + 0x8c]
call fcn.005ecd91
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0xa
call fcn.005ecd91
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00480a70
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00480a70
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00480a70
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.005ecd91
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00480a70
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00480a70
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00480a70
push 1
pop eax
jmp 0x4177b5
lea ecx, [ebp + 0x8c]
mov byte [ebp - 4], 0x10
call fcn.005ecd91
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0xa
call fcn.005ecd91
mov esi, dword [ebp + 0x74]
cmp dword [ebp + 0xc], ebx
jne 0x41775d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, esi
jb 0x417736
sub eax, esi
jmp 0x41773c
not esi
lea eax, [esi + eax + 1]
cmp eax, dword [0x66b830]
jae 0x417750
push dword [ebp + 0x88]
call fcn.00438749
pop ecx
push 0xd
call fcn.004296ed
pop ecx
jmp 0x416eab
push 1
pop esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00480a70
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00480a70
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00480a70
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.005ecd91
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00480a70
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00480a70
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00480a70
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x94