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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100b7000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x40], edx
mov edx, dword [ecx + 0x10]
add eax, eax
mov eax, dword [edx + eax*8]
mov dword [ebp - 0x28], eax
mov eax, 1
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
jmp 0x45340d
mov esi, dword [ebp - 0x30]
push eax
push 0x100b0594
lea ecx, [ebp - 0x1c]
push ecx
push 0x18
call fcn.0044eb2a
mov ecx, dword [esi]
xor ebx, ebx
add esp, 0x10
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x1c]
cmp byte [ebp - 0x1c], bl
je 0x45343f
lea esp, [esp]
inc eax
cmp byte [eax], bl
jne 0x45343a
lea edx, [ebp - 0x1c]
sub eax, edx
and eax, 0x3fffffff
mov edi, eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x38], eax
cmp eax, ebx
jle 0x45355b
jmp 0x453464
mov ecx, dword [ebp - 0x34]
mov edx, ebx
cmp ebx, 2
jge 0x45346e
xor edx, 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4534c5
mov ecx, dword [ecx + 0x10]
mov esi, edx
add esi, esi
mov esi, dword [ecx + esi*8]
mov ecx, eax
mov cl, byte [ecx]
test cl, cl
je 0x4534aa
lea ecx, [ecx]
movzx ebx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x100a9cd0]
cmp cl, byte [ebx + 0x100a9cd0]
jne 0x4534a7
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x45348a
mov ebx, dword [ebp - 0x20]
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x100a9cd0]
movzx eax, byte [eax + 0x100a9cd0]
sub eax, ecx
jne 0x453527
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0x10]
add edx, edx
mov esi, dword [ecx + edx*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x453507
xor eax, eax
mov edx, edi
lea ecx, [ebp - 0x1c]
test edi, edi
jle 0x453500
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x100a9cd0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x4534df
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x44]
xor edx, edx
div dword [esi + 8]
jmp 0x453509
xor edx, edx
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [esi + 8]
call fcn.00438b5a
add esp, 8
test eax, eax
je 0x45357c
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x45353a
inc ebx
mov dword [ebp - 0x20], ebx
cmp ebx, dword [ebp - 0x38]
jl 0x453461
cmp dword [ebp - 0x24], 0
je 0x45355b
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
push ecx
push 0x100afe70
push edx
call fcn.0044ce4a
add esp, 0x18
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 4
jle 0x45340a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00428ac4
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], 0
jmp 0x453527
Function at 0x453b0a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
add eax, eax
push edi
mov edi, dword [edx + eax*8 + 0xc]
add edi, 0x18
mov dword [ebp - 8], edi
mov eax, esi
test esi, esi
je 0x453b3f
cmp byte [esi], 0
je 0x453b38
inc eax
cmp byte [eax], 0
jne 0x453b32
sub eax, esi
and eax, 0x3fffffff
cmp dword [edi], 0
mov dword [ebp - 4], eax
je 0x453b83
mov edx, eax
xor eax, eax
mov ecx, esi
cmp edx, eax
jle 0x453b78
jmp 0x453b5a
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x100a9cd0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x453b5a
mov edi, dword [ebp - 8]
xor edx, edx
div dword [edi]
mov eax, dword [ebp - 4]
mov ebx, edx
jmp 0x453b85
xor ebx, ebx
push eax
push esi
mov edx, ebx
mov eax, edi
call fcn.00438b5a
add esp, 8
test eax, eax
je 0x453be9
mov esi, dword [eax + 8]
mov edx, ebx
mov ecx, edi
call fcn.00442b3a
test esi, esi
je 0x453be9
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 8]
cmp eax, esi
jne 0x453bb9
mov eax, dword [esi + 0x14]
mov dword [ecx + 8], eax
jmp 0x453bd2
test eax, eax
je 0x453bd2
mov ecx, dword [eax + 0x14]
cmp ecx, esi
je 0x453bcc
mov eax, ecx
test eax, eax
jne 0x453bbd
jmp 0x453bd2
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
mov eax, esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0044cdea
or dword [esi + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
or dword [eax + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c0ea
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
add eax, eax
mov esi, dword [edx + eax*8 + 0xc]
add esi, 0x28
mov dword [ebp - 8], esi
mov eax, edi
test edi, edi
je 0x45c11f
cmp byte [edi], 0
je 0x45c118
inc eax
cmp byte [eax], 0
jne 0x45c112
sub eax, edi
and eax, 0x3fffffff
cmp dword [esi], 0
mov dword [ebp - 4], eax
je 0x45c164
mov edx, eax
xor eax, eax
mov ecx, edi
cmp edx, eax
jle 0x45c158
jmp 0x45c13a
movzx esi, byte [ecx]
movzx esi, byte [esi + 0x100a9cd0]
lea ebx, [eax*8]
xor esi, ebx
dec edx
xor eax, esi
inc ecx
test edx, edx
jg 0x45c13a
mov esi, dword [ebp - 8]
xor edx, edx
div dword [esi]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], edx
jmp 0x45c16b
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
push eax
push edi
mov eax, esi
call fcn.00438b5a
add esp, 8
test eax, eax
je 0x45c230
mov edx, dword [ebp - 8]
mov ebx, dword [eax + 8]
mov ecx, esi
call fcn.00442b3a
test ebx, ebx
je 0x45c230
mov edx, dword [ebx + 0x18]
cmp dword [ebx + 0x14], edx
jne 0x45c1ea
mov ecx, dword [ebx + 4]
mov eax, ecx
test ecx, ecx
je 0x45c1ba
cmp byte [ecx], 0
je 0x45c1b3
inc eax
cmp byte [eax], 0
jne 0x45c1ad
sub eax, ecx
and eax, 0x3fffffff
push ecx
add edx, 8
push edx
mov esi, eax
call fcn.0043e6ba
mov ecx, dword [eax + 0x40]
add eax, 0x40
add esp, 8
cmp ecx, ebx
je 0x45c1e3
lea esp, [esp]
lea eax, [ecx + 0x20]
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x45c1da
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
mov dword [eax], edx
mov eax, dword [ebx + 0x1c]
mov esi, dword [ebp + 8]
push eax
mov eax, esi
call fcn.0045199a
mov eax, dword [ebx]
add esp, 4
mov ecx, esi
call fcn.0043e91a
mov eax, dword [ebx + 4]
mov ecx, esi
call fcn.0043e91a
mov ecx, dword [ebx + 0xc]
push ecx
push esi
call fcn.0044a5ca
mov edi, dword [ebx + 0x10]
add esp, 8
call fcn.00440c0a
mov eax, ebx
mov ecx, esi
call fcn.0043e91a
or dword [esi + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e8ba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
shl eax, 4
add eax, dword [ecx + 0x10]
mov ecx, edi
test edi, edi
je 0x45e8e8
cmp byte [edi], 0
je 0x45e8e0
nop
inc ecx
cmp byte [ecx], 0
jne 0x45e8da
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, dword [eax + 0xc]
add ebx, 8
cmp dword [ebx], 0
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
je 0x45e933
xor eax, eax
mov esi, ecx
mov edx, edi
cmp ecx, eax
jle 0x45e928
lea esp, [esp]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x100a9cd0]
lea ebx, [eax*8]
xor ecx, ebx
dec esi
xor eax, ecx
inc edx
test esi, esi
jg 0x45e90a
mov ebx, dword [ebp - 8]
xor edx, edx
div dword [ebx]
mov ecx, dword [ebp - 4]
mov esi, edx
jmp 0x45e935
xor esi, esi
push ecx
push edi
mov edx, esi
mov eax, ebx
call fcn.00438b5a
add esp, 8
test eax, eax
je 0x45e955
mov edi, dword [eax + 8]
mov edx, esi
mov ecx, ebx
call fcn.00442b3a
jmp 0x45e957
xor edi, edi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00458d6a
add esp, 8
or dword [esi + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4934ca
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, eax
mov al, byte [esi + 0x51]
xor ebx, ebx
push edi
mov dword [esp + 0xc], ebx
cmp al, 3
jb 0x493503
cmp al, 4
jne 0x4934f1
mov eax, dword [esi + 0x4c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x40]
push eax
call fcn.004391da
add esp, 4
mov dword [esi + 0x40], ebx
mov byte [esi + 0x51], bl
movzx eax, word [esi + 0x54]
test ax, ax
js 0x4935ae
je 0x4935f6
lea esp, [esp]
movzx eax, word [esi + 0x54]
movsx ecx, ax
mov ecx, dword [esi + ecx*4 + 0x80]
dec eax
mov word [esi + 0x54], ax
test ecx, ecx
je 0x4935a1
mov eax, dword [ecx + 0x44]
test byte [eax + 0x18], 0x40
mov edi, dword [eax + 0x10]
je 0x493581
dec dword [edi + 0x78]
mov edx, dword [edi + 0x88]
mov dword [eax + 0xc], edx
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x88], eax
mov ebx, dword [ecx]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [edi + 0x98]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004ce8ca
push edx
mov edx, dword [ebx + 0x48]
push eax
mov eax, dword [edi + 0x3c]
push eax
call edx
mov ebx, dword [esp + 0x1c]
add esp, 0x10
jmp 0x493586
call fcn.004386ca
cmp dword [edi + 0x78], 0
jne 0x4935a1
mov eax, dword [edi + 0xdc]
cmp dword [eax + 0xc], 0
jne 0x4935a1
push edi
call fcn.0048bb3a
add esp, 4
cmp word [esi + 0x54], 0
jne 0x49351a
jmp 0x4935f6
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x4935bf
mov byte [esi + 0x51], bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [esi + 0x50]
add ecx, ecx
not ecx
and ecx, 2
push ecx
mov ecx, dword [esi]
mov ebx, dword [ecx + 4]
lea edx, [esi + 0x80]
push edx
call fcn.0049042a
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4935f0
mov byte [esi + 0x51], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edx, edx
mov word [esi + 0x54], dx
mov eax, dword [esi + 0x80]
cmp byte [eax], 0
je 0x493689
movzx edx, byte [eax + 2]
xor ecx, ecx
cmp dword [esi + 0x10], ecx
sete cl
cmp ecx, edx
jne 0x493689
and byte [esi + 0x50], 0xf1
xor ecx, ecx
xor edx, edx
mov word [esi + 0x56], cx
mov word [esi + 0x32], dx
cmp word [eax + 0x10], cx
jbe 0x493638
mov byte [esi + 0x51], 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [eax + 3], cl
jne 0x49367d
mov ebx, 1
cmp dword [eax + 0x48], ebx
je 0x493658
mov eax, 0xda93
call fcn.0048450a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [eax + 5]
mov edx, dword [eax + 0x38]
lea ecx, [ecx + edx + 8]
call fcn.0043018a
push eax
mov byte [esi + 0x51], bl
call fcn.004914fa
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x51], cl
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100b2144
push 0xda88
push 0x100b2308
push 0xb
call fcn.0048445a
add esp, 0x10
pop edi
pop esi
mov eax, 0xb
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f8668
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x4f8686
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x4f867b
pop esi
ret
Function at 0x51b0fc
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0xd80dfc]
mov ecx, dword [eax + 0x228]
test ecx, ecx
je 0x51b116
mov ecx, dword [esp + 4]
mov dword [eax + 0x22c], ecx
ret
push 0xd7e154
call fcn.0051b33c
add esp, 4
mov ecx, dword [0xd80dfc]
mov eax, dword [ecx + 0x20]
cmp eax, 0x18
jge 0x51b13f
mov edx, dword [ecx + eax*4 + 0x24]
mov eax, dword [edx*4 + 0xd7d030]
push eax
jmp 0x51b144
push 0xd7e150
call fcn.0051b33c
add esp, 4
push esi
push 0xd7e198
push 0xa
call fcn.00520fb4
mov ecx, dword [0xd80dfc]
add esp, 8
mov esi, dword [ecx + 0x20]
dec esi
js 0x51b1ba
push edi
lea edi, [esi*4 + 0x24]
push 0xd7e134
call fcn.0051b33c
add esp, 4
cmp esi, 0x18
jge 0x51b195
mov edx, dword [0xd80dfc]
mov eax, dword [edi + edx]
mov ecx, dword [eax*4 + 0xd7d030]
push ecx
jmp 0x51b19a
push 0xd7e150
call fcn.0051b33c
add esp, 4
push 0xd7e198
push 0xa
call fcn.00520fb4
add esp, 8
dec esi
sub edi, 4
test esi, esi
jge 0x51b170
pop edi
mov edx, dword [esp + 8]
pop esi
lea eax, [edx - 1]
cmp eax, 0x1b
ja 0x51b2b4
jmp dword [eax*4 + 0xd7129c]
push 0xd7dda8
call fcn.0051b33c
add esp, 4
push 0
call fcn.00520eb2
cmpsb byte [esi], byte es:[edi]
adc edi, edx
add byte [eax - 0x45ff28ef], dh
adc edi, edx
add ah, al
adc edi, edx
add dh, cl
adc edi, edx
add al, bl
adc edi, edx
add dl, ah
adc edi, edx
add ah, ch
adc edi, edx
add dh, dh
adc edi, edx
add byte [eax], al
adc dl, bh
add byte [edx], cl
adc dl, bh
add byte [ecx], dl
adc dl, bh
add byte [eax], bl
adc dl, bh
add byte [edi], bl
adc dl, bh
add byte [esi], ah
adc dl, bh
add byte [0x3400d712], ch
adc dl, bh
add byte [ebx], bh
adc dl, bh
add byte [edx + 0x12], al
xlatb
add byte [ecx + 0x12], cl
xlatb
add byte [eax + 0x12], dl
xlatb
add byte [edi + 0x12], dl
xlatb
add byte [esi + 0x12], bl
xlatb
add byte [ebp + 0x12], ah
xlatb
add byte [edx + edx - 0x29], ch
add byte [ebx + 0x12], dh
xlatb
add byte [edx + 0x12], bh
xlatb
add byte [ecx - 0x6fff28ee], al
nop
nop
nop
Function at 0x54fd80
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x54fd9e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x54fd93
pop esi
ret

Function at 0x56e4b2
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0xd80dfc]
mov ecx, dword [eax + 0x228]
test ecx, ecx
je 0x56e4cc
mov ecx, dword [esp + 4]
mov dword [eax + 0x22c], ecx
ret
push 0xd7e154
call fcn.0056e6f2
add esp, 4
mov ecx, dword [0xd80dfc]
mov eax, dword [ecx + 0x20]
cmp eax, 0x18
jge 0x56e4f5
mov edx, dword [ecx + eax*4 + 0x24]
mov eax, dword [edx*4 + 0xd7d030]
push eax
jmp 0x56e4fa
push 0xd7e150
call fcn.0056e6f2
add esp, 4
push esi
push 0xd7e198
push 0xa
call fcn.0057436a
mov ecx, dword [0xd80dfc]
add esp, 8
mov esi, dword [ecx + 0x20]
dec esi
js 0x56e570
push edi
lea edi, [esi*4 + 0x24]
push 0xd7e134
call fcn.0056e6f2
add esp, 4
cmp esi, 0x18
jge 0x56e54b
mov edx, dword [0xd80dfc]
mov eax, dword [edi + edx]
mov ecx, dword [eax*4 + 0xd7d030]
push ecx
jmp 0x56e550
push 0xd7e150
call fcn.0056e6f2
add esp, 4
push 0xd7e198
push 0xa
call fcn.0057436a
add esp, 8
dec esi
sub edi, 4
test esi, esi
jge 0x56e526
pop edi
mov edx, dword [esp + 8]
pop esi
lea eax, [edx - 1]
cmp eax, 0x1b
ja 0x56e66a
jmp dword [eax*4 + 0xd7129c]
push 0xd7dda8
call fcn.0056e6f2
add esp, 4
push 0
call fcn.00574268
cmpsb byte [esi], byte es:[edi]
adc edi, edx
add byte [eax - 0x45ff28ef], dh
adc edi, edx
add ah, al
adc edi, edx
add dh, cl
adc edi, edx
add al, bl
adc edi, edx
add dl, ah
adc edi, edx
add ah, ch
adc edi, edx
add dh, dh
adc edi, edx
add byte [eax], al
adc dl, bh
add byte [edx], cl
adc dl, bh
add byte [ecx], dl
adc dl, bh
add byte [eax], bl
adc dl, bh
add byte [edi], bl
adc dl, bh
add byte [esi], ah
adc dl, bh
add byte [0x3400d712], ch
adc dl, bh
add byte [ebx], bh
adc dl, bh
add byte [edx + 0x12], al
xlatb
add byte [ecx + 0x12], cl
xlatb
add byte [eax + 0x12], dl
xlatb
add byte [edi + 0x12], dl
xlatb
add byte [esi + 0x12], bl
xlatb
add byte [ebp + 0x12], ah
xlatb
add byte [edx + edx - 0x29], ch
add byte [ebx + 0x12], dh
xlatb
add byte [edx + 0x12], bh
xlatb
add byte [ecx - 0x6fff28ee], al
nop
nop
nop
Function at 0x5a27fd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100e9b00]
xor edx, edx
cmp eax, edx
jne 0x5a2823
xor eax, eax
mov byte [eax + 0x100e9a00], al
inc eax
cmp eax, 0x100
jl 0x5a280b
mov dword [0x100e9b00], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100e9a00
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x5a28b4
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 0x5a2887
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 0x5a2855
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x5a292d
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 0x5a2980
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 0x5a2967
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 0x5a2c14
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x100b9477
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 + 8]
call fcn.005c621d
mov eax, dword [0x100e7b18]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x24], eax
mov ecx, dword [0x100e7b18]
mov dword [esi + 0x28], ecx
mov edx, dword [0x100e7b18]
mov dword [esi + 0x2c], edx
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 3
call fcn.005c621d
lea edx, [esi + 0x48]
mov ecx, 0x1c
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x494]
mov byte [esp + 0x18], 4
mov dword [edx], 0x42444557
mov dword [edx + 4], 0x10000
call fcn.00649155
mov ecx, dword [esp + 0x10]
mov dword [esi], 0x100c1c1c
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], 0xffffffff
mov dword [esi + 0xd0], ebx
mov dword [esi + 0x4a8], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5b50cd
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100ba463
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00649e2c
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x100c92c8
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x100c2b98
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x100c1144]
push eax
mov ecx, edi
call fcn.00650e87
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00652545
test eax, eax
je 0x5b51e9
mov ecx, dword [esp + 0x3c]
call fcn.00650eb4
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x100c1748]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x5b51ad
push edi
mov ecx, esi
call fcn.0064cb35
mov ecx, esi
call fcn.005b534d
cmp dword [esp + 0x38], 1
jne 0x5b51e2
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0064cc70
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x5b6add
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100ba5b8
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 0x5b6b16
inc eax
mov dword [esi + 0x10], eax
jmp 0x5b6c29
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x5b6b2a
mov eax, 0xffffffc7
jmp 0x5b6c2b
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x5b6b3b
cmp dword [esi + 8], eax
jne 0x5b6b2a
cmp dword [esi + 8], eax
jne 0x5b6b54
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x5b6b54
mov eax, 0xffffffc7
jmp 0x5b6c2b
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x5b6b68
push eax
mov ecx, ebx
call fcn.005b630d
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.005c621d
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x5b6b99
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.005c623d
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.005b5a7d
test eax, eax
mov dword [esp + 0x38], eax
je 0x5b6bcc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x100c1c18
call fcn.005c641d
mov eax, dword [esp + 0x38]
jmp 0x5b6c2b
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.005b693d
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x5b6c10
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.005b695d
mov esi, eax
test esi, esi
jne 0x5b6c40
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.005b693d
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x5b6be2
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x100c1c18
call fcn.005c641d
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], 0x100c1c18
call fcn.005c641d
mov eax, esi
jmp 0x5b6c2b