joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018040
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 [0x100b5350]
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 - 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x14]
push 0xf0000000
push 0x18
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
push 0
mov dword [ebp - 0x4c], eax
push 0
lea eax, [ebp - 0xc]
push eax
xor bl, bl
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x100181ff
mov eax, dword [ebp - 0x48]
mov ecx, 0x20
mov eax, dword [eax]
cmp eax, ecx
cmovb ecx, eax
push ecx
xorps xmm0, xmm0
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 0x44], 0x208
mov dword [ebp - 0x40], 0x6610
mov dword [ebp - 0x3c], 0x20
movq qword [ebp - 0x38], xmm0
movq qword [ebp - 0x30], xmm0
movq qword [ebp - 0x28], xmm0
movq qword [ebp - 0x20], xmm0
call fcn.10073400
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 1
push 0
push 0x2c
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x100181ef
push 0
lea eax, [ebp - 0x18]
push eax
push 4
push dword [ebp - 8]
mov dword [ebp - 0x18], 1
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x100181e1
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x48]
push eax
push 8
push dword [ebp - 8]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
test eax, eax
je 0x100181e1
mov eax, dword [ebp - 0x48]
shr eax, 3
push eax
push 0
mov dword [ebp - 0x48], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x100181e1
push dword [ebp - 0x48]
push 0
push esi
call fcn.10073290
add esp, 0xc
push 0
push esi
push 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push esi
test eax, eax
jne 0x10018192
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x100181e1
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x54]
mov ecx, dword [esi]
cmp dword [edi], ecx
cmovb ecx, dword [edi]
push ecx
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
call fcn.10073400
mov eax, dword [esi]
add esp, 0xc
push dword [edi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x4c]
push 0
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x100181da
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100181e1
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
mov bl, 1
mov eax, dword [ebp - 8]
test eax, eax
je 0x100181ef
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x100181ff
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.100704e7
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10018610
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091cb5
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100b5350]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
call fcn.10008c10
lea ecx, [esi + 4]
call fcn.10008c10
lea ecx, [esi + 8]
call fcn.10008c10
lea ecx, [esi + 0xc]
call fcn.10008c10
lea ecx, [esi + 0x10]
call fcn.10008c10
lea ecx, [esi + 0x14]
call fcn.10008c10
lea ecx, [esi + 0x18]
call fcn.10008c10
lea ecx, [esi + 0x1c]
call fcn.10008c10
lea ecx, [esi + 0x20]
call fcn.10008c10
lea ecx, [esi + 0x24]
call fcn.10008c10
lea ecx, [esi + 0x28]
call fcn.10008c10
lea ecx, [esi + 0x2c]
call fcn.10008c10
lea ecx, [esi + 0x30]
call fcn.10008c10
lea ecx, [esi + 0x34]
call fcn.10008c10
lea ecx, [esi + 0x38]
call fcn.10008c10
lea ecx, [esi + 0x3c]
call fcn.10008c10
lea ecx, [esi + 0x40]
call fcn.10008c10
lea ecx, [esi + 0x44]
call fcn.10008c10
lea ecx, [esi + 0x48]
call fcn.10008c10
lea ecx, [esi + 0x4c]
call fcn.10008c10
lea ecx, [esi + 0x50]
call fcn.10008c10
lea ecx, [esi + 0x54]
call fcn.10008c10
lea ecx, [esi + 0x58]
call fcn.10008c10
lea ecx, [esi + 0x5c]
call fcn.10008c10
lea ecx, [esi + 0x60]
call fcn.10008c10
lea ecx, [esi + 0x64]
call fcn.10008c10
lea ecx, [esi + 0x68]
call fcn.10008c10
lea ecx, [esi + 0x6c]
call fcn.10008c10
lea ecx, [esi + 0x70]
call fcn.10008c10
lea ecx, [esi + 0x74]
call fcn.10008c10
lea ecx, [esi + 0x78]
call fcn.10008c10
lea ecx, [esi + 0x7c]
call fcn.10008c10
lea ecx, [esi + 0x80]
call fcn.10008c10
lea ecx, [esi + 0x84]
call fcn.10008c10
lea ecx, [esi + 0x88]
call fcn.10008c10
lea ecx, [esi + 0x8c]
call fcn.10008c10
lea ecx, [esi + 0x90]
call fcn.10008c10
lea ecx, [esi + 0x94]
call fcn.10008c10
mov byte [ebp - 4], 0x26
push 0x100a73c5
lea ecx, [esi + 0xd4]
mov dword [esi + 0xd0], 0
call fcn.10008c50
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0xd8]
mov byte [ebp - 4], 0x27
call fcn.10008c30
mov byte [ebp - 4], 0x28
mov ecx, esi
mov byte [esi + 0xdc], 1
call fcn.10018940
lea ecx, [ebp + 8]
call fcn.10008cc0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1001aa00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100923e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100b5350]
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, ecx
mov dword [ebp - 4], 0
cmp byte [esi + 0xdc], 0
push ecx
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
lea eax, [ebp + 8]
mov ecx, esp
jne 0x1001aaa3
mov dword [ebp - 0x2c], esp
push eax
call fcn.10008c30
push ecx
mov byte [ebp - 4], 1
lea eax, [esi + 0x34]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.10008c30
push ecx
lea eax, [esi + 0x30]
mov ecx, esp
push eax
mov byte [ebp - 4], 2
call fcn.10008c30
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.1001a380
jmp 0x1001aada
mov dword [ebp - 0x28], esp
push eax
call fcn.10008c30
push ecx
mov byte [ebp - 4], 3
lea eax, [esi + 0x34]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.10008c30
push ecx
lea eax, [esi + 0x30]
mov ecx, esp
push eax
mov byte [ebp - 4], 4
call fcn.10008c30
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.1001bcc0
cmp byte [esi + 0xdc], 0
push 1
push ecx
lea eax, [esi + 0x3c]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
jne 0x1001ab11
call fcn.10008c30
push ecx
lea edi, [esi + 0x38]
mov ecx, esp
push edi
mov byte [ebp - 4], 5
call fcn.10008c30
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.1001a560
jmp 0x1001ab31
call fcn.10008c30
push ecx
lea edi, [esi + 0x38]
mov ecx, esp
push edi
mov byte [ebp - 4], 6
call fcn.10008c30
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.1001bdb0
cmp byte [esi + 0xdc], 0
push 1
push ecx
lea eax, [esi + 0x40]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
jne 0x1001ab65
call fcn.10008c30
push ecx
mov ecx, esp
push edi
mov byte [ebp - 4], 7
call fcn.10008c30
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.1001a560
jmp 0x1001ab82
call fcn.10008c30
push ecx
mov ecx, esp
push edi
mov byte [ebp - 4], 8
call fcn.10008c30
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.1001bdb0
cmp byte [esi + 0xdc], 0
push 0
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
jne 0x1001abb6
call fcn.10008c50
push ecx
mov ecx, esp
push edi
mov byte [ebp - 4], 9
call fcn.10008c30
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.1001a560
jmp 0x1001abd3
call fcn.10008c50
push ecx
mov ecx, esp
push edi
mov byte [ebp - 4], 0xa
call fcn.10008c30
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.1001bdb0
lea ecx, [ebp + 8]
call fcn.10008cc0
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.100704e7
mov esp, ebp
pop ebp
ret 4
Function at 0x1001b9e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091ded
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x100b5350]
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
mov dword [ebp - 0x168], 0
push 0x100a7698
mov dword [ebp - 0x16c], edi
mov dword [edi], 0
call fcn.10008c50
push 0x104
lea eax, [ebp - 0x153]
push 0
push eax
mov dword [ebp - 0x168], 1
mov byte [ebp - 0x154], 0
call fcn.10073290
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.1001d590
test eax, eax
jne 0x1001bb9c
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.1001d480
test eax, eax
je 0x1001bb77
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.1001d480
mov esi, dword [ebp - 0x160]
test esi, esi
je 0x1001bb90
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x15c], 0
jmp 0x1001bba2
mov esi, dword [ebp - 0x160]
push 0x100a77c0
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x1001bbcd
lea eax, [ebp - 0x154]
push eax
push 0x100a752c
push edi
call fcn.1000db70
add esp, 0xc
test esi, esi
je 0x1001bbd8
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.100704e7
mov esp, ebp
pop ebp
ret
Function at 0x1001c010
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100922f9
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x100b5350]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea ebx, [ecx + 0xd4]
mov dword [ebp - 4], 0
mov ecx, ebx
mov dword [ebp - 0x47c], ebx
call fcn.10009360
test eax, eax
jne 0x1001c066
mov bl, 1
jmp 0x1001c261
push 0x44
xorps xmm0, xmm0
lea eax, [ebp - 0x464]
push 0
push eax
movq qword [ebp - 0x474], xmm0
movq qword [ebp - 0x46c], xmm0
call fcn.10073290
xor eax, eax
push 0x3ff
push eax
mov word [ebp - 0x434], ax
mov byte [ebp - 0x414], al
lea eax, [ebp - 0x413]
push eax
mov dword [ebp - 0x464], 0x44
mov dword [ebp - 0x438], 1
call fcn.10073290
add esp, 0x18
lea eax, [ebp - 0x414]
push 0x400
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x478], 0
call fcn.10008c10
mov byte [ebp - 4], 1
push dword [ebx]
lea eax, [ebp - 0x478]
push str._d__c__s
push eax
call fcn.1000db70
add esp, 0xc
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x464]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x478]
xor bl, bl
call fcn.10009320
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1001c20e
push 0xea60
push dword [ebp - 0x474]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1001c1a1
mov edi, dword [ebp - 0x418]
cmp edi, 0x103
je 0x1001c1a1
test edi, edi
jne 0x1001c182
mov bl, 1
jmp 0x1001c1dd
mov ecx, esi
call fcn.10009360
test eax, eax
jne 0x1001c1dd
push edi
push dword [ebp + 8]
push str._s__d
push esi
call fcn.1000db70
add esp, 0x10
jmp 0x1001c1dd
mov ecx, esi
call fcn.10009360
test eax, eax
jne 0x1001c1dd
push 0x100ab6b8
lea edx, [ebp + 8]
lea ecx, [ebp - 0x480]
call fcn.10009110
add esp, 4
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.10008cd0
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 1
call fcn.10008cc0
push dword [ebp - 0x474]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x470]
call esi
mov ecx, dword [ebp - 0x47c]
push 0x100a73c5
call fcn.1000a7a0
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1001c24a
mov ecx, esi
call fcn.10009360
test eax, eax
jne 0x1001c24a
push 0x100ab6bc
lea edx, [ebp + 8]
lea ecx, [ebp - 0x47c]
call fcn.10009110
add esp, 4
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.10008cd0
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 1
call fcn.10008cc0
push ecx
lea ecx, [ebp - 0x478]
call fcn.10009380
lea ecx, [ebp - 0x478]
call fcn.10008cc0
lea ecx, [ebp + 8]
call fcn.10008cc0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100704e7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001c370
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091ea9
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100b5350]
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, ecx
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x68], 0
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x40], 0x7265746e
mov dword [ebp - 0x53], 0x5754464f
mov dword [ebp - 0x4e], 0x4d5c4552
mov word [ebp - 0x28], 0x6f63
mov byte [ebp - 0x54], 0x53
mov dword [ebp - 0x3b], 0x45207465
mov word [ebp - 0x49], 0x7263
mov word [ebp - 0x32], 0x7265
mov dword [ebp - 0x2d], 0x68637261
mov dword [ebp - 0x37], 0x6f6c7078
mov word [ebp - 0x43], 0x5c74
mov word [ebp - 0x46], 0x6f73
mov byte [ebp - 0x47], 0x6f
mov word [ebp - 0x2f], 0x6553
mov dword [ebp - 0x26], 0x736570
mov byte [ebp - 0x44], 0x66
mov byte [ebp - 0x41], 0x49
mov byte [ebp - 0x4a], 0x69
mov byte [ebp - 0x4f], 0x41
mov byte [ebp - 0x29], 0x53
mov byte [ebp - 0x33], 0x72
mov byte [ebp - 0x30], 0x5c
mov byte [ebp - 0x3c], 0x6e
mov word [ebp - 0x1f], 0x6665
mov word [ebp - 0x19], 0x6353
mov word [ebp - 0x1c], 0x6c75
mov dword [ebp - 0x17], 0x65706f
mov byte [ebp - 0x20], 0x44
mov byte [ebp - 0x1d], 0x61
mov byte [ebp - 0x1a], 0x74
mov dword [ebp - 0x5c], 0
call fcn.10008c50
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], 0
call fcn.10008c10
lea eax, [ebp - 0x58]
push eax
push ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
call fcn.10008c50
push ecx
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
mov byte [ebp - 4], 3
call fcn.10008c30
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.1001a630
push 0x100a764c
lea ecx, [ebp - 0x5c]
call fcn.100092d0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10008d50
mov ecx, edi
mov dword [edi], 0
call fcn.10008c10
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
mov dword [ebp - 0x68], 1
push 0x100ab6c0
call fcn.10008c50
push ecx
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
mov byte [ebp - 4], 4
call fcn.10008c30
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.1001a630
lea ecx, [ebp - 0x58]
call fcn.10008cc0
lea ecx, [ebp - 0x5c]
call fcn.10008cc0
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.100704e7
mov esp, ebp
pop ebp
ret 4
Function at 0x1001c5d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091d91
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100b5350]
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, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x4c], 0
mov ecx, edi
mov dword [ebp - 0x54], edi
mov word [ebp - 0x3f], 0x694d
mov dword [ebp - 0x2d], 0x70784520
mov word [ebp - 0x24], 0x4d5c
mov word [ebp - 0x36], 0x495c
mov word [ebp - 0x39], 0x666f
mov dword [ebp - 0x29], 0x65726f6c
mov dword [ebp - 0x32], 0x656e7265
mov dword [ebp - 0x44], 0x65726177
mov word [ebp - 0x3c], 0x6f72
mov word [ebp - 0x34], 0x746e
mov word [ebp - 0x21], 0x6e69
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x2e], 0x74
mov word [ebp - 0x47], 0x666f
mov byte [ebp - 0x22], 0x61
mov byte [ebp - 0x3d], 0x63
mov byte [ebp - 0x1f], 0
mov byte [ebp - 0x48], 0x53
mov byte [ebp - 0x45], 0x74
mov byte [ebp - 0x40], 0x5c
mov byte [ebp - 0x3a], 0x73
mov byte [ebp - 0x25], 0x72
mov dword [ebp - 0x15], 0x656761
mov dword [ebp - 0x19], 0x50207472
mov word [ebp - 0x1b], 0x6174
mov byte [ebp - 0x1c], 0x53
mov dword [edi], 0
call fcn.10008c10
push edi
push ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
mov dword [ebp - 0x4c], 1
call fcn.10008c50
push ecx
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
mov dword [ebp - 4], 1
call fcn.10008c50
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.1001a630
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.100704e7
mov esp, ebp
pop ebp
ret 4
Function at 0x1001d480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100b5350]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edx
mov dword [edi], 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001d4fb
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x1001d4cb
cmp eax, 2
jne 0x1001d4dd
mov eax, dword [ebp - 0xc]
test esi, esi
je 0x1001d4f7
test eax, eax
je 0x1001d4f4
cmp byte [esi + eax - 1], 0
je 0x1001d4f7
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100704e7
mov esp, ebp
pop ebp
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100704e7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10029f80
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100933d0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100b5350]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
push 0x100a73c5
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
call fcn.10008c50
push 0
push 0
push 3
push 0
push 0
mov byte [ebp - 4], 1
push accept
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x18], 0x4c7a6f6d
mov dword [ebp - 0x14], 0x30347a
call fcn.10001a10
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1002a0f2
push 0
push edi
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x24], eax
call fcn.1006caea
add esp, 4
mov esi, eax
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x24]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
test eax, eax
jne 0x1002a04a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1002a0e5
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x24], 0xc
jb 0x1002a0e5
lea ecx, [ebp - 0x18]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x1002a0e5
mov eax, dword [ecx + 4]
cmp eax, dword [esi + 4]
jne 0x1002a0e5
xor ecx, ecx
mov edi, 8
xor edx, edx
movzx eax, byte [edi + esi]
shl eax, cl
inc edi
add ecx, 8
add edx, eax
cmp edi, 0xc
jb 0x1002a078
lea eax, [edx + 1]
push eax
mov dword [ebp - 0x28], edx
call fcn.100729a9
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002a0e5
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x28]
sub eax, edi
lea ecx, [edi + esi]
mov edi, dword [ebp - 0x14]
push eax
mov edx, edi
call fcn.10039930
add esp, 8
push edi
test eax, eax
jns 0x1002a0c7
call fcn.10071286
add esp, 4
jmp 0x1002a0e5
mov eax, dword [ebp - 0x28]
push 0x100a752c
mov byte [edi + eax], 0
lea eax, [ebp - 0x20]
push eax
call fcn.1000db70
push edi
call fcn.10071286
add esp, 0x10
test esi, esi
je 0x1002a0f2
push esi
call fcn.10072081
add esp, 4
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.10008c30
lea ecx, [ebp - 0x20]
call fcn.10008cc0
lea ecx, [ebp + 0xc]
call fcn.10008cc0
mov eax, ebx
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.100704e7
mov esp, ebp
pop ebp
ret 8