joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a88
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx ecx, word [eax + 0x14]
and dword [ebp - 8], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
mov edi, dword [0x403180]
lea esi, [ecx + eax + 0x18]
movzx ecx, word [eax + 6]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0xc], ecx
lea ecx, [edi - 0x69b25f40]
push ecx
push dword [eax + 0x54]
push dword [ebp + 8]
call ebx
and dword [ebp - 4], 0
cmp dword [ebp - 0xc], 0
jbe 0x401b60
cmp dword [ebp - 8], 0
jne 0x401b60
lea eax, [edi - 0x69b25f27]
bt dword [esi + 0x24], eax
jae 0x401b03
lea eax, [edi - 0x69b25f25]
bt dword [esi + 0x24], eax
jae 0x401afb
lea ecx, [edi - 0x69b25f04]
jmp 0x401b27
lea ecx, [edi - 0x69b25f24]
jmp 0x401b27
lea eax, [edi - 0x69b25f26]
bt dword [esi + 0x24], eax
jae 0x401b21
lea eax, [edi - 0x69b25f25]
bt dword [esi + 0x24], eax
lea ecx, [edi - 0x69b25f42]
jae 0x401b27
lea ecx, [edi - 0x69b25f40]
mov eax, dword [esi + 0xc]
add eax, dword [ebp + 8]
lea edx, [ebp - 0x10]
push edx
push ecx
push dword [esi + 8]
push eax
call ebx
test eax, eax
jne 0x401b45
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, edi
imul eax, eax, 0x28
inc dword [ebp - 4]
lea esi, [esi + eax + 0x7c211d88]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jb 0x401ad1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x401d96
Capabilities:
Check os version

Disassembly:
push esi
mov esi, dword [0x403170]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x40317c], eax
test eax, eax
je 0x401e08
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jne 0x401dc9
mov ecx, eax
shr ecx, 8
test cl, cl
ja 0x401dcb
cmp al, al
jbe 0x401e03
mov dword [0x40316c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x10047a
mov dword [0x403168], eax
mov dword [0x403170], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [0x403164], eax
test eax, eax
jne 0x401dff
or dword [0x403164], 0xffffffff
xor eax, eax
pop esi
ret
push 0x32
pop eax
pop esi
ret
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x1018a8cc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10198f10]
jne 0x1018a8d6
repz ret
jmp fcn.1018ab7d

Function at 0x1018afce
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x10198eec], 0x2498
mov ecx, dword [0x10198ef0]
add ecx, 0xffffe16e
mov dword [0x10198ef0], ecx
mov dword [ebp - 0x10], eax
call fcn.1018b8da
mov ecx, eax
mov edx, dword [eax + 0x3c]
mov dword [0x10198eec], 0x4bc
mov edx, dword [eax + edx + 0x78]
mov dword [0x10198eec], 0x124f
mov dword [0x10198ef0], 0xffffed55
mov esi, ecx
add esi, dword [eax + edx + 0x20]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [edx + esi + 0x18]
cmp edi, 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
je 0x1018b080
jmp 0x1018b08b
mov eax, dword [ebp - 0x2c]
add eax, 1
mov cl, byte [ebp - 0x2d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x2e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x34], eax
jne 0x1018b0d1
jmp 0x1018b0fe
mov eax, dword [ebp - 0x28]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0xffffed55
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
add edx, dword [edx + esi + 0x24]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
xor esi, esi
mov edi, dword [ebp - 0x24]
mov ebx, dword [edi + eax*4]
add edx, 0xffffe16e
mov dword [0x10198ef0], edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
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 - 0x2c], eax
mov byte [ebp - 0x2d], bh
mov byte [ebp - 0x2e], cl
jne 0x1018b056
mov al, byte [ebp - 0x2e]
test al, 1
jne 0x1018b13a
jmp 0x1018b107
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 2
mov edx, dword [ebp - 0x44]
add edx, 1
mov esi, dword [ebp - 0x20]
cmp edx, esi
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x40], edx
jb 0x1018b0a5
jmp 0x1018b080
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
mov dword [0x10198ef0], 0xfffffd67
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x10198eec], 0x768
mov edx, dword [ebp - 0x18]
add edx, ecx
mov dword [ebp - 0x28], edx
jmp 0x1018b080
Function at 0x1018b16e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 1
lea esi, [ebp - 0x24]
mov dword [0x10198ef0], 0xc32
mov dword [0x10198eec], 0xffffecfe
mov byte [ebp - 0x24], 0x56
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edx
jmp 0x1018b1c3
mov eax, dword [ebp - 0x38]
add eax, 0x22e7
mov dword [0x10198eec], 0x2398
mov dword [ebp - 0x3c], eax
jmp 0x1018b2d1
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 0x1018e350]
mov dl, byte [eax + 0x1018e321]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x34], eax
jne 0x1018b1c3
mov dword [0x10198ef0], 0x232f
mov dword [0x10198eec], 0xf5f
call fcn.1018c7c4
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1018c642
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
je 0x1018b2d1
mov eax, dword [ebp - 0x40]
mov dword [0x10198eec], 0x578
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 [0x10198eec], 0x1960
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.1018c52a
mov dword [0x10198ef0], 0xa7
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x10198eec], 0xffffdbc6
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x54], ecx
mov ecx, dword [0x10198eec]
add ecx, 0x1fb2
mov dword [0x10198eec], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x20], ecx
cmp ecx, 0
mov dword [ebp - 0x3c], eax
jne 0x1018b1a9
mov eax, dword [ebp - 0x3c]
add esp, 0x4c
pop esi
pop ebp
ret
Function at 0x1018b2da
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x10198eec]
mov dword [ebp - 0x10], eax
mov eax, ebx
add eax, 0xca
mov dword [0x10198eec], eax
mov dword [0x10198ef4], 0
mov dword [0x10198ef8], 0
mov dword [0x10198f04], 0
add ebx, 0x1c7d
mov dword [0x10198ef0], ebx
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov ebx, edi
mov eax, edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edi
je 0x1018b47d
jmp 0x1018b37b
mov eax, dword [0x10198ef4]
mov ecx, dword [0x10198ef8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
jmp 0x1018b37b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
add ecx, 1
mov edi, eax
add edi, 1
mov dword [ebp - 0x38], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x10198ef4], edx
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x3c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x40], edx
cdq
idiv esi
mov dword [0x10198ef8], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x40]
mov cl, byte [ecx + esi]
mov byte [0x10198efc], cl
mov dword [0x10198ef0], 0x73c
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x10198eec], 0x1230
mov cl, byte [0x10198efc]
mov edx, dword [0x10198ef8]
mov byte [ebx + edx], cl
mov edx, dword [0x10198eec]
mov ecx, edx
add ecx, 0x4f4
mov dword [0x10198eec], ecx
mov ecx, dword [0x10198ef4]
movzx ecx, byte [ebx + ecx]
mov esi, dword [0x10198ef8]
movzx esi, byte [ebx + esi]
add esi, ecx
and esi, 0xff
mov dword [0x10198f04], esi
add edx, 0xffffd018
mov dword [0x10198ef0], edx
mov cl, byte [ebx + esi]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x38]
mov ch, byte [edx + esi]
mov byte [0x10198f09], ch
mov byte [0x10198f0a], cl
mov dword [0x10198eec], 0x1106
xor ch, cl
mov byte [0x10198f08], ch
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
jne 0x1018b356
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1018b5b4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x10198eec], 0x26aa
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x10198eec]
add edx, 0xfffff6cd
mov dword [0x10198ef0], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10198eec], 0x1018
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1018b63b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1018b674
jmp 0x1018b6f3
mov eax, dword [ebp - 0x18]
mov dword [0x10198ef0], 0xffffec24
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x1018b606
jmp 0x1018b6f3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
je 0x1018b61a
jmp 0x1018b65b
mov eax, dword [ebp - 0x20]
add esp, 0x24
pop ebp
ret
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], eax
jl 0x1018b63b
jmp 0x1018b61a
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff5
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2], 0x61
jne 0x1018b6f3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1018b6f3
mov dword [0x10198eec], 0x681
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1018b6f3
mov dword [0x10198ef0], 0xfffffb35
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1018b6f3
mov eax, 1
mov dword [0x10198ef0], 0xb7b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x1018b653
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1018b653
Function at 0x1018b767
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]
xor esi, esi
mov dword [0x10198ef8], 0
mov byte [0x10198efc], 0
mov edi, dword [0x10198eec]
add edi, 0xffffed90
mov dword [0x10198ef0], edi
mov dword [0x10198ef4], 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 dword [0x10198eec], 0x2457
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10198ef0], 0xf40
mov eax, dword [0x10198ef4]
add eax, 1
mov dword [0x10198ef4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1018b7b4
mov eax, dword [0x10198eec]
add eax, 0xffffe4dc
mov dword [ebp - 0x20], eax
mov eax, 0xf40
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov dword [0x10198eec], edx
mov dword [0x10198ef4], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [0x10198f00], 0
mov esi, dword [0x10198ef8]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x10198f00], ebx
add ecx, 0x4af
mov dword [0x10198ef0], ecx
mov eax, ebx
cdq
mov ecx, dword [ebp - 0x30]
idiv ecx
mov dword [0x10198ef8], edx
mov ebx, dword [ebp - 0x2c]
mov cl, byte [edi + ebx]
mov byte [0x10198efc], cl
mov cl, byte [edi + edx]
mov byte [edi + ebx], cl
mov dword [0x10198ef0], 0x215b
mov cl, byte [0x10198efc]
mov edx, dword [0x10198ef8]
mov byte [edi + edx], cl
mov edx, dword [0x10198ef4]
add edx, 1
mov dword [0x10198ef4], edx
cmp edx, 0x100
mov dword [ebp - 0x34], edx
jge 0x1018b8d2
mov eax, dword [0x10198ef0]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x1018b81b
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1018bba5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [fcn.1018bba5]
mov dword [0x10198eec], 0x1a42
mov ecx, dword [0x10198ef0]
add ecx, 0xffffe87b
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
jmp 0x1018bbe0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x1018bbf5
jmp 0x1018bc0f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
je 0x1018bbcf
jmp 0x1018bc0f
mov eax, dword [ebp - 0x10]
mov dword [0x10198eec], eax
mov dword [0x10198ef0], 0x6c0
mov eax, dword [ebp - 0xc]
add esp, 0x18
pop ebp
ret
mov eax, dword [ebp - 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 0x10]
add ecx, 0xa5d
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x1018bbe0
Function at 0x1018c1db
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov dword [0x10198ef0], 0x1d65
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1018c21f
jmp 0x1018c2de
mov eax, dword [ebp - 0x18]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov si, word [edx + eax*2]
add ecx, 0xffffe074
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2a], si
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x32], bx
jb 0x1018c26a
mov ax, word [ebp - 0x2a]
mov word [ebp - 0x32], ax
mov ax, word [ebp - 0x32]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
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 - 0x38]
cmp edx, esi
setb bh
and al, bh
test al, 1
mov edi, dword [ebp - 0x30]
mov byte [ebp - 0x39], bl
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edx
jne 0x1018c22a
jmp 0x1018c3b0
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x1018c21f
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov dword [0x10198eec], ecx
mov eax, dword [eax]
mov ecx, dword [ebp - 0x4c]
cmp eax, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x18], edx
je 0x1018c21f
jmp 0x1018c336
mov dword [0x10198ef0], 0xc1a
mov dword [0x10198eec], 0x13c3
mov ecx, dword fs:[0x18]
mov dword [0x10198eec], 0x1973
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov ecx, dword [0x10198ef0]
add ecx, 0xe90
mov edx, dword [ebp - 0x10]
cmp edx, 0
setne bl
mov esi, eax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bl
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], esi
jmp 0x1018c2bb
mov eax, dword [ebp - 0x40]
mov cx, word [eax + 0x24]
mov edx, dword [eax + 0x28]
mov dword [0x10198ef0], 0x1f82
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x4d]
and bh, bl
test bh, 1
mov word [ebp - 0x50], cx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x54], esi
jne 0x1018c2ab
mov eax, 0x416
mov ecx, 0x1f82
xor edx, edx
mov si, word [ebp - 0x50]
shr si, 1
mov dword [0x10198eec], 0xf15
movzx edi, si
cmp si, 0
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
je 0x1018c2bb
jmp 0x1018c22a
mov eax, 0x416
mov ecx, dword [ebp - 0x30]
mov dword [0x10198ef0], ecx
mov dword [0x10198eec], 0x13e7
mov dl, byte [ebp - 0x39]
test dl, 1
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], esi
jne 0x1018c3de
jmp 0x1018c2bb
mov dword [0x10198ef0], 0x1e02
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
jmp 0x1018c21f
Function at 0x10001600
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10091014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov bh, dl
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [edi], 0xacc3afdd
mov dword [edi + 4], 0x55314ef9
nop dword [eax]
mov byte [esi + eax], al
inc eax
cmp eax, 0x100
jl 0x10001630
movzx edx, byte [edi]
movzx eax, byte [edi + 1]
movzx ecx, byte [edi + 4]
shl edx, 8
or edx, eax
shl ecx, 8
movzx eax, byte [edi + 2]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 3]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 5]
or ecx, eax
movzx eax, byte [edi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 7]
shl ecx, 8
or ecx, eax
xor edx, ecx
xor edi, edi
nop dword [eax]
mov cl, byte [esi + edi]
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
sar eax, 0x10
movzx eax, al
mov bl, byte [eax + esi]
mov byte [esi + edi], bl
inc edi
mov byte [eax + esi], cl
cmp edi, 0x100
jl 0x10001680
test bh, bh
jne 0x10001702
push 0x100
lea eax, [ebp - 0x104]
push esi
push eax
call dword [sym.imp.VCRUNTIME140.dll_memmove]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x108], eax
nop dword [eax + eax]
movzx edx, byte [ebp + eax - 0x104]
inc eax
mov cl, byte [ebp - 0x108]
mov dword [ebp - 0x108], eax
mov byte [edx + esi], cl
cmp eax, 0x100
jl 0x100016d0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a41e
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001a41e
mov esp, ebp
pop ebp
ret 8

Function at 0x10001720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10091014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xc]
mov dl, 1
push eax
call fcn.10001600
xor eax, eax
nop dword [eax]
xor byte [edi + eax], al
lea esi, [edi + eax]
movzx edx, byte [esi]
mov ecx, eax
and ecx, 7
inc eax
mov bl, byte [ebp + ecx - 0xc]
movzx ecx, bl
xor edx, ecx
mov cl, byte [ebp + edx - 0x10c]
xor cl, bl
mov byte [esi], cl
cmp eax, 4
jb 0x10001750
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001a41e
mov esp, ebp
pop ebp
ret 8
Function at 0x10001b70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8fc
mov eax, dword [0x10091014]
xor eax, esp
mov dword [esp + 0x8f8], eax
push ebx
push esi
push edi
push 0x400
lea eax, [esp + 0x104]
mov dword [esp + 0x1c], edx
push 0
push eax
mov dword [esp + 0x28], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x500]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x100]
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x504]
push 0x1008a8c0
push eax
call fcn.1000f870
add esp, 0xc
lea eax, [esp + 0x100]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x20]
push eax
call fcn.100013d0
test eax, eax
je 0x10001c3c
mov ebx, dword [eax]
mov dword [esp + 0x10], ebx
jmp 0x10001c44
mov dword [esp + 0x10], 0xffffffff
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x24]
call fcn.100013d0
test eax, eax
je 0x10001c5f
mov ebx, dword [eax + 4]
mov dword [esp + 0x14], ebx
jmp 0x10001c67
mov dword [esp + 0x14], 0xffffffff
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x24]
call fcn.100013d0
test eax, eax
je 0x10001c7e
mov ebx, dword [eax + 8]
jmp 0x10001c81
or ebx, 0xffffffff
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x24]
call fcn.100013d0
test eax, eax
je 0x10001c9b
mov edi, dword [eax + 0xc]
jmp 0x10001c9d
xor edi, edi
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x24]
call fcn.100013d0
test eax, eax
je 0x10001cb8
mov esi, dword [eax + 0x10]
inc esi
jmp 0x10001cba
xor esi, esi
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x24]
call fcn.100013d0
test eax, eax
je 0x10001cd9
mov eax, dword [eax + 0x14]
add eax, 0x76c
jmp 0x10001cdb
xor eax, eax
push dword [esp + 0x18]
push dword [esp + 0x14]
push dword [esp + 0x1c]
push ebx
push edi
push esi
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x120]
push str._u_____d__d__d__d__d__d_____s_n
push eax
call fcn.1000f870
lea eax, [esp + 0x528]
push 0x1008a8f4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 0x30
test esi, esi
je 0x10001d3d
lea eax, [esp + 0x100]
push eax
push 0x1008a8f8
push esi
call fcn.10001300
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov ecx, dword [esp + 0x904]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001a41e
mov esp, ebp
pop ebp
ret