joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6237b3
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.0063753c
mov eax, dword [0x101fdf00]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
test eax, eax
je 0x623916
push ebx
dec eax
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
inc eax
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 1]
movzx ebx, byte [esi]
movzx ecx, byte [esi + 2]
movzx edx, byte [esi + 3]
shl eax, 8
or ebx, eax
movzx eax, byte [esi + 4]
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [esi + 5]
shl edx, 0x18
or ebx, edx
movzx edx, byte [esi + 6]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 7]
shl edx, 0x10
or eax, edx
mov dl, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov al, byte [ebp]
and dl, 0xdf
and al, 0xbf
or dl, 0x40
or al, 0x20
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
add esi, 8
mov byte [edi], dl
mov byte [ebp], al
call fcn.005b688c
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.005b690c
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.005b33dc
push ebp
call fcn.005b688c
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.005b690c
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.005b33dc
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
xor dword [esp + 0x40], edx
xor ecx, ebx
xor ebx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
mov byte [eax], bl
mov edx, ebx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ebx
shr edx, 0x10
mov byte [eax + 2], dl
mov edx, dword [esp + 0x44]
shr ebx, 0x18
mov byte [eax + 3], bl
mov ebx, edx
add esp, 0x30
mov byte [eax + 4], dl
shr ebx, 8
mov byte [eax + 5], bl
mov ebx, edx
shr edx, 0x18
shr ebx, 0x10
mov byte [eax + 6], bl
mov byte [eax + 7], dl
mov eax, ebp
mov byte [eax], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 2], dl
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr edx, 8
mov byte [eax + 4], cl
mov byte [eax + 5], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 0x18
dec dword [esp + 0x18]
mov byte [eax + 6], dl
mov byte [eax + 7], cl
jne 0x6237cf
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.00633420
add esp, 0xa0
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40e505
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40e514
pop dword [ebp - 8]
mov eax, 0xa6077cf3
sub eax, 0xa5c697df
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x31c57b81
add dword [ebp - 0x18], 0x1c8cc9ca
mov dword [ebp - 0x14], 0x6660c0de
add dword [ebp - 0x14], 0xcbd28b67
mov dword [ebp - 0x10], 0x29bd8587
add dword [ebp - 0x10], 0x228ebea7
mov dword [ebp - 0xc], 0x6fcff73d
add dword [ebp - 0xc], 0x903008c3
lea eax, [ebp - 0x18]
push eax
mov eax, 0xd008f456
add eax, 0x30393c1e
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x45df40e7
sub dword [ebp - 0x18], 0xd16cd791
mov dword [ebp - 0x14], 0xf48d8a5c
sub dword [ebp - 0x14], 0xb32128e7
mov dword [ebp - 0x10], 0x8052d65e
add dword [ebp - 0x10], 0xe31c960e
mov dword [ebp - 0xc], 0xcef10dbd
add dword [ebp - 0xc], 0x310ef243
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xbdbc04f4
add eax, 0x42862c30
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3cd94
push 0
call eax
mov ecx, 0x697013c3
sub ecx, 0x696fcf42
mov edx, eax
mov esi, 0x52e08d8d
add esi, 0xad62b673
add esi, dword [ebp - 8]
mov ebx, 0xd7301f08
xor dword [ebp - 4], esi
mov edi, dword [esi]
sub dword [ebp - 4], esi
add edi, ebx
sub dword [ebp - 4], 0xa9551136
mov dword [edx], edi
sub dword [ebp - 4], eax
add edx, 4
add esi, 0x2a7b7be3
sub esi, 0x2a7b7bdf
loop 0x40e630
add eax, 0x104d7
mov ebx, eax
add eax, 0xb184637e
sub eax, 0xb1846379
mov ecx, 0x9e7e024d
add ecx, 0x61c1fdb3
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x401cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x1000
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
pop ebp
ret

Function at 0x401cf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0x319e6eac
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x10ae28a5
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40180f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40181e
pop dword [ebp - 0x3c]
mov eax, 0xbc823248
sub eax, 0xbc421a2a
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x81a64ac9
add dword [ebp - 0x4c], 0xccabfa82
mov dword [ebp - 0x48], 0x24c0552d
add dword [ebp - 0x48], 0xd72f718
mov dword [ebp - 0x44], 0xd317d710
sub dword [ebp - 0x44], 0x86cb92e2
mov dword [ebp - 0x40], 0x7282737c
sub dword [ebp - 0x40], 0x7282737c
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x4af0e710
add eax, 0xb54fe93c
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x4607c37c
add dword [ebp - 0x4c], 0x2e6aa5da
mov dword [ebp - 0x48], 0x56982992
sub dword [ebp - 0x48], 0x152bc81d
mov dword [ebp - 0x44], 0x2b7f113f
sub dword [ebp - 0x44], 0xc80fa4d3
mov dword [ebp - 0x40], 0xfa48915d
sub dword [ebp - 0x40], 0xfa48915d
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xa58bee11
add eax, 0x5ab4e237
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x38575
push 0
call eax
mov ecx, 0x8fe9273c
sub ecx, 0x8fe8e467
xor ebx, ebx
add ebx, eax
mov esi, 0x41b000
add esi, dword [ebp - 0x3c]
mov edi, 0xf2d5fbcf
add edi, 0x5e793e8f
sub dword [ebp - 0x38], edi
mov edx, dword [esi]
xor dword [ebp - 8], esi
sub edx, edi
add dword [ebp - 0x1c], esi
mov dword [ebx], edx
xor dword [ebp - 8], edx
add ebx, 0xdb4e082d
sub ebx, 0xdb4e0829
add esi, 0x6a8b4a0
sub esi, 0x6a8b49c
loop 0x40193c
add eax, 0xfe27
xor ebx, ebx
add ebx, eax
add eax, 0xe5cd3f55
sub eax, 0xe5cd3f50
mov ecx, 0x308548ce
add ecx, 0xcfbab732
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40158f
Capabilities:
Enumerate pe sections
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push esi
push edi
call sub.KERNEL32.dll_GetTickCount
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.KERNEL32.dll_GetTempPathA

Function at 0x4015b0
Capabilities:
Enumerate pe sections

Disassembly:
cmp byte [ebp - 0x104], 0
jne 0x4016ff
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
rcl byte [edi - 0x73], cl
inc esp
or byte [eax], bl
cmp byte [ebp - 0x104], 0
jne 0x40188e
add byte [eax], al
add byte [ebx - 0x3ca2e73c], al
int3
push 0
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_GetFileAttributesExA
call sub.KERNEL32.dll_GetLastError
mov esi, eax
mov ecx, dword [0x423dd2]
inc ecx
cdq
idiv ecx
mov edi, eax
and edi, 0xffffffa8
mov dword [ebp - 0x108], edi
or esi, esi
jne 0x4019d7
or ebp, dword [eax]
add dword [eax], eax
add bh, bh
jne 0x4018dc
push edx
jmp 0x4018e6
pop ss
push 0x100
push dword [ebp + 0xc]
push ecx
push dword [0x662a2010]
call dword [0x662a1034]
jmp 0x4018fc
pop esi
pop ebp
ret 8
mov eax, dword [ebp - 0x108]
pop edi
pop esi
leave
ret
Function at 0x407360
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 0x40739e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407396
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4073a0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407386
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407480
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4074af
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4074af
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:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
enter 0x84, 0
sub ebp, 0x82
mov dword [ebp - 2], 0
call fcn.00401533
mov ebx, eax
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, ebx
or al, 0x40
push eax
mov eax, 0x401dc7
sub eax, fcn.00401592
push eax
push fcn.00401592
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x40107a
mov eax, ebx
lea edx, [ebp - 2]
call fcn.00401461
mov eax, ebx
lea ecx, [ebx + 0x1b600]
call fcn.004014b3
mov esi, ecx
mov eax, ebx
or si, 1
cdq
idiv esi
lea edx, [eax + ecx]
mov eax, ebx
lea ebx, [ebp - 2]
or eax, 0x402054
call fcn.00401592
xor eax, eax
lea esp, [ebp + 0x82]
pop ebp
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x401533
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ecx
push edx
enter 0x11c, 0
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.DLL_GetCursorPos]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x11c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
movzx eax, byte [ebp - 0x18]
sub eax, 0x41
leave
pop edx
pop ecx
ret
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 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0xac3290b
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x1bd81ea4
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x32bb5e04
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x32011393
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401012
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov eax, dword [0x40f11b]
shl eax, 2
mov dword [0x40f11f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00404fb4
pop edx
call fcn.00404350
call fcn.00404fb8
push 0
call fcn.00405c64
pop ecx
push 0x40f0c4
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x40f123], eax
push 0
jmp fcn.0040c848

Function at 0x404ca8
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret
Function at 0x10009dbe
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1000afcc
mov ecx, eax
mov dword [0x100196a4], 0x2395
add eax, 0x3c
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [0x100196a8], 0xffffeb9a
mov dword [0x100196a4], 0x1e6a
mov esi, dword [ebp - 0x14]
mov edx, dword [esi + edx + 0x78]
mov dword [0x100196a4], 0x359
add esi, dword [esi + edx + 0x20]
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + edx + 0x24]
mov dword [0x100196a8], 0xffffd6b4
mov ecx, dword [edi + edx + 0x18]
cmp ecx, 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
je 0x10009f26
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
add ecx, edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
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 - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edx
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 - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
je 0x10009ec4
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x10009e73
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x10009ef7
jmp 0x10009ecd
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov edx, dword [ebp - 0x38]
add edx, 1
mov esi, dword [ebp - 0x20]
cmp edx, esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
jb 0x10009e59
jmp 0x10009f26
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x100196a8], 0x1745
mov edx, dword [ebp - 0x14]
add edx, ecx
mov dword [0x100196a4], 0x11fb
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000a0e4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x100196a4]
add edx, 0xffffdea2
mov dword [0x100196a4], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov ecx, dword [0x100196a8]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
jmp 0x1000a120
mov eax, dword [ebp - 0x34]
add esp, 0x50
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x1000c17c]
mov dl, byte [eax + 0x1000c14d]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x1000a120
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffff77a
mov dword [0x100196a4], ecx
mov dword [ebp - 0x38], eax
call fcn.1000af14
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.10009f56
xor ecx, ecx
mov dword [0x100196a8], 0xddf
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], ecx
je 0x1000a118
mov eax, dword [ebp - 0x3c]
mov dword [0x100196a4], 0x1204
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 [0x100196a8]
add ecx, 0xfffff547
mov dword [0x100196a8], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.1000adc3
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x100196a8], 0x4ee
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x100196a4], 0x8dc
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx], ecx
cmp ecx, 0
mov dword [ebp - 0x34], eax
je 0x1000a118
mov eax, dword [ebp - 0x40]
add eax, 0x18d9
mov dword [0x100196a8], 0x2003
mov dword [ebp - 0x34], eax
jmp 0x1000a118
Function at 0x1000a244
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x100196a4], 0x68f
mov dword [0x100196ac], 0
mov dword [0x100196b0], 0
mov dword [0x100196b4], 0
mov dword [0x100196a8], 0x20da
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
jne 0x1000a2b5
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
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 [0x100196ac], 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 [0x100196b0], edx
mov dword [0x100196a4], 0x18f0
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov dword [0x100196a4], 0xb34
mov edi, dword [ebp - 0x20]
mov ch, byte [edi + edx]
mov byte [edi + esi], ch
mov edx, dword [0x100196b0]
mov byte [edi + edx], cl
mov edx, dword [0x100196ac]
movzx edx, byte [edi + edx]
mov ebx, dword [0x100196b0]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x100196b4], ebx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov cl, byte [edx + esi]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov byte [ebx + esi], cl
mov dword [0x100196a4], 0x1ae0
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x38], esi
je 0x1000a2ad
mov eax, dword [0x100196ac]
mov ecx, dword [0x100196b0]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x1000a2b5
Function at 0x1000a735
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 [0x100196b0], 0
mov dword [0x100196a8], 0x2a0
mov dword [0x100196ac], 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 [0x100196ac]
add eax, 1
mov dword [0x100196ac], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000a773
xor eax, eax
mov dword [0x100196a4], 0xefd
mov dword [0x100196ac], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x100196b0]
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 eax, edi
cdq
idiv ecx
mov dword [0x100196b0], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov dword [0x100196a8], 0x1058
mov esi, dword [ebp - 0x18]
mov ch, byte [esi + edx]
mov byte [esi + edi], ch
mov edx, dword [0x100196b0]
mov byte [esi + edx], cl
mov edx, dword [0x100196a4]
add edx, 0x1601
mov dword [0x100196a8], edx
mov edx, dword [0x100196ac]
add edx, 1
mov dword [0x100196ac], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1000a7b2
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret