joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c32a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x9b43e0]
xor edx, edx
cmp eax, edx
jne 0x4c32c6
xor eax, eax
mov byte [eax + 0x9b42e0], al
inc eax
cmp eax, 0x100
jl 0x4c32ae
mov dword [0x9b43e0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x9b42e0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4c3357
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4c332a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4c32f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4c33d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4c3423
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4c340a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ca440
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x4ca5d8
cmp ebp, ebx
jle 0x4ca5d8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4ca49e
dec eax
or eax, 0xfffffff8
inc eax
je 0x4ca4a5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x4ca4b4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4ca4bb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0058e8a4
add esp, 4
cmp eax, ebx
je 0x4ca4dc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0058e8a4
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4ca5ce
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x4ca5b5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4ca5a1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4ca596
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4ca5a4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4ca5a4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4ca540
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x4ca531
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x4d8710
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59d928
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4d8749
inc eax
mov dword [esi + 0x10], eax
jmp 0x4d885c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4d875d
mov eax, 0xffffffc7
jmp 0x4d885e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4d876e
cmp dword [esi + 8], eax
jne 0x4d875d
cmp dword [esi + 8], eax
jne 0x4d8787
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4d8787
mov eax, 0xffffffc7
jmp 0x4d885e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4d879b
push eax
mov ecx, ebx
call fcn.004d7f40
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004a2bf0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4d87cc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004a2c10
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004d76b0
test eax, eax
mov dword [esp + 0x38], eax
je 0x4d87ff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x7ff530
call fcn.004a2df0
mov eax, dword [esp + 0x38]
jmp 0x4d885e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004d8570
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4d8843
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004d8590
mov esi, eax
test esi, esi
jne 0x4d8873
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004d8570
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4d8815
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x7ff530
call fcn.004a2df0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x7ff530
call fcn.004a2df0
mov eax, esi
jmp 0x4d885e
Function at 0x4ddb94
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [ecx + 0xb0]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
je case.0x4ddbb3.5
mov eax, dword [ecx + 0x94]
mov ebp, dword [ecx + 0x74]
cmp eax, ebp
jg 0x4ddd5d
lea esi, [eax + 1]
mov eax, dword [ecx + 0xb4]
xor edx, edx
mov dword [ecx + 0x94], esi
mov dl, byte [eax]
inc eax
mov edi, edx
mov dword [ecx + 0xb4], eax
cmp edi, 0x3b
ja case.0x4ddbb3.5
xor edx, edx
mov dl, byte [edi + 0x4ddd94]
jmp dword [edx*4 + 0x4ddd84]
inc esi
xor edx, edx
mov dword [ecx + 0x94], esi
mov dl, byte [eax]
mov edi, edx
inc eax
dec edi
mov dword [ecx + 0xb4], eax
cmp edi, 0xfe
ja case.0x4ddbb3.5
xor edx, edx
mov dl, byte [edi + 0x4ddde4]
jmp dword [edx*4 + 0x4dddd0]
inc eax
mov dword [ecx + 0xb4], eax
mov dl, byte [eax]
and edx, 0x1c
mov dword [ecx + 0x84], edx
mov dl, byte [eax]
and edx, 1
inc eax
mov dword [ecx + 0x88], edx
xor edx, edx
mov dword [ecx + 0xb4], eax
mov dx, word [eax]
mov dword [ecx + 0x90], edx
add eax, 2
xor edx, edx
mov dword [ecx + 0xb4], eax
mov dl, byte [eax]
inc eax
add esi, 5
mov dword [ecx + 0x8c], edx
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], esi
jmp 0x4ddd1b
mov al, byte [eax]
cmp al, bl
mov byte [esp + 0x10], al
je 0x4ddd1b
mov eax, dword [esp + 0x10]
mov edi, dword [ecx + 0xb4]
mov esi, dword [ecx + 0x94]
and eax, 0xff
lea edx, [eax + 1]
add edi, edx
inc eax
add esi, eax
mov dword [ecx + 0xb4], edi
mov eax, esi
mov edx, edi
cmp eax, ebp
mov dword [ecx + 0x94], esi
jg case.0x4ddbb3.5
mov dl, byte [edx]
cmp dl, bl
mov byte [esp + 0x10], dl
jne 0x4ddc1f
jmp 0x4ddd1b
add eax, 0xd
add esi, 0xd
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], esi
mov al, byte [eax]
cmp al, bl
mov byte [esp + 0x10], al
je 0x4ddd1b
mov eax, dword [esp + 0x10]
mov edi, dword [ecx + 0xb4]
mov esi, dword [ecx + 0x94]
and eax, 0xff
lea edx, [eax + 1]
add edi, edx
inc eax
add esi, eax
mov dword [ecx + 0xb4], edi
mov eax, esi
mov edx, edi
cmp eax, ebp
mov dword [ecx + 0x94], esi
jg case.0x4ddbb3.5
mov dl, byte [edx]
cmp dl, bl
mov byte [esp + 0x10], dl
jne 0x4ddc83
jmp 0x4ddd1b
add eax, 0xc
add esi, 0xc
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], esi
mov al, byte [eax]
cmp al, bl
mov byte [esp + 0x10], al
je 0x4ddd1b
mov eax, dword [esp + 0x10]
mov edi, dword [ecx + 0xb4]
mov esi, dword [ecx + 0x94]
and eax, 0xff
lea edx, [eax + 1]
add edi, edx
inc eax
add esi, eax
mov dword [ecx + 0xb4], edi
mov eax, esi
mov edx, edi
cmp eax, ebp
mov dword [ecx + 0x94], esi
jg case.0x4ddbb3.5
mov dl, byte [edx]
cmp dl, bl
mov byte [esp + 0x10], dl
jne 0x4ddce0
mov esi, dword [ecx + 0xb4]
mov edx, dword [ecx + 0x94]
inc esi
inc edx
mov eax, edx
mov dword [ecx + 0xb4], esi
cmp eax, ebp
mov dword [ecx + 0x94], edx
jg case.0x4ddbb3.5
jmp 0x4ddd4f
mov eax, dword [ecx + 0xb0]
mov dword [ecx + 0x94], ebx
mov dword [ecx + 0xb4], eax
mov eax, dword [ecx + 0x94]
cmp eax, ebp
jle 0x4ddb56
mov eax, dword [ecx + 0xb0]
mov dword [ecx + 0x94], ebx
mov dword [ecx + 0xb4], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
call fcn.004ddef0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4eb390
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4eb3c3
push esi
call fcn.004f9600
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4eb3bc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4eb449
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4eb432
mov eax, dword [esi + 8]
test eax, eax
je 0x4eb3e7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4eb42e
cmp eax, 2
je 0x4eb432
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4eb3da
cmp eax, 3
je 0x4eb40d
cmp eax, 1
jne 0x4eb3da
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4eb3da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4eb3da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004eb470
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4eb458
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004eb470
add esp, 4
pop esi
ret

Function at 0x50e697
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59ece6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x14]
call fcn.0058d958
mov eax, dword [0x9a3048]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x48], eax
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp ebx, edi
mov byte [esp + 0x18], 1
mov dword [esi], 0x803824
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
je 0x50e6f4
push ebx
call dword [0x5a23b0]
inc eax
push eax
call fcn.0058e8a4
add esp, 4
mov dword [esi + 4], eax
push ebx
push eax
call dword [0x5a23b8]
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x5199e4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x519b9d
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x519b16
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x519b16
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x519afd
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x519afd
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.0051ac50
mov ebp, eax
test ebp, ebp
je 0x519af5
push ebp
mov ecx, esi
call fcn.0051c0e0
test eax, eax
je 0x519af5
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x519af5
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x519ab6
xor eax, eax
jmp 0x519abe
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.0051cab0
inc ebx
xor ebp, ebp
jmp 0x519a47
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x519a20
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.0051af60
test eax, eax
pop ebx
je 0x519b9d
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.0051ac50
mov edi, eax
cmp edi, ebp
je 0x519b9d
push edi
mov ecx, esi
call fcn.0051c0e0
test eax, eax
je 0x519b9d
mov eax, 1
lea edx, [esi + 0x1f8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.0051b1a0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.0051b210
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.0051cab0
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x523e40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x59ffe7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x804844
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.0058cd37
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.0058cd37
mov edi, dword [0x5a2694]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], 0x804830
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [0x5a2570]
lea ecx, [esp + 0xb0]
push ecx
call dword [0x5a20c8]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.00524960
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x526bc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a0380
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00526770
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.005267f0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.005267f0
lea ecx, [esi + 0xc]
call fcn.0058eaee
lea ecx, [esi + 0x10]
call fcn.0058eaee
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00527d80
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00527d80
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00527d80
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0058eb63
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0058eb63
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x53f430
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x9f030c]
xor edx, edx
cmp eax, edx
jne 0x53f456
xor eax, eax
mov byte [eax + 0x9f020c], al
inc eax
cmp eax, 0x100
jl 0x53f43e
mov dword [0x9f030c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x9f020c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x53f4e7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x53f4ba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x53f488
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x53f4f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x53f543
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x53f52a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x545ec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a079e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.005467e0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x804fbc
call fcn.0058e8a4
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x545f53
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0058e8a4
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x545f4c
push 0
mov ecx, eax
call fcn.0053d060
mov dword [esi + 0xc], eax
jmp 0x545f55
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x545f55
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x557cc0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
jne 0x557cd0
mov esi, 1
push esi
call fcn.0057a197
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x557d22
call fcn.0057acbd
mov edi, eax
call fcn.0055a820
mov ecx, dword [edi]
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov edi, eax
and edi, 8
je 0x557d06
mov edx, dword [0x8f7f40]
mov dword [0x8f7f3c], edx
test al, 0x18
je 0x557d17
push esi
push 0x24
push 5
call fcn.0055b070
add esp, 0xc
test edi, edi
je 0x557d3d
push 1
call fcn.0057bd64
test byte [esp + 0x14], 0x20
je 0x557d3d
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x558e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov edx, dword [ebp + 0x10]
test edx, edx
push ebx
push esi
push edi
je 0x558f34
cmp byte [edx], 0
je 0x558f27
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add eax, 8
or ecx, 0xffffffff
mov dword [esp + 0xc], eax
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x20]
push ecx
mov esi, ebx
call fcn.00558dc0
mov edi, dword [ebp + 0xc]
push 8
lea edx, [esp + 0x20]
push edi
push edx
call fcn.00558dc0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
xor eax, edx
push eax
xor ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00558d30
mov eax, dword [esp + 0x30]
add esp, 0x24
cmp edi, eax
jae 0x558ef1
sub eax, edi
mov edi, eax
lea eax, [esp + 0x20]
push eax
call fcn.00558d70
fmul qword [0x805858]
push ecx
fstp qword [esp]
call fcn.00578ab8
fadd qword [0x805850]
add esp, 8
call fcn.00578b88
mov byte [ebx], al
inc ebx
dec edi
jne 0x558ec4
lea ecx, [esp + 0x20]
push ecx
call fcn.00558d70
fmul qword [0x805858]
push ecx
fstp qword [esp]
call fcn.00578ab8
add esp, 8
call fcn.00578b88
cmp esi, ebx
je 0x558f1d
xor byte [esi], al
inc esi
cmp esi, ebx
jne 0x558f16
mov byte [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov byte [edx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
mov byte [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret