joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ea30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0041e6a8
push eax
push esi
push dword [ebp + 8]
call fcn.0041e65d
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0041e6a8
push eax
push esi
push dword [ebp + 8]
call fcn.0041e65d
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
pop ecx
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0041e6a8
push eax
push esi
push dword [ebp + 8]
call fcn.0041e65d
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0041e698
mov ebp, 0x88e73835
popfd
jl 0x41eb1d
invalid
invalid
Function at 0x41ece8
Capabilities:
Inspect section memory permissions

Disassembly:
xchg ecx, eax
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x41ed4c
add eax, esi
cmp dword [eax], ebx
je 0x41ed4c
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x41ed47
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
or dword [ebx + 0xe281d1], ecx
lock add byte [eax], al
cmp edx, 0x3000
jne 0x41ed31
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x41ed39
cmp edx, ebx
jne 0x41ee87
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x41ed08
add eax, dword [eax + 4]
jmp 0x41ecf5
mov dword [ebp + 0xc], ebx
jmp 0x41ed57
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x41ed6f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x41ed8d
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x41edeb
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x41edd2
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41eddb
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x41ede5
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x41edc7
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x41ed51
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x41ee38
dec eax
je 0x41ee2f
sub eax, 3
je 0x41ee26
mov dword [ebp - 4], 0x40
jmp 0x41ee55
mov dword [ebp - 4], 4
jmp 0x41ee3b
mov dword [ebp - 4], 0x20
jmp 0x41ee3b
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x41ee87
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x41ee07
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
js fcn.0041ee98
add edi, esi
call fcn.0041e698
pop es
lodsd eax, dword [esi]
jle 0x41ee6e
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x41ee93
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41ed0d
Capabilities:
Inspect section memory permissions

Disassembly:
xchg ecx, eax
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x41ed4c
add eax, esi
cmp dword [eax], ebx
je 0x41ed4c
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x41ed47
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
or dword [ebx + 0xe281d1], ecx
lock add byte [eax], al
cmp edx, 0x3000
jne 0x41ed31
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x41ed39
cmp edx, ebx
jne 0x41ee87
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x41ed08
add eax, dword [eax + 4]
jmp 0x41ecf5
mov dword [ebp + 0xc], ebx
jmp 0x41ed57
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x41ed6f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x41ed8d
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x41edeb
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x41edd2
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41eddb
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x41ede5
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x41edc7
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x41ed51
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x41ee38
dec eax
je 0x41ee2f
sub eax, 3
je 0x41ee26
mov dword [ebp - 4], 0x40
jmp 0x41ee55
mov dword [ebp - 4], 4
jmp 0x41ee3b
mov dword [ebp - 4], 0x20
jmp 0x41ee3b
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x41ee87
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x41ee07
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
js fcn.0041ee98
add edi, esi
call fcn.0041e698
pop es
lodsd eax, dword [esi]
jle 0x41ee6e
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x41ee93
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f560
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0041e676
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
cmp al, dh
test dword [eax + 0x27fffffc], ebp
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.0041e6a8
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041e65d
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.0041e698
jae 0x41f676
add dh, byte [ecx]
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.0041e698
and eax, 0x80466042
loopne 0x41f6b6
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
mov byte [ebp - 0x12], 0x8a
mov byte [ebp - 0x11], 0xa3
mov byte [ebp - 0x10], 0xe2
lea eax, [ebp - 0x20]
push eax
call fcn.0041e6a8
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041e65d
add esp, 0xc
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x654]
push eax
push 0x104
call dword [ebp - 0x370]
mov dword [ebp - 0x550], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [ebp + eax - 0x12d]
cmp eax, 0x5c
jne 0x41f744
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
invalid
Function at 0x41f5a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0041e676
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
cmp al, dh
test dword [eax + 0x27fffffc], ebp
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.0041e6a8
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041e65d
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.0041e698
jae 0x41f676
add dh, byte [ecx]
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.0041e698
and eax, 0x80466042
loopne 0x41f6b6
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
mov byte [ebp - 0x12], 0x8a
mov byte [ebp - 0x11], 0xa3
mov byte [ebp - 0x10], 0xe2
lea eax, [ebp - 0x20]
push eax
call fcn.0041e6a8
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041e65d
add esp, 0xc
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x654]
push eax
push 0x104
call dword [ebp - 0x370]
mov dword [ebp - 0x550], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [ebp + eax - 0x12d]
cmp eax, 0x5c
jne 0x41f744
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
invalid
Function at 0x4209f1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5a4c68
cmp edx, dword [eax]
je 0x420a13
add eax, 8
inc ecx
cmp eax, 0x5a4cf8
jl 0x420a04
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5a4c68]
jne 0x420b41
mov eax, dword [0x5a5bf0]
cmp eax, 1
je 0x420b1b
test eax, eax
jne 0x420a44
cmp dword [0x5a4b98], 1
je 0x420b1b
cmp edx, 0xfc
je 0x420b41
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x420a7b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041e930
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041e7b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x420abe
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041e7b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4298c0
push edi
call fcn.0041e830
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041e930
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041e940
lea eax, [ebp - 0xa0]
push 0x4298a0
push eax
call fcn.0041e940
push dword [esi + 0x5a4c6c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041e940
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004238b7
add esp, 0x2c
pop edi
jmp 0x420b41
lea eax, [ebp + 8]
lea esi, [esi + 0x5a4c6c]
push 0
push eax
push dword [esi]
call fcn.0041e7b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42853d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00422426
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x42855e
test byte [esp + 8], 2
je 0x42855e
mov dword [0x5a5bf4], 0xd
mov dword [0x5a5bf8], 5
jmp 0x428539
xor eax, eax
ret

Function at 0x4285d9
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x428604
test byte [esp + 8], 0x80
je 0x4285f3
and al, 0xfe
jmp 0x4285f5
or al, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x428615
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00422426
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x7aad7323
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x43f95def
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4097ff
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
add al, byte [eax]
add byte [ecx + 0x44e9e0], ah
jmp 0x40980e
lea ecx, [eax + 1]

Function at 0x409ada
Capabilities:
Encode data using xor

Disassembly:
mov dword [ecx + 0x270f7], 0x773c8d00
mov ebx, dword [ecx + edi*4 + 4]
pop esp
invalid
add al, 0x89
invalid
xor esi, 0x7fffffff
or ebx, 0x80000000
and ebx, esi
mov esi, dword [ecx + edi*4 + 8]
and esi, edx
or esi, ebx
mov ebx, esi
out 1, al
neg esi
and esi, 0xb74ee0d0
shl al, 1
dec esi
mov bh, 0xb0
or byte [ecx - 0x47621cf], bl
and ebx, 0x18d
xor edi, 0x18d
lea edi, [edi + ebx*2]
mov edi, dword [ecx + edi*4 + 4]
mov ebx, esi
and ebx, edi
add esi, edi
add ebx, ebx
sub esi, ebx
mov dword [ecx + eax*4 + 4], esi
je 0x409a5d
add al, 0x40
cmp eax, 0xe3
jne 0x409a7d
mov esi, dword [ecx + 0xd50]
mov eax, 0x355
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4]
mov dword [esi], ecx
add al, 0xeb
jp 0x409a8d
loop 0x409b0c
invalid
Function at 0x40b914
Capabilities:
Encode data using base64
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
add byte [eax], al
cmp ebp, 0xf0
invalid
invalid
invalid

Function at 0x40beda
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov bl, 1
cmp cl, dl
add al, ah
dec esi
mov bh, 0x84
push ss
add al, byte [eax]
add bh, al
inc esp
and al, 4
ja 0x40be8b
jns 0x40be94
mov dword [esp + 8], 0xd360667d
mov word [esp + 0xc], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xae
xor cl, byte [esp + eax + 4]
add cl, 0x9a
mov byte [esp + eax + 4], cl
inc eax
or dword [esi], 4
jmp 0x40bed2
scasd eax, dword es:[edi]
and al, 0x32
cmp al, bh
inc esp
and al, 0x14
sub eax, 0xc6436004
add al, 0x60
inc ebx
mov byte [esp + 0x18], 0
nop
nop
nop
nop
nop
Function at 0x40dab7
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
xor eax, eax
mov edx, dword [esp + 0x264]
test edx, edx
setg al
mov eax, dword [eax*4 + 0x44a058]
mov ecx, 0x81983555
xor ecx, dword [0x44a060]
add eax, ecx
inc eax
cld
cmp byte [ebx], dl
lodsd eax, dword [esi]
loopne 0x40daf1
mov dh, 5
aam 0xfe
inc esp
add byte [ebx - 0x5f7b7afc], cl
inc esp
add byte [ecx - 0x50a8272c], bh
fcom dword [edi - 0x51]
xor ecx, dword [0x44a08c]
add eax, ecx
inc eax
cld
cmp byte [ebx], dl
lodsd eax, dword [esi]
loopne 0x40db55
push edx
push edx
push edx
push edi
call dword [0x44fd9c]
add al, ah
dec esi
mov bh, 0xb6
add eax, 0x3a81c3d4
fiadd word [eax + eax - 0x75]
add al, 0x85
test byte [eax - 0x2b46ffbc], ah
fcom dword [edi - 0x51]
xor ecx, dword [0x44a08c]
add eax, ecx
inc eax
jmp eax
cmp eax, 0xc7993b9b
inc esp
and al, 0x1c
and eax, 0xc7952c97
inc esp
and al, 0x20
xor eax, 0xc7912193
inc esp
and al, 0x24
sbb dword [edi - 0x31], ebp
insd dword es:[edi], dx
mov dword [esp + 0x28], 0x69ed6bd2
mov dword [esp + 0x2c], 0x65a567d8
mov dword [esp + 0x30], 0x6364
mov byte [esp + 0x34], 0
xor eax, eax
nop
mov ecx, eax
add cl, 0xe3
xor cl, byte [esp + eax + 8]
add cl, 0x91
mov byte [esp + eax + 8], cl
inc eax
cmp eax, 0x2d
jne 0x40db91
movzx eax, word [esp + 8]
test ax, ax
je 0x40dbd3
lea ebp, [esp + 0x38]
lea ecx, [esp + 0xa]
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebp], ax
add ebp, 2
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dbc1
mov word [ebp], 0
add al, ah
dec esi
mov bh, 0xb7
add eax, 0x3a81c3d6
fiadd word [eax + eax + 0x66]
test eax, eax
je 0x40dc0d
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebp + ecx], ax
movzx eax, word [ecx + 0x44fed8]
add ecx, 2
test ax, ax
jne 0x40dbf7
add ebp, ecx
mov word [ebp], 0
mov eax, dword [0x44fda0]
mov dword [esp], eax
mov dword [esp + 8], 0xff1e1918
mov byte [esp + 0xc], 0
xor edx, edx
mov ecx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edx + 8]
adc al, 8
lea ebp, [edx + 0x52b59d7a]
mov eax, 0x85
sub eax, edx
xor eax, ebp
and eax, ebx
xor eax, ebp
add eax, 0x9a251256
mov ebx, eax
cmp byte [eax], 0x13
lodsd eax, dword [esi]
jecxz 0x40dc79
xor eax, 0x9d
lea eax, [eax + ebx*2]
add al, 0xab
mov byte [esp + edx + 8], al
mov ebx, edx
mov eax, edx
xor ecx, 1
add ecx, edx
xor edx, 0xfffffffe
or ebx, 1
and ebx, edx
and eax, 6
sub ecx, eax
add ecx, ebx
mov edx, ecx
cmp ecx, 5
jb 0x40dc3a
lea eax, [esp + 0x38]
push dword [esp + 8]
push 0xffffffffffffffff
push eax
push edi
call dword [esp + 0x10]
xor eax, eax
mov edx, dword [esp + 0x250]
mov ecx, edx
neg ecx
sbb eax, eax
push 0
mov ebx, dword [esp + 0x264]
push ebx
push dword [esp + 0x260]
push dword [esp + 0x260]
push eax
push edx
push edi
call dword [0x44fda4]
xor ecx, ecx
test eax, eax
setne cl
mov eax, dword [ecx*4 + 0x44a098]
mov ecx, 0x54aa1ff6
xor ecx, dword [0x44a0a0]
add eax, ecx
inc eax
jmp eax
Function at 0x41be15
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
add edi, 2
or dword [esi], 4
jmp 0x41bdda
mov ecx, eax
add ecx, 0xc
jns 0x41bde8
mov eax, 0xffffffff
jmp 0x41bdef
lea eax, [eax*2 + 0x18]
push eax
call fcn.0040a0c8
add esp, 4
mov dword [esi + 0x18], eax
mov dword [esi + 0x2d0], 0x51024f10
push ecx
mov dword [esi + 0x2d4], 0x55f753e1
mov dword [esi + 0x2d8], 0x59fa57f7
not dword [edi - 6]
pop ecx
mov dword [esi + 0x2dc], 0x5d0f5b38
mov dword [esi + 0x2e0], 0xa1fd5fe8
loopne 0x41be29
add byte [eax], al
call 0xc7e3bb8d
xchg ah, ah
add al, byte [eax]
add byte [ebx], dl
add eax, 0xe886c7a5
add al, byte [eax]
add byte [edi - 0x793a0000], ah
xchg ah, ch
add al, byte [eax]
add byte [eax], al
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esi + edx + 0x2d0]
mov dword [esi], eax
mov edi, edx
cmp byte [eax], 0x13
lodsd eax, dword [esi]
out 0x13, eax
xor edi, 0xef588993
mov ecx, edx
and ecx, 0xc
sub dword [esi], ecx
add al, 0xeb
jns 0x41be04
retf
Function at 0x4202e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437064]
jne 0x4202ea
repz ret
jmp fcn.004249a0
Function at 0x42ebd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8a8
cmp dword [0x2d8b1e0], 0x37
jne 0x42ec9c
push 0
push 0x416fa0
push 0
push 0x417000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push 0
call dword [sym.imp.KERNEL32.dll_LocalHandle]
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x417078
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push 0x4170e8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea ecx, [ebp - 0x4a8]
push ecx
push 0x417054
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x8a8]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
push 0x417110
call dword [sym.imp.KERNEL32.dll_FindFirstFileExA]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
push 0
push 0x417128
push 0
push 0x417138
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringA]
mov edx, dword [0x2d82c2c]
add edx, dword [ebp + 8]
mov eax, dword [0x2d8b1e4]
add eax, dword [ebp + 8]
mov cl, byte [eax + 0x12336]
mov byte [edx], cl
mov esp, ebp
pop ebp
ret 4