joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430590
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x4406b6
call fcn.0043cb80
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x444f18
mov dword [esi + 4], 0x443250
mov dword [esi + 8], 0x443284
mov dword [esi + 0xc], 0x443d68
mov dword [esi + 0x10], 0x444f04
mov dword [esi + 0x14], 0x444ef4
mov dword [esi + 0x18], 0x443274
mov dword [esi + 0x1c], 0x443264
mov dword [esi + 0x20], 0x444eec
mov dword [esi + 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
or dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
call fcn.00402bec
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.00402bec
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 6
call fcn.00402bec
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
or dword [esi + 0xa8], 0xffffffff
mov byte [ebp - 4], 8
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xac], ebx
mov byte [esi + 0xb0], bl
mov byte [esi + 0xb1], bl
mov byte [esi + 0xb2], bl
mov byte [esi + 0xb3], bl
mov byte [esi + 0xb4], bl
mov byte [esi + 0xb5], bl
mov byte [esi + 0xb6], bl
mov byte [esi + 0xb7], bl
mov byte [esi + 0xba], bl
mov byte [esi + 0xbb], bl
mov dword [esi + 0xc4], ebx
mov dword [esi], 0x444ec0
mov dword [esi + 4], 0x444eac
mov dword [esi + 8], 0x444e94
mov dword [esi + 0xc], 0x444e78
mov dword [esi + 0x10], 0x444e64
mov dword [esi + 0x14], 0x444e54
mov dword [esi + 0x18], 0x444e44
mov dword [esi + 0x1c], 0x444e34
mov dword [esi + 0x20], 0x444e2c
call fcn.0040f7d9
mov byte [esi + 0x28], al
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x438735
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x440f06
call fcn.0043cb80
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x446e64
mov dword [esi + 4], 0x446e4c
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00402bec
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], 1
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov byte [esi + 0x58], bl
mov byte [esi + 0x59], bl
mov dword [esi], 0x446e30
mov dword [esi + 4], 0x446e18
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x438970
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x440f8f
call fcn.0043cb80
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x14]
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], bl
mov byte [esi + 3], bl
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.00402bec
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
call fcn.0040feda
lea ecx, [esi + 0x30]
call fcn.00402bec
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43c800
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x43c828
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43c837
mov eax, 1
ret 4

Function at 0x43c840
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 4
mov edi, ecx
mov ecx, dword [esp + 0x14]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
mov esi, eax
add esp, 0x18
mov dword [edi], esi
test esi, esi
je 0x43c886
mov edx, dword [esp + 0x10]
push edx
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x43c886
mov eax, edi
pop edi
pop esi
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43c881
pop edi
mov eax, 1
pop esi
ret 8

Function at 0x43cb10
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43cb3c
cmp dword [esp + 4], 6
jne 0x43cb3c
mov eax, dword [esp + 8]
test eax, eax
je 0x43cb5e
push str.SetDefaultDllDirectories
push 0x442320
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43cb5e
push 0xc00
call eax
add esp, 0x114
ret
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4
Function at 0x300026e7
Capabilities:
Execute anti-debugging instructions
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x3003fd00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp dword [0x3011d32c], ebx
mov dword [ebp - 0x108], ebx
jne 0x300028b9
lea eax, [ebp - 0x108]
push eax
push 0x20019
push ebx
push 0x300028c8
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x300028b9
push 0xff
lea eax, [ebp - 0x103]
push ebx
push eax
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], 1
mov byte [ebp - 0x104], bl
call fcn.3000235e
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x110]
push eax
mov dword [ebp - 0x114], 0x100
call fcn.30002958
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x118]
push eax
push ebx
push ebx
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x300028b9
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x3011d340], eax
je 0x300028b9
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x3000294c
push eax
call esi
push 0x30002938
push dword [0x3011d340]
mov dword [0x3011d32c], eax
call esi
push 0x30002928
push dword [0x3011d340]
mov dword [0x3011d334], eax
call esi
push 0x30002910
push dword [0x3011d340]
mov dword [0x3011d330], eax
call esi
push 0x300028f4
push dword [0x3011d340]
mov dword [0x3011d338], eax
call esi
mov dword [0x3011d33c], eax
mov eax, dword [0x3011d32c]
cmp eax, ebx
pop esi
je 0x300028b9
cmp dword [0x3011d334], ebx
je 0x300028b9
cmp dword [0x3011d330], ebx
je 0x300028b9
push dword [ebp + 8]
call eax
cpuid
rdtsc
cpuid
rdtsc
cpuid
rdtsc
cmp dword [ebp + 0xc], 0
jne 0x30062c20
push 8
call fcn.30002985
push 9
call fcn.30002985
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.30002958
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
push 4
call dword [0x3011d334]
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
push 5
call dword [0x3011d334]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.300023ac
leave
ret 8
mov eax, dword [0x3011d334]
test eax, eax
je 0x30002870
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
push 0x221
call eax
jmp 0x30002870
Function at 0x30018780
Capabilities:
Get graphical window text

Disassembly:
push 0x30
mov eax, 0x300f4514
call fcn.30002eb0
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 3
call fcn.300057ad
push eax
push ebx
push 0x15b
lea eax, [ebp - 0x1c]
push eax
call fcn.300057b3
mov esi, eax
cmp esi, ebx
jl 0x300188bd
call fcn.300057ad
push eax
push ebx
push 0x15c
lea eax, [ebp - 0x18]
push eax
call fcn.300057b3
mov esi, eax
cmp esi, ebx
jl 0x300188bd
call fcn.300057ad
push eax
push ebx
push 0x160
lea eax, [ebp - 0x14]
push eax
call fcn.300057b3
mov esi, eax
cmp esi, ebx
jl 0x300188bd
call fcn.300057ad
push eax
push ebx
push 0x15d
lea eax, [ebp - 0x10]
push eax
call fcn.300057b3
mov esi, eax
cmp esi, ebx
jl 0x300188bd
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
push 1
lea esi, [edi + 0xaa0]
push esi
mov dword [ebp - 0x3c], 0xd
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.cdlmso.dll_public:_int___stdcall_Cdl::DLListView::InsertColumn_unsigned_int__struct_tagLVCOLUMNW__const_]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
push 2
push esi
mov dword [ebp - 0x28], 1
call dword [sym.imp.cdlmso.dll_public:_int___stdcall_Cdl::DLListView::InsertColumn_unsigned_int__struct_tagLVCOLUMNW__const_]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
push 3
push esi
mov dword [ebp - 0x28], 2
call dword [sym.imp.cdlmso.dll_public:_int___stdcall_Cdl::DLListView::InsertColumn_unsigned_int__struct_tagLVCOLUMNW__const_]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
push 4
push esi
mov dword [ebp - 0x28], 3
call dword [sym.imp.cdlmso.dll_public:_int___stdcall_Cdl::DLListView::InsertColumn_unsigned_int__struct_tagLVCOLUMNW__const_]
push 0x20
push 0x20
push 0x1036
push esi
call dword [sym.imp.cdlmso.dll_public:_struct_HWND______stdcall_Cdl::ELEventFrame::operator_struct_HWND____void_const]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
push edi
call dword [eax + 0x64]
mov esi, eax
push esi
call fcn.300182c7
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call fcn.300060d5
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.300060d5
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], bl
call fcn.300060d5
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1c]
push eax
call fcn.300060d5
mov eax, esi
call fcn.30002f94
ret 4
Function at 0x300192b8
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x3011be08], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
je 0x30019301
mov eax, dword [0x3011be04]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x3005c5c3
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x30019347
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc
call ebx
test eax, eax
js 0x3005c5a3
mov dword [0x3011be08], 1
jmp 0x300192d1
test eax, eax
mov dword [ebp - 4], eax
je 0x300192e4
jmp 0x300192f8
call ebx
test eax, eax
mov eax, dword [ebp + 8]
js 0x3005c5ce
push dword [eax + 4]
call dword [eax]
test eax, eax
je 0x300192f7
mov dword [edi], eax
jmp 0x300192ee
push 0x3005c5e8
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x3005c5dc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x3011be04], eax
jmp 0x3001930b
push dword [ebp + 0x10]
push eax
call esi
jmp 0x30019317
push dword [eax + 0xc]
call dword [eax + 8]
jmp 0x30019359

Function at 0x3001a916
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x3001a968
mov eax, dword [ebp + 8]
test eax, 3
jne 0x3006297b
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x10001
xor edx, ecx
and edx, 0x80008000
je 0x3001a932
sub eax, dword [ebp + 8]
shr eax, 1
test cx, cx
lea eax, [eax - 2]
je 0x3001a965
test ecx, 0xffff0000
lea eax, [eax + 1]
jne 0x3006299a
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret 4
cmp word [eax], 0
je 0x30062990
lea eax, [eax + 2]
test eax, 3
jne 0x3006297b
jmp 0x3001a932
sub eax, dword [ebp + 8]
shr eax, 1
jmp 0x3001a965
lea eax, [eax*2 + 2]
add eax, dword [ebp + 8]
jmp 0x3001a932

Function at 0x3001ae53
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x3011d300], 0
push esi
jne 0x3001ae66
call fcn.3001aefc
test eax, eax
je 0x3001ae8b
mov eax, dword [0x3011d300]
cmp eax, 1
jne 0x30062b9d
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x3001ae8b
pop esi
ret
xor eax, eax
pop esi
ret
push eax
call dword [0x30123d98]
test eax, eax
jne 0x30062c07
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x3001ae8b
mov eax, dword [esi]
push edi
push dword [0x3011d300]
call dword [0x30123d98]
mov edi, eax
test edi, edi
je 0x30062bea
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x30062c06
lea edi, [esi + 0xff0]
push esi
push dword [0x3011d300]
call dword [0x30123d94]
add esi, 0x10
cmp esi, edi
jb 0x30062bf0
mov eax, esi
pop edi
pop esi
ret
Function at 0x300271c2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x3003fd00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov esi, ecx
push edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [esi], ebx
mov edi, 0x20019
je 0x3005ef1a
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_StringFromCLSID]
cmp eax, ebx
mov dword [ebp - 0x20], eax
jl 0x30027232
lea eax, [ebp - 0x2c]
push eax
push edi
push ebx
push dword [ebp - 0x24]
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x3005ef3e
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x2c], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x3005efa2
cmp dword [ebp - 0x28], ebx
jne 0x3005efac
cmp dword [ebp - 0x24], ebx
pop edi
pop esi
pop ebx
je 0x3002725b
push dword [ebp - 0x24]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
xor ecx, ebp
call fcn.300023ac
leave
ret 8
cmp ecx, ebx
jne 0x300271fd
jmp 0x3002722b
lea eax, [ebp - 0x28]
push eax
push edi
push dword [0x30118068]
call dword [sym.imp.MSO.dll_Ordinal_1357]
cmp eax, ebx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ecx
je 0x3002726c
jmp 0x3002722b
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
push ebx
push str.Compatibility_Flags
push dword [ebp - 0x2c]
mov dword [ebp - 0x34], 0x18
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
mov dword [ebp - 0x20], eax
jne 0x3002722b
cmp dword [ebp - 0x30], 4
jne 0x3005ef76
mov eax, dword [ebp - 0x1c]
jmp 0x3005ef9b
cmp dword [ebp - 0x30], 1
jne 0x30027232
mov eax, dword [ebp - 0x34]
cmp eax, 4
jbe 0x30027232
shr eax, 1
lea edx, [ebp - 0x18]
mov word [ebp + eax*2 - 0x1e], bx
call fcn.300adb10
mov dword [esi], eax
jmp 0x30027232
push dword [ebp - 0x2c]
call esi
jmp 0x30027241
push dword [ebp - 0x28]
call esi
jmp 0x3002724a
Function at 0x30075233
Capabilities:
Create process on windows

Disassembly:
push 0x268
mov eax, 0x300ec692
call fcn.30005a2f
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x220], ebx
mov esi, 0x3007538c
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.MSO.dll_Ordinal_6061]
mov ecx, 0x104
cmp eax, ecx
jbe 0x30075284
push ebx
push 0x7a7a7471
call dword [sym.imp.MSO.dll_Ordinal_6848]
mov esi, 0x8000ffff
jmp 0x30075364
push ecx
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.MSO.dll_Ordinal_6330]
test eax, eax
push ebx
jne 0x3007529f
push 0x7a7a7472
jmp 0x30075274
push ebx
push ebx
push edi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSO.dll_Ordinal_2814]
mov esi, eax
cmp esi, ebx
jl 0x30075364
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xf4]
test eax, eax
jne 0x300752d8
mov esi, 0x80004005
jmp 0x30075364
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push 0x300647bc
push eax
call fcn.30021da3
mov esi, eax
add esp, 0x10
cmp esi, ebx
jl 0x30075364
push 0x44
pop edi
push edi
lea eax, [ebp - 0x274]
push ebx
push eax
call fcn.3000235e
mov dword [ebp - 0x274], edi
xor eax, eax
lea edi, [ebp - 0x230]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x274]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x220]
mov word [ebp - 0x244], 0xa
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x300752ce
push dword [ebp - 0x230]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x22c]
call edi
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], bl
call fcn.300060d5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.300146f2
mov eax, esi
call fcn.30005a65
ret

Function at 0x30075a09
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
mov ebx, ecx
jne 0x30075a22
push 0x80004005
call fcn.300ba0cb
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x30075a24
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x3007601f
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x3003fd00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x2001f
mov ebx, ecx
push edi
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x208], esi
call fcn.3007287e
cmp eax, esi
mov dword [ebp - 0x210], eax
je 0x300760a9
cmp eax, 2
je 0x30076087
cmp eax, 3
je 0x30076087
push eax
push edi
push 0x30076128
push esi
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.3002735c
add esp, 0x18
lea ecx, [ebp - 0x208]
call fcn.30072867
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.300023ac
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x300760c7
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x208]
call fcn.3007601f
cmp eax, esi
jne 0x3007610f
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x208]
mov dword [ebp - 0x20c], 0x100
call edi
test eax, eax
je 0x300760b1
lea ecx, [ebp - 0x208]
call fcn.30072867
push dword [ebp - 0x214]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x208]
mov esi, eax
call fcn.30072867
mov eax, esi
jmp 0x30076098
Function at 0x300776cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x300ecc3a
call fcn.300e7050
mov dword [ebp - 0x41c], ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x420], eax
call dword [0x3011f7ec]
xor esi, esi
mov dword [ebp - 0x42c], esi
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, esi
mov dword [ebp - 0x41c], eax
jne 0x30077750
push edi
push 0x300779a4
push esi
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.3002735c
add esp, 0x14
call fcn.30072852
mov esi, eax
jmp 0x300778a0
push dword [ebp - 0x420]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x3007779b
mov eax, ebx
shr eax, 0x10
test ax, ax
mov eax, 0x30077950
je 0x30077778
mov eax, 0x300778f8
push dword [ebp - 0x420]
push ebx
push eax
push esi
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.3002735c
add esp, 0x18
call fcn.30072852
jmp 0x30077892
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp - 0x430], eax
jne 0x300777ca
push 0x300778c4
push esi
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.3002735c
add esp, 0x10
jmp 0x30077791
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
mov dword [ebp - 0x420], edi
jae 0x3007781d
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x300777ff
lea ecx, [ebp - 0x418]
call fcn.300ba13d
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.3006ef92
mov eax, esi
call fcn.300e7089
ret 0x10
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.3007669e
mov dword [ebp - 4], 1
jmp 0x30077844
mov ebx, dword [ebp - 0x418]
cmp ebx, esi
jne 0x30077855
mov esi, 0x8007000e
jmp 0x30077894
call dword [0x3011f7ec]
push edi
push ebx
push edi
push dword [ebp - 0x430]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x30077791
mov ecx, dword [ebp - 0x418]
push dword [ebp + 0x14]
mov word [ecx + eax*2], si
push dword [ebp - 0x418]
lea ecx, [ebp - 0x428]
call fcn.3007745c
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x30077804
lea ecx, [ebp - 0x418]
call fcn.300ba13d
jmp 0x30077804
Function at 0x3008af51
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi]
push esi
call dword [eax + 4]
and dword [ebp - 8], 0
push 0x3011fb44
push 0
push esi
push 0x3008ad9c
push 0
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x44], eax
jne 0x3008afae
mov eax, dword [esi]
push esi
call dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x3008afb0
and eax, 0xffff
or eax, 0x80070000
jmp 0x3008afb0
xor eax, eax
pop esi
leave
ret