joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47b3bd
Capabilities:
Create directory

Disassembly:
push 0x20
mov eax, 0x51f987
call fcn.004d8abf
mov dword [ebp - 0x1c], edx
mov edi, ecx
mov dword [ebp - 0x20], edi
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], eax
call fcn.004282f6
mov esi, eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004283a1
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.0040a037
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00407189
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x47b472
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x257e
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
mov ecx, edi
call fcn.00406620
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
jmp 0x47b530
push dword [ebp + 0x14]
lea eax, [ebp + 0xc]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.004044ab
mov byte [ebp - 4], 7
mov ebx, dword [ebp + 8]
push ecx
mov esi, esp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x2c], esi
lea ecx, [ebx - 0x10]
call fcn.004070e7
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 8
mov esi, esp
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], esi
lea ecx, [ecx - 0x10]
call fcn.004070e7
mov edx, dword [ebp - 0x1c]
add eax, 0x10
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00478f85
mov byte [ebp - 4], 9
add esp, 0x10
mov ecx, dword [ebp - 0x10]
mov esi, esp
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x2c], esi
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
xor ecx, ecx
mov dword [esi], eax
call fcn.00428b15
pop ecx
test eax, eax
jns 0x47b522
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
mov ecx, dword [ebp - 0x10]
mov esi, esp
mov dword [ebp - 0x2c], esi
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
xor ecx, ecx
mov dword [esi], eax
call fcn.00428b15
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x47b541
call fcn.00405adf
mov eax, edi
call fcn.004d8a8d
ret
Function at 0x47bb80
Capabilities:
Create directory

Disassembly:
push 0x30
mov eax, 0x51fafc
call fcn.004d8abf
mov dword [ebp - 0x1c], edx
mov edi, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 3
call fcn.004282f6
mov esi, eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004283a1
push esi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.0040a037
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00407189
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x47bc5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x2625
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
mov ecx, edi
call fcn.00406620
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x47bc46
call fcn.00405adf
mov ecx, dword [ebp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 0x20]
lea ecx, [ecx - 0x10]
jmp 0x47bd79
mov ebx, dword [ebp + 0x20]
push ecx
mov esi, esp
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0x24], esi
lea ecx, [ebx - 0x10]
call fcn.004070e7
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 9
mov eax, dword [ebp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
mov ecx, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x24], eax
call fcn.004070e7
add eax, 0x10
mov dword [esi], eax
push dword [ebp + 0x18]
lea eax, [ebp + 0xc]
push dword [ebp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.004044ab
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x38], esp
mov esi, esp
mov ecx, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x20], eax
call fcn.004070e7
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0xc
mov esi, esp
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x3c], esi
lea ecx, [ecx - 0x10]
call fcn.004070e7
mov edx, dword [ebp - 0x1c]
add eax, 0x10
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0047b549
mov byte [ebp - 4], 0xd
add esp, 0x1c
mov ecx, dword [ebp - 0x10]
mov esi, esp
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x3c], esi
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
xor ecx, ecx
mov dword [esi], eax
call fcn.00428b15
pop ecx
test eax, eax
jns 0x47bd4f
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
mov ecx, dword [ebp - 0x10]
mov esi, esp
mov dword [ebp - 0x3c], esi
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
xor ecx, ecx
mov dword [esi], eax
call fcn.00428b15
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x20]
call fcn.00407189
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x47bd6e
call fcn.00405adf
mov ecx, dword [ebp - 0x24]
call fcn.00407189
lea ecx, [ebx - 0x10]
call fcn.00407189
mov eax, edi
call fcn.004d8a8d
ret
Function at 0x47cd66
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x10
mov eax, 0x51fd3a
call fcn.004d8abf
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 1
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
mov dword [ebp - 0x10], esi
cmp dword [esi + 4], 0
jne 0x47cdb2
push 0x26e3
push 0x80004005
push ecx
mov ecx, esp
push str.Invalid_path._Installer_might_be_out_of_date.
call fcn.00406fea
mov ecx, edi
call fcn.00406620
jmp 0x47ce3c
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.00405d6e
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x47cdff
push ecx
mov ecx, dword [ebp - 0x10]
mov esi, esp
mov dword [ebp - 0x14], esi
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x14]
mov dword [esi], eax
call fcn.004295ad
pop ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00405d6e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov esi, dword [ebp - 0x10]
push 0x5c
mov ecx, ebx
call fcn.004aedc7
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x47ce2d
call fcn.00406710
push 0x26ef
push eax
push ecx
mov ecx, esp
push str.Invalid_target_directory
jmp 0x47cda1
and dword [edi], 0
lea ecx, [edi + 8]
and dword [edi + 4], 0
call fcn.0040687a
mov ecx, esi
call fcn.00407189
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, edi
call fcn.004d8a8d
ret
Function at 0x485d99
Capabilities:
Connect network resource

Disassembly:
push 0x38
mov eax, 0x5212a5
call fcn.004d8abf
mov byte [ebp - 0xd], dl
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
push ecx
mov ecx, esp
mov dword [ebp - 4], 3
push 0x54c788
call fcn.00406fea
xor dl, dl
lea ecx, [ebp + 8]
call fcn.0042af8e
push 8
pop ecx
push dword [ebp + 0x14]
xor eax, eax
lea edi, [ebp - 0x44]
push dword [ebp + 8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push str._ws_ws
push eax
call fcn.004011e0
add esp, 0x14
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 1
jle 0x485e10
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
call fcn.00406d8c
mov eax, dword [ebp - 0x14]
cmp byte [ebp - 0xd], 0
lea edi, [esi - 0x10]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], edi
je 0x485e41
mov ecx, dword [edi + 4]
xor eax, eax
test ecx, ecx
push 4
cmovne eax, esi
push eax
xor eax, eax
test ecx, ecx
cmovne eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
jmp 0x485e4c
push 0
push 0
push eax
call dword [sym.imp.MPR.dll_WNetCancelConnection2W]
test eax, eax
je 0x485eb9
mov edi, dword [ebp + 0x14]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x2dd1
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov esi, esp
lea ecx, [edi - 0x10]
mov dword [ebp - 0x18], esi
call fcn.004070e7
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.00406620
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x1c]
call fcn.00407189
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [edi - 0x10]
jmp 0x485ef6
and dword [ebx], 0
lea ecx, [ebx + 8]
and dword [ebx + 4], 0
call fcn.0040687a
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, edi
call fcn.00407189
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, ebx
call fcn.004d8a8d
ret
Function at 0x485f03
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov ecx, dword [0x57d3ec]
add ecx, 0xf8
call fcn.00436352
mov esi, dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x485f73
mov dword [edi], esi
mov eax, dword [0x57d3ec]
mov eax, dword [eax + 0xf8]
cmp eax, 0xffffffff
je 0x485f5f
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, dword [ebp + 8]
lea ecx, [esi + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.0040687a
mov eax, esi
jmp 0x485faf
cmp eax, 1
jne 0x485f91
push 0x2deb
push 0x80004004
push ecx
mov ecx, esp
push str.User_abort
call fcn.00406fea
jmp 0x485fa4
call fcn.00406710
push 0x2def
push eax
push ecx
mov ecx, esp
call fcn.0040687a
mov ecx, dword [ebp + 8]
call fcn.00406620
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x488c22
Capabilities:
Set thread local storage value

Disassembly:
push 0x28
mov eax, 0x521a07
call fcn.004d8abf
mov esi, ecx
push dword [esi + 0x4c]
lea eax, [ebp - 0x14]
xor edi, edi
push str._wsADMIN_
push eax
call fcn.004011e0
add esp, 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 1
mov ecx, dword [0x57d3ec]
mov eax, dword [esi]
add ecx, 8
push ecx
add eax, 0x14
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00485f03
mov byte [ebp - 4], 2
cmp dword [ebp - 0x28], edi
jge 0x488d0a
cmp dword [ebp - 0x24], edi
mov eax, 0x3033
cmovne eax, dword [ebp - 0x24]
push eax
push dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x20]
mov esi, esp
mov dword [ebp - 0x1c], esi
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x34]
mov dword [esi], eax
call fcn.00406620
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 3
call fcn.0040121b
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x488cf7
push edi
push 1
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov eax, dword [0x57d3ec]
mov ecx, dword [eax + 0xf8]
cmp ecx, 0xffffffff
je 0x488cf7
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00407189
mov eax, dword [ebp + 8]
jmp 0x488d8a
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00407189
push ecx
mov ecx, dword [ebp - 0x14]
mov esi, esp
mov dword [ebp - 0x1c], esi
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x34]
mov dword [esi], eax
call fcn.00457cc5
pop ecx
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x488d6d
push edi
push 1
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov eax, dword [0x57d3ec]
mov eax, dword [eax + 0xf8]
cmp eax, 0xffffffff
je 0x488d6d
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, dword [ebp + 8]
lea ecx, [esi + 8]
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.0040687a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00407189
mov eax, esi
call fcn.004d8a8d
ret 4
Function at 0x488f09
Capabilities:
Create thread

Disassembly:
push 0x14
mov eax, 0x521aa3
call fcn.004d8abf
mov edi, ecx
push 8
call fcn.004d8429
mov ebx, eax
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp + 0xc]
xor eax, eax
push eax
push eax
push ebx
push 0x488d92
mov dword [ebp - 4], eax
push eax
mov dword [ebx], edi
push eax
mov dword [ebx + 4], esi
call fcn.004f5f5d
add esp, 0x1c
mov dword [edi + esi*4 + 0x38], eax
test eax, eax
jne 0x488fa8
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x3059
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x20]
call fcn.00406620
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.0040121b
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00407189
push 8
push ebx
call fcn.004d840d
mov eax, dword [ebp + 8]
pop ecx
pop ecx
jmp 0x488fbc
mov esi, dword [ebp + 8]
and dword [esi], 0
lea ecx, [esi + 8]
and dword [esi + 4], 0
call fcn.0040687a
mov eax, esi
call fcn.004d8a8d
ret 8
Function at 0x48d4b0
Capabilities:
Set registry value

Disassembly:
push 0x150
mov eax, 0x52250c
call fcn.004d8af2
mov ebx, ecx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x130], ebx
xor edi, edi
call fcn.00428aa8
test al, al
jne 0x48d4f4
push edi
push 1
push ecx
mov ecx, esp
push str.Not_running_as_SYSTEM
call fcn.00406fea
mov ecx, ebx
call fcn.00406620
jmp 0x48d701
lea ecx, [ebp - 0x12c]
call fcn.0042b0ee
cmp dword [eax + 4], 6
jae 0x48d512
push edi
push 1
push ecx
mov ecx, esp
push str.OS_not_supported
jmp 0x48d4e3
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x138], edi
push 0xf003f
push str.S_1_5_18SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
push reloc.ACTIVEDS.dll_ADsGetObject
lea ecx, [ebp - 0x140]
mov dword [ebp - 4], edi
call fcn.004d6087
test eax, eax
je 0x48d586
movzx ecx, ax
or ecx, 0x80070000
mov dword [ebx + 4], 0x34bc
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
lea ecx, [ebx + 8]
mov dword [ebx], eax
call fcn.0040687a
cmp dword [ebp - 0x140], 0
je 0x48d701
push dword [ebp - 0x140]
jmp 0x48d6fb
lea ecx, [ebp - 0x130]
call fcn.0040687a
mov byte [ebp - 4], 1
lea eax, [ebp - 0x130]
mov esi, dword [ebp - 0x140]
mov edx, str.AppData
push eax
mov ecx, esi
call fcn.0042b675
pop ecx
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], edi
call fcn.0040687a
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14c], 0
jge 0x48d64f
cmp dword [ebp - 0x148], 0
mov eax, 0x34bf
mov edi, dword [ebp - 0x144]
cmovne eax, dword [ebp - 0x148]
push eax
push dword [ebp - 0x14c]
push ecx
mov esi, esp
lea ecx, [edi - 0x10]
mov dword [ebp - 0x134], esi
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x15c]
mov dword [esi], eax
call fcn.00406620
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x154]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [edi - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x130]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x48d56e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x144]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov edx, str._APPDATA_
lea ecx, [ebp - 0x130]
call fcn.004044d6
test al, al
jne 0x48d68e
push edi
push 1
push ecx
mov ecx, esp
push str.Value_not_found
call fcn.00406fea
mov ecx, ebx
call fcn.00406620
jmp 0x48d6e8
mov edi, str._USERPROFILE_AppDataRoaming
push edi
call fcn.004ddaa2
pop ecx
lea eax, [eax*2 + 2]
push eax
push edi
push 2
xor edi, edi
push edi
push str.AppData
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x48d6db
movzx ecx, ax
or ecx, 0x80070000
mov dword [ebx + 4], 0x34c6
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
mov dword [ebx], eax
jmp 0x48d6e0
mov dword [ebx], edi
mov dword [ebx + 4], edi
lea ecx, [ebx + 8]
call fcn.0040687a
mov ecx, dword [ebp - 0x130]
lea ecx, [ecx - 0x10]
call fcn.00407189
test esi, esi
je 0x48d701
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
call fcn.004d8aa1
ret
Function at 0x4978f1
Capabilities:
Terminate process

Disassembly:
push 0x10
mov eax, 0x523b62
call fcn.004d8abf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.004977e7
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp - 0x10]
push edi
push 0x1f003f
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
mov esi, eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
test esi, esi
jne 0x49795b
call fcn.00406710
push edi
push edi
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.004d5f06
pop ecx
pop ecx
push edi
push str.Error
push dword [eax]
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
push 0x100
push edi
push edi
push str.Default
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov edi, eax
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x4979a3
push edi
call dword [sym.imp.USER32.dll_SwitchDesktop]
test eax, eax
je 0x4979a3
test esi, esi
je 0x497992
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4979d8
call fcn.00406710
push 0
push 0
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.004d5f06
pop ecx
pop ecx
push 0
push str.Error
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
test edi, edi
je 0x4979df
push edi
call dword [sym.imp.USER32.dll_CloseDesktop]
test esi, esi
je 0x4979ea
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
call fcn.004d8a8d
ret 0xc
Function at 0x497a28
Capabilities:
Create process on windows

Disassembly:
push 0x14
mov eax, 0x523bb4
call fcn.004d8abf
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x10]
call fcn.0040687a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
mov edx, dword [ebp + 8]
push 1
call fcn.0042cce9
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp - 0x14]
push str._ws___ws___d
push eax
call fcn.00409fd2
mov byte [ebp - 4], 2
add esp, 0x18
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea eax, [ebp - 0x10]
mov edx, str.An_error_occurred.__r_n_r_n
push eax
lea ecx, [ebp - 0x14]
call fcn.004093b4
pop ecx
push ebx
push str.Error
push dword [eax]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00407189
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.multiget
call fcn.00406fea
mov byte [ebp - 4], 4
mov edi, dword [ebp + 0x14]
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x20], esi
lea ecx, [edi - 0x10]
call fcn.004070e7
add eax, 0x10
mov dword [esi], eax
sub esp, 0xc
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0040121b
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0043aee4
add esp, 0x14
push 1
push ebx
push ebx
push dword [ebp - 0x18]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [edi - 0x10]
call fcn.00407189
call fcn.004d8a8d
ret

Function at 0x498c24
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ebx - 0xe0807bb]
test edx, edx
je 0x498c34
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00498946
cdq
invalid
Function at 0x49dab7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push str.http:__ninite.com_help_enterprise_connections.html_sourceclient
lea ecx, [ebp - 4]
call fcn.00406fea
push 1
xor eax, eax
push eax
push eax
push dword [ebp - 4]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00407189
xor eax, eax
leave
ret 4

Function at 0x49fee0
Capabilities:
Create process on windows

Disassembly:
push 0x10
mov eax, 0x52498b
call fcn.004d8abf
mov esi, ecx
mov eax, dword [0x57d3ec]
add eax, 0x54
mov byte [ebp - 0xd], 1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0044f24f
lea ecx, [ebp - 0xd]
mov bl, byte [eax + 0x114]
or dword [ebp - 4], 0xffffffff
call fcn.0044f694
test bl, bl
je 0x49ff36
push dword [esi + 4]
mov byte [0x57d393], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4a001f
mov eax, dword [ebp + 8]
xor ebx, ebx
inc ebx
cmp dword [eax + 0x10], ebx
jne 0x49ff4e
push ebx
mov ecx, esi
call fcn.004a0fca
jmp 0x4a001f
cmp byte [esi + 0xc4], 0
lea ecx, [ebp + 8]
je 0x49ff7b
push str.http:__ninite.com_share__sourceclient
call fcn.00406fea
push ebx
push edi
push edi
push dword [ebp + 8]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4a0014
call fcn.0040687a
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 0x30]
add ecx, 0xc
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x18]
mov dword [esi], eax
call fcn.0042a066
pop ecx
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp + 8]
push str._sourcemultigetkey_ws
push eax
call fcn.00409fd2
mov byte [ebp - 4], bl
add esp, 0xc
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00407189
push str.https:__ninite.com_help_errors_
lea ecx, [ebp - 0x14]
call fcn.00406fea
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.0040a037
pop ecx
push ebx
push edi
push edi
push dword [eax]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
xor eax, eax
call fcn.004d8a8d
ret 4