joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10044d53
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100c2da8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10044d93
cmp byte [ebx], 0xa
jne 0x10044d93
or byte [edi + eax + 0x28], 4
jmp 0x10044d98
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x10044e97
mov dl, byte [eax]
cmp dl, 0x1a
je 0x10044e7a
inc eax
cmp dl, 0xd
je 0x10044dc4
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x10044dea
cmp eax, ecx
jae 0x10044df8
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x10044dac
jmp 0x10044e97
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10044e75
cmp dword [ebp - 0x10], 0
je 0x10044e75
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x100c2da8]
test byte [eax + edi + 0x28], 0x48
je 0x10044e4f
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10044e3a
mov byte [esi], dl
jmp 0x10044e4b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100c2da8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10044e97
cmp byte [ebp - 1], 0xa
jne 0x10044e5e
cmp esi, ebx
jne 0x10044e5e
mov byte [esi], 0xa
jmp 0x10044e96
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100458d9
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10044e97
mov byte [esi], 0xd
jmp 0x10044e96
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x100c2da8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10044e94
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10044e97
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10044ea0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x100c2da8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10044ee6
cmp word [ebx], dx
jne 0x10044ee6
or byte [eax + edi + 0x28], 4
jmp 0x10044eeb
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1004504e
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x1004502e
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10044f2c
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10044f62
cmp eax, edx
jae 0x10044f70
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x10044f07
jmp 0x1004504e
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10045029
cmp dword [ebp - 0x18], 0
je 0x10045029
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100c2da8]
test byte [eax + edi + 0x28], 0x48
je 0x10044fff
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x10044fc3
mov word [esi], cx
jmp 0x10044ffa
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100c2da8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100c2da8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100c2da8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1004504e
pop eax
cmp word [ebp - 4], ax
jne 0x1004500f
cmp esi, ebx
jne 0x1004500f
mov word [esi], ax
jmp 0x1004504b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100458d9
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1004504e
push 0xd
pop eax
jmp 0x1004500a
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100c2da8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10045048
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1004504e
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100481a5
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10048242
push ebx
push esi
call fcn.1004816e
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10041501
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100481ef
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10048241
push edi
push eax
call fcn.10041423
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1004820f
call fcn.1004103f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10048240
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10041501
add esp, 0x20
test eax, eax
jne 0x1004822e
push edi
call fcn.1004103f
jmp 0x10048236
push ebx
call fcn.1004103f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1004ac7d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1003e81b
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1004acec
cmp esi, dword [ebp - 4]
je 0x1004ace7
cmp dword [ebp + 0xc], 0
je 0x1004ace7
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1004acc4
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1004a7cf
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1004acee
xor eax, eax
inc eax
jmp 0x1004acee
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1004ad53
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10065080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1003e81b
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1003e81b
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1004adca
cmp word [ecx], dx
je 0x1004adca
mov eax, dword [0x10057b94]
push edi
dec eax
push eax
push 0x10057a80
call fcn.1004acf2
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1004ae3d
cmp word [eax], dx
je 0x1004ae3d
mov eax, dword [edi]
test eax, eax
je 0x1004adee
cmp word [eax], dx
je 0x1004adee
lea eax, [ebp - 0x10]
push eax
call fcn.1004a6d5
jmp 0x1004adf7
lea eax, [ebp - 0x10]
push eax
call fcn.1004a770
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1004ae67
mov eax, dword [0x10057a7c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10057770
call fcn.1004acf2
add esp, 0xc
test al, al
je 0x1004ae67
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1004ae32
cmp word [eax], di
je 0x1004ae32
lea eax, [ebp - 0x10]
push eax
call fcn.1004a6d5
pop ecx
jmp 0x1004ae69
lea eax, [ebp - 0x10]
push eax
call fcn.1004a770
jmp 0x1004ae2f
mov eax, dword [edi]
test eax, eax
je 0x1004ae54
cmp word [eax], dx
je 0x1004ae54
lea eax, [ebp - 0x10]
push eax
call fcn.1004a68a
pop ecx
jmp 0x1004ae67
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1004af32
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1004ab77
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1004af32
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1004af32
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1004af32
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1004aebf
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10043ace
test ebx, ebx
je 0x1004af2d
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10043ace
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1004af32
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1004af32
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1004edcf
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1004af34
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100333e1
leave
ret
Function at 0x1004f961
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1004f8dd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1004fad0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1004fad0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1004fa85
jg 0x1004f9bd
test eax, eax
je 0x1004fa7b
push 1
push 0x1000
call fcn.100403bd
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1004f9e0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1004fa72
push 0x8000
push ebx
call fcn.1004f80e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1004fa09
jg 0x1004fa04
cmp ecx, 0x1000
jb 0x1004fa09
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10040e23
add esp, 0x10
cmp eax, 0xffffffff
je 0x1004fa4e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1004fa04
jl 0x1004fa35
test ecx, ecx
jne 0x1004f9f6
push dword [ebp - 0xc]
push ebx
call fcn.1004f80e
push esi
call fcn.1004103f
add esp, 0xc
xor ebx, ebx
jmp 0x1004fade
cmp byte [edi + 0x24], 0
je 0x1004fa65
cmp dword [edi + 0x20], 5
jne 0x1004fa65
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1004fa70
mov ebx, dword [edi + 0x18]
jmp 0x1004fa72
xor ebx, ebx
push esi
call fcn.1004103f
pop ecx
jmp 0x1004fade
test ecx, ecx
jg 0x1004fa47
jl 0x1004fa85
test eax, eax
jae 0x1004fa47
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100458d9
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1004faa5
cmp byte [edi + 0x1c], 0
je 0x1004fa47
jmp 0x1004fad6
push ebx
call fcn.10048b1c
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1004fa47
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1004fade
cmp byte [edi + 0x1c], 0
je 0x1004fadb
mov ebx, dword [edi + 0x18]
jmp 0x1004fade
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100458d9
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10051090
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100510bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100510bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40b3b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
test eax, eax
jne 0x40b3ca
push edi
call fcn.0040b020
mov eax, dword [edi + 4]
add esp, 4
cmp eax, 1
jne 0x40b3e4
push dword [ebp + 0x10]
lea eax, [edi + 8]
push dword [ebp + 0xc]
push eax
call fcn.0040d910
add esp, 0xc
pop edi
pop ebp
ret
cmp eax, 2
jne 0x40b41d
push dword [edi]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.0048fecf
add esp, 0x10
cmp eax, dword [ebp + 0x10]
jae 0x40b41d
push edi
call fcn.0040afd0
push str.Disabled_writing_session_log_due_to_error_while_writing
push dword [edi + 0x18]
mov dword [edi + 4], 3
call fcn.00455ac0
add esp, 0xc
pop edi
pop ebp
ret

Function at 0x40d770
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4e60ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
mov edi, dword [ebp + 0xc]
nop dword [eax + eax]
mov cl, byte [edx + esi]
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x40d7a2
movsx eax, cl
sub eax, 0x41
jmp 0x40d7e4
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x40d7b1
movsx eax, cl
sub eax, 0x47
jmp 0x40d7e4
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x40d7c0
movsx eax, cl
add eax, 4
jmp 0x40d7e4
cmp cl, 0x2b
jne 0x40d7cc
mov eax, 0x3e
jmp 0x40d7e4
cmp cl, 0x2f
jne 0x40d7d8
mov eax, 0x3f
jmp 0x40d7e4
cmp cl, 0x3d
jne 0x40d861
or eax, 0xffffffff
mov dword [ebp + edx*4 - 0x14], eax
inc edx
cmp edx, 4
jl 0x40d790
mov edx, dword [ebp - 0x14]
cmp edx, 0xffffffff
je 0x40d861
mov esi, dword [ebp - 0x10]
cmp esi, 0xffffffff
je 0x40d861
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp ecx, 0xffffffff
jne 0x40d812
cmp eax, ecx
jne 0x40d861
lea ebx, [ecx + 2]
jmp 0x40d81d
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
add ebx, 2
shl edx, 6
and ecx, 0x3f
or edx, esi
and eax, 0x3f
shl edx, 6
or edx, ecx
shl edx, 6
or edx, eax
mov eax, edx
shr eax, 0x10
mov byte [edi], al
cmp ebx, 1
jbe 0x40d846
mov ecx, edx
shr ecx, 8
mov byte [edi + 1], cl
cmp ebx, 2
jbe 0x40d84e
mov byte [edi + 2], dl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046aced
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046aced
mov esp, ebp
pop ebp
ret

Function at 0x40e5b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
test esi, esi
je 0x40e5e5
push ebx
mov ebx, dword [ebp + 0xc]
sub ebx, eax
nop word [eax + eax]
movzx edx, byte [ebx + eax]
lea eax, [eax + 1]
movzx ecx, byte [eax - 1]
xor edx, ecx
or edi, edx
sub esi, 1
jne 0x40e5d0
pop ebx
mov eax, pe_nt_image_headers32
sub eax, edi
pop edi
shr eax, 8
pop esi
pop ebp
ret
Function at 0x412d70
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0x34
push dword [ebp + 8]
call fcn.00403120
add esp, 8
cmp byte [eax], 0
je 0x412d8e
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0040ddc0
push 0x35
push dword [ebp + 8]
call fcn.004030c0
add esp, 8
test eax, eax
je 0x412da5
pop ebp
jmp fcn.00461ee0
xor eax, eax
pop ebp
ret

Function at 0x413070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00454a40
add esp, 8
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.004674c0
Function at 0x426e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4e60ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x40], edi
movups xmm0, xmmword [edi + 0x3c8]
movups xmmword [ebp - 0x34], xmm0
test ebx, ebx
jle 0x426f75
dec ebx
add edx, 3
shr ebx, 4
inc ebx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ebx
push esi
movzx ecx, byte [edx - 3]
lea esi, [edx - 1]
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ecx
movzx ecx, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], ecx
movzx ecx, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], ecx
call fcn.00426df0
add esp, 8
xor edi, edi
mov edx, dword [ebp + edi - 0x34]
lea esi, [esi + 4]
mov ebx, dword [ebp + edi - 0x14]
mov ecx, edx
shr ecx, 0x18
mov eax, ebx
shr eax, 0x18
xor cl, al
mov eax, ebx
mov byte [esi - 6], cl
mov ecx, edx
shr ecx, 0x10
shr eax, 0x10
xor cl, al
mov eax, ebx
mov byte [esi - 5], cl
mov ecx, edx
shr eax, 8
xor dl, bl
shr ecx, 8
xor cl, al
mov byte [esi - 3], dl
mov eax, dword [ebp + edi - 0x24]
mov dword [ebp + edi - 0x34], eax
add edi, 4
mov byte [esi - 4], cl
cmp edi, 0x10
jl 0x426ef4
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
add edx, 0x10
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], edx
jne 0x426e50
movups xmm0, xmmword [ebp - 0x34]
mov eax, edi
pop esi
pop edi
pop ebx
movups xmmword [eax + 0x3c8], xmm0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046aced
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
movups xmmword [edi + 0x3c8], xmm0
pop edi
xor ecx, ebp
pop ebx
call fcn.0046aced
mov esp, ebp
pop ebp
ret
Function at 0x427c10
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4e60ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
movups xmm0, xmmword [ebx + 0x3c8]
mov edi, dword [ebp + 0xc]
movups xmmword [ebp - 0x14], xmm0
test edi, edi
jle 0x427d6d
mov edx, dword [ebp - 8]
dec edi
shr edi, 4
add esi, 2
inc edi
nop word [eax + eax]
movzx ecx, byte [esi - 2]
movzx eax, byte [esi - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 3]
xor dword [ebp - 0x14], ecx
movzx ecx, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 7]
xor dword [ebp - 0x10], ecx
movzx ecx, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xb]
xor dword [ebp - 0xc], ecx
movzx ecx, byte [esi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x14]
push eax
xor edx, ecx
push ebx
mov dword [ebp - 8], edx
call fcn.00427bf0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov eax, ecx
mov byte [esi + 1], cl
shr eax, 0x18
mov byte [esi - 2], al
mov eax, ecx
shr eax, 0x10
mov byte [esi - 1], al
mov eax, ecx
mov ecx, dword [ebp - 0x10]
shr eax, 8
mov byte [esi], al
mov eax, ecx
shr eax, 0x18
mov byte [esi + 2], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 3], al
mov eax, ecx
shr eax, 8
mov byte [esi + 4], al
mov byte [esi + 5], cl
mov ecx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 6], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 7], al
mov eax, ecx
shr eax, 8
mov edx, dword [ebp - 8]
lea esi, [esi + 0x10]
mov byte [esi - 8], al
mov eax, edx
shr eax, 0x18
mov byte [esi - 6], al
mov eax, edx
shr eax, 0x10
mov byte [esi - 5], al
mov eax, edx
shr eax, 8
mov byte [esi - 7], cl
mov byte [esi - 4], al
mov byte [esi - 3], dl
sub edi, 1
jne 0x427c50
movups xmm0, xmmword [ebp - 0x14]
mov ecx, dword [ebp - 4]
pop edi
pop esi
movups xmmword [ebx + 0x3c8], xmm0
xor ecx, ebp
pop ebx
call fcn.0046aced
mov esp, ebp
pop ebp
ret
Function at 0x428e60
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push edi
xor edi, edi
lea edx, [eax + 2]
mov cl, byte [eax + 1]
mov bh, byte [eax]
mov dword [ebp - 8], edx
mov byte [ebp - 1], cl
cmp dword [ebp + 0x10], edi
jle 0x428ec2
mov al, cl
push esi
inc bh
movzx esi, bh
add esi, edx
mov bl, byte [esi]
add al, bl
movzx ecx, al
add edx, ecx
movzx ecx, byte [edx]
mov byte [esi], cl
mov byte [edx], bl
movzx edx, byte [esi]
mov esi, dword [ebp + 0xc]
movzx ecx, bl
add edx, ecx
movzx ecx, dl
mov edx, dword [ebp - 8]
movzx ecx, byte [ecx + edx]
xor byte [edi + esi], cl
inc edi
cmp edi, dword [ebp + 0x10]
jl 0x428e83
mov byte [ebp - 1], al
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 1]
pop esi
pop edi
mov byte [eax], bh
mov byte [eax + 1], cl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x428f40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4e60ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push ebx
push esi
push edi
lea ebx, [eax + 2]
mov word [eax], 0
mov edi, ebx
mov dword [ebp - 0x108], ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x104]
sub edi, eax
mov eax, ecx
lea esi, [ebp - 0x104]
xor edx, edx
add esi, ecx
div dword [ebp + 0x10]
mov byte [edi + esi], cl
inc ecx
mov al, byte [edx + ebx]
mov byte [esi], al
cmp ecx, 0x100
jb 0x428f76
mov esi, dword [ebp - 0x108]
lea ebx, [ebp - 0x104]
xor edi, edi
mov dword [ebp - 0x10c], pe_nt_image_headers32
sub ebx, esi
mov dl, byte [esi]
lea esi, [esi + 1]
movzx eax, byte [ebx + esi - 1]
add eax, edi
movzx ecx, dl
add ecx, eax
sub dword [ebp - 0x10c], 1
movzx edi, cl
mov ecx, dword [ebp - 0x108]
mov al, byte [edi + ecx]
mov byte [esi - 1], al
mov byte [edi + ecx], dl
jne 0x428fb0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046aced
mov esp, ebp
pop ebp
ret