joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015d03
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x1002bca0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10015d43
cmp byte [ebx], 0xa
jne 0x10015d43
or byte [edi + eax + 0x28], 4
jmp 0x10015d48
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x10015e47
mov dl, byte [eax]
cmp dl, 0x1a
je 0x10015e2a
inc eax
cmp dl, 0xd
je 0x10015d74
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x10015d9a
cmp eax, ecx
jae 0x10015da8
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x10015d5c
jmp 0x10015e47
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10015e25
cmp dword [ebp - 0x10], 0
je 0x10015e25
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x1002bca0]
test byte [eax + edi + 0x28], 0x48
je 0x10015dff
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10015dea
mov byte [esi], dl
jmp 0x10015dfb
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1002bca0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10015e47
cmp byte [ebp - 1], 0xa
jne 0x10015e0e
cmp esi, ebx
jne 0x10015e0e
mov byte [esi], 0xa
jmp 0x10015e46
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10016889
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10015e47
mov byte [esi], 0xd
jmp 0x10015e46
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x1002bca0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10015e44
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10015e47
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10015e50
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x1002bca0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10015e96
cmp word [ebx], dx
jne 0x10015e96
or byte [eax + edi + 0x28], 4
jmp 0x10015e9b
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10015ffe
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10015fde
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10015edc
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10015f12
cmp eax, edx
jae 0x10015f20
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x10015eb7
jmp 0x10015ffe
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10015fd9
cmp dword [ebp - 0x18], 0
je 0x10015fd9
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x1002bca0]
test byte [eax + edi + 0x28], 0x48
je 0x10015faf
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x10015f73
mov word [esi], cx
jmp 0x10015faa
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x1002bca0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x1002bca0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x1002bca0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10015ffe
pop eax
cmp word [ebp - 4], ax
jne 0x10015fbf
cmp esi, ebx
jne 0x10015fbf
mov word [esi], ax
jmp 0x10015ffb
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10016889
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10015ffe
push 0xd
pop eax
jmp 0x10015fba
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1002bca0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10015ff8
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10015ffe
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10019b41
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10019bde
push ebx
push esi
call fcn.10019b0a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100188df
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10019b8b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10019bdd
push edi
push eax
call fcn.10016a6a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10019bab
call fcn.10011cf2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10019bdc
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100188df
add esp, 0x20
test eax, eax
jne 0x10019bca
push edi
call fcn.10011cf2
jmp 0x10019bd2
push ebx
call fcn.10011cf2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001be5b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10012096
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001beca
cmp esi, dword [ebp - 4]
je 0x1001bec5
cmp dword [ebp + 0xc], 0
je 0x1001bec5
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1001bea2
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1001b9ad
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1001becc
xor eax, eax
inc eax
jmp 0x1001becc
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1001bf31
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1002a380]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10012096
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10012096
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1001bfa8
cmp word [ecx], dx
je 0x1001bfa8
mov eax, dword [0x1002405c]
push edi
dec eax
push eax
push 0x10023f48
call fcn.1001bed0
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1001c01b
cmp word [eax], dx
je 0x1001c01b
mov eax, dword [edi]
test eax, eax
je 0x1001bfcc
cmp word [eax], dx
je 0x1001bfcc
lea eax, [ebp - 0x10]
push eax
call fcn.1001b8b3
jmp 0x1001bfd5
lea eax, [ebp - 0x10]
push eax
call fcn.1001b94e
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1001c045
mov eax, dword [0x10023f44]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10023c38
call fcn.1001bed0
add esp, 0xc
test al, al
je 0x1001c045
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1001c010
cmp word [eax], di
je 0x1001c010
lea eax, [ebp - 0x10]
push eax
call fcn.1001b8b3
pop ecx
jmp 0x1001c047
lea eax, [ebp - 0x10]
push eax
call fcn.1001b94e
jmp 0x1001c00d
mov eax, dword [edi]
test eax, eax
je 0x1001c032
cmp word [eax], dx
je 0x1001c032
lea eax, [ebp - 0x10]
push eax
call fcn.1001b868
pop ecx
jmp 0x1001c045
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1001c110
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1001bd55
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1001c110
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1001c110
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1001c110
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1001c09d
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10014022
test ebx, ebx
je 0x1001c10b
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10014022
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001c110
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001c110
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1001d394
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1001c112
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008861
leave
ret
Function at 0x1001eb80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001ebad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001ebad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401000
Capabilities:
Execute command
Power down monitor

Disassembly:
push esi
push 0x15
push str.Error
push str.Fatal_Error
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, eax
mov ecx, esi
sub ecx, 2
je 0x40103e
sub ecx, 2
jne 0x40104e
push 2
push 0xf170
push 0x112
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, esi
pop esi
ret
push str.C:WindowsSystem32_shutdown.exe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov eax, esi
pop esi
ret
Function at 0x100c0ff3
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 ecx, dword [0x1015cad8]
add ecx, 0xffffd373
mov dword [0x1015cad4], ecx
mov dword [ebp - 0x10], eax
call fcn.100c2344
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x1015cad4], 0x9dc
mov edi, dword [0x1015cad8]
add edi, 0x21bf
mov dword [0x1015cad8], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1015cad4], 0xffffeeb0
mov dword [0x1015cad8], 0x15d7
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
jne 0x100c107f
mov eax, dword [ebp - 0x24]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
add eax, 0x24
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x28], ecx
mov eax, 0x15d7
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
add edx, dword [esi]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
xor esi, esi
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + eax*4]
mov edi, edx
add edi, 0xffffecbf
mov dword [0x1015cad4], edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esi
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
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 - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x100c1126
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
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x100c10d5
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x100c116e
jmp 0x100c112f
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 0xffffec71
mov dword [0x1015cad8], ecx
mov edx, dword [ebp - 0x3c]
add edx, 2
mov esi, dword [ebp - 0x38]
add esi, 1
mov edi, dword [ebp - 0x18]
cmp esi, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
jb 0x100c10a7
jmp 0x100c1074
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [ebp - 0x54], ecx
mov dword [0x1015cad4], 0x651
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x54]
add eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x100c1074
Function at 0x100c123f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1015cad4], 0x3eb
mov dword [0x1015cad8], 0x840
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x100c12af
lea eax, [ebp - 0x20]
mov dword [0x1015cad8], 0x16248
mov dword [0x1015cad4], 0x4b4
mov dword [ebp - 0x30], eax
call fcn.100c196e
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.100c15fa
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x100c1380
jmp 0x100c12d7
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x101517d4]
mov dl, byte [eax + 0x101517a5]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
je 0x100c126c
jmp 0x100c12af
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 ecx, dword [0x1015cad4]
add ecx, 0x2253
mov dword [0x1015cad4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.100c1388
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [0x1015cad8], 0x13bc
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx], ecx
mov dword [0x1015cad4], 0xf7e
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x100c1380
mov eax, dword [ebp - 0x3c]
add eax, 0x1d61
mov dword [0x1015cad8], 0x414
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x100c14a5
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 dword [0x1015cae0], 0
mov byte [0x1015cae4], 0
mov dword [0x1015cadc], 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 dword [0x1015cad4], 0x7ed
mov eax, dword [0x1015cadc]
add eax, 1
mov dword [0x1015cadc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100c14e0
xor eax, eax
mov dword [0x1015cad8], 0x441
mov dword [0x1015cadc], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1015cae8], 0
mov dword [0x1015cad8], 0x2651
mov edi, dword [0x1015cae0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1015cae8], esi
mov dword [0x1015cad4], 0x103
mov eax, esi
cdq
idiv ecx
mov dword [0x1015cae0], edx
mov dword [0x1015cad8], 0xfffff8df
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1015cae4], cl
mov dword [0x1015cad8], 0x23a8
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x1015cae4]
mov esi, dword [0x1015cae0]
mov byte [ebx + esi], cl
mov dword [0x1015cad4], 0x11a4
mov esi, dword [0x1015cadc]
add esi, 1
mov dword [0x1015cadc], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x100c1529
mov dword [0x1015cad4], 0x12fc
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100c2015
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x1015cad8], 0x1ec2
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x1015cad4]
add esi, 0xffffd90d
mov dword [0x1015cad4], esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x100c207b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x100c20d0
jmp 0x100c2135
mov eax, dword [ebp - 0x1c]
add esp, 0x24
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x100c20a8
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], eax
jl 0x100c207b
mov eax, dword [ebp - 0x24]
mov dword [0x1015cad8], 0x1559
mov dword [0x1015cad4], 0xff6
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x100c205e
jmp 0x100c2135
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x100c2135
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x100c2135
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x100c2135
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x100c2135
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x25], dl
mov eax, 1
mov cl, byte [ebp - 0x25]
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x100c2072
jmp 0x100c2135
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x100c2072
Function at 0x100c24b9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0xfffff521
xor ebx, ebx
mov dword [0x1015cad4], 0x56f
mov dword [0x1015cadc], 0
mov dword [0x1015cae0], 0
mov dword [0x1015caec], 0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x100c265f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
mov dword [0x1015cad8], 0x1770
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1015cadc], edx
mov ecx, dword [ebp - 0x24]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1015cae0], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1015cae4], cl
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x1015cad4]
add edx, 0xffffdfde
mov dword [0x1015cad8], edx
mov cl, byte [0x1015cae4]
mov edx, dword [0x1015cae0]
mov byte [edi + edx], cl
mov edx, dword [0x1015cad4]
add edx, 0x264e
mov dword [0x1015cad4], edx
mov edx, dword [0x1015cadc]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1015cae0]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1015caec], ebx
mov dword [0x1015cad4], 0x2274
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x1015caf1], ch
mov byte [0x1015caf2], cl
xor ch, cl
mov byte [0x1015caf0], ch
mov dword [0x1015cad8], 0x2bc2
mov dword [0x1015cad4], 0x422
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x3c], ebx
je 0x100c264c
mov eax, dword [0x1015cadc]
mov dword [ebp - 0x40], eax
mov eax, dword [0x1015cae0]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], edx
jmp 0x100c2524
mov eax, dword [0x1015cad4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add eax, 0xffffefb2
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [0x1015cad4], eax
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100c266f
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x1015cad4]
add eax, 0xfffff5ce
mov dword [0x1015cad8], eax
call fcn.10001087
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x100c27e2
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x1015cad4], 0x1bb6
mov dword [esp], eax
mov dword [esp + 0x20], ecx
call fcn.100c1d24
lea ecx, [0x100c191d]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x84], edx
mov dword [esp + 0x90], 0x11b000
mov edx, dword [0x1015cac0]
mov dword [esp + 0x50], edx
mov edx, dword [0x1015cac4]
mov dword [esp + 0x68], edx
mov edx, dword [0x1015cac8]
mov dword [esp + 0x64], edx
mov edx, dword [0x1015cacc]
mov dword [esp + 0x74], edx
mov dword [0x1015cad8], 0x17d1
mov edx, dword [0x1015cad0]
mov dword [esp + 0x78], edx
mov dword [0x1015cad4], 0x4b6
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x100c274b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x100c275f
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x18], eax
jmp 0x100c2728
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov dword [0x1015cad4], 0x9dc
mov dword [0x1015cad8], 0x3990
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x54], edx
call fcn.100c2015
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x100c27da
lea eax, [esp + 0x38]
mov dword [0x1015cad4], 0x1644
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100c123f
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x1015cad8], 0xe1d
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret