joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f9f0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431bb0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x448090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
test esi, esi
je 0x41fb70
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41fb70
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x41fb70
cmp dword [esi], 0
je 0x41fb57
mov ecx, dword [eax]
test ecx, ecx
je 0x41fb57
mov eax, dword [ebx]
test eax, eax
je 0x41fb57
push eax
lea eax, [ebp + 8]
push eax
push 0
push 0
push 1
mov dword [ebp + 8], ecx
mov ecx, dword [edi + 8]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x41fab1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
test eax, eax
jle 0x41fb75
and eax, 0xffff
or eax, 0x80070000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
cmp eax, dword [ebx]
jbe 0x41faf9
push eax
mov dword [ebp - 4], 0
call fcn.00420b5d
mov edx, dword [esi]
mov edi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
add esp, 4
push ecx
push edx
push eax
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.0041fe58
mov ecx, dword [esi]
push ecx
call fcn.00420566
mov edx, dword [ebp + 8]
mov dword [esi], edi
mov edi, dword [ebp - 0x14]
add esp, 0x14
mov dword [ebx], edx
mov eax, dword [ebx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi]
push eax
mov eax, dword [edi + 8]
push ecx
push edx
push 0
push 1
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x41fb41
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41fa8b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x80004003
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41fb90
Capabilities:
Encrypt data using aes via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
test eax, eax
je 0x41fc8f
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x41fc8f
push edi
lea edi, [esi + 8]
push edi
push 1
mov dword [eax], 0
mov eax, dword [esi]
push 0x660e
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x41fc20
mov ecx, dword [esi + 4]
mov edx, dword [edi]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptExportKey]
push 0
push 0x40
push 1
push ecx
push edx
call ebx
test eax, eax
je 0x41fc20
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 4]
call fcn.004022d0
test al, al
jne 0x41fc07
mov esi, 0x8007000e
jmp 0x41fc36
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 4]
push edx
mov edx, dword [edi]
push eax
push 0x40
push 1
push ecx
push edx
call ebx
test eax, eax
jne 0x41fc72
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x41fc34
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x41fc49
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [edi], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax], 0
push edx
mov dword [ecx], 0
call fcn.00420566
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
push 0
mov dword [ecx], eax
call fcn.00420566
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
pop esi
mov eax, 0x80004003
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42b82f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x448090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004262ff
mov dword [ebp - 0x14], eax
cmp dword [0x44aadc], edi
jne 0x42b920
push 0x800
push edi
push 0x4377cc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x42b8ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42ba00
push 0x4377cc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42ba00
push 0x4377e4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42ba00
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x44aadc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x44aae0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x44aae4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44aaec], eax
test eax, eax
je 0x42b91d
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44aae8], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42b945
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42b938
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x42b95a
push 4
pop eax
jmp 0x42ba02
cmp dword [ebp - 0x14], edi
je 0x42b95a
push dword [0x44aadc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42b93f
mov eax, dword [0x44aae8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x42b9b8
cmp dword [0x44aaec], esi
je 0x42b9b8
push eax
call ebx
push dword [0x44aaec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42b9b8
test eax, eax
je 0x42b9b8
call ecx
test eax, eax
je 0x42b9ad
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x42b9ad
test byte [ebp - 8], 1
jne 0x42b9b8
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x42b9e8
mov eax, dword [0x44aae0]
cmp eax, esi
je 0x42b9e5
push eax
call ebx
test eax, eax
je 0x42b9e5
call eax
mov edi, eax
test edi, edi
je 0x42b9e5
mov eax, dword [0x44aae4]
cmp eax, esi
je 0x42b9e5
push eax
call ebx
test eax, eax
je 0x42b9e5
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x44aadc]
call ebx
test eax, eax
je 0x42ba00
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x42ba02
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fe49
leave
ret
Function at 0x1010945a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1010961f
mov dword [0x101cec0c], 0x185d
mov dword [0x101cec08], 0x205
mov ecx, dword fs:[0x18]
mov dword [0x101cec08], 0x212c
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov dword [0x101cec0c], 0x13d0
mov eax, dword [eax + 0x14]
cmp eax, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
je 0x10109610
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x20]
mov byte [ebp - 0x21], cl
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [0x101cec0c], 0xaad
mov ecx, eax
add ecx, 0x24
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
jne 0x10109530
jmp 0x10109540
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x1010961f
mov eax, dword [ebp - 0x30]
mov cx, word [eax]
mov word [ebp - 0x3a], cx
xor eax, eax
mov dword [0x101cec08], 0xffffe74d
mov cx, word [ebp - 0x3a]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], eax
je 0x101095f3
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x48], eax
mov word [ebp - 0x4a], dx
mov word [ebp - 0x4c], di
jb 0x101095a6
mov ax, word [ebp - 0x4a]
mov word [ebp - 0x4c], ax
mov ax, word [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x48]
cmp word [ecx + edx*2], ax
sete bl
add edx, 1
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x40]
cmp edx, esi
setb bh
and al, bh
test al, 1
mov byte [ebp - 0x4d], bl
mov dword [ebp - 0x44], edx
jne 0x10109572
mov dword [0x101cec08], 0x1b01
mov al, byte [ebp - 0x4d]
test al, 1
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
jne 0x1010961f
mov dword [0x101cec08], 0x25ac
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
cmp ecx, edx
mov dword [ebp - 0x28], ecx
jne 0x101094f5
xor eax, eax
mov dword [0x101cec0c], 0x23cc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1010962a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x101cec08], 0x23d1
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10109685
xor eax, eax
mov ecx, dword [0x101cec0c]
mov edx, ecx
add edx, 0x411
mov dword [0x101cec0c], edx
add ecx, 0x5d3
mov dword [0x101cec08], ecx
mov dword [ebp - 0x13c], eax
jmp 0x101096e4
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x17c
mov edi, edx
add edi, esi
add edi, 0x11c
mov esi, dword [edi]
imul edi, eax, 0x17c
add edx, edi
add edx, 0xec
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x223
mov ecx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
je 0x1010965b
jmp 0x10109685
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax + 0x1019abe8]
mov dl, byte [eax + 0x1019abb9]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x13c], eax
jne 0x101096e4
lea eax, [ebp - 0x12c]
mov dword [0x101cec08], 0x1b8b
mov dword [ebp - 0x144], eax
call fcn.1010a365
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.10109dc9
mov ecx, eax
mov dword [0x101cec28], eax
mov eax, esp
mov edx, dword [ebp - 0x140]
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 dword [0x101cec08], 0x829
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, eax, 0x17c
mov edi, edx
add edi, esi
add edi, 0x11c
mov esi, dword [edi]
imul edi, eax, 0x17c
mov ebx, edx
add ebx, edi
add ebx, 0xd8
mov edi, dword [ebx]
imul ebx, eax, 0x17c
add edx, ebx
add edx, 0xec
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 - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.101098cf
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x223
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x1010978b
lea eax, [0x1019abc7]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.1010a69d
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 - 0x140]
mov dword [esp + 0xc], edx
call fcn.1010992f
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x71268
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x11c600
mov ecx, dword [ebp - 0x148]
add ecx, 0x58e31
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f50
mov dword [0x101cec0c], 0xe43
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1010992f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
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 [0x101cec10], 0
mov dword [0x101cec14], 0
mov dword [0x101cec20], 0
mov dword [0x101cec08], 0x819
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 0x10109a88
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, eax
add edi, 1
add edx, 1
mov dword [ebp - 0x2c], eax
mov eax, edx
cdq
idiv esi
mov dword [0x101cec10], edx
mov dword [0x101cec08], 0x110a
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101cec14], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x101cec18], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101cec18]
mov edx, dword [0x101cec14]
mov byte [ebx + edx], cl
mov edx, dword [0x101cec10]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101cec14]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov edx, dword [0x101cec08]
mov esi, edx
add esi, 0x154a
mov dword [0x101cec08], esi
and ecx, 0xff
mov dword [0x101cec20], ecx
mov esi, dword [0x101cec0c]
add esi, 0x880
mov dword [0x101cec0c], esi
mov cl, byte [ebx + ecx]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [esi + ebx]
mov byte [0x101cec25], ch
mov byte [0x101cec26], cl
xor ch, cl
mov byte [0x101cec24], ch
add edx, 0xffffd056
mov dword [0x101cec08], edx
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
jne 0x10109a90
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x101cec10]
mov ecx, dword [0x101cec14]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x10109992
Function at 0x10109f25
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x101cec0c], 0xfffffec1
mov dword [0x101cec08], 0x83
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x10109ff4
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 - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.1010a594
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x101cec0c], 0xfc2
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x44], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x40], ecx
mov dword [0x101cec08], 0x671
add ecx, 0x147e
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x10109feb
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1019abe8]
mov dh, byte [eax + 0x1019abb9]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x10109ff4
lea eax, [ebp - 0x24]
mov dword [0x101cec0c], 0xe43
mov dword [0x101cec08], 0x1b8b
mov dword [ebp - 0x44], eax
call fcn.1010a365
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.10109dc9
cmp eax, 0
mov dword [ebp - 0x34], eax
jne 0x10109f56
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x1010a120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 8]
mov dword [0x101cec08], 0x1f0
mov dword [ebp - 0x10], eax
call fcn.10109b2a
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 0x1010a162
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x78]
mov ecx, eax
add ecx, 0x20
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx]
mov dword [0x101cec0c], 0x1eae
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov ebx, dword [esi + edi + 0x24]
mov dword [0x101cec08], 0xb82
mov edx, dword [esi + edi + 0x18]
cmp edx, 0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
je 0x1010a2ba
jmp 0x1010a1cd
mov al, byte [ebp - 0x35]
test al, 1
jne 0x1010a297
jmp 0x1010a262
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
add eax, ecx
mov dword [ebp - 0x3c], eax
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
jmp 0x1010a20f
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x35]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x50], eax
jne 0x1010a233
jmp 0x1010a1bd
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x30]
mov edi, dword [esi + eax*4]
mov dword [0x101cec08], 0x2173
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edx, dword [ebp - 0x5c]
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 - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x35], cl
je 0x1010a1bd
jmp 0x1010a1e5
mov eax, dword [ebp - 0x58]
add eax, 2
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], ecx
xor eax, eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x34], eax
jb 0x1010a20f
jmp 0x1010a2ba
mov eax, dword [ebp - 0x58]
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 [0x101cec08], 0x12d8
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1010a69d
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101cec14], 0
mov byte [0x101cec18], 0
mov dword [0x101cec08], 0x719
mov dword [0x101cec10], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1010a70b
xor eax, eax
mov dword [0x101cec10], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1010a749
mov eax, dword [0x101cec08]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x1010a749
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101cec0c]
add eax, 0xfffff13a
mov dword [0x101cec08], eax
mov esi, dword [0x101cec10]
add esi, 1
mov dword [0x101cec10], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x1010a70b
jmp 0x1010a6e4
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [0x101cec1c], 0
mov esi, dword [0x101cec14]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x30], eax
xor esi, esi
mov dword [ebp - 0x34], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x101cec1c], ebx
mov dword [0x101cec0c], 0xde7
mov eax, ebx
cdq
mov ebx, dword [ebp - 0x34]
idiv ebx
mov dword [0x101cec14], edx
mov esi, dword [ebp - 0x30]
mov bl, byte [edi + esi]
mov byte [0x101cec18], bl
add ecx, 0x17b0
mov dword [0x101cec08], ecx
mov bl, byte [edi + edx]
mov byte [edi + esi], bl
mov dword [0x101cec08], 0x20e9
mov bl, byte [0x101cec18]
mov ecx, dword [0x101cec14]
mov byte [edi + ecx], bl
mov ecx, dword [0x101cec10]
add ecx, 1
mov dword [0x101cec10], ecx
cmp ecx, 0x100
mov dword [ebp - 0x2c], ecx
jl 0x1010a6fb
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1010a896
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x101cec08], 0x1c02
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 0x1010a8db
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x1010a8d3
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x1010a908
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x1010a8db
mov eax, dword [ebp - 0x1c]
mov dword [0x101cec08], 0x848
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x1010a8cc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
sete dl
mov byte [ebp - 0x21], dl
mov al, byte [ebp - 0x21]
test al, 1
jne 0x1010a940
jmp 0x1010a8cc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
mov dx, word [eax + ecx*2 - 0x16]
mov word [ebp - 0x24], dx
mov ax, word [ebp - 0x24]
cmp ax, 0x61
jne 0x1010a8cc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1010a8cc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1010a8cc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1010a8cc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x14], eax
je 0x1010a8d3
jmp 0x1010a8cc