joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101d5930
Capabilities:
Check for software breakpoints

Disassembly:
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp eax, edx
push esi
jne 0x101d5a05
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x101d5953
cmp al, 0x6b
jne 0x101d5a05
cmp al, 0x6b
lea esi, [ecx + 1]
jne 0x101d59c1
lea eax, [edx - 3]
xor edx, edx
test eax, eax
jle 0x101d5975
mov cl, byte [esi]
inc esi
cmp cl, 0xba
je 0x101d5975
cmp cl, 0xbb
jne 0x101d599e
inc edx
cmp edx, eax
jl 0x101d5963
sub eax, edx
test edx, edx
jne 0x101d59c4
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.1008b9f0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x81
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.1008b9f0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
lea eax, [edx - 2]
cmp byte [eax + esi], 0xcc
je 0x101d59ed
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.1008b9f0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov ecx, eax
push edi
mov edi, dword [esp + 0xc]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret
push 0x72
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.1008b9f0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret

Function at 0x101d73d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov ecx, dword [eax + 4]
push edi
cmp ecx, dword [ebx + 4]
jge 0x101d73e9
mov edi, ebx
mov ebx, eax
jmp 0x101d73eb
mov edi, eax
mov esi, dword [esp + 0x10]
mov eax, dword [edi + 4]
cmp eax, dword [esi + 8]
jg 0x101d73fb
mov eax, esi
jmp 0x101d7405
push eax
push esi
call fcn.1009f800
add esp, 8
test eax, eax
jne 0x101d740d
pop edi
pop esi
pop ebx
ret
mov ecx, dword [ebx + 4]
xor eax, eax
test ecx, ecx
jle 0x101d7431
push ebp
mov edx, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
mov ebp, dword [ecx + eax*4]
mov ecx, dword [esi]
xor edx, ebp
mov dword [ecx + eax*4], edx
mov ecx, dword [ebx + 4]
inc eax
cmp eax, ecx
jl 0x101d7417
pop ebp
cmp eax, dword [edi + 4]
jge 0x101d7448
mov edx, dword [edi]
mov ecx, dword [esi]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
mov ecx, dword [edi + 4]
inc eax
cmp eax, ecx
jl 0x101d7436
mov edi, dword [edi + 4]
test edi, edi
mov dword [esi + 4], edi
jle 0x101d746e
mov eax, dword [esi]
lea eax, [eax + edi*4 - 4]
mov ecx, dword [eax]
sub eax, 4
test ecx, ecx
jne 0x101d746e
mov edx, dword [esi + 4]
dec edx
mov ecx, edx
mov dword [esi + 4], edx
test ecx, ecx
jg 0x101d7458
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x101ddd76
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101f8de8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.10089710
xor edi, edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
call sub.MFC42u.DLL_CString::CString_2
push edi
push edi
push edi
push edi
mov dword [esi], 0x10214a44
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x101de3b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x101de3bd
xor eax, eax
ret 0xc
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x101de4c0
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x10214a58]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10214a58]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10214a58]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10214a58]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10214a58]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10214a58]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10214a58]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x10214a58]
xor eax, edx
inc ecx
dec edi
jne 0x101de3d8
pop edi
test esi, esi
je 0x101de4e2
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x10214a58]
xor eax, edx
inc ecx
dec esi
jne 0x101de4c4
pop esi
pop ebx
not eax
ret 0xc
Function at 0x101df060
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x108]
push edi
mov dword [esp + 0x14], ecx
xor edx, edx
xor eax, eax
mov al, byte [edx + str.80_]
mov ecx, eax
and eax, 7
sar ecx, 3
mov bl, byte [eax*2 + 0x10214ec8]
mov cl, byte [ecx + esi]
test bl, cl
setne al
mov byte [esp + edx + 0x50], al
inc edx
cmp edx, 0x38
jl 0x101df077
mov eax, 0x1e
xor ebx, ebx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x110], 1
je 0x101df0b8
lea eax, [ebx + ebx]
lea edi, [esp + eax*4 + 0x8c]
lea ebp, [esp + eax*4 + 0x88]
xor eax, eax
xor ecx, ecx
mov cl, byte [ebx + 0x10214f70]
mov dword [edi], 0
mov esi, ecx
mov dword [ebp], 0
mov edx, esi
cmp edx, 0x1c
jge 0x101df0ec
mov cl, byte [esp + edx + 0x50]
jmp 0x101df0f0
mov cl, byte [esp + edx + 0x34]
mov byte [esp + eax + 0x18], cl
inc eax
inc edx
cmp eax, 0x1c
jl 0x101df0e1
mov eax, 0x1c
lea edx, [esi + 0x1c]
cmp edx, 0x38
jge 0x101df10e
mov cl, byte [esp + edx + 0x50]
jmp 0x101df112
mov cl, byte [esp + edx + 0x34]
mov byte [esp + eax + 0x18], cl
inc eax
inc edx
cmp eax, 0x38
jl 0x101df103
xor edx, edx
mov eax, 0x10214ed8
xor ecx, ecx
mov cl, byte [edx + 0x10214f80]
cmp byte [esp + ecx + 0x18], 0
je 0x101df13d
mov ecx, dword [eax]
mov esi, dword [ebp]
or esi, ecx
mov dword [ebp], esi
xor ecx, ecx
mov cl, byte [edx + 0x10214f98]
cmp byte [esp + ecx + 0x18], 0
je 0x101df154
mov ecx, dword [eax]
mov esi, dword [edi]
or esi, ecx
mov dword [edi], esi
add eax, 4
inc edx
cmp eax, str.80_
jl 0x101df124
mov eax, dword [esp + 0x10]
inc ebx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x101df0ab
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x88]
push edx
call fcn.101df1a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret 8
Function at 0x30096d71
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x30096de0
mov eax, dword [ebp + 8]
test eax, 3
je 0x30096da2
cmp word [eax], 0
je 0x30096d9b
lea eax, [eax + 2]
test eax, 3
jne 0x30096d89
jmp 0x30096da2
sub eax, dword [ebp + 8]
shr eax, 1
jmp 0x30096ddd
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x10001
xor edx, ecx
and edx, 0x80008000
je 0x30096da2
sub eax, dword [ebp + 8]
shr eax, 1
test cx, cx
lea eax, [eax - 2]
je 0x30096ddd
test ecx, 0xffff0000
lea eax, [eax + 1]
je 0x30096ddd
lea eax, [eax*2 + 2]
add eax, dword [ebp + 8]
jmp 0x30096da2
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x44ba10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
push esi
push eax
push 0x20019
push 0
push str.SoftwareAdobeAdobe_Acrobat11.0Security
push SysFreeString
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44ba83
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 4], eax
lea edx, [esp + 4]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0x65d054
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44ba78
mov eax, dword [esp + 4]
test eax, eax
jne 0x44ba78
xor esi, esi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x930174
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x93017a
pop ebp
sub ebp, 6
sub ebp, 0x530174
jmp 0x9301d8
jmp 0x9301e1
mov eax, 0x530174
add eax, ebp
add eax, 0x93
mov ecx, 0x61a
mov edx, 0x42b585e4
xor byte [eax], dl
inc eax
dec ecx
jne 0x9301f8
jmp 0x93020b
mov fs, word [esp + ecx*4 - 0x1b1b0b1c]
mov esp, fs
sub al, cl
in al, 0xd7
and al, 0xb4
sbb esi, dword [ecx - 0x64]
movsd dword es:[edi], dword [esi]
lodsd eax, dword [esi]
in al, 0xb4
outsd dx, dword [esi]
sub dword [edi + 0x6d], ebp
fsub st(4)
in al, 0xe4
and eax, 0xe4e4e41c
out 0x29, eax
pop esp
loop 0x930218
in al, 0xe4
pop esi
int3
Function at 0x40c390
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40a015
lea edi, [esi - 0x9015]
push edi
jmp 0x40c3aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40c3b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40c3a0
mov eax, 1
add ebx, ebx
jne 0x40c3c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40c3b8
jne 0x40c3d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c3b8
xor ecx, ecx
sub eax, 3
jb 0x40c3e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40c45a
mov ebp, eax
add ebx, ebx
jne 0x40c3f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40c400
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40c424
inc ecx
add ebx, ebx
jne 0x40c410
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40c405
jne 0x40c421
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c405
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40c444
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40c435
jmp 0x40c3a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40c444
add edi, ecx
jmp 0x40c3a6
pop esi
mov edi, esi
mov ecx, 0x124
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40c462
cmp byte [edi], 2
jne 0x40c462
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40c467
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40c4d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40c494
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc06c]
or eax, eax
je 0x40c4d0
mov dword [ebx], eax
add ebx, 4
jmp 0x40c4b1
call dword [esi + 0xc068]
mov ebp, dword [esi + 0xc070]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0xc531]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40c522
sub esp, 0xffffff80
jmp 0x4012e0

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402c40
Capabilities:
Encode data using xor

Disassembly:
loopne 0x402c67
add byte [ecx], al
add byte [ebp + 0xa], dh
push str.WARNING:_The_median_and_mean_for_the_initial_connection_time_are_not_within_a_normal_deviation_n________These_results_are_probably_not_that_reliable._n
call esi
add esp, 4
fild qword [ebp - 0x38]
ffreep st(1)
call 0x161d163a
xor cl, cl
inc eax
add bh, bl
loopne 0x402c59
jmp 0xc970423a
les eax, [0xe0d9027a]
fchs
ffree st(2)
mov ecx, 0xc1d9c094
fcompp
fist word [0x410025]
add byte [ebp - 0x82722f7], dl
mov cl, bl
inc eax
add bl, ch
adc esp, ebx
pop ebp
xchg esp, eax
fsubrp st(0)
and eax, 0x4100
or ch, byte cs:[eax - 8]
fadd dword [eax]
fld dword [eax]
jmp 0x402c95
xor ah, byte [ecx - 0x20fb3b7d]
insd dword es:[edi], dx
rcr bh, 0x6d
loopne 0x402c7f
jmp 0xc2704282

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

Disassembly:
push edx
jmp 0x404f71
mov edx, dword [edx + 0x10]
nop
jmp 0x404f83
mov eax, dword [edx + 0x3c]
nop
jmp 0x404f92
push edi
add eax, edx
nop
mov eax, dword [eax + 0x78]
nop
test eax, eax
je 0x40511d
jmp 0x404fb0
add eax, edx
nop
mov ecx, dword [eax + 0x18]
mov ebx, dword [eax + 0x20]
nop
jmp 0x404fc4
push eax
add ebx, edx
jmp 0x404fd3
nop
test ecx, ecx
nop
je 0x405108
xor edi, edi
nop
jmp 0x404fef
dec ecx
nop
jmp 0x404ffc
mov esi, dword [ebx + ecx*4]
add esi, edx
jmp 0x40500f
jmp 0x40501c
xor eax, eax
nop
lodsb al, byte [esi]
nop
ror edi, 0xd
nop
jmp 0x405032
add edi, eax
jmp 0x40503e
cmp al, ah
nop
jne 0x40500f
jmp 0x405053
nop
add edi, dword [ebp - 8]
nop
cmp edi, dword [ebp + 0x24]
nop
jmp 0x405066
jne 0x404fd3
nop
nop
jmp 0x40507e
pop eax
nop
mov ebx, dword [eax + 0x24]
nop
jmp 0x40508e
add ebx, edx
mov cx, word [ebx + ecx*2]
nop
mov ebx, dword [eax + 0x1c]
nop
jmp 0x4050a6
add ebx, edx
nop
mov eax, dword [ebx + ecx*4]
jmp 0x4050b8
add eax, edx
nop
jmp 0x4050cf
mov dword [esp + 0x24], eax
pop ebx
pop ebx
nop
jmp 0x4050e4
popal
nop
jmp 0x4050f3
pop ecx
nop
pop edx
push ecx
jmp 0x405106
jmp eax
jmp 0x40511c
pop eax
pop edi
nop
jmp 0x405132
pop edx
jmp 0x405143
mov edx, dword [edx]
nop
jmp 0x405155
jmp 0x404ebe

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403910
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4411db
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x459780]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x410
mov dword [ebp - 0x23c], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x403ae0
lea eax, [ebp - 0x234]
push eax
push 4
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x403ae0
mov eax, dword [ebp - 0x234]
mov ecx, 4
shr eax, 2
mul ecx
mov esi, eax
mov eax, 0xffffffff
cmovb esi, eax
push esi
call fcn.0043525f
mov edi, eax
add esp, 4
test edi, edi
je 0x4039c1
push esi
push 0
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
jmp 0x4039c3
xor edi, edi
mov dword [ebp - 0x240], edi
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0
push eax
push dword [ebp - 0x234]
push edi
push ebx
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x403ad3
xor esi, esi
test dword [ebp - 0x234], 0xfffffffc
jbe 0x403ad3
nop
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push eax
push dword [edi + esi*4]
push ebx
call sub.KERNEL32.dll_K32GetModuleFileNameExW
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401b80
mov eax, dword [ebp - 0x220]
cmp dword [ebp - 0x21c], 7
push 0
mov byte [ebp - 4], 1
lea ecx, [eax + eax]
lea eax, [ebp - 0x230]
cmova eax, dword [ebp - 0x230]
push ecx
mov ecx, dword [ebp - 0x238]
push eax
call fcn.00404520
mov ecx, dword [ebp - 0x238]
push 0
push 2
push 0x44462c
call fcn.00404520
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x403ac1
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403ab7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403afc
push ecx
push edx
call fcn.00435251
add esp, 8
mov eax, dword [ebp - 0x234]
inc esi
shr eax, 2
cmp esi, eax
jb 0x403a00
test edi, edi
je 0x403ae0
push edi
call fcn.00435268
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043520e
mov esp, ebp
pop ebp
ret
call fcn.00436540
int3
Function at 0x404ed0
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, 1
push edi
mov dword [ebp - 4], eax
lea ecx, [esi - 1]
mov dword [ebp - 0xc], ecx
cmp ecx, eax
jle 0x404fb8
mov ebx, dword [ebp + 0xc]
push dword [ebx + eax*4]
call sub.msvcrt.dll__wtoi
add esp, 4
push eax
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x404fc4
mov ecx, dword [ebx + esi*4 - 4]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404f20
sub ecx, edx
sar ecx, 1
push 4
push 0x3000
lea esi, [ecx*2 + 2]
push esi
push 0
push edi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
je 0x404fc4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0
push esi
push dword [eax + ecx*4 - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push ebx
push dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0x8000
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call esi
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 8]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0xc]
jl 0x404ef2
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4050d0
Capabilities:
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x459780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push str.RshFileMap000
push 0x34
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40514b
push 0x34
push 0
push 0
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [eax + 0x10]
add eax, 0x14
push eax
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x405174
mov dword [esi], 0
mov dword [esi + 4], 0x3a4
mov dword [esi + 8], 0x411
mov dword [esi + 0xc], 0xfffffde4
mov dword [esi + 0x10], 0x64
mov dword [esi + 0x14], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
lea eax, [ebp - 0x408]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x4052bb
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4051c6
pop edi
pop esi
mov eax, 0xffffd8ed
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043520e
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x40c]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4052a5
mov eax, 0x5a4d
cmp word [ebp - 0x404], ax
jne 0x4052a5
push edi
call ebx
lea edi, [ebp - 0x404]
mov ebx, 0x14c
add edi, dword [ebp - 0x3c8]
movzx eax, word [edi + 4]
cmp ax, bx
je 0x405239
mov ecx, 0x8664
cmp ax, cx
je 0x405239
pop edi
pop esi
mov eax, 0xffffd8e5
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043520e
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x34]
push str.RcpEvent000
push 0
push 0
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x28]
push 0
mov dword [esi + 0x44], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push str.RcpFileMap000
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 4
push 0
push 0
push 0xf001f
push eax
mov dword [esi + 0x38], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor ecx, ecx
mov dword [esi + 0x3c], eax
cmp word [edi + 4], bx
mov eax, 0xffffd8ef
pop edi
pop esi
cmove eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043520e
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffd8e6
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043520e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffd8ec
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043520e
mov esp, ebp
pop ebp
ret