joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9c0d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x9c0d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x9c0d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x9c0d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x9c0d94
push eax
push esi
call fcn.009c320b
add esp, 8
pop esi
ret 0x10

Function at 0x9c0da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x9c0e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x9c0e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x9d9320
push ecx
mov dword [esp + 0x1c], 4
call fcn.009c2dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x9c0dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x9c0e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x9c0ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x9c0eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x9d9320
push ecx
mov dword [esp + 0x1c], 4
call fcn.009c2dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x9c0eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x9c0e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x9c1000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x9c1131
push esi
call fcn.009c4145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.009b3080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x9c1131
push 0
push ebp
call fcn.009b33a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.009b3260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x9c108b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.009b32f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x9c1121
push 0x9d9918
push edi
call fcn.009c23f0
push eax
push ebx
push esi
call fcn.009c0f60
push 0x9d98f8
push edi
call fcn.009c23f0
push eax
push ebx
push esi
call fcn.009c0f60
push 0x9d98d8
push edi
call fcn.009c23f0
push eax
push ebx
push esi
call fcn.009c0f60
push 0x9d98c0
push edi
call fcn.009c23f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.009c0f60
push 0x9d98a0
push edi
call fcn.009c23f0
push eax
push ebx
push esi
call fcn.009c0f60
push 0x9d9888
push edi
call fcn.009c23f0
push eax
push ebx
push esi
call fcn.009c0f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x9c21b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.009c2140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.009c2140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.009c2140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.009c2140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x9c2bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x9c2c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x9d487c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x9c2c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x9c2c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x101f7db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x170
mov eax, dword [ebp + 8]
mov dword [0x1029b8f0], 0x132a
mov dword [0x1029b8ec], 0x3614
mov dword [ebp - 0x130], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jmp 0x101f7deb
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x178
mov edi, edx
add edi, esi
add edi, 0xc0
mov esi, dword [edi]
imul edi, eax, 0x178
add edx, edi
add edx, 0xbc
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x6d5
mov ecx, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
je 0x101f7f9c
jmp 0x101f7deb
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x144]
lea edx, section..data
imul esi, eax, 0x178
mov edi, edx
add edi, esi
add edi, 0xc0
mov esi, dword [edi]
imul edi, eax, 0x178
mov ebx, edx
add ebx, edi
add ebx, 0x2c
mov edi, dword [ebx]
imul ebx, eax, 0x178
add edx, ebx
add edx, 0xbc
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], edx
call fcn.101f890f
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x150]
add eax, ecx
mov edx, dword [ebp - 0x14c]
add edx, 1
cmp edx, 0x6d5
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
jne 0x101f7e4a
lea eax, [0x101fa603]
mov ecx, 0x20
lea edx, [ebp - 0x12c]
mov esi, dword [ebp - 0x148]
add esi, 0xe557b
mov edi, dword [ebp - 0x148]
add edi, 0x5c045
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], esi
call fcn.101f83a5
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.101f899b
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x164]
mov dword [ecx], edx
mov dword [ecx + 4], 0x12f000
mov edx, dword [ebp - 0x158]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x1f80
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x1029b8ec], 0x1177
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101fa624]
mov dh, byte [eax + 0x101fa5f5]
sub dh, dl
mov byte [ebp + eax - 0x2c], dh
cmp ecx, 0xe
mov dword [ebp - 0x168], ecx
jne 0x101f7fae
lea eax, [ebp - 0x2c]
mov dword [0x1029b8f0], 0x156a
mov dword [ebp - 0x16c], eax
call fcn.101f863a
mov dword [esp], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp + 4], eax
call fcn.101f8f4a
mov ecx, eax
mov dword [0x1029b90c], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x140], ecx
jmp 0x101f7e4a
Function at 0x101f804e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1000108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x101f8087
jmp 0x101f81be
mov eax, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
je 0x101f8144
jmp 0x101f80b8
lea eax, [esp + 0x38]
mov ecx, dword [0x1029b8ec]
add ecx, 0xffffefd3
mov dword [0x1029b8ec], ecx
mov dword [esp + 0x18], eax
call fcn.101f850f
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
je 0x101f80cc
jmp 0x101f81b6
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x20], eax
jmp 0x101f8072
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.101f7db0
lea ecx, [0x101f9174]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], edx
mov dword [esp + 0x64], 0x12f000
mov dword [0x1029b8ec], 0x15a6
mov edx, dword [0x1029b8d8]
mov dword [esp + 0x68], edx
mov edx, dword [0x1029b8dc]
mov dword [esp + 0x58], edx
mov edx, dword [0x1029b8e0]
mov dword [esp + 0x4c], edx
mov edx, dword [0x1029b8e4]
mov dword [esp + 0x40], edx
mov edx, dword [0x1029b8e8]
mov dword [esp + 0x8c], edx
mov dword [0x1029b8f0], 0x109b
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
jmp 0x101f8072
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
jne 0x101f80b8
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
mov dword [0x1029b8ec], 0xfffff682
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.101f8beb
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x1029b8ec]
add ecx, 0xffffe5c3
mov dword [0x1029b8f0], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x101f823d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.101f8d1d
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x101f8279
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x1029b8f0], 0x370c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x1029b8ec], 0x1fed
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x101f839a
jmp 0x101f82e1
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
jmp 0x101f82f3
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jmp 0x101f82c5
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x101f8344
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x52]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x4c], eax
jne 0x101f82f3
mov al, byte [ebp - 0x52]
test al, 1
jne 0x101f8377
jmp 0x101f834d
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], eax
jb 0x101f82c5
jmp 0x101f839a
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x1029b8ec], 0x1415
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101f83a5
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x1029b8f0]
add edi, 0x53c
mov dword [0x1029b8f0], edi
mov dword [0x1029b8f8], 0
mov byte [0x1029b8fc], 0
mov dword [0x1029b8f4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101f84b9
xor eax, eax
mov dword [0x1029b8ec], 0x182
mov dword [0x1029b8f4], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1029b900], 0
mov edx, dword [0x1029b8f8]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x1029b900], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x1029b8f8], edx
mov dword [0x1029b8ec], 0x918
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1029b8fc], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x1029b8ec], 0x16c8
mov cl, byte [0x1029b8fc]
mov edx, dword [0x1029b8f8]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x1029b8f4]
add edx, 1
mov dword [0x1029b8f4], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x101f8410
jmp 0x101f84fd
mov eax, dword [ebp - 0x1c]
mov dword [0x1029b8f0], 0x1e35
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1029b8f0]
add eax, 0x325
mov dword [0x1029b8f0], eax
mov eax, dword [0x1029b8f4]
add eax, 1
mov dword [0x1029b8f4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101f84b9
jmp 0x101f83f7
mov dword [0x1029b8ec], 0x26c
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101f850f
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101f8599
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101f860b
jmp 0x101f8626
mov eax, dword [0x1029b8ec]
add eax, 0xfffff36e
mov dword [0x1029b8ec], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101f85f6
jmp 0x101f8626
mov eax, dword [ebp - 0x18]
add esp, 0x24
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x101f85c8
jmp 0x101f8626
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
je 0x101f8582
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], eax
jl 0x101f8599
jmp 0x101f8582
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0x18]
mov word [ebp - 0x22], dx
mov ax, word [ebp - 0x22]
cmp ax, 0x6f
jne 0x101f8626
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101f8553
jmp 0x101f8626
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101f853b
jmp 0x101f8626
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x101f857a
xor eax, eax
mov dword [0x1029b8ec], 0x982
mov dword [ebp - 0x18], eax
jmp 0x101f857a
Function at 0x101f899b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1029b8f4], 0
mov dword [0x1029b8f8], 0
mov dword [0x1029b904], 0
mov dword [0x1029b8ec], 0x53e
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x101f8aed
jmp 0x101f8a17
mov eax, dword [0x1029b8f4]
mov ecx, dword [0x1029b8f8]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add edx, 1
mov dword [0x1029b8f0], 0xb88
mov edi, ecx
add edi, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv esi
mov dword [0x1029b8f4], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1029b8f8], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1029b8fc], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov edx, dword [0x1029b8ec]
add edx, 0x20cc
mov dword [0x1029b8ec], edx
mov cl, byte [0x1029b8fc]
mov edx, dword [0x1029b8f8]
mov byte [ebx + edx], cl
mov edx, dword [0x1029b8f4]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1029b8f8]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1029b904], ecx
mov dword [0x1029b8ec], 0x395
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x2c], edi
jne 0x101f8a00
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101f8beb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x1029b8f0]
mov edi, esi
add edi, 0xffffdf43
mov dword [0x1029b8ec], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edx
jmp 0x101f8cec
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.101f8af5
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x1029b8ec], 0x21cb
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x50], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx], ecx
add ecx, 0x21b7
mov esi, dword [ebp - 0x40]
cmp esi, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x101f8caa
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x54
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
add ecx, 0xffffe336
mov dword [0x1029b8f0], ecx
mov dword [ebp - 0x4c], eax
call fcn.101f863a
mov dword [esp], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
call fcn.101f8f4a
cmp eax, 0
mov dword [ebp - 0x3c], eax
je 0x101f8d14
jmp 0x101f8c20
mov eax, dword [ebp - 0x38]
mov cl, byte [eax + 0x101fa624]
mov dl, byte [eax + 0x101fa5f5]
sub dl, cl
mov byte [ebp + eax - 0x28], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x38], eax
je 0x101f8cb4
jmp 0x101f8cec
xor eax, eax
add esp, 0x54
pop esi
pop edi
pop ebp
ret
Function at 0x10008ec0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37c8
call fcn.1007fec0
mov eax, dword [0x100b700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ecx]
lea eax, [ebp - 0x108]
xor esi, esi
push str..PhysicalDrive_d
push eax
call fcn.10009790
add esp, 0xc
lea eax, [ebp - 0x108]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100090e3
push 0x2710
lea eax, [ebp - 0x37b8]
mov dword [ebp - 0x37bc], esi
push esi
push eax
mov dword [ebp - 0x37c0], esi
mov dword [ebp - 0x37c8], esi
mov dword [ebp - 0x37c4], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push esi
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0xc
lea eax, [ebp - 0x37c8]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100090d6
mov edx, dword [ebp - 0x37ac]
lea eax, [ebp - 0x8d8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008d30
mov edx, dword [ebp - 0x37a8]
lea eax, [ebp - 0xcc0]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008d30
mov edx, dword [ebp - 0x37a4]
lea eax, [ebp - 0x10a8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008d30
mov edx, dword [ebp - 0x37a0]
lea eax, [ebp - 0x4f0]
push eax
push 1
lea ecx, [ebp - 0x37b8]
call fcn.10008d30
add esp, 0x20
cmp byte [0x100b9ed8], 0
jne 0x10009099
movsx eax, byte [ebp - 0x4f0]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
jne 0x10009012
movsx eax, byte [ebp - 0x4dd]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
je 0x10009099
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x8d8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100b9ad7], al
test al, al
jne 0x10009020
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0xcc0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100b92d7], al
test al, al
jne 0x10009040
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x4f0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100b9ed7], al
test al, al
jne 0x10009060
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x10a8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100b96d7], al
test al, al
jne 0x10009080
mov esi, 1
push 0x2710
lea eax, [ebp - 0x37b8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0
push 0
push 0x700a0
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x100090dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1007eb29
mov esp, ebp
pop ebp
ret