Function at 0x40ecc0
Capabilities:
Check if file exists
Check os version
Create a process with modified i/o handles and window
Create process on windows
Enumerate processes
Hide graphical window
Print debug messages
Read .ini file

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 0x47c5d4
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x978
mov eax, dword [0x4a5018]
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, edx
mov dword [ebp - 0x86c], edi
push ecx
push ecx
lea ecx, [ebp - 0x8a0]
call fcn.00412e00
mov dword [ebp - 4], 0
push 0x14
mov dword [ebp - 0x868], 1
mov dword [ebp - 0x888], 0
mov dword [ebp - 0x884], 0
call fcn.004551d2
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x888], eax
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 1
call fcn.00419a80
mov esi, eax
mov byte [ebp - 4], 2
mov eax, dword [esi]
mov edx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x87c], edx
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x878], ecx
je 0x40ee9c
push eax
call edx
test eax, eax
je 0x40ee9c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x860], eax
cmp eax, 0xffffffff
je 0x40ee9c
push 0x228
lea eax, [ebp - 0x264]
push 0
push eax
call fcn.004573c0
add esp, 0xc
mov dword [ebp - 0x268], 0x22c
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x860]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40ee90
lea ecx, [ebp - 0x888]
call fcn.00428af0
mov edi, dword [ebp - 0x860]
mov edx, dword [ebp - 0x260]
lea ecx, [ebp - 0x858]
call fcn.00428880
mov edx, esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x858]
call fcn.0042c900
test eax, eax
je 0x40ee52
lea edx, [ebp - 0x858]
mov ecx, esi
call fcn.0042c900
test eax, eax
je 0x40ee52
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x888]
call fcn.00428b40
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x858]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ee74
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x268]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40ee02
mov edi, dword [ebp - 0x86c]
push dword [ebp - 0x860]
call dword [ebp - 0x878]
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x854]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40eebe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x858]
mov dword [ebp - 0x854], eax
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x4101b2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x858], eax
push 0x492fc0
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 4
call fcn.004067d0
test al, al
jne 0x40ef13
push 3
push 0x492fc0
lea ecx, [ebp - 0x858]
call fcn.004069d0
push ecx
mov byte [ebp - 4], 5
mov esi, esp
mov dword [ebp - 0x854], esi
mov ecx, dword [ebp - 0x858]
lea ecx, [ecx - 0x10]
call fcn.00406910
add eax, 0x10
lea ecx, [ebp - 0x8a0]
mov dword [esi], eax
call fcn.00413b10
xor ecx, ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x858]
cmp eax, 0xffffffff
setne cl
or esi, 0xffffffff
mov dword [ebp - 0x854], ecx
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ef76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x854]
test ecx, ecx
je 0x40f179
push 0x492e10
push str.none
push str.crash
call fcn.00426bd0
add esp, 8
mov esi, esp
mov dword [ebp - 0x83c], esi
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x4101b2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0x492fc0
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.004067d0
test al, al
jne 0x40efda
push 3
push 0x492fc0
mov ecx, esi
call fcn.004069d0
lea eax, [ebp - 0x854]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x8a0]
call fcn.00413d70
mov byte [ebp - 4], 7
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x4101b2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x858], eax
push 0x492e10
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 8
call fcn.004067d0
test al, al
jne 0x40f03d
push 0
push 0x492e10
lea ecx, [ebp - 0x858]
call fcn.004069d0
mov byte [ebp - 4], 9
mov eax, dword [0x4aa570]
test eax, eax
jne 0x40f065
push 4
call fcn.004551d2
mov dword [ebp - 0x83c], eax
add esp, 4
mov dword [0x4aa570], eax
mov dword [eax], vtable.CUploadDumpMgr.0
lea ecx, [ebp - 0x858]
push ecx
lea ecx, [ebp - 0x854]
push ecx
mov ecx, eax
call fcn.00410370
push ecx
mov edx, str.debug.data
lea ecx, [ebp - 0x83c]
mov esi, eax
call fcn.00419930
add esp, 4
mov byte [ebp - 4], 0xa
push dword [ebp - 0x83c]
call dword [ebp - 0x87c]
mov edi, dword [ebp - 0x858]
test eax, eax
je 0x40f113
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x4101bc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x860], eax
xor eax, eax
mov byte [ebp - 4], 0xb
test esi, esi
push edi
setne al
push eax
lea eax, [ebp - 0x860]
push str.Upload_dump_result:_d_res:_s
push eax
call fcn.00407700
mov esi, dword [ebp - 0x860]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 0xa
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40f113
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
or esi, 0xffffffff
mov edx, dword [ebp - 0x83c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f137
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40f152
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x854]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f173
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x86c]
lea eax, [ebp - 0x858]
mov dword [ebp - 0x854], eax
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x4101c6
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x858], eax
push 0x49408c
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 0xc
call fcn.004067d0
test al, al
jne 0x40f1ce
push 3
push 0x49408c
lea ecx, [ebp - 0x858]
call fcn.004069d0
push ecx
mov byte [ebp - 4], 0xd
mov esi, esp
mov dword [ebp - 0x854], esi
mov ecx, dword [ebp - 0x858]
lea ecx, [ecx - 0x10]
call fcn.00406910
add eax, 0x10
lea ecx, [ebp - 0x8a0]
mov dword [esi], eax
call fcn.00413b10
xor ecx, ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x858]
cmp eax, 0xffffffff
setne cl
add edx, 0xfffffff0
mov dword [ebp - 0x854], ecx
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f22f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x854]
test ecx, ecx
je 0x40f2f0
cmp dword [ebp - 0x884], 0
jne 0x40f2f0
mov ecx, dword [0x4aa56c]
mov dword [ebp - 0x868], 0
test ecx, ecx
jne 0x40f2eb
push 0xc
call fcn.004551d2
add esp, 4
mov dword [ebp - 0x83c], eax
lea esi, [eax + 4]
mov dword [eax], vtable.CAutoUpdateMgr.0
mov dword [ebp - 0x860], esi
mov dword [esi + 4], 0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x854]
mov dword [esi], vtable.CKDUpdateMgrEventPtr_class_CAutoUpdateMgr_.0
mov dword [ebp - 0x854], 0
call fcn.00401c70
mov ecx, dword [ebp - 0x854]
mov dword [esi + 4], ecx
push ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x83c]
mov dword [eax + 0x24], ecx
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x24]
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov byte [ebp - 4], 1
mov dword [edx + 0x24], eax
mov dword [0x4aa56c], ecx
call fcn.00401560
lea eax, [ebp - 0x858]
mov dword [ebp - 0x854], eax
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x4101d0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x858], eax
push 0x494094
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 0x11
call fcn.004067d0
test al, al
jne 0x40f345
push 3
push 0x494094
lea ecx, [ebp - 0x858]
call fcn.004069d0
push ecx
mov byte [ebp - 4], 0x12
mov esi, esp
mov dword [ebp - 0x854], esi
mov ecx, dword [ebp - 0x858]
lea ecx, [ecx - 0x10]
call fcn.00406910
add eax, 0x10
lea ecx, [ebp - 0x8a0]
mov dword [esi], eax
call fcn.00413b10
xor ecx, ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x858]
cmp eax, 0xffffffff
setne cl
add edx, 0xfffffff0
mov dword [ebp - 0x854], ecx
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f3a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x854]
test ecx, ecx
je 0x40f3c1
push 0x492e10
push str.none
push str.server_run
call fcn.00426bd0
add esp, 0xc
mov dword [ebp - method.CCheckCloudConfigMgr.virtual_0], vtable.CCheckCloudConfigMgr.0
lea eax, [ebp - 0x858]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x854], eax
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x4101da
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x858], eax
push str._sccc
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 0x14
call fcn.004067d0
test al, al
jne 0x40f424
push 5
push str._sccc
lea ecx, [ebp - 0x858]
call fcn.004069d0
push ecx
mov byte [ebp - 4], 0x15
mov esi, esp
mov dword [ebp - 0x854], esi
mov ecx, dword [ebp - 0x858]
lea ecx, [ecx - 0x10]
call fcn.00406910
add eax, 0x10
lea ecx, [ebp - 0x8a0]
mov dword [esi], eax
call fcn.00413b10
xor ecx, ecx
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x858]
cmp eax, 0xffffffff
setne cl
add edx, 0xfffffff0
mov dword [ebp - 0x854], ecx
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f485
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x854]
test ecx, ecx
je 0x40f5b3
lea eax, [ebp - 0x874]
mov dword [ebp - 0x868], 0
mov dword [ebp - 0x860], eax
call fcn.00407560
mov edx, dword [eax + 0x38]
xor ecx, ecx
mov dword [ebp - 0x854], eax
lea esi, [eax + 0x34]
mov eax, dword [esi]
sub edx, eax
sar edx, 2
test edx, edx
je 0x40f4e3
cmp edx, ecx
jbe 0x4101e4
lea edi, [ebp - 0x874]
cmp dword [eax + ecx*4], edi
mov edi, dword [ebp - 0x86c]
je 0x40f5b3
inc ecx
cmp edx, ecx
ja 0x40f4c9
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x40f4f9
lea ecx, [ebp - 0x874]
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x40f508
lea ecx, [ebp - 0x860]
push ecx
push eax
mov ecx, esi
call fcn.00408cd0
mov ecx, dword [ebp - 0x854]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x860], eax
cmp dword [eax - 0xc], 0
jne 0x40f527
cmp dword [ecx + 0x40], 0
je 0x40f5b3
push ecx
lea esi, [eax - 0x10]
mov dword [ebp - 0x858], esp
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x40f54e
cmp ecx, dword [esi]
jne 0x40f54e
lock inc dword [eax]
jmp 0x40f58b
mov eax, dword [ecx]
lea edx, [esi + 4]
push 1
push dword [edx]
mov dword [ebp - 0x83c], edx
mov eax, dword [eax]
call eax
mov esi, eax
test esi, esi
je 0x4101e9
mov ecx, dword [ebp - 0x83c]
mov eax, dword [ecx]
mov dword [esi + 4], eax
mov edx, dword [ecx]
lea ecx, [esi + 0x10]
inc edx
push edx
push dword [ebp - 0x860]
call fcn.00406cc0
add esp, 8
mov ecx, dword [ebp - 0x858]
lea eax, [esi + 0x10]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 0x854]
cmp dword [ecx + 0x40], eax
lea ecx, [ebp - 0x874]
sete al
push eax
mov eax, dword [ebp - 0x874]
call dword [eax]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0x8c8], 0
mov dword [ebp - 0x8b8], 0
mov dword [ebp - 0x8b4], 0
mov dword [ebp - 0x8b0], 0
mov dword [ebp - 0x8ac], eax
mov dword [ebp - method.CEndSessionMgr.1.virtual_0], vtable.CEndSessionMgr.1.0
mov dword [ebp - method.CEndSessionMgr.virtual_0], vtable.CEndSessionMgr.0
push ecx
mov byte [ebp - 4], 0x16
mov esi, esp
mov dword [ebp - 0x854], esi
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x4101b2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0x4940a8
mov ecx, esi
mov byte [ebp - 4], 0x17
call fcn.004067d0
test al, al
jne 0x40f644
push 3
push 0x4940a8
mov ecx, esi
call fcn.004069d0
lea ecx, [ebp - 0x8a0]
mov byte [ebp - 4], 0x16
call fcn.00413c80
test eax, eax
je 0x40f702
push dword [ebp - 0x87c]
lea eax, [ebp - 0x8ac]
mov dword [ebp - 0x868], 0
push eax
push 0x4a5be8
mov dword [ebp - 0x8a4], 0
call fcn.004061f0
add esp, 8
movzx eax, ax
lea ecx, [ebp - 0x8cc]
push eax
push 0
push 0
push SysReAllocString
push 0
push 0
push 0
call fcn.00406100
push 0
push dword [ebp - 0x8c8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0x2ff
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov eax, dword [0x4aa568]
test eax, eax
jne 0x40f6ef
push 0x2c
call fcn.004551d2
add esp, 4
mov dword [ebp - 0x854], eax
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.0040dba0
mov byte [ebp - 4], 0x16
mov dword [0x4aa568], eax
push str.Init
push str.CEndSessionMgr
push eax
call fcn.0040e150
add esp, 0xc
lea eax, [ebp - 0x858]
mov dword [ebp - 0x854], eax
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x4101ee
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x858], eax
push str._cfa
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 0x19
call fcn.004067d0
test al, al
jne 0x40f757
push 4
push str._cfa
lea ecx, [ebp - 0x858]
call fcn.004069d0
push ecx
mov byte [ebp - 4], 0x1a
mov esi, esp
mov dword [ebp - 0x854], esi
mov ecx, dword [ebp - 0x858]
lea ecx, [ecx - 0x10]
call fcn.00406910
add eax, 0x10
lea ecx, [ebp - 0x8a0]
mov dword [esi], eax
call fcn.00413b10
xor ecx, ecx
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x858]
cmp eax, 0xffffffff
setne cl
or esi, 0xffffffff
mov dword [ebp - 0x854], ecx
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f7ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x854]
test ecx, ecx
je 0x40f9cd
mov edx, str.cvConfig.ini
lea ecx, [ebp - 0x854]
call fcn.00419d10
mov esi, dword [0x4aaa7c]
test esi, esi
je 0x40f7e6
lock inc dword [esi + 4]
mov esi, dword [0x4aaa7c]
mov ecx, dword [0x4aaa78]
mov dword [ebp - 0x85c], ecx
mov dword [ebp - 0x858], esi
mov byte [ebp - 4], 0x1c
lea edx, [ebp - 0x83c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x10c]
call eax
push dword [ebp - 0x854]
push 1
push 0x494018
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x83c]
or ecx, 0xffffffff
mov dword [ebp - 0x860], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40f846
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x40f86b
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x40f86b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x40f86b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor eax, eax
cmp dword [ebp - 0x860], eax
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x854]
setne al
mov dword [ebp - 0x860], eax
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f89e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x860], 0
je 0x40f9cd
mov esi, dword [0x4aaa7c]
test esi, esi
je 0x40f8bf
lock inc dword [esi + 4]
mov esi, dword [0x4aaa7c]
mov ecx, dword [0x4aaa78]
mov dword [ebp - 0x864], ecx
mov dword [ebp - 0x860], esi
mov byte [ebp - 4], 0x1d
lea edx, [ebp - 0x83c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x5c]
mov byte [ebp - 4], 0x1f
test esi, esi
je 0x40f90a
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x40f90a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x40f90a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x83c]
push ecx
lea ecx, [ebp - 0x854]
call fcn.00419930
mov byte [ebp - 4], 0x20
mov esi, esp
mov eax, dword [ebp - 0x854]
mov dword [ebp - 0x860], eax
mov dword [ebp - 0x858], esi
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x4101f8
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0x48f134
mov ecx, esi
mov byte [ebp - 4], 0x21
call fcn.004067d0
test al, al
jne 0x40f971
push 0x10
push 0x48f134
mov ecx, esi
call fcn.004069d0
mov byte [ebp - 4], 0x20
mov edx, 1
mov ecx, dword [ebp - 0x860]
call fcn.00440c50
mov byte [ebp - 4], 0x1f
or esi, 0xffffffff
mov edx, dword [ebp - 0x854]
add esp, 4
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f9ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
mov eax, esi
mov edx, dword [ebp - 0x83c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f9cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x984]
call fcn.00403050
lea eax, [ebp - 0x858]
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x854], eax
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x410202
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x858], eax
push 0x4940bc
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 0x23
call fcn.004067d0
test al, al
jne 0x40fa31
push 3
push 0x4940bc
lea ecx, [ebp - 0x858]
call fcn.004069d0
push ecx
mov byte [ebp - 4], 0x24
mov esi, esp
mov dword [ebp - 0x854], esi
mov ecx, dword [ebp - 0x858]
lea ecx, [ecx - 0x10]
call fcn.00406910
add eax, 0x10
lea ecx, [ebp - 0x8a0]
mov dword [esi], eax
call fcn.00413b10
xor ecx, ecx
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x858]
cmp eax, 0xffffffff
setne cl
add edx, 0xfffffff0
mov dword [ebp - 0x854], ecx
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40fa92
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x854]
test ecx, ecx
je 0x40faab
lea ecx, [ebp - 0x984]
mov dword [ebp - 0x868], 0
call fcn.00403430
push ecx
mov esi, esp
mov dword [ebp - 0x854], esi
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x4101b2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push str._launchMainProg
mov ecx, esi
mov byte [ebp - 4], 0x25
call fcn.004067d0
test al, al
jne 0x40faf1
push 0xf
push str._launchMainProg
mov ecx, esi
call fcn.004069d0
lea ecx, [ebp - 0x8a0]
mov byte [ebp - 4], 0x22
call fcn.00413c80
test eax, eax
jne 0x40fbb8
push ecx
mov esi, esp
mov dword [ebp - 0x854], esi
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x4101b2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push str._startmenu
mov ecx, esi
mov byte [ebp - 4], 0x26
call fcn.004067d0
test al, al
jne 0x40fb4e
push 0xa
push str._startmenu
mov ecx, esi
call fcn.004069d0
lea ecx, [ebp - 0x8a0]
mov byte [ebp - 4], 0x22
call fcn.00413c80
test eax, eax
jne 0x40fbb8
push ecx
mov esi, esp
mov dword [ebp - 0x854], esi
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x4101b2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push str._taskbar
mov ecx, esi
mov byte [ebp - 4], 0x27
call fcn.004067d0
test al, al
jne 0x40fba1
push ecx
mov ecx, esi
call fcn.00410270
lea ecx, [ebp - 0x8a0]
mov byte [ebp - 4], 0x22
call fcn.00413c80
test eax, eax
je 0x40ff73
lea ecx, [ebp - 0x858]
call fcn.00419a80
push dword [ebp - 0x858]
call dword [ebp - 0x87c]
test eax, eax
je 0x40ff51
push str.Globalmasterpdf_server_event_C33B7EE9753C
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
push str.Globalmasterpdf_server_mapping_C33B7EE9753C
push 0
mov esi, eax
push 2
mov dword [ebp - 0x87c], esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 0x880], eax
test eax, eax
je 0x40fccc
test esi, esi
je 0x40fccc
mov esi, dword [ebp - 0x858]
test esi, esi
je 0x40ff1d
push 0x1000
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x860], eax
test eax, eax
je 0x40fccc
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x840], 0
mov dword [ebp - 0x83c], 0xf
mov byte [ebp - 0x850], 0
sub esp, 8
mov byte [ebp - 4], 0x2a
lea eax, [ebp - 0x850]
push esi
push eax
call fcn.00428c60
test eax, eax
jne 0x40fd9f
push dword [ebp - 0x860]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov byte [ebp - 4], 0x29
mov edx, dword [ebp - 0x83c]
cmp edx, 0x10
jb 0x40fccc
mov ecx, dword [ebp - 0x850]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fcc2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41020c
push edx
push ecx
call fcn.00455202
add esp, 8
mov esi, dword [ebp - 0x858]
test esi, esi
je 0x40ff1d
push ecx
call fcn.004146a0
add esp, 4
test al, al
je 0x40fe30
push str.runas
xorps xmm0, xmm0
lea eax, [ebp - 0x34]
push 0x10
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call fcn.0045db9d
add esp, 0xc
mov dword [ebp - 0x900], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x8f0], 0
xorps xmm0, xmm0
mov dword [ebp - 0x8fc], eax
lea eax, [ebp - 0x908]
movlpd qword [ebp - 0x8e8], xmm0
push eax
movlpd qword [ebp - 0x8e0], xmm0
movlpd qword [ebp - 0x8d8], xmm0
mov dword [ebp - 0x8d0], 0
mov dword [ebp - 0x908], 0x3c
mov dword [ebp - 0x8f8], esi
mov dword [ebp - 0x8f4], 0
mov dword [ebp - 0x8ec], 0
mov dword [ebp - 0x904], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40fef4
push dword [ebp - 0x8d0]
call dword [ebp - 0x878]
jmp 0x40ff0e
cmp dword [ebp - 0x83c], 0x10
lea ecx, [ebp - 0x850]
mov esi, dword [ebp - 0x850]
mov eax, dword [ebp - 0x840]
cmovae ecx, esi
setae byte [ebp - 0x86d]
inc eax
push eax
push ecx
push dword [ebp - 0x860]
call fcn.00456e40
add esp, 0xc
push dword [ebp - 0x87c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [ebp - 0x860]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp byte [ebp - 0x86d], 0
mov byte [ebp - 4], 0x29
je 0x40ff31
mov ecx, dword [ebp - 0x83c]
mov eax, esi
inc ecx
cmp ecx, 0x1000
jb 0x40fe21
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41020c
push ecx
push esi
call fcn.00455202
add esp, 8
jmp 0x40ff31
push 0x800
lea eax, [ebp - 0x838]
push 0
push eax
call fcn.004573c0
add esp, 0xc
lea eax, [ebp - 0x838]
push esi
push 0x492ce0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [ebp - 0x950], 0x44
xor eax, eax
mov dword [ebp - 0x924], 1
mov word [ebp - 0x90e], ax
xorps xmm0, xmm0
mov eax, 1
movlpd qword [ebp - 0x94c], xmm0
mov word [ebp - 0x920], ax
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x950]
movlpd qword [ebp - 0x944], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x838]
movlpd qword [ebp - 0x93c], xmm0
push eax
push 0
movlpd qword [ebp - 0x934], xmm0
movlpd qword [ebp - 0x92c], xmm0
movlpd qword [ebp - 0x91e], xmm0
movlpd qword [ebp - 0x916], xmm0
movups xmmword [ebp - 0x848], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40fef8
xor eax, eax
jmp 0x40ff13
push dword [ebp - 0x848]
mov esi, dword [ebp - 0x878]
call esi
push dword [ebp - 0x844]
call esi
mov eax, 1
test eax, eax
jne 0x40ff31
mov esi, dword [ebp - 0x858]
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x87c]
mov esi, dword [ebp - 0x878]
test eax, eax
je 0x40ff44
push eax
call esi
mov eax, dword [ebp - 0x880]
test eax, eax
je 0x40ff51
push eax
call esi
mov byte [ebp - 4], 0x22
or eax, 0xffffffff
mov edx, dword [ebp - 0x858]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ff73
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x868], 0
je 0x40ff83
xor esi, esi
jmp 0x4100e0
push 0x118
lea eax, [ebp - 0x154]
push 0
push eax
call fcn.004573c0
add esp, 0xc
mov dword [ebp - 0x158], 0x11c
push str.RtlGetVersion
push str.NtDll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ffdc
lea ecx, [ebp - 0x158]
push ecx
call eax
test eax, eax
je 0x40ffdc
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40fff5
cmp dword [ebp - 0x154], 0xa
jb 0x40fff5
cmp byte [ebp - 0x3e], 1
mov dword [ebp - 0x860], 0
je 0x40ffff
mov dword [ebp - 0x860], 1
xor esi, esi
add edi, 0x1c
mov ecx, 1
mov dword [ebp - 0x868], ecx
nop
test ecx, ecx
je 0x410040
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x410040
mov ecx, dword [ebp - 0x86c]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
inc esi
test eax, eax
jne 0x410014
mov dword [ebp - 0x868], eax
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_GetMessageW]
mov ecx, dword [ebp - 0x868]
cmp eax, 0xffffffff
je 0x410010
test eax, eax
je 0x4100d7
mov ecx, dword [ebp - 0x86c]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test eax, eax
jne 0x4100b4
cmp dword [ebp - 0x860], eax
je 0x4100a6
mov eax, dword [ebp - 0x86c]
cmp dword [eax + 0x20], 0x20a
jne 0x4100a6
lea eax, [ebp - 0x880]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 0x87c]
push dword [ebp - 0x880]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [edi], eax
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov ecx, dword [ebp - 0x86c]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp - 0x868]
test eax, eax
je 0x410010
xor esi, esi
jmp 0x410004
mov eax, dword [ebp - 0x86c]
mov esi, dword [eax + 0x24]
lea ecx, [ebp - 0x984]
call fcn.00403270
push dword [ebp - 0x8c8]
mov dword [ebp - method.CEndSessionMgr.1.virtual_0], vtable.CEndSessionMgr.1.0
mov dword [ebp - method.CEndSessionMgr.virtual_0], vtable.CEndSessionMgr.0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41011b
push dword [ebp - 0x8c8]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x8b8]
mov dword [ebp - method.CSingletonBase_class_CEndSessionMgr_.virtual_0], vtable.CSingletonBase_class_CEndSessionMgr_.0
test eax, eax
je 0x410135
push eax
call fcn.0045402e
lea ecx, [ebp - 0x888]
mov dword [ebp - method.CCheckCloudConfigMgr.virtual_0], vtable.CCheckCloudConfigMgr.0
call fcn.00410230
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x89c]
test ecx, ecx
je 0x410174
mov edx, dword [ebp - 0x898]
call fcn.00409b20
push dword [ebp - 0x89c]
call fcn.00459833
add esp, 4
mov eax, dword [ebp - 0x8a0]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x410192
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.00454d47
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
call fcn.00408ab0
call fcn.00405520
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
call fcn.00459a0a
int3