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

Disassembly:
push 4
mov eax, 0x448b09
call fcn.0044831c
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push 0x42a192
mov dword [ebp - 4], esi
push edi
mov dword [ebp - 0x10], esi
call fcn.0042a0cb
add esp, 0xc
mov dword [ebp - 4], esi
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
cmp dword [eax - 0xc], esi
je 0x42a1e2
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov eax, edi
call fcn.004483f4
ret

Function at 0x42a22c
Capabilities:
Get common file path

Disassembly:
push 0x21c
mov eax, 0x44aefe
call fcn.00448385
mov eax, dword [ebp + 8]
mov dword [ebp - 0x220], eax
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x224]
push eax
call fcn.0042a1a3
pop ecx
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x224]
cmp dword [ecx - 0xc], ebx
je 0x42a29c
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x42a27f
mov eax, 0x45aa20
lea edx, [ebp - 0x21c]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
cmp eax, ebx
jne 0x42a29c
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x220]
call fcn.00401415
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov dword [ebp - 0x228], esi
call fcn.0040114e
mov eax, dword [ebp - 0x220]
call fcn.00448408
ret
Function at 0x42a8be
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x44a6bd
call fcn.0044831c
xor esi, esi
push 8
mov dword [ebp - 4], esi
call fcn.00436221
mov ebx, eax
pop ecx
cmp ebx, esi
je 0x42a8f7
mov edi, section..data
mov ecx, edi
mov esi, ebx
call fcn.00401577
lea esi, [ebx + 4]
mov ecx, edi
call fcn.00401577
mov esi, ebx
lea eax, [ebp + 8]
mov edi, esi
call fcn.0040488e
mov eax, dword [ebp + 0xc]
lea edi, [esi + 4]
call fcn.0040488e
lea eax, [ebp - 0x10]
push eax
xor ebx, ebx
push ebx
push esi
push 0x42a89c
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp esi, ebx
je 0x42a949
mov eax, dword [edi]
sub eax, 0x10
call fcn.0040114e
mov eax, dword [esi]
sub eax, 0x10
call fcn.0040114e
push esi
call fcn.004350cb
pop ecx
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040114e
call fcn.004483f4
ret

Function at 0x42a98a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0xc
call fcn.00436221
mov edi, eax
pop ecx
test edi, edi
je 0x42a9bd
mov ebx, section..data
lea esi, [edi + 4]
mov ecx, ebx
call fcn.00401577
lea esi, [edi + 8]
mov ecx, ebx
call fcn.00401577
mov esi, edi
jmp 0x42a9bf
xor esi, esi
mov eax, dword [ebp + 8]
lea edi, [esi + 4]
mov byte [esi], 0
call fcn.0040488e
mov eax, dword [ebp + 0xc]
lea edi, [esi + 8]
call fcn.0040488e
lea eax, [ebp - 8]
push eax
xor eax, eax
push eax
push esi
push 0x42a95a
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov al, byte [esi]
mov byte [ebp - 1], al
mov eax, dword [edi]
sub eax, 0x10
call fcn.0040114e
mov eax, dword [esi + 4]
sub eax, 0x10
call fcn.0040114e
push esi
call fcn.004350cb
mov al, byte [ebp - 1]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42aa1f
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x44ccc8
call fcn.0044831c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor esi, esi
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareMicrosoft
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], esi
call ebx
test eax, eax
jne 0x42ab3b
push dword [ebp - 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SystemCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], esi
call ebx
test eax, eax
jne 0x42ab3b
push dword [ebp - 0x10]
call edi
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareMicrosoft
push SysReAllocString
mov dword [ebp - 0x10], esi
call ebx
test eax, eax
jne 0x42ab3b
push dword [ebp - 0x10]
call edi
lea eax, [ebp - 0x18]
push eax
call fcn.0042a360
pop ecx
mov dword [ebp - 4], esi
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.00401415
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040114e
push str.SAItest.txt
lea eax, [ebp - 0x14]
call fcn.0040fc8d
push esi
push 0x80
push 4
push esi
push 2
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
je 0x42ab2c
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040114e
mov al, 1
jmp 0x42ab3d
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040114e
xor al, al
call fcn.004483f4
ret

Function at 0x42abf6
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov esi, eax
mov eax, dword [esi]
push 0
push eax
mov byte [ebp - 1], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
push edi
call fcn.004362c8
mov esi, dword [esi]
pop ecx
push eax
push edi
push 0
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42ac72
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x455290
push dword [ebp - 8]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42ac72
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 8]
mov esi, dword [ebp + 8]
mov edx, eax
shr edx, 0x10
mov word [esi], dx
mov edx, dword [ebp + 0xc]
mov word [edx], ax
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp + 0x10]
mov ecx, eax
shr ecx, 0x10
mov word [edx], cx
mov word [ebx], ax
mov byte [ebp - 1], 1
push dword [ebp - 8]
call fcn.004356f7
mov al, byte [ebp - 1]
pop ecx
pop edi
pop esi
test al, al
jne 0x42ac9b
mov edx, dword [ebp + 8]
xor ecx, ecx
mov word [edx], cx
mov edx, dword [ebp + 0xc]
mov word [edx], cx
mov edx, dword [ebp + 0x10]
mov word [edx], cx
mov word [ebx], cx
leave
ret
Function at 0x42ac9d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, 0x22c
push edi
xor ebx, ebx
push ebx
push esi
call fcn.00435b70
add esp, 0xc
push esi
push dword [ebp + 8]
mov dword [esi], edi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
jmp 0x42acd6
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 8]
je 0x42acdc
push esi
push dword [ebp + 8]
mov dword [esi], edi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x42acc2
jmp 0x42acde
mov bl, 1
pop edi
mov al, bl
pop ebx
pop ebp
ret

Function at 0x42b231
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0x218
mov eax, 0x449c5a
call fcn.00448385
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], edi
mov ecx, section..data
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], edi
call fcn.00401577
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x220], 1
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push edi
push edi
push edi
xor eax, eax
push edi
mov word [ebp - 0x212], ax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], edi
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
test eax, eax
je 0x42b2bd
push dword [ebp - 0x21c]
push 0x45ac8c
push esi
call fcn.00401766
add esp, 0xc
mov eax, esi
call fcn.00448408
ret

Function at 0x42b390
Capabilities:
Get user security identifier

Disassembly:
push 0x1c
mov eax, 0x449c1d
call fcn.0044831c
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], 8
call fcn.004014da
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
push ebx
call edi
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], ebx
je 0x42b461
push dword [ebp - 0x10]
call fcn.004362c8
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
pop ecx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
lea esi, [ebp - 0x24]
call fcn.0040151c
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push ebx
call edi
mov dword [ebp - 0x14], eax
or eax, 0xffffffff
call fcn.0040cb79
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
cmp eax, ebx
je 0x42b455
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
call fcn.0040145c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_LocalFree]
jmp 0x42b458
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x20]
call fcn.004356f7
pop ecx
cmp dword [ebp - 0x14], ebx
jne 0x42b46c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [ebp - 0x14], 1
sete bl
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.0040114e
mov al, bl
call fcn.004483f4
ret
Function at 0x42b589
Capabilities:
Check os version

Disassembly:
push 0x23c
mov eax, 0x449bed
call fcn.00448385
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 4], ebx
mov ecx, section..data
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x248], ebx
call fcn.00401577
mov edi, 0x114
push edi
xor esi, esi
lea eax, [ebp - 0x124]
push ebx
mov dword [ebp - 4], ebx
inc esi
push eax
mov dword [ebp - 0x248], esi
call fcn.00435b70
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetVersionExW]
push eax
call edi
test eax, eax
je 0x42b6f6
cmp dword [ebp - 0x114], ebx
jne 0x42b611
push str.win32.3.1
push dword [ebp - 0x244]
call fcn.0040145c
jmp 0x42b6f6
cmp dword [ebp - 0x114], esi
jne 0x42b662
mov esi, dword [ebp - 0x244]
push str.win32.
push esi
call fcn.0040145c
cmp dword [ebp - 0x11c], 0x5a
jb 0x42b63a
mov edi, 0x45ade0
jmp 0x42b64d
cmp dword [ebp - 0x11c], 0xa
mov edi, 0x45ade8
jae 0x42b64d
mov edi, 0x45adf0
push edi
call fcn.004355a2
pop ecx
push eax
push edi
mov eax, esi
call fcn.00404fd9
jmp 0x42b6f6
cmp dword [ebp - 0x114], 2
jne 0x42b6f6
mov esi, 0x11c
push esi
lea eax, [ebp - 0x240]
push ebx
push eax
call fcn.00435b70
add esp, 0xc
lea eax, [ebp - 0x240]
push eax
mov dword [ebp - 0x240], esi
call edi
test eax, eax
je 0x42b6d0
lea eax, [ebp - 0x22c]
push eax
movzx eax, word [ebp - 0x12a]
push eax
movzx eax, word [ebp - 0x12c]
push eax
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
push str.winnt._lu._lu._lu._lu___s_
push dword [ebp - 0x244]
call fcn.00401766
add esp, 0x1c
jmp 0x42b6f6
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
push str.winnt._lu._lu___s_
push dword [ebp - 0x244]
call fcn.00401766
add esp, 0x14
mov eax, dword [ebp - 0x244]
call fcn.00448408
ret

Function at 0x42bb50
Capabilities:
Get geographical location

Disassembly:
push 0x164
mov eax, 0x449b68
call fcn.00448385
and dword [ebp - 4], 0
and dword [ebp - 0x170], 0
mov esi, ecx
mov ecx, section..data
mov dword [ebp - 0x16c], esi
call fcn.00401577
and dword [ebp - 4], 0
mov edi, dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
push 0x55
lea eax, [ebp - 0x168]
push eax
push 0x59
mov esi, 0x400
push esi
mov dword [ebp - 0x170], 1
call edi
test eax, eax
jle 0x42bbda
push 0x55
lea eax, [ebp - 0xbc]
push eax
push 0x5a
push esi
call edi
test eax, eax
jle 0x42bbda
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x168]
push eax
push str._s__s
push dword [ebp - 0x16c]
call fcn.00401766
add esp, 0x10
mov eax, dword [ebp - 0x16c]
call fcn.00448408
ret
Function at 0x42c089
Capabilities:
Check os version

Disassembly:
push 0x13c
mov eax, 0x44ae13
call fcn.00448385
and dword [ebp - 4], 0
and dword [ebp - 0x144], 0
mov esi, ecx
mov edi, section..data
mov ecx, edi
mov dword [ebp - 0x12c], esi
call fcn.00401577
xor eax, eax
xor esi, esi
push eax
mov dword [ebp - 4], eax
inc esi
push eax
mov dword [ebp - 0x144], esi
mov dword [ebx], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
sete byte [ebp - 0x12d]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x42c14b
cmp eax, esi
je 0x42c14b
push 0x45af5c
lea eax, [ebp - 0x134]
push eax
call fcn.00401415
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x140]
push eax
mov dword [ebp - 4], 4
call fcn.0042c03b
pop ecx
pop ecx
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x12c]
call fcn.0040488e
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x140]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x134]
add eax, 0xfffffff0
call fcn.0040114e
jmp 0x42c2be
call fcn.0042c74d
test al, al
je 0x42c166
push str.Windows_Defender_Service
push dword [ebp - 0x12c]
call fcn.0040145c
inc dword [ebx]
mov eax, dword [ebx]
and dword [ebp - 0x13c], 0
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], esi
mov eax, dword [section..data]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 2
mov eax, dword [section..data]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x140], eax
mov edi, 0x114
push edi
lea eax, [ebp - 0x128]
push 0
push eax
mov byte [ebp - 4], 3
call fcn.00435b70
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x128], edi
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
cmp dword [ebp - 0x118], 2
jne 0x42c210
cmp dword [ebp - 0x124], 6
jb 0x42c210
push str.rootSecurityCenter2
lea esi, [ebp - 0x13c]
call fcn.00422892
push ebx
push dword [ebp - 0x12c]
mov eax, esi
push eax
lea ecx, [ebp - 0x138]
call fcn.0042c2d9
add esp, 0xc
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x148]
cmp dword [ebx], eax
jne 0x42c248
push str.rootSecurityCenter
lea esi, [ebp - 0x13c]
call fcn.00422892
push ebx
push dword [ebp - 0x12c]
mov eax, esi
push eax
lea ecx, [ebp - 0x138]
call fcn.0042c2d9
add esp, 0xc
mov dword [ebp - 0x134], eax
xor eax, eax
cmp dword [ebp - 0x134], eax
jge 0x42c276
mov ecx, dword [ebp - 0x138]
cmp dword [ecx - 0xc], eax
lea eax, [ebp - 0x138]
je 0x42c269
lea eax, [ebp - 0x140]
mov edi, dword [ebp - 0x12c]
call fcn.0040488e
jmp 0x42c28a
cmp dword [ebx], eax
jne 0x42c28a
push str.none
push dword [ebp - 0x12c]
call fcn.0040145c
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x140]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x138]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 0
push dword [ebp - 0x13c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [ebp - 0x12d], 0
je 0x42c2cd
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x12c]
call fcn.00448408
ret
Function at 0x42d332
Capabilities:
Create process on windows

Disassembly:
push 0x70
mov eax, 0x44cbc7
call fcn.0044831c
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
mov byte [ebp - 0x11], 0
jne 0x42d35c
push 0x80070057
call dword [sym.imp.KERNEL32.DLL_SetLastError]
jmp 0x42d4be
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00429e4f
pop ecx
pop ecx
push str.EnableLUA
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00401415
push str.HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.00401415
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 2
call fcn.0042e2ee
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
setne byte [ebp - 0x12]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040114e
cmp byte [ebp - 0x12], bl
je 0x42d44a
push dword [esi]
lea eax, [ebp - 0x20]
push eax
call fcn.00401415
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x20]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp word [eax], bx
je 0x42d440
sub eax, edi
sar eax, 1
js 0x42d440
mov ecx, eax
mov eax, esi
call fcn.00412225
movzx esi, ax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040114e
cmp esi, 0x49
je 0x42d415
cmp esi, 0x69
jne 0x42d44a
mov eax, dword [ebp - 0x18]
push ecx
mov esi, esp
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x1c], esi
call fcn.0040167a
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 6
mov byte [ebp - 4], bl
call fcn.0042b941
pop ecx
mov byte [ebp - 0x11], al
jmp 0x42d4af
push 0x80070057
call fcn.00401000
push 0x44
pop esi
push esi
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.00435b70
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x4c], ax
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x7c], esi
push ebx
mov dword [ebp - 0x50], 1
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x42d4af
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov byte [ebp - 0x11], 1
cmp dword [ebp - 0x30], ebx
je 0x42d4a5
push dword [ebp - 0x30]
call esi
cmp dword [ebp - 0x2c], ebx
je 0x42d4af
push dword [ebp - 0x2c]
call esi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040114e
mov al, byte [ebp - 0x11]
call fcn.004483f4
ret
Function at 0x42e127
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x44ba02
call fcn.0044831c
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp + 0x18]
mov byte [eax], bl
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
sub eax, 0x10
call fcn.0040167a
add eax, 0x10
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 2
call fcn.0042def7
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x42e2bd
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
call fcn.0042debf
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
mov byte [ebp - 4], 3
mov eax, dword [eax]
push ebx
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040114e
cmp dword [ebp - 0x14], ebx
je 0x42e2bd
mov eax, dword [esi]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x10]
push ecx
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
call edi
cmp dword [ebp - 0x1c], 4
jne 0x42e22e
cmp dword [ebp - 0x10], 4
jne 0x42e29b
cmp dword [ebp + 0x10], 4
je 0x42e1e9
cmp dword [ebp + 0x10], ebx
jne 0x42e29b
mov esi, dword [esi]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
call edi
test eax, eax
je 0x42e212
mov eax, dword [ebp + 0x14]
lea edi, [ebp - 0x18]
call fcn.0040488e
jmp 0x42e29b
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push 0x4549c8
push eax
call fcn.00401766
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov byte [eax], 1
jmp 0x42e29b
cmp dword [ebp - 0x1c], 1
jne 0x42e29b
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
cmp dword [ebp - 0x10], ebx
jne 0x42e249
lea esi, [ebp - 0x18]
call fcn.004014da
jmp 0x42e29b
add dword [ebp - 0x10], 2
push dword [ebp - 0x10]
call fcn.004362c8
mov esi, dword [esi]
pop ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 0x18], ecx
lea ecx, [ebp + 0x18]
push ecx
push eax
push ebx
push ebx
push esi
push dword [ebp - 0x14]
mov dword [ebp + 0x14], eax
call edi
test eax, eax
jne 0x42e292
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x18]
sub ecx, eax
cmp ecx, 2
jb 0x42e292
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov word [eax + ecx], dx
push ecx
lea eax, [ebp - 0x18]
push eax
call fcn.0040145c
push dword [ebp + 0x14]
call fcn.004356f7
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x18]
lea eax, [esi - 0x10]
call fcn.0040167a
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
jmp 0x42e2d4
mov esi, dword [ebp - 0x18]
lea eax, [esi - 0x10]
call fcn.0040167a
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
lea eax, [esi - 0x10]
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], bl
call fcn.0040114e
mov eax, edi
call fcn.004483f4
ret
Function at 0x42e2ee
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x44b9a6
call fcn.0044831c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
call fcn.0042def7
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x42e38c
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x10]
mov dword [ebp + 0x10], esi
call fcn.0042debf
lea ecx, [ebp + 0x10]
push ecx
push 0x20019
mov dword [ebp - 4], esi
mov eax, dword [eax]
push esi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040114e
cmp dword [ebp + 0x10], esi
je 0x42e38c
mov ebx, dword [ebp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebx]
mov dword [ebp - 0x10], esi
push dword [ebp + 0x10]
call edi
cmp dword [ebp - 0x18], 4
jne 0x42e383
cmp dword [ebp - 0x10], 4
jne 0x42e383
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push dword [ebx]
push dword [ebp + 0x10]
call edi
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
call fcn.004483f4
ret
Function at 0x434fbc
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x46ea4c], 0
push esi
push edi
jne 0x434f32
call fcn.00434e9e
test eax, eax
je 0x434f77
mov eax, dword [0x46ea4c]
cmp eax, 1
jne 0x434f53
push 0xd
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x434f77
jmp 0x434fb9
mov edi, dword [sym.imp.KERNEL32.DLL_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x434fb9
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x434f7b
xor eax, eax
jmp 0x434fb9
mov eax, dword [esi]
push dword [0x46ea4c]
call edi
mov edi, eax
test edi, edi
je 0x434f9d
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov eax, edi
jmp 0x434fb9
lea edi, [esi + 0xff0]
push esi
push dword [0x46ea4c]
call dword [sym.imp.KERNEL32.DLL_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x434fa3
mov eax, esi
pop edi
pop esi
ret
jmp 0x434f1e

Function at 0x4350d6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46b200]
jne 0x4350e0
repz ret
jmp fcn.004394a5