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

Disassembly:
test eax, eax
je 0x4170ae
test edx, edx
je 0x4170ae
mov dword [edx + 0xf0], 0xa
movzx ecx, byte [eax]
push esi
movzx esi, byte [eax + 1]
shl ecx, 8
xor ecx, esi
movzx esi, byte [eax + 2]
push edi
shl ecx, 8
xor ecx, esi
movzx esi, byte [eax + 3]
shl ecx, 8
xor ecx, esi
mov dword [edx], ecx
movzx esi, byte [eax + 4]
movzx edi, byte [eax + 5]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 6]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 7]
shl esi, 8
xor esi, edi
mov dword [edx + 4], esi
movzx esi, byte [eax + 8]
movzx edi, byte [eax + 9]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 0xa]
lea ecx, [edx + 4]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 0xb]
shl esi, 8
xor esi, edi
mov dword [edx + 8], esi
movzx esi, byte [eax + 0xc]
movzx edi, byte [eax + 0xd]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl esi, 8
xor esi, edi
shl esi, 8
xor esi, eax
mov dword [edx + 0xc], esi
mov eax, esi
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x472630]
xor eax, 0x1000000
mov edi, esi
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x472a30]
and edi, 0xff0000
and eax, 0xff000000
xor eax, edi
mov edi, esi
shr edi, 0x18
movzx edi, byte [edi*4 + 0x472230]
xor eax, edi
mov edi, esi
and edi, 0xff
mov edi, dword [edi*4 + 0x471e30]
and edi, 0xff00
xor eax, edi
xor eax, dword [edx]
mov edi, dword [ecx]
xor edi, eax
mov dword [edx + 0x10], eax
mov eax, dword [edx + 8]
xor eax, edi
mov dword [edx + 0x18], eax
xor eax, esi
mov dword [edx + 0x14], edi
mov dword [edx + 0x1c], eax
mov esi, 0x473f34
mov edi, edi
mov edx, dword [ecx + 0x18]
add ecx, 0x10
mov eax, edx
shr eax, 8
mov edi, edx
and eax, 0xff
mov eax, dword [eax*4 + 0x472a30]
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x472630]
and eax, 0xff0000
and edi, 0xff000000
xor eax, edi
mov edi, edx
and edx, 0xff
mov edx, dword [edx*4 + 0x471e30]
shr edi, 0x18
movzx edi, byte [edi*4 + 0x472230]
xor eax, edi
and edx, 0xff00
xor eax, edx
xor eax, dword [ecx - 4]
add esi, 4
xor eax, dword [esi - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ecx]
xor edx, eax
mov dword [ecx + 0x10], edx
mov eax, dword [ecx + 4]
xor eax, edx
mov dword [ecx + 0x14], eax
mov edx, dword [ecx + 8]
xor edx, eax
mov dword [ecx + 0x18], edx
cmp esi, 0x473f58
jne 0x417020
pop edi
xor eax, eax
pop esi
ret
or eax, 0xffffffff
ret
Function at 0x4170c0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov edx, ebx
call fcn.00416f00
test eax, eax
jl 0x4172f8
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
push edi
test edx, edx
jle 0x41712d
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
mov edi, edi
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x4170f0
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x4172f4
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x472230]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x472230]
and esi, 0xff
mov esi, dword [esi*4 + 0x472e30]
and edi, 0xff
xor esi, dword [edi*4 + 0x473630]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x472230]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x473a30]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x472230]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x473230]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x472230]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x472230]
and esi, 0xff
mov esi, dword [esi*4 + 0x472e30]
and edi, 0xff
xor esi, dword [edi*4 + 0x473630]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x472230]
and edi, 0xff
xor esi, dword [edi*4 + 0x473230]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x472230]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x473a30]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x472230]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x472230]
and esi, 0xff
mov esi, dword [esi*4 + 0x472e30]
and edi, 0xff
xor esi, dword [edi*4 + 0x473630]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x472230]
and edi, 0xff
xor esi, dword [edi*4 + 0x473230]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x472230]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x473a30]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x472230]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x472230]
and esi, 0xff
mov esi, dword [esi*4 + 0x472e30]
and edi, 0xff
xor esi, dword [edi*4 + 0x473630]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x472230]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x472230]
and edi, 0xff
xor esi, dword [edi*4 + 0x473230]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x473a30]
inc edx
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x417141
pop edi
xor eax, eax
pop esi
pop ebx
ret
Function at 0x417ea0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [esp + 0x30]
mov esi, ecx
mov ebp, eax
cmp ebx, 0x10
jb 0x417f0e
shr ebx, 4
mov dword [esp + 0x10], ebx
mov ecx, edi
sub ebp, esi
mov eax, esi
sub ecx, esi
mov edx, 4
mov edi, edi
mov ebx, dword [eax + ebp]
xor ebx, dword [eax]
add eax, 4
sub edx, 1
mov dword [ecx + eax - 4], ebx
jne 0x417ed0
mov eax, dword [esp + 0x2c]
push eax
push edi
push edi
call fcn.00417300
mov ebx, dword [esp + 0x34]
mov ebp, edi
sub ebx, 0x10
add esp, 0xc
add esi, 0x10
add edi, 0x10
sub dword [esp + 0x10], 1
mov dword [esp + 0x28], ebx
jne 0x417ec1
mov eax, dword [esp + 0x30]
test ebx, ebx
je 0x41800d
mov ecx, edi
sub ecx, esi
mov dword [esp + 0x14], ecx
mov ecx, 1
sub ecx, esi
mov dword [esp + 0x18], ecx
mov ecx, 2
sub ecx, esi
mov dword [esp + 0x1c], ecx
mov edx, ebp
sub edx, esi
mov ecx, 3
xor eax, eax
sub ecx, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], ecx
jmp 0x417f54
mov edx, dword [esp + 0x10]
cmp eax, ebx
jae 0x417fc2
mov ebx, dword [esp + 0x14]
lea ecx, [eax + esi]
mov dl, byte [edx + ecx]
xor dl, byte [ecx]
mov byte [ebx + ecx], dl
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
add edx, ecx
cmp edx, ebx
jae 0x417fb7
mov dl, byte [eax + ebp + 1]
xor dl, byte [eax + esi + 1]
mov byte [eax + edi + 1], dl
mov edx, dword [esp + 0x1c]
add edx, ecx
cmp edx, ebx
jae 0x417fba
mov dl, byte [eax + esi + 2]
xor dl, byte [eax + ebp + 2]
mov byte [eax + edi + 2], dl
mov edx, dword [esp + 0x20]
add edx, ecx
cmp edx, ebx
jae 0x417fbf
mov cl, byte [eax + ebp + 3]
xor cl, byte [eax + esi + 3]
add eax, 4
mov byte [eax + edi - 1], cl
cmp eax, 0x10
jb 0x417f50
jmp 0x417fde
inc eax
jmp 0x417fc2
add eax, 2
jmp 0x417fc2
add eax, 3
cmp eax, 0x10
jae 0x417fde
mov edx, 0x10
sub ebp, edi
lea ecx, [eax + edi]
sub edx, eax
mov al, byte [ecx + ebp]
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x417fd3
mov ecx, dword [esp + 0x2c]
push ecx
push edi
push edi
call fcn.00417300
add esp, 0xc
mov ebp, edi
cmp ebx, 0x10
jbe 0x418009
sub ebx, 0x10
add esi, 0x10
add edi, 0x10
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x417f16
mov eax, dword [esp + 0x30]
mov edx, dword [ebp]
mov dword [eax], edx
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
pop edi
mov dword [eax + 8], edx
mov ecx, dword [ebp + 0xc]
pop esi
pop ebp
mov dword [eax + 0xc], ecx
pop ebx
add esp, 0x14
ret
Function at 0x418790
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor eax, eax
push 0x1000
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [ebx + 0x90]
push 0x470e30
mov ecx, 0x12
mov esi, 0x470de8
mov edi, ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0044f280
add esp, 0xc
xor edi, edi
mov esi, 2
jmp 0x4187e0
xor edx, edx
lea eax, [esi - 2]
mov ecx, 0x38
div ecx
lea eax, [esi - 1]
inc edi
movzx ecx, byte [edx + ebp]
xor edx, edx
mov ebp, 0x38
div ebp
mov eax, dword [esp + 0x20]
shl ecx, 8
movzx edx, byte [edx + eax]
or ecx, edx
xor edx, edx
mov eax, esi
div ebp
mov eax, dword [esp + 0x20]
shl ecx, 8
movzx edx, byte [edx + eax]
or ecx, edx
lea eax, [esi + 1]
xor edx, edx
div ebp
mov ebp, dword [esp + 0x20]
shl ecx, 8
add esi, 4
movzx eax, byte [edx + ebp]
or ecx, eax
xor dword [ebx + edi*4 - 4], ecx
cmp edi, 0x12
jb 0x4187e0
push ebx
lea ecx, [esp + 0x14]
mov eax, ebx
call fcn.00418550
add esp, 4
mov ecx, ebx
mov edi, 8
lea esi, [ecx + 8]
push esi
mov eax, ebx
call fcn.00418550
add esp, 4
sub edi, 1
mov ecx, esi
jne 0x418853
lea esi, [ebx + 0x90]
push esi
lea ecx, [ebx + 0x40]
mov eax, ebx
call fcn.00418550
add esp, 4
mov ecx, esi
mov edi, 0x1ff
lea esi, [ecx + 8]
push esi
mov eax, ebx
call fcn.00418550
add esp, 4
sub edi, 1
mov ecx, esi
jne 0x418883
xor eax, eax
lea ecx, [ebx + 0x8c]
mov edx, dword [ebx + eax*4]
mov dword [ecx], edx
inc eax
sub ecx, 4
cmp eax, 0x12
jb 0x4188a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x418b20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov esi, eax
test dl, 7
je 0x418b3d
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [0x4b4b68]
mov ecx, dword [0x4b4b6c]
xor edi, edi
shr edx, 3
xor ebx, ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edx
jb 0x418ba7
ja 0x418b5f
test edx, edx
jbe 0x418ba7
xor dword [esi], eax
xor dword [esi + 4], ecx
push 1
push esi
mov eax, ebp
mov edx, esi
call fcn.004188c0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, eax
xor edx, dword [0x4b4b70]
add esp, 8
mov dword [esi], edx
mov edx, ecx
xor edx, dword [0x4b4b74]
add esi, 8
add dword [esp + 0x10], 1
mov dword [esi - 4], edx
adc edi, ebx
cmp edi, ebx
jb 0x418b5f
ja 0x418ba7
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x10], edx
jb 0x418b5f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret

Function at 0x418c40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
xor eax, eax
push edi
mov edi, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
push edi
mov eax, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00419570
lea esi, [esp + 0xc]
lea ecx, [esp + 0x68]
call fcn.00419610
movzx eax, byte [esp + 0x68]
movzx ecx, byte [esp + 0x69]
movzx edx, byte [esp + 0x6a]
mov byte [0x4da71d], al
movzx eax, byte [esp + 0x6b]
mov byte [0x4da71e], cl
movzx ecx, byte [esp + 0x6c]
mov byte [0x4da720], dl
movzx edx, byte [esp + 0x6d]
mov byte [0x4da723], al
movzx eax, byte [esp + 0x6e]
mov byte [0x4da725], cl
movzx ecx, byte [esp + 0x6f]
mov byte [0x4da726], dl
movzx edx, byte [esp + 0x70]
mov byte [0x4da729], al
movzx eax, byte [esp + 0x71]
mov byte [0x4da72b], cl
movzx ecx, byte [esp + 0x72]
mov byte [0x4da72e], dl
movzx edx, byte [esp + 0x73]
mov byte [0x4da731], al
movzx eax, byte [esp + 0x74]
mov byte [0x4da735], cl
movzx ecx, byte [esp + 0x75]
mov byte [0x4da737], dl
movzx edx, byte [esp + 0x76]
mov byte [0x4da73d], al
movzx eax, byte [esp + 0x77]
push 0x4da71c
add edi, 0x10
push edi
mov byte [0x4da743], cl
mov byte [0x4da74b], dl
mov byte [0x4da750], al
call fcn.00418790
mov ecx, dword [esp + 0x80]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
call fcn.0044b6ee
mov esp, ebp
pop ebp
ret
Function at 0x418d70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4680e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4832f0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], eax
mov word [esp + 0xc], cx
lea ecx, [esp + 8]
mov dword [esp + 0x30], eax
call fcn.0041b570
test eax, eax
jne 0x418ddd
cmp dword [esp + 0x20], 8
jb 0x418dd9
mov edx, dword [esp + 0xc]
push edx
call fcn.0044b6e3
add esp, 4
xor eax, eax
jmp 0x418e3f
mov ecx, dword [esp + 0x1c]
mov esi, 1
cmp ecx, esi
jbe 0x418e14
cmp esi, ecx
jbe 0x418df7
call fcn.0044be90
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x20], 8
mov eax, dword [esp + 0xc]
jae 0x418e06
lea eax, [esp + 0xc]
mov al, byte [eax + esi*2]
mov byte [esi + 0x4da754], al
inc esi
cmp esi, ecx
jb 0x418df7
push 0x4da754
push 0x4dd010
call fcn.00418790
add esp, 8
cmp dword [esp + 0x20], 8
jb 0x418e3a
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0044b6e3
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x2c
ret

Function at 0x418e60
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x41b1a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41b1bd
pop edi
pop ebp
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41b1f4
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x41b1f0
lea ebx, [ebx]
cmp esi, eax
jae 0x41b1f4
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x41b1e0
cmp esi, eax
jb 0x41b1fb
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
pop ebx
ret

Function at 0x41b810
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x234
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
mov ebx, dword [esp + 0x23c]
push ebp
push esi
xor ebp, ebp
push ebp
push 2
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x41b8e3
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41b8c0
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push edi
lea ecx, [esp + 0x38]
push ecx
call ebp
test eax, eax
je 0x41b8b8
cmp dword [esp + 0x248], 0
jne 0x41b886
push ebx
lea edx, [esp + 0x38]
push edx
call ebp
test eax, eax
je 0x41b8b8
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41b864
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x234
ret
mov dword [esp + 0xc], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x234
ret
mov ecx, dword [esp + 0x23c]
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.0044b6ee
add esp, 0x234
ret
Function at 0x41b900
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x680
mov eax, dword [0x4832f0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
push 0x206
mov esi, ecx
lea ecx, [ebp - 0x212]
xor eax, eax
push edi
push ecx
mov dword [ebp - 0x670], ebx
mov dword [ebp - 0x674], edi
mov word [ebp - 0x214], ax
call fcn.0044e9d0
add esp, 0xc
cmp esi, edi
jne 0x41b953
mov dword [ebp - 0x670], edi
jmp 0x41b9a4
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jg 0x41b99a
lea eax, [edi + edi]
call fcn.00457700
mov ebx, esp
test ebx, ebx
je 0x41b994
push edi
push ebx
push 0xffffffffffffffff
xor edx, edx
push esi
push edx
push 3
mov word [ebx], dx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, ebx
mov ebx, dword [ebp - 0x670]
jmp 0x41b99c
mov ebx, dword [ebp - 0x670]
xor eax, eax
mov dword [ebp - 0x670], eax
xor edi, edi
cmp ebx, edi
jne 0x41b9b0
mov dword [ebp - 0x67c], edi
jmp 0x41b9f3
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x41b9eb
lea eax, [esi + esi]
call fcn.00457700
mov edi, esp
test edi, edi
je 0x41b9eb
push esi
push edi
push 0xffffffffffffffff
xor eax, eax
push ebx
push eax
push 3
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, edi
jmp 0x41b9ed
xor eax, eax
mov dword [ebp - 0x67c], eax
mov ecx, dword [ebp - 0x670]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x4755e8
push ecx
lea edx, [ebp - 0x214]
push edx
call esi
lea eax, [ebp - 0x66c]
push eax
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x678], eax
cmp eax, 0xffffffff
je 0x41bad4
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ecx]
test byte [ebp - 0x66c], 0x10
je 0x41baa3
cmp word [ebp - 0x640], 0x2e
jne 0x41ba6f
mov ax, word [ebp - 0x63e]
test ax, ax
je 0x41baa3
cmp ax, 0x2e
jne 0x41ba6f
cmp word [ebp - 0x63c], 0
je 0x41baa3
mov eax, dword [ebp - 0x670]
lea edx, [ebp - 0x640]
push edx
push eax
lea ecx, [ebp - 0x41c]
push ecx
call esi
mov edx, dword [ebp - 0x67c]
push edx
lea eax, [ebp - 0x41c]
push eax
call edi
lea ecx, [ebp - 0x41c]
push ecx
call ebx
test eax, eax
jne 0x41babd
mov eax, dword [ebp - 0x678]
lea edx, [ebp - 0x66c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41ba40
jmp 0x41bac7
mov dword [ebp - 0x674], 1
mov ecx, dword [ebp - 0x678]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x674]
lea esp, [ebp - 0x68c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044b6ee
mov esp, ebp
pop ebp
ret
Function at 0x41bb00
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x1a8
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
push ebp
push esi
push edi
mov ecx, 6
mov esi, 0x4755ec
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x104
lea esi, [esp + 0x18]
mov ecx, 0xd3a
mov edi, 0xd
jmp 0x41bb50
mov dl, byte [esi]
imul ecx, ecx, 0x343fd
add ecx, 0x269ec3
mov eax, ecx
imul ecx, ecx, 0x343fd
shr eax, 0x10
and eax, 0x7fff
movzx ebx, dl
sub dl, al
add ecx, 0x269ec3
mov byte [esi], dl
mov dl, byte [esi + 1]
mov eax, ecx
shr eax, 0x10
and eax, 0x7fff
movzx ebx, dl
sub dl, al
mov byte [esi + 1], dl
add esi, 2
sub edi, 1
jne 0x41bb50
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x1c]
push edx
push str.ExeString
lea eax, [esp + 0x28]
push eax
push 0x80000002
call ebx
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41bbe3
lea ecx, [esp + 0xb0]
push ecx
call ebp
test eax, eax
je 0x41bbe3
mov eax, 1
jmp 0x41bd27
push 0x104
lea edx, [esp + 0xb4]
push 0
push edx
call fcn.0044e9d0
mov ecx, 0xf
mov esi, 0x475614
lea edi, [esp + 0x40]
lea eax, [esp + 0x40]
add esp, 0xc
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x104
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41bc21
lea ecx, [esp + 0x34]
sub eax, edx
push ecx
mov edx, 0xd3c
call fcn.0041d880
add esp, 4
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x474216
lea edx, [esp + 0x44]
push edx
push 0x80000000
call ebx
test eax, eax
jne 0x41bc75
lea eax, [esp + 0xb0]
push eax
call ebp
test eax, eax
jne 0x41bbd9
push 0x104
lea ecx, [esp + 0xb4]
push 0
push ecx
call fcn.0044e9d0
mov ecx, 0xf
mov esi, 0x475650
lea edi, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
add esp, 0xc
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x104
lea edx, [esp + 0x70]
mov esi, 0xd3c
mov edi, 0x3d
jmp 0x41bcc0
mov cl, byte [edx]
imul esi, esi, 0x343fd
add esi, 0x269ec3
mov eax, esi
shr eax, 0x10
and eax, 0x7fff
movzx ebp, cl
sub cl, al
mov byte [edx], cl
inc edx
sub edi, 1
jne 0x41bcc0
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x474216
lea edx, [esp + 0x80]
push edx
push 0x80000000
call ebx
test eax, eax
jne 0x41bd25
lea eax, [esp + 0xb0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41bbd9
xor eax, eax
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044b6ee
add esp, 0x1a8
ret
Function at 0x41c1a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4832f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4756a4]
mov ecx, dword [0x4756a8]
mov edx, dword [0x4756ac]
push ebx
push esi
mov dword [ebp - 0x24], eax
mov ax, word [0x4756b0]
push edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov word [ebp - 0x18], ax
lea esi, [ebp - 0x24]
mov ecx, 0xd3e
mov edi, 7
mov dl, byte [esi]
imul ecx, ecx, 0x343fd
add ecx, 0x269ec3
mov eax, ecx
imul ecx, ecx, 0x343fd
shr eax, 0x10
and eax, 0x7fff
movzx ebx, dl
sub dl, al
add ecx, 0x269ec3
mov byte [esi], dl
mov dl, byte [esi + 1]
mov eax, ecx
shr eax, 0x10
and eax, 0x7fff
movzx ebx, dl
sub dl, al
mov byte [esi + 1], dl
add esi, 2
sub edi, 1
jne 0x41c1e7
mov ecx, dword [0x47572c]
mov edx, dword [0x475730]
mov eax, dword [0x475734]
mov dword [ebp - 0x14], ecx
mov cl, byte [0x475738]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], cl
lea edx, [ebp - 0x14]
mov esi, 0xd3e
mov edi, 0xd
mov cl, byte [edx]
imul esi, esi, 0x343fd
add esi, 0x269ec3
mov eax, esi
shr eax, 0x10
and eax, 0x7fff
movzx ebx, cl
sub cl, al
mov byte [edx], cl
inc edx
sub edi, 1
jne 0x41c25f
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x250], 0x22c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x41c2d9
lea eax, [esi + esi]
call fcn.00457700
mov ebx, esp
test ebx, ebx
je 0x41c2d7
push esi
push ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
xor eax, eax
push ecx
push eax
push 3
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
neg edi
sbb edi, edi
and edi, ebx
jmp 0x41c2d9
xor edi, edi
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x41c31c
lea eax, [esi + esi]
call fcn.00457700
mov ebx, esp
test ebx, ebx
je 0x41c31c
push esi
push ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
xor eax, eax
push ecx
push eax
push 3
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
neg esi
sbb esi, esi
and esi, ebx
jmp 0x41c31e
xor esi, esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41c388
lea edx, [ebp - 0x250]
push edx
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41c381
nop
push edi
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c377
push esi
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41c377
lea edx, [ebp - 0x250]
push edx
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41c340
jmp 0x41c381
mov dword [ebp - 0x254], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x254]
lea esp, [ebp - 0x260]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044b6ee
mov esp, ebp
pop ebp
ret