joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405600
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf280
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5035d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004a1376
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004a30ba
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407550
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2a4
mov eax, dword [0x5035d0]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x10]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x20a
lea eax, [esp + 0x9c]
push 0
push eax
call fcn.004a4df0
add esp, 0xc
mov dword [esp + 0x28], 0x730025
xor eax, eax
mov dword [esp + 0x2c], 0x25007b
mov word [esp + 0x94], ax
movzx eax, byte [esp + 0x27]
push esi
push eax
movzx eax, byte [esp + 0x2e]
push eax
movzx eax, byte [esp + 0x31]
push eax
movzx eax, byte [esp + 0x34]
push eax
movzx eax, byte [esp + 0x37]
push eax
movzx eax, byte [esp + 0x3a]
push eax
movzx eax, byte [esp + 0x3d]
push eax
movzx eax, byte [esp + 0x40]
push eax
movzx eax, word [esp + 0x42]
push eax
movzx eax, word [esp + 0x44]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x58]
mov dword [esp + 0x60], 0x380030
push edi
push eax
push 0xffffffffffffffff
lea eax, [esp + 0xd4]
mov dword [esp + 0x70], 0x2d0058
push 0x104
push eax
mov dword [esp + 0x7c], 0x300025
mov dword [esp + 0x80], 0x580034
mov dword [esp + 0x84], 0x25002d
mov dword [esp + 0x88], 0x340030
mov dword [esp + 0x8c], 0x2d0058
mov dword [esp + 0x90], 0x300025
mov dword [esp + 0x94], 0x580032
mov dword [esp + 0x98], 0x300025
mov dword [esp + 0x9c], 0x580032
mov dword [esp + 0xa0], 0x25002d
mov dword [esp + 0xa4], 0x320030
mov dword [esp + 0xa8], 0x250058
mov dword [esp + 0xac], 0x320030
mov dword [esp + 0xb0], 0x250058
mov dword [esp + 0xb4], 0x320030
mov dword [esp + 0xb8], 0x250058
mov dword [esp + 0xbc], 0x320030
mov dword [esp + 0xc0], 0x250058
mov dword [esp + 0xc4], 0x320030
mov dword [esp + 0xc8], 0x250058
mov dword [esp + 0xcc], 0x320030
mov dword [esp + 0xd0], 0x7d0058
mov dword [esp + 0xd4], 0x730025
call fcn.00407510
add esp, 0x44
mov dword [ebx + 0x10], 0
xor eax, eax
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea ecx, [esp + 0x98]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407740
sub ecx, edx
lea eax, [esp + 0x98]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00408140
mov ecx, dword [esp + 0x2ac]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
Function at 0x407cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x18]
mov eax, esi
push edi
xor edi, edi
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edi
jb 0x407cee
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov ecx, reloc.WS2_32.dll_bind
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x407d07
mov ecx, accept
jmp 0x407d19
cmp eax, 2
jne 0x407d13
mov ecx, reloc.WS2_32.dll_accept
jmp 0x407d19
cmp eax, 3
cmove ecx, ecx
cmp dword [ebp + 0x14], 0x40
lea eax, [ebp - 0x424]
push eax
mov eax, 0x20119
mov dword [ebp - 0x428], 0x20019
cmovne eax, dword [ebp - 0x428]
push eax
push 0
push edx
push ecx
mov dword [ebp - 0x424], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x407d62
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
push 0x412
lea eax, [ebp - 0x418]
mov dword [ebp - 0x41c], 0x208
push 0
push eax
call fcn.004a4df0
add esp, 0xc
mov dword [ebp - 0x420], 1
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push ebx
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407de3
lea edx, [ebp - 0x418]
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x407dc0
sub edx, ecx
lea eax, [ebp - 0x418]
sar edx, 1
mov ecx, esi
push edx
push eax
call fcn.00408140
mov edi, 1
mov ecx, dword [ebp - 0x424]
test ecx, ecx
je 0x407df4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a1365
mov esp, ebp
pop ebp
ret
Function at 0x409400
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test edx, edx
je 0x4094e4
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4094e4
push eax
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0x67452301
mov dword [ebp - 0xec], 0xefcdab89
mov dword [ebp - 0xe8], 0x98badcfe
mov dword [ebp - 0xe4], 0x10325476
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
call fcn.00406d70
xorps xmm0, xmm0
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0xf0]
movups xmmword [ebp - 0x14], xmm0
call fcn.00406e50
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004a4df0
add esp, 0xc
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x14]
call fcn.00406f00
lea eax, [ebp - 0x54]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4094b8
sub eax, edx
mov ecx, esi
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00404540
xor eax, eax
cmp dword [esi + 0x10], eax
pop esi
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004a1365
mov esp, ebp
pop ebp
ret

Function at 0x4098e0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 4]
test eax, eax
je 0x409931
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x409922
cmp dword [ebp - 8], 0x103
jne 0x409931
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x409964
push ebx
lea eax, [esi + 8]
push eax
push 4
push esi
push 0x40c4d0
push 0
push 0
call fcn.004b8f04
xor ebx, ebx
mov dword [esi + 4], eax
add esp, 0x18
test eax, eax
setne bl
test eax, eax
je 0x40995f
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test ebx, ebx
pop ebx
jne 0x409975
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
push 0x3e8
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
neg eax
pop esi
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004a1365
mov esp, ebp
pop ebp
ret
Function at 0x40b470
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x234], 0
push 0
push eax
mov ebx, ecx
mov dword [ebp - 0x230], 0x22c
call fcn.004a4df0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40b4d4
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40b51f
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax]
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004b7f34
add esp, 8
test eax, eax
je 0x40b514
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x40b4f0
jmp 0x40b51e
mov dword [ebp - 0x234], 1
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop esi
pop ebx
call fcn.004a1365
mov esp, ebp
pop ebp
ret
Function at 0x40b540
Capabilities:
Acquire debug privileges
Enumerate processes
Get process image filename
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x278
mov eax, dword [0x5035d0]
xor eax, esp
mov dword [esp + 0x274], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
push esi
push edi
test eax, eax
je 0x40b781
push 0x124
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], pe_nt_image_headers32
push 0
push eax
call fcn.004a4df0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x40b781
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x40b761
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [esp + 0x144]
xorps xmm0, xmm0
push eax
push str.SeDebugPrivilege
push 0
movaps xmmword [esp + 0x14c], xmm0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [esp + 0x14c]
mov dword [esp + 0x14c], 1
push eax
push 0
push dword [esp + 0x28]
mov dword [esp + 0x164], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp + 0x20]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40b74d
push 0x105
lea eax, [esp + 0x174]
push 0
push eax
call fcn.004a4df0
add esp, 0xc
lea eax, [esp + 0x170]
push 0x104
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameA]
test eax, eax
je 0x40b746
lea edx, [esp + 0x170]
lea ecx, [esp + 0x158]
call fcn.0040b7a0
push 0x105
lea eax, [esp + 0x174]
push 0
push eax
call fcn.004a4df0
add esp, 0xc
lea eax, [esp + 0x158]
cmp dword [esp + 0x16c], 0x10
cmovae eax, dword [esp + 0x158]
push eax
lea eax, [esp + 0x174]
push 0x105
push eax
call fcn.004ad458
add esp, 0xc
lea eax, [esp + 0x170]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [esp + 0x170]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b6e4
sub eax, edx
push eax
lea eax, [esp + 0x174]
push eax
push dword [esp + 0x18]
call fcn.004b8ad4
add esp, 0xc
test eax, eax
jne 0x40b70e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esp + 0x16c]
cmp edx, 0x10
jb 0x40b746
mov ecx, dword [esp + 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b73c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b797
push edx
push ecx
call fcn.004a1326
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x40b5b0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x27c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
call fcn.004a8d39
int3
Function at 0x40b7a0
Capabilities:
Get disk information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf6fb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x348
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x354], edi
mov esi, ecx
mov dword [ebp - 0x358], esi
mov dword [ebp - 0x350], esi
mov dword [ebp - 0x350], esi
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 0xf
mov byte [ebp - 0x34c], 0
push 0x104
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004a4df0
add esp, 0xc
test edi, edi
je 0x40b9b7
lea eax, [ebp - 0x120]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x40b9b7
push 0x104
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.004a4df0
mov ax, word [0x4f626c]
lea edi, [ebp - 0x120]
mov word [ebp - 0x334], ax
add esp, 0xc
movzx eax, byte [0x4f626e]
mov byte [ebp - 0x332], al
mov al, byte [ebp - 0x120]
mov dword [ebp - 0x350], 0
nop dword [eax]
mov byte [ebp - 0x334], al
lea eax, [ebp - 0x228]
push 0x104
push eax
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x40b96f
lea esi, [ebp - 0x228]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40b8d0
sub esi, ecx
cmp esi, 0x104
jae 0x40b96f
push esi
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x354]
call fcn.004b8ad4
xor ecx, ecx
add esp, 0xc
test eax, eax
sete cl
mov dword [ebp - 0x350], ecx
test eax, eax
jne 0x40b975
push 0x104
push eax
lea eax, [ebp - 0x330]
push eax
call fcn.004a4df0
mov eax, dword [ebp - 0x354]
add esp, 0xc
add eax, esi
push eax
lea eax, [ebp - 0x334]
push eax
push str._s_s
lea eax, [ebp - 0x330]
push 0x103
push eax
call fcn.0040ba00
lea ecx, [ebp - 0x330]
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b953
sub ecx, edx
lea eax, [ebp - 0x330]
push ecx
push eax
lea ecx, [ebp - 0x34c]
call fcn.00404540
mov ecx, dword [ebp - 0x350]
mov al, byte [edi]
inc edi
test al, al
jne 0x40b975
test ecx, ecx
jne 0x40b98a
mov al, byte [edi]
test al, al
jne 0x40b8a0
mov eax, dword [ebp - 0x358]
movups xmm0, xmmword [ebp - 0x34c]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x33c]
movq qword [eax + 0x10], xmm0
jmp 0x40b9de
movups xmm0, xmmword [ebp - 0x34c]
mov dword [esi + 0x10], 0
mov eax, esi
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x33c]
movq qword [esi + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x40ba30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf768
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x22c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push 0x4f62ec
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x228], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40bc46
push 0x20a
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x224], 1
push eax
call fcn.004a4df0
add esp, 0xc
mov dword [ebp - 0x220], 0x20a
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push str.Appid
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40bc3a
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], 7
lea edx, [ecx + 2]
mov word [ebp - 0x244], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bb40
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.00408140
push 0xfde9
lea eax, [ebp - 0x244]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00407870
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 2
cmp dword [edx + 0x14], 0x10
jb 0x40bb92
mov edx, dword [edx]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bb97
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00404540
mov edx, dword [ebp - 0x24c]
cmp edx, 0x10
jb 0x40bbe3
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bbd9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc63
push edx
push ecx
call fcn.004a1326
add esp, 8
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
cmp edx, 8
jb 0x40bc3a
mov ecx, dword [ebp - 0x244]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40bc30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc68
push edx
push ecx
call fcn.004a1326
add esp, 8
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
call fcn.004a8d39
call fcn.004a8d39
int3
Function at 0x40bc70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf7bd
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x22c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push 0x4f62ec
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x228], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40be69
push 0x20a
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x224], 1
push eax
call fcn.004a4df0
add esp, 0xc
mov dword [ebp - 0x220], 0x20a
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push 0x4f6324
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40be5d
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], 7
lea edx, [ecx + 2]
mov word [ebp - 0x244], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bd80
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.00408140
push 0xfde9
lea eax, [ebp - 0x244]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00407870
add esp, 0xc
mov ecx, esi
push eax
call fcn.00402950
mov edx, dword [ebp - 0x24c]
cmp edx, 0x10
jb 0x40be06
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bdfc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40be85
push edx
push ecx
call fcn.004a1326
add esp, 8
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
cmp edx, 8
jb 0x40be5d
mov ecx, dword [ebp - 0x244]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40be53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40be8a
push edx
push ecx
call fcn.004a1326
add esp, 8
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
call fcn.004a8d39
call fcn.004a8d39
int3
Function at 0x40be90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x2001f
push 0
push 0x4f62ec
xorps xmm0, xmm0
push reloc.WS2_32.dll_accept
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40bf01
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0xb
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 8
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.InsTe
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor ecx, ebp
mov eax, dword [ebp - 0xc]
call fcn.004a1365
mov esp, ebp
pop ebp
ret

Function at 0x40bf20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0
push eax
push 0x2001f
push 0
push 0x4f62ec
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40bf90
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x4f6338
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
Function at 0x40c3c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x4f6610]
lea eax, [ebp - 0x54]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x3c]
mov dword [esi], 0
push eax
mov dword [edi], 0
mov dword [ebp - 0x3c], 0x74006e
mov dword [ebp - 0x38], 0x6c0064
mov dword [ebp - 0x34], 0x2e006c
mov dword [ebp - 0x30], 0x6c0064
mov dword [ebp - 0x2c], 0x6c
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0x65626d75
mov word [ebp - 0x40], 0x7372
mov byte [ebp - 0x3e], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c450
push 0
push edi
push esi
call eax
xor eax, eax
mov word [esi + 2], ax
mov word [edi + 2], ax
xor eax, eax
mov dword [ebx], 0
mov word [ebp - 0x18], ax
mov byte [ebp - 6], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x65006b
push eax
mov dword [ebp - 0x24], 0x6e0072
mov dword [ebp - 0x20], 0x6c0065
mov dword [ebp - 0x1c], 0x320033
mov dword [ebp - 0x14], 0x6f577349
mov dword [ebp - 0x10], 0x50343677
mov dword [ebp - 0xc], 0x65636f72
mov word [ebp - 8], 0x7373
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40c4bb
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a1365
mov esp, ebp
pop ebp
ret