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

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0xbcbffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xbcc035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.00bcbe00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0xbcbfc5
mov edi, 0xbe68b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xbcc035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00bcbe00
add edi, 4
add esp, 0xc
cmp edi, 0xbe68c0
jb 0xbcc000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0xbcc070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.00bd2082
mov esi, eax
add esp, 8
test esi, esi
je 0xbcc107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0xbcc102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00bd1946
add esp, 8
test eax, eax
je 0xbcc0e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0xbcc0e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00bd1946
add esp, 8
test eax, eax
jne 0xbcc0c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0xbcc102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0xbccf10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0xbe19fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xbcd002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00bd0dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xbcd002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.00bc86e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00bd120b
push 0x10
call fcn.00bd11d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xbccfc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00bbd1c0
jmp 0xbccfc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00bccb80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xbccff0
mov ecx, edi
call fcn.00bbd2c0
push edi
call fcn.00bd11c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xbcd021
inc ebx
cmp ebx, 0x20
jb 0xbccf3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xbce250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xbe2808
push 0xbd2288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xbce329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xbce329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00bd11d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xbce329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xbce329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xbce32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00bce351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xbced20
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 0xbced58
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 0xbced60
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 0xbced94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xbced94
push eax
push esi
call fcn.00bd120b
add esp, 8
pop esi
ret 0x10

Function at 0xbceda0
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 0xbcee22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xbcee15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xbe7320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00bd0dff
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 0xbcedda
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 0xbcee30
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 0xbceec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xbceeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xbe7320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00bd0dff
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 0xbceeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xbcee6a
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 0xbcf000
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 0xbcf131
push esi
call fcn.00bd2145
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.00bc1080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xbcf131
push 0
push ebp
call fcn.00bc13a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00bc1260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xbcf08b
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.00bc12f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xbcf121
push 0xbe7918
push edi
call fcn.00bd03f0
push eax
push ebx
push esi
call fcn.00bcef60
push 0xbe78f8
push edi
call fcn.00bd03f0
push eax
push ebx
push esi
call fcn.00bcef60
push 0xbe78d8
push edi
call fcn.00bd03f0
push eax
push ebx
push esi
call fcn.00bcef60
push 0xbe78c0
push edi
call fcn.00bd03f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00bcef60
push 0xbe78a0
push edi
call fcn.00bd03f0
push eax
push ebx
push esi
call fcn.00bcef60
push 0xbe7888
push edi
call fcn.00bd03f0
push eax
push ebx
push esi
call fcn.00bcef60
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 0xbd01b0
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.00bd0140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00bd0140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00bd0140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00bd0140
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 0xbd0bfa
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 0xbd0c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xbe287c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xbd0c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xbd0c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x100c7e8c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [0x100ecacc], 0xb
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov ecx, dword [0x100ecacc]
add ecx, 0xffffd9ce
mov dword [0x100ecad0], ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov dword [0x100ecacc], 0x15bd
mov dword [ebp - 0x10], eax
jmp 0x100c7f07
mov dword [0x100ecad0], 0x80e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
sete dl
mov byte [ebp - 0x15], dl
mov al, byte [ebp - 0x15]
test al, 1
jne 0x100c7f74
jmp 0x100c7fe0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x100c7f34
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x100c7f07
mov eax, dword [ebp - 0x20]
mov dword [0x100ecacc], 0x10c9
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x100c7fe0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
sete dl
mov byte [ebp - 0x21], dl
mov al, byte [ebp - 0x21]
test al, 1
jne 0x100c7ede
jmp 0x100c7fe0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x100c7fe0
mov dword [0x100ecad0], 0x8e7
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff7
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2], 0x64
jne 0x100c7fe0
mov dword [0x100ecacc], 0xe97
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x100c7fe0
mov eax, 1
mov dword [0x100ecad0], 0x113b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
je 0x100c7fe7
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x100c7fe7
mov eax, dword [ebp - 0x2c]
add esp, 0x2c
pop ebp
ret
Function at 0x100c7fef
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov dword [0x100ecacc], 0x234d
call fcn.10001087
cmp eax, 0
sete cl
mov byte [esp + 0x2f], cl
xor eax, eax
mov cl, byte [esp + 0x2f]
test cl, 1
mov dword [esp + 0x28], eax
jne 0x100c8032
jmp 0x100c8028
mov eax, dword [esp + 0x28]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea eax, [esp + 0x40]
mov dword [esp + 0x24], eax
mov dword [0x100ecacc], 0x1e2a
call fcn.100c7e8c
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x20], ecx
je 0x100c807a
jmp 0x100c8070
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x100c8105
jmp 0x100c8119
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
jmp 0x100c8028
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.100c8360
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x40], ecx
mov ecx, dword [0x100ecacc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
lea eax, [0x100c7e37]
mov ecx, dword [esp + 0x10]
add ecx, 0xdd
mov dword [0x100ecad0], ecx
mov dword [esp + 0x90], 0x125600
mov ecx, dword [0x100ecab8]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x100ecabc]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x100ecac0]
mov dword [esp + 0x94], ecx
mov ecx, dword [0x100ecac4]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x100ecac8]
mov dword [esp + 0x68], ecx
mov dword [0x100ecacc], 0xffffe6c3
mov dword [esp + 0x1c], eax
jmp 0x100c8058
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x100c8130
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x100c8058
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x84], esi
add eax, 8
mov dword [esp + 8], eax
lea eax, [esp + 0x40]
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.100c8918
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x100ecacc], 0x239d
mov dword [esp + 0x20], eax
jmp 0x100c8070
Function at 0x100c864e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.100c8cf3
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov eax, dword [eax + esi]
cmp eax, 0x4550
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edi
je 0x100c8686
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [0x100ecad0], 0x1657
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x20]
mov dword [0x100ecacc], 0x91
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + edx + 0x18]
cmp edi, 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
je 0x100c871b
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
jmp 0x100c86ff
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x3c]
add edx, 1
mov esi, dword [ebp - 0x24]
cmp edx, esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
jae 0x100c871b
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edx
jmp 0x100c8751
mov eax, dword [ebp - 0x2c]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x14]
add edi, dword [edx + ecx*4]
mov dword [0x100ecacc], 0x1802
mov dword [ebp - 0x48], edi
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
jmp 0x100c871b
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x14]
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 - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x100c87ae
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x55], ch
mov eax, dword [ebp - 0x54]
cmp eax, 0x20
setb cl
mov dl, byte [ebp - 0x55]
and dl, cl
test dl, 1
mov dword [ebp - 0x44], eax
jne 0x100c8751
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x100c8726
jmp 0x100c86db
Function at 0x100c8918
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x100ecad0], 0x15d4
mov dword [0x100ecacc], 0x407
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x100c897e
lea eax, [ebp - 0x20]
mov dword [0x100ecad0], 0x161a
mov dword [ebp - 0x30], eax
call fcn.100c8fd3
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.100c8b7f
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x100c8a4d
jmp 0x100c89aa
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100cb602]
mov dh, byte [eax + 0x100cb5d3]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
je 0x100c8945
jmp 0x100c897e
mov eax, dword [ebp - 0x34]
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 - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.100c81be
mov eax, dword [ebp - 0x3c]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xc0
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 8], ecx
mov dword [0x100ecacc], 0xeda
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x100c8a4d
mov dword [0x100ecad0], 0xffffe86e
mov eax, dword [ebp - 0x3c]
add eax, 0x2024
mov dword [0x100ecacc], 0x443
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
jmp 0x100c8a4d
mov eax, dword [ebp - 0x38]
add esp, 0x50
pop ebp
ret
Function at 0x100c8e33
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x100ecad0]
add edi, 0xfffffc50
mov dword [0x100ecacc], edi
mov dword [0x100ecad8], 0
mov byte [0x100ecadc], 0
mov dword [0x100ecad0], 0x1e29
mov dword [0x100ecad4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x100ecad0]
mov esi, eax
add esi, 0xffffe676
mov dword [0x100ecacc], esi
mov esi, dword [0x100ecad4]
add esi, 1
mov dword [0x100ecad4], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x100c8e8a
jmp 0x100c8f8a
mov eax, dword [ebp - 0x24]
mov ecx, 0x100
mov dword [0x100ecae0], 0
mov edx, dword [0x100ecad8]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x28], 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 [0x100ecae0], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x100ecad8], edx
mov dword [0x100ecacc], 0x13cc
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
mov cl, byte [ecx + edi]
mov byte [0x100ecadc], cl
mov dword [0x100ecacc], 0x1ae6
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x100ecadc]
mov edx, dword [0x100ecad8]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x100ecad0]
add edx, 0xffffe7b0
mov dword [0x100ecacc], edx
mov edx, dword [0x100ecad4]
add edx, 1
mov dword [0x100ecad4], edx
cmp edx, 0x100
mov dword [ebp - 0x24], edx
jl 0x100c8ecf
jmp 0x100c8fad
xor eax, eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffff1df
mov dword [0x100ecacc], ecx
mov dword [0x100ecad4], 0
mov dword [ebp - 0x24], eax
jmp 0x100c8ecf
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100c91bf
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
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 [0x100ecad4], 0
mov dword [0x100ecad8], 0
mov dword [0x100ecae4], 0
mov dword [0x100ecacc], 0x127b
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 0x100c9301
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x100ecad4], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x100ecad8], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x100ecadc], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x100ecadc]
mov edx, dword [0x100ecad8]
mov byte [edi + edx], cl
mov edx, dword [0x100ecad4]
movzx edx, byte [edi + edx]
mov ebx, dword [0x100ecad8]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x100ecacc], 0x114e
and ebx, 0xff
mov dword [0x100ecae4], ebx
mov dword [0x100ecad0], 0x2fb
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x100c9301
mov eax, dword [0x100ecad4]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x100ecad8]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x100c9222
mov dword [0x100ecad0], 0x163b
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret