joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10d9d20
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 0x10d9d58
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 0x10d9d60
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 0x10d9d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10d9d94
push eax
push esi
call fcn.010dc20b
add esp, 8
pop esi
ret 0x10

Function at 0x10d9da0
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 0x10d9e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x10d9e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x10f2320
push ecx
mov dword [esp + 0x1c], 4
call fcn.010dbdff
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 0x10d9dda
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 0x10d9e30
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 0x10d9ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x10d9eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x10f2320
push ecx
mov dword [esp + 0x1c], 4
call fcn.010dbdff
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 0x10d9eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x10d9e6a
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 0x10da000
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 0x10da131
push esi
call fcn.010dd145
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.010cc080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x10da131
push 0
push ebp
call fcn.010cc3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.010cc260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x10da08b
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.010cc2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10da121
push 0x10f2918
push edi
call fcn.010db3f0
push eax
push ebx
push esi
call fcn.010d9f60
push 0x10f28f8
push edi
call fcn.010db3f0
push eax
push ebx
push esi
call fcn.010d9f60
push 0x10f28d8
push edi
call fcn.010db3f0
push eax
push ebx
push esi
call fcn.010d9f60
push 0x10f28c0
push edi
call fcn.010db3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.010d9f60
push 0x10f28a0
push edi
call fcn.010db3f0
push eax
push ebx
push esi
call fcn.010d9f60
push 0x10f2888
push edi
call fcn.010db3f0
push eax
push ebx
push esi
call fcn.010d9f60
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 0x10db1b0
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.010db140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.010db140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.010db140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.010db140
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 0x10dbbfa
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 0x10dbc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x10ed87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10dbc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x10dbc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x571d0f05
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x2ca06955
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1014420c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101ac730]
jne 0x10144216
repz ret
jmp fcn.101444bd
Function at 0x1014498a
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]
xor ecx, ecx
mov dword [0x101ac710], 0x132a
mov dword [0x101ac70c], 0x3614
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10144ad0
lea eax, [0x10146623]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], ecx
call fcn.10144f94
mov eax, dword [ebp - 0x13c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x148]
mov dword [esp + 0xc], edx
call fcn.10145571
xor eax, eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x3dea6
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x12fa00
mov ecx, dword [ebp - 0x144]
add ecx, 0x287b3
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f70
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x14c], eax
mov dword [0x101ac710], 0x156a
call fcn.10145204
mov dword [esp], eax
mov eax, dword [ebp - 0x14c]
mov dword [esp + 4], eax
call fcn.10145b19
mov ecx, eax
mov dword [0x101ac72c], eax
mov eax, esp
mov edx, dword [ebp - 0x148]
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 - 0x144], eax
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x154], ecx
jmp 0x10144b74
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, ecx, 0x178
mov edi, edx
add edi, esi
add edi, 0xbc
imul esi, ecx, 0x178
add edx, esi
add edx, 0xc0
add ecx, 1
mov edx, dword [edx]
movzx esi, word [edi]
xor esi, edx
add esi, eax
cmp ecx, 0x451
mov eax, esi
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x10144ad0
mov dword [0x101ac70c], 0x1177
xor eax, eax
mov dword [ebp - 0x158], eax
jmp 0x10144b3f
mov eax, dword [ebp - 0x158]
mov cl, byte [eax + 0x10146644]
mov dl, byte [eax + 0x10146615]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x158], eax
je 0x10144a5d
jmp 0x10144b3f
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x150]
lea edx, section..data
mov esi, dword [ebp - 0x144]
add esi, eax
imul edi, ecx, 0x178
mov ebx, edx
add ebx, edi
add ebx, 0xbc
mov edi, ecx
add edi, 1
mov dword [ebp - 0x15c], eax
imul eax, ecx, 0x178
mov dword [ebp - 0x160], eax
mov eax, edx
mov dword [ebp - 0x164], ecx
mov ecx, dword [ebp - 0x160]
add eax, ecx
add eax, 0x2c
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x178
add edx, ecx
add edx, 0xc0
mov ecx, dword [edx]
mov eax, dword [eax]
movzx edx, word [ebx]
xor edx, ecx
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x16c], edi
call fcn.101454e5
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x15c]
add eax, ecx
mov edx, dword [ebp - 0x16c]
cmp edx, 0x451
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x154], eax
je 0x101449c8
jmp 0x10144b74
Function at 0x10144c37
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 0x10144ce6
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jmp 0x10144c5a
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x84], ecx
mov dword [0x101ac70c], 0xfffff682
mov edx, dword [esp + 0x18]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.101457e5
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x101ac70c]
add ecx, 0xffffe5c3
mov dword [0x101ac710], ecx
mov dword [esp + 0x20], eax
jmp 0x10144c64
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x18], ecx
je 0x10144c6e
jmp 0x10144d9c
lea eax, [esp + 0x38]
mov ecx, dword [0x101ac70c]
add ecx, 0xffffefd3
mov dword [0x101ac70c], ecx
mov dword [esp + 0x14], eax
call fcn.10145100
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x20], ecx
jne 0x10144c64
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.1014498a
lea ecx, [0x10145d3f]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], 0x12fa00
mov dword [0x101ac70c], 0x15a6
mov edx, dword [0x101ac6f8]
mov dword [esp + 0x80], edx
mov edx, dword [0x101ac6fc]
mov dword [esp + 0x60], edx
mov edx, dword [0x101ac700]
mov dword [esp + 0x58], edx
mov edx, dword [0x101ac704]
mov dword [esp + 0x64], edx
mov edx, dword [0x101ac708]
mov dword [esp + 0x40], edx
mov dword [0x101ac710], 0x109b
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
je 0x10144ccd
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0xc], eax
jmp 0x10144d89
Function at 0x10144e25
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.10145914
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 0x10144e61
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101ac710], 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 [0x101ac70c], 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 0x10144f89
jmp 0x10144ee1
mov eax, dword [ebp - 0x38]
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 [0x101ac70c], 0x1415
mov dword [ebp - 0x34], edi
jmp 0x10144f89
mov al, byte [ebp - 0x39]
test al, 1
jne 0x10144ead
jmp 0x10144f61
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
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 - 0x54], eax
mov byte [ebp - 0x55], bh
mov byte [ebp - 0x39], cl
je 0x10144ed5
mov eax, dword [ebp - 0x54]
add eax, 1
mov cl, byte [ebp - 0x55]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x39]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x50], eax
jne 0x10144f0b
jmp 0x10144ed5
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x48]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x34], eax
jb 0x10144ef1
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10144f94
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 [0x101ac710]
add edi, 0x53c
mov dword [0x101ac710], edi
mov dword [0x101ac718], 0
mov byte [0x101ac71c], 0
mov dword [0x101ac714], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101450ad
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101ac720], 0
mov edx, dword [0x101ac718]
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 [0x101ac720], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x101ac718], edx
mov dword [0x101ac70c], 0x918
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x101ac71c], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x101ac70c], 0x16c8
mov cl, byte [0x101ac71c]
mov edx, dword [0x101ac718]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x101ac714]
add edx, 1
mov dword [0x101ac714], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10144fe6
jmp 0x101450ee
mov dword [0x101ac70c], 0x182
mov dword [0x101ac714], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x10144fe6
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov dword [0x101ac710], 0x1e35
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101ac710]
add eax, 0x325
mov dword [0x101ac710], eax
mov eax, dword [0x101ac714]
add eax, 1
mov dword [0x101ac714], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101450ad
jmp 0x1014508f
mov dword [0x101ac70c], 0x26c
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10145100
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
jmp 0x10145172
mov eax, dword [ebp - 0x14]
add esp, 0x20
pop ebp
ret
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], eax
jl 0x10145172
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x101451f0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1014518a
jmp 0x101451f0
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 0x1014514b
jmp 0x10145134
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x101451f0
mov eax, dword [0x101ac70c]
add eax, 0xfffff36e
mov dword [0x101ac70c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x101451f0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x101451f0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101451f0
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 0x1014512c
xor eax, eax
mov dword [0x101ac70c], 0x982
mov dword [ebp - 0x14], eax
jmp 0x1014512c
Function at 0x10145571
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]
mov dword [0x101ac714], 0
mov dword [0x101ac718], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x101ac724], 0
mov dword [0x101ac70c], 0x53e
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x101456a1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov edi, edx
add edi, 1
mov dword [0x101ac710], 0xb88
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x101ac714], edx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101ac718], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x101ac71c], cl
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov edx, dword [0x101ac70c]
add edx, 0x20cc
mov dword [0x101ac70c], edx
mov cl, byte [0x101ac71c]
mov edx, dword [0x101ac718]
mov byte [ebx + edx], cl
mov edx, dword [0x101ac714]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101ac718]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101ac724], ecx
mov dword [0x101ac70c], 0x395
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x34], edi
jne 0x101456a9
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x101ac714]
mov ecx, dword [0x101ac718]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
jmp 0x101455d8
Function at 0x101457e5
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 [0x101ac710]
mov edi, esi
add edi, 0xffffdf43
mov dword [0x101ac70c], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10146644]
mov dh, byte [eax + 0x10146615]
sub dh, dl
mov byte [ebp + eax - 0x28], dh
cmp ecx, 0xe
mov dword [ebp - 0x38], ecx
jne 0x10145815
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
add ecx, 0xffffe336
mov dword [0x101ac710], ecx
mov dword [ebp - 0x3c], eax
call fcn.10145204
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.10145b19
cmp eax, 0
mov dword [ebp - 0x40], eax
je 0x1014590b
mov eax, dword [ebp - 0x40]
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 - 0x44], eax
call fcn.101456d1
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x101ac70c], 0x21cb
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x40], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x1c], ecx
add ecx, 0x148d
mov esi, dword [ebp - 0x44]
cmp esi, 0
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
je 0x10145901
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
add esp, 0x54
pop esi
pop edi
pop ebp
ret
xor eax, eax
add esp, 0x54
pop esi
pop edi
pop ebp
ret