Function at 0x447e6d
Capabilities:
Check os version
Compare security identifiers
Create process on windows
Enumerate processes
Get common file path
Get program files directory
Link many functions at runtime

Disassembly:
push ebp
sub esp, 0xcc8
lea ebp, [esp - 4]
mov eax, dword [0x4650e0]
xor eax, ebp
mov dword [ebp + 0xcc8], eax
push 0xf8
mov eax, 0x44f1d2
call fcn.0042fb3d
mov edi, ecx
cmp dword [edi + 0x58], 1
mov esi, edx
sete al
xor ebx, ebx
mov dword [ebp - 0x2c], edi
mov byte [0x46a2a2], al
cmp esi, ebx
je 0x447eb6
mov ecx, esi
call fcn.0044759e
jmp 0x447eb8
xor eax, eax
cmp eax, ebx
jne 0x447ebe
xor esi, esi
lea eax, [ebp + 0x9bc]
cmp esi, ebx
je 0x447eda
push esi
mov edi, 0x104
push edi
push eax
call fcn.0042d016
add esp, 0xc
jmp 0x447f14
cmp dword [edi + 0x58], ebx
je 0x447eee
push eax
call fcn.00446d5f
cmp eax, ebx
je 0x447ef9
jmp 0x44943a
push ebx
push 0x26
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x15
pop esi
call fcn.00444750
push eax
lea eax, [ebp + 0x9bc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, 0x104
lea eax, [ebp + 0x9bc]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x447f1d
sub eax, edx
mov esi, 0x466800
sar eax, 1
lea ecx, [ebp + 0x9bc]
mov edx, esi
call fcn.004020f1
lea ecx, [ebp + 0x9bc]
call fcn.0044759e
cmp eax, ebx
jne 0x447f54
xor eax, eax
inc eax
jmp 0x44943a
push edi
lea eax, [ebp + 0x5a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp + 0x5a8]
push eax
add ecx, 0x5c
call fcn.0044d11d
cmp eax, ebx
jl 0x447f4c
lea eax, [ebp + 0x9bc]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x45bd54
lea eax, [ebp + 0x568]
push esi
push eax
call fcn.004038b6
add esp, 0xc
lea eax, [ebp + 0x568]
push eax
lea esi, [ebp - 0x6c]
mov dword [ebp - 4], ebx
call fcn.004026e4
xor eax, eax
mov byte [ebp - 4], 1
push 0x208
mov word [ebp + 0x7b0], ax
lea eax, [ebp + 0x7b2]
push ebx
push eax
call fcn.0042f410
add esp, 0xc
push edi
lea eax, [ebp + 0x7b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp + 0x7b0]
push eax
lea esi, [ebp + 0x584]
call fcn.0040217f
push str._regsvr32.exe
mov eax, esi
push eax
mov byte [ebp - 4], 2
call fcn.0040174a
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x44800d
lea eax, [ebp - 0x68]
push 0x45cd24
push eax
call fcn.0042dde3
pop ecx
pop ecx
test eax, eax
je 0x4480b6
mov edi, 0x45cd28
push edi
lea esi, [ebp - 0x88]
call fcn.0040217f
mov dword [ebp - 0x30], eax
push edi
lea esi, [ebp - 0xe8]
mov byte [ebp - 4], 3
call fcn.0040217f
lea ecx, [ebp - 0x6c]
push ecx
push eax
lea eax, [ebp - 0x104]
push eax
mov byte [ebp - 4], 4
call fcn.004050a4
mov byte [ebp - 4], 5
push dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004050a4
add esp, 0x18
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 6
call fcn.00402658
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x50]
call fcn.0040273f
push ebx
push edi
lea esi, [ebp - 0x104]
call fcn.0040273f
push ebx
push edi
lea esi, [ebp - 0xe8]
call fcn.0040273f
push ebx
push edi
lea esi, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.0040273f
push str.__u
lea eax, [ebp + 0x584]
push eax
call fcn.0040174a
push str.__s
lea eax, [ebp + 0x584]
push eax
call fcn.0040174a
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x6c]
lea ecx, [ebp + 0x584]
call fcn.004022f3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
sub esp, 0x1c
mov ecx, eax
mov ebx, esp
mov dword [ebp - 0x30], esp
call fcn.00405167
lea ebx, [ebp - 0x88]
call fcn.004050ef
add esp, 0x1c
push str.SYSTEM
push 6
mov byte [ebp - 4], 7
mov ecx, dword [eax + 0x14]
pop edi
call fcn.0040221f
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
lea esi, [ebp - 0x88]
inc bl
mov byte [ebp - 4], 2
call fcn.0040273f
test bl, bl
je 0x448970
sub esp, 0x1c
lea eax, [ebp + 0x584]
mov esi, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.004026e4
lea edi, [ebp - 0x88]
call fcn.00402911
add esp, 0x1c
mov byte [ebp - 4], 8
cmp dword [eax + 0x18], 0x10
jb 0x448177
mov edi, dword [eax + 4]
mov dword [ebp - 0x28], edi
jmp 0x44817f
add eax, 4
mov dword [ebp - 0x28], eax
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x44895e
push 0x103
lea eax, [ebp + 0xbc5]
push esi
push eax
mov byte [ebp + 0xbc4], 0
call fcn.0042f410
mov eax, edi
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4481aa
sub eax, ecx
cmp eax, 2
jbe 0x4481d5
cmp byte [edi + 1], 0x3a
jne 0x4481d5
push edi
lea eax, [ebp + 0xbc4]
push 0x104
push eax
call fcn.0042db0f
add esp, 0xc
jmp 0x448203
push 0x104
lea eax, [ebp + 0xbc4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp + 0xbc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push edi
lea eax, [ebp + 0xbc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov ebx, 0x110
push ebx
lea eax, [ebp + 0x118]
push esi
push eax
call fcn.0042f410
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea eax, [ebp + 0x114]
push eax
mov dword [ebp + 0x114], 0x114
mov dword [ebp - 0x20], esi
call edi
test eax, eax
je 0x448249
cmp dword [ebp + 0x118], 6
jne 0x448249
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x20], esi
jne 0x4484c6
push ebx
lea eax, [ebp + 0x458]
push esi
push eax
call fcn.0042f410
add esp, 0xc
lea eax, [ebp + 0x454]
push eax
mov dword [ebp + 0x454], 0x114
call edi
test eax, eax
je 0x448292
cmp dword [ebp + 0x458], 5
jne 0x448292
cmp dword [ebp + 0x45c], esi
je 0x4483f4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push 1
push esi
push esi
xor ebx, ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], esi
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
cmp eax, esi
je 0x4482e6
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov edi, 0x490
cmp dword [ebp - 0x10], esi
jbe 0x4482d8
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x4482d0
inc eax
add edx, 0xc
cmp eax, dword [ebp - 0x10]
jb 0x4482c1
jmp 0x4482d8
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x4482e6
mov eax, edi
jmp 0x448316
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.WTSQueryUserToken
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
jne 0x448309
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x448316
lea ecx, [ebp - 0x24]
push ecx
push ebx
call eax
cmp eax, esi
je 0x448301
xor eax, eax
cmp eax, esi
je 0x448660
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x448338
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x448658
push 0x228
lea eax, [ebp + 0x22c]
push esi
push eax
xor edi, edi
mov dword [ebp - 0x18], 0x490
call fcn.0042f410
add esp, 0xc
lea eax, [ebp + 0x228]
push eax
push ebx
mov dword [ebp + 0x228], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4483a6
lea eax, [ebp + 0x24c]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x44839b
lea eax, [ebp + 0x228]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x448371
jmp 0x4483af
mov edi, dword [ebp + 0x230]
mov dword [ebp - 0x18], esi
jmp 0x4483af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push edi
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, esi
je 0x44832d
lea eax, [ebp - 0x24]
push eax
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
jne 0x4483ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
push edi
call ebx
jmp 0x4484be
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x44832d
push 0x228
lea eax, [ebp + 0x22c]
push esi
push eax
xor ebx, ebx
mov dword [ebp - 0x18], 0x490
call fcn.0042f410
add esp, 0xc
lea eax, [ebp + 0x228]
push eax
push edi
mov dword [ebp + 0x228], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x448475
lea eax, [ebp + 0x24c]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x44846a
lea eax, [ebp + 0x228]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x448440
jmp 0x44847e
mov ebx, dword [ebp + 0x230]
mov dword [ebp - 0x18], esi
jmp 0x44847e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push ebx
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, esi
je 0x44832d
lea eax, [ebp - 0x24]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
jne 0x4484bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
push ebx
call edi
mov eax, dword [ebp - 0x18]
jmp 0x448658
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push 1
push esi
push esi
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], esi
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
cmp eax, esi
je 0x44851d
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov edi, 0x490
cmp dword [ebp - 0x10], esi
jbe 0x44850f
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x448507
inc eax
add edx, 0xc
cmp eax, dword [ebp - 0x10]
jb 0x4484f8
jmp 0x44850f
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x44851d
mov eax, edi
jmp 0x44854d
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.WTSQueryUserToken
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
jne 0x448540
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44854d
lea ecx, [ebp - 0x1c]
push ecx
push ebx
call eax
cmp eax, esi
je 0x448538
xor eax, eax
cmp eax, esi
je 0x448631
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x44856f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x448629
push 0x228
lea eax, [ebp + 0x22c]
push esi
push eax
xor ebx, ebx
mov dword [ebp - 0x18], 0x490
call fcn.0042f410
add esp, 0xc
lea eax, [ebp + 0x228]
push eax
push edi
mov dword [ebp + 0x228], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4485dd
lea eax, [ebp + 0x24c]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x4485d2
lea eax, [ebp + 0x228]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4485a8
jmp 0x4485e6
mov ebx, dword [ebp + 0x230]
mov dword [ebp - 0x18], esi
jmp 0x4485e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push ebx
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, esi
je 0x448564
lea eax, [ebp - 0x1c]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
jne 0x448623
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
push ebx
call edi
mov eax, dword [ebp - 0x18]
cmp eax, esi
jne 0x448950
lea eax, [ebp + 0x5a0]
push eax
push 4
lea eax, [ebp - 0x34]
push eax
push 0x13
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
mov eax, dword [ebp - 0x1c]
je 0x448653
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
xor eax, eax
cmp eax, esi
jne 0x448950
push 0x40
lea eax, [ebp - 0xc8]
push esi
push eax
mov dword [ebp - 0xcc], 0x44
call fcn.0042f410
xor eax, eax
mov dword [ebp - 0x44], esi
add esp, 0xc
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [ebp + 0x5a0]
push eax
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x1c], esi
mov byte [ebp + 0x5a0], 0
mov byte [ebp + 0x5a1], 0
mov byte [ebp + 0x5a2], 0
mov byte [ebp + 0x5a3], 0
mov byte [ebp + 0x5a4], 0
mov byte [ebp + 0x5a5], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x448756
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push 2
push ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x4486fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x448756
push dword [ebp - 0x18]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push edi
push 2
push ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x44874b
mov dword [ebp - 0x34], esi
cmp dword [edi], esi
jbe 0x44874b
lea ebx, [edi + 4]
push dword [ebx]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x448747
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
add ebx, 8
cmp eax, dword [edi]
jb 0x448729
jmp 0x44874b
mov byte [ebp - 0x11], 1
cmp edi, esi
je 0x448756
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x1c], esi
je 0x448764
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp byte [ebp - 0x11], 0
jne 0x448864
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
push 1
push esi
push esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
cmp eax, esi
jne 0x4487cc
push 0x110
lea eax, [ebp + 4]
push esi
push eax
call fcn.0042f410
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4487c7
cmp dword [ebp + 4], 6
jne 0x4487c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x448800
mov dword [ebp - 0x20], esi
jmp 0x448804
mov edx, dword [ebp - 0x30]
xor eax, eax
mov edi, 0x490
cmp dword [ebp - 0x34], esi
jbe 0x4487f8
lea ecx, [edx + 8]
cmp dword [ecx], esi
je 0x4487ed
inc eax
add ecx, 0xc
cmp eax, dword [ebp - 0x34]
jb 0x4487de
jmp 0x4487f8
imul eax, eax, 0xc
mov eax, dword [eax + edx]
mov dword [ebp - 0x20], eax
xor edi, edi
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, edi
cmp eax, esi
jne 0x448864
lea eax, [ebp - 0x18]
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp dword [ebp - 0x18], esi
je 0x448864
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
push esi
push 0x2000000
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push dword [ebp - 0x18]
cmp dword [ebp - 0x1c], esi
jne 0x448843
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x448864
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 4
lea eax, [ebp - 0x20]
push eax
push 0xc
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x448864
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
push str.userenv.dll
mov dword [ebp - 0xc4], str.Winsta0Default
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x4488c8
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
call edi
push str.DestroyEnvironmentBlock
push dword [ebp - 0x1c]
mov ebx, eax
call edi
mov dword [ebp - 0x20], eax
cmp ebx, esi
je 0x4488c8
push esi
push dword [ebp - 0x24]
lea eax, [ebp - 0x10]
push eax
call ebx
test eax, eax
je 0x4488c5
mov dword [ebp - 0x30], 0x430
jmp 0x4488c8
mov dword [ebp - 0x10], esi
mov edi, 0x103
push edi
lea eax, [ebp + 0x465]
push esi
push eax
mov byte [ebp + 0x464], 0
call fcn.0042f410
push dword [ebp - 0x28]
lea eax, [ebp + 0x464]
push edi
push eax
call fcn.0042db0f
add esp, 0x18
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xcc]
push eax
push esi
push dword [ebp - 0x10]
lea eax, [ebp + 0x464]
push dword [ebp - 0x30]
push esi
push esi
push esi
push eax
push esi
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
cmp dword [ebp - 0x44], esi
je 0x448929
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x40], esi
je 0x448937
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20], esi
je 0x448942
push dword [ebp - 0x10]
call dword [ebp - 0x20]
cmp dword [ebp - 0x1c], esi
je 0x448950
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x24], esi
je 0x44895e
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 1
lea ecx, [ebp - 0x88]
call fcn.00401ccf
xor edi, edi
jmp 0x4489dc
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0xcc]
push edi
push eax
call fcn.0042f410
mov eax, dword [ebp + 0x588]
add esp, 0xc
cmp dword [ebp + 0x59c], 8
mov dword [ebp - 0xcc], esi
jae 0x4489a1
lea eax, [ebp + 0x588]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0xcc]
push ecx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4489dc
push 0xdbba0
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x40]
call esi
xor ebx, ebx
push edi
inc ebx
push ebx
lea esi, [ebp + 0x584]
call fcn.0040273f
push edi
push ebx
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 0
call fcn.0040273f
mov eax, dword [ebp - 0x2c]
push eax
mov dword [eax + 0x54], ebx
call fcn.00447258
lea eax, [ebp + 0x568]
push eax
lea esi, [ebp - 0x6c]
call fcn.004026e4
xor eax, eax
mov byte [ebp - 4], 9
push 0x208
mov word [ebp + 0x7b0], ax
lea eax, [ebp + 0x7b2]
push edi
push eax
call fcn.0042f410
add esp, 0xc
push 0x104
lea eax, [ebp + 0x7b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp + 0x7b0]
push eax
lea esi, [ebp + 0x584]
call fcn.0040217f
push str._regsvr32.exe
mov eax, esi
push eax
mov byte [ebp - 4], 0xa
call fcn.0040174a
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x448a78
lea eax, [ebp - 0x68]
push 0x45cd24
push eax
call fcn.0042dde3
pop ecx
pop ecx
test eax, eax
je 0x448b20
mov edi, 0x45cd28
push edi
lea esi, [ebp - 0x50]
call fcn.0040217f
mov dword [ebp - 0x2c], eax
push edi
lea esi, [ebp - 0x104]
mov byte [ebp - 4], 0xb
call fcn.0040217f
lea ecx, [ebp - 0x6c]
push ecx
push eax
lea eax, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 0xc
call fcn.004050a4
mov byte [ebp - 4], 0xd
push dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004050a4
add esp, 0x18
push 0xffffffffffffffff
xor edi, edi
push edi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xe
call fcn.00402658
push edi
push ebx
lea esi, [ebp - 0x88]
call fcn.0040273f
push edi
push ebx
lea esi, [ebp - 0xe8]
call fcn.0040273f
push edi
push ebx
lea esi, [ebp - 0x104]
call fcn.0040273f
push edi
push ebx
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 0xa
call fcn.0040273f
push 0x45cd2c
lea eax, [ebp + 0x584]
push eax
call fcn.0040174a
push str.__s
lea eax, [ebp + 0x584]
push eax
call fcn.0040174a
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x6c]
lea ecx, [ebp + 0x584]
call fcn.004022f3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
sub esp, 0x1c
mov ecx, eax
mov ebx, esp
mov dword [ebp + 0x5a0], esp
call fcn.00405167
lea ebx, [ebp - 0x88]
call fcn.004050ef
add esp, 0x1c
push str.SYSTEM
push 6
mov byte [ebp - 4], 0xf
mov ecx, dword [eax + 0x14]
pop edi
call fcn.0040221f
neg eax
sbb al, al
xor ebx, ebx
push ebx
inc al
push 1
lea esi, [ebp - 0x88]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 0xa
call fcn.0040273f
cmp byte [ebp - 0x11], bl
je 0x449392
sub esp, 0x1c
lea eax, [ebp + 0x584]
mov esi, esp
mov dword [ebp + 0x5a0], esp
push eax
call fcn.004026e4
lea edi, [ebp - 0x88]
call fcn.00402911
add esp, 0x1c
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x18], 0x10
jb 0x448beb
mov edi, dword [eax + 4]
mov dword [ebp - 0x34], edi
jmp 0x448bf3
add eax, 4
mov dword [ebp - 0x34], eax
mov edi, eax
cmp edi, ebx
je 0x449382
push 0x103
lea eax, [ebp + 0xbc5]
push ebx
push eax
mov byte [ebp + 0xbc4], bl
call fcn.0042f410
mov eax, edi
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x448c1b
sub eax, esi
cmp eax, 2
jbe 0x448c46
cmp byte [edi + 1], 0x3a
jne 0x448c46
push edi
lea eax, [ebp + 0xbc4]
push 0x104
push eax
call fcn.0042db0f
add esp, 0xc
jmp 0x448c74
push 0x104
lea eax, [ebp + 0xbc4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp + 0xbc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push edi
lea eax, [ebp + 0xbc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov edi, 0x110
push edi
lea eax, [ebp + 4]
push ebx
push eax
call fcn.0042f410
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], 0x114
mov dword [ebp - 0x2c], ebx
call esi
test eax, eax
je 0x448cae
cmp dword [ebp + 4], 6
jne 0x448cae
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x2c], ebx
jne 0x448ee0
push edi
lea eax, [ebp + 0x458]
push ebx
push eax
call fcn.0042f410
add esp, 0xc
lea eax, [ebp + 0x454]
push eax
mov dword [ebp + 0x454], 0x114
call esi
test eax, eax
je 0x448cfa
cmp dword [ebp + 0x458], 5
jne 0x448cfa
cmp dword [ebp + 0x45c], ebx
je 0x448e0e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push ebx
push ebx
xor edi, edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
cmp eax, ebx
je 0x448d4e
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov esi, 0x490
cmp dword [ebp - 0x28], ebx
jbe 0x448d40
lea edx, [ecx + 8]
cmp dword [edx], ebx
je 0x448d38
inc eax
add edx, 0xc
cmp eax, dword [ebp - 0x28]
jb 0x448d29
jmp 0x448d40
imul eax, eax, 0xc
mov edi, dword [eax + ecx]
xor esi, esi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp esi, ebx
je 0x448d4e
mov eax, esi
jmp 0x448d7e
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.WTSQueryUserToken
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x448d71
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x448d7e
lea ecx, [ebp - 0x24]
push ecx
push edi
call eax
cmp eax, ebx
je 0x448d69
xor eax, eax
cmp eax, ebx
je 0x44907a
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x448da0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x449072
push 0x228
lea eax, [ebp + 0x22c]
push ebx
push eax
xor esi, esi
mov dword [ebp - 0x10], 0x490
call fcn.0042f410
add esp, 0xc
lea eax, [ebp + 0x228]
push eax
push edi
mov dword [ebp + 0x228], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x448e8f
lea eax, [ebp + 0x24c]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x448e84
lea eax, [ebp + 0x228]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x448ddd
jmp 0x448e98
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x448d95
push 0x228
lea eax, [ebp + 0x22c]
push ebx
push eax
xor esi, esi
mov dword [ebp - 0x10], 0x490
call fcn.0042f410
add esp, 0xc
lea eax, [ebp + 0x228]
push eax
push edi
mov dword [ebp + 0x228], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x448e8f
lea eax, [ebp + 0x24c]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x448e84
lea eax, [ebp + 0x228]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x448e5a
jmp 0x448e98
mov esi, dword [ebp + 0x230]
mov dword [ebp - 0x10], ebx
jmp 0x448e98
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x448d95
lea eax, [ebp - 0x24]
push eax
push 0xf01ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, ebx
jne 0x448ed5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
push esi
call edi
mov eax, dword [ebp - 0x10]
jmp 0x449072
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push ebx
push ebx
mov dword [ebp - 0x1c], ebx
xor edi, edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
cmp eax, ebx
je 0x448f37
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov esi, 0x490
cmp dword [ebp - 0x28], ebx
jbe 0x448f29
lea edx, [ecx + 8]
cmp dword [edx], ebx
je 0x448f21
inc eax
add edx, 0xc
cmp eax, dword [ebp - 0x28]
jb 0x448f12
jmp 0x448f29
imul eax, eax, 0xc
mov edi, dword [eax + ecx]
xor esi, esi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp esi, ebx
je 0x448f37
mov eax, esi
jmp 0x448f67
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.WTSQueryUserToken
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x448f5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x448f67
lea ecx, [ebp - 0x1c]
push ecx
push edi
call eax
cmp eax, ebx
je 0x448f52
xor eax, eax
cmp eax, ebx
je 0x44904b
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x448f89
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x449043
push 0x228
lea eax, [ebp + 0x22c]
push ebx
push eax
xor esi, esi
mov dword [ebp - 0x10], 0x490
call fcn.0042f410
add esp, 0xc
lea eax, [ebp + 0x228]
push eax
push edi
mov dword [ebp + 0x228], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x448ff7
lea eax, [ebp + 0x24c]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x448fec
lea eax, [ebp + 0x228]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x448fc2
jmp 0x449000
mov esi, dword [ebp + 0x230]
mov dword [ebp - 0x10], ebx
jmp 0x449000
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x448f7e
lea eax, [ebp - 0x1c]
push eax
push 0xf01ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, ebx
jne 0x44903d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
push esi
call edi
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jne 0x449371
lea eax, [ebp + 0x5a0]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push 0x13
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
mov eax, dword [ebp - 0x1c]
je 0x44906d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
xor eax, eax
cmp eax, ebx
jne 0x449371
push 0x40
lea eax, [ebp - 0xc8]
push ebx
push eax
mov dword [ebp - 0xcc], 0x44
call fcn.0042f410
xor eax, eax
mov dword [ebp - 0x44], ebx
add esp, 0xc
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
mov esi, dword [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp + 0x5a0]
push eax
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x10], ebx
mov byte [ebp + 0x5a0], bl
mov byte [ebp + 0x5a1], bl
mov byte [ebp + 0x5a2], bl
mov byte [ebp + 0x5a3], bl
mov byte [ebp + 0x5a4], bl
mov byte [ebp + 0x5a5], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x44916a
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x449111
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x44916a
push dword [ebp - 0x28]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
push edi
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x44915f
mov dword [ebp - 0x20], ebx
cmp dword [edi], ebx
jbe 0x44915f
lea esi, [edi + 4]
push dword [esi]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x44915b
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
add esi, 8
cmp eax, dword [edi]
jb 0x44913d
jmp 0x44915f
mov byte [ebp - 0x11], 1
cmp edi, ebx
je 0x44916a
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x10], ebx
je 0x449178
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp byte [ebp - 0x11], bl
jne 0x449283
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push ebx
push ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
cmp eax, ebx
jne 0x4491eb
push 0x110
lea eax, [ebp + 0x118]
push ebx
push eax
call fcn.0042f410
add esp, 0xc
lea eax, [ebp + 0x114]
push eax
mov dword [ebp + 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4491e6
cmp dword [ebp + 0x118], 6
jne 0x4491e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44921f
mov dword [ebp - 0x20], ebx
jmp 0x449223
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov esi, 0x490
cmp dword [ebp - 0x28], ebx
jbe 0x449217
lea ecx, [edx + 8]
cmp dword [ecx], ebx
je 0x44920c
inc eax
add ecx, 0xc
cmp eax, dword [ebp - 0x28]
jb 0x4491fd
jmp 0x449217
imul eax, eax, 0xc
mov eax, dword [eax + edx]
mov dword [ebp - 0x20], eax
xor esi, esi
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, esi
cmp eax, ebx
jne 0x449283
lea eax, [ebp - 0x18]
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp dword [ebp - 0x18], ebx
je 0x449283
lea eax, [ebp - 0x10]
push eax
push 1
push 1
push ebx
push 0x2000000
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push dword [ebp - 0x18]
cmp dword [ebp - 0x10], ebx
jne 0x449262
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x449283
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 4
lea eax, [ebp - 0x20]
push eax
push 0xc
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x449283
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
push str.userenv.dll
mov dword [ebp - 0xc4], str.Winsta0Default
mov dword [ebp - 0x2c], 0x30
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4492e7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
call esi
push str.DestroyEnvironmentBlock
push dword [ebp - 0x10]
mov edi, eax
call esi
mov dword [ebp - 0x28], eax
cmp edi, ebx
je 0x4492e7
push ebx
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
je 0x4492e4
mov dword [ebp - 0x2c], 0x430
jmp 0x4492e7
mov dword [ebp - 0x1c], ebx
mov esi, 0x103
push esi
lea eax, [ebp + 0x465]
push ebx
push eax
mov byte [ebp + 0x464], bl
call fcn.0042f410
push dword [ebp - 0x34]
lea eax, [ebp + 0x464]
push esi
push eax
call fcn.0042db0f
add esp, 0x18
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xcc]
push eax
push ebx
push dword [ebp - 0x1c]
lea eax, [ebp + 0x464]
push dword [ebp - 0x2c]
push ebx
push ebx
push ebx
push eax
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x44], ebx
je 0x44934a
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x40], ebx
je 0x449358
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], ebx
je 0x449363
push dword [ebp - 0x1c]
call dword [ebp - 0x28]
cmp dword [ebp - 0x10], ebx
je 0x449371
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x24], ebx
je 0x44937f
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x30]
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.00401ccf
jmp 0x4493fc
push 0x44
pop esi
push esi
lea eax, [ebp - 0xcc]
push ebx
push eax
call fcn.0042f410
mov eax, dword [ebp + 0x588]
add esp, 0xc
cmp dword [ebp + 0x59c], 8
mov dword [ebp - 0xcc], esi
jae 0x4493c1
lea eax, [ebp + 0x588]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0xcc]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4493fc
push 0xdbba0
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x40]
call esi
push ebx
push 1
lea esi, [ebp + 0x584]
call fcn.0040273f
push ebx
push 1
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.0040273f
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.0044798f
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
push 1
lea esi, [ebp + 0x568]
call fcn.0040273f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xcc8]
xor ecx, ebp
call fcn.0042cac7
add ebp, 0xccc
leave
ret