joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414530
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48adc3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ad1dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x4aef60
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x4aef60
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x48e490
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00418110
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x418961
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x48b50a
call fcn.004580c6
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x418a61
cmp byte [ebx + 0x3d], 0
je 0x418a61
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x41899b
xor al, al
jmp 0x418a63
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00418e87
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4189f9
sub eax, 1
je 0x4189fd
dec eax
sub eax, 1
je 0x418a4f
xor bl, bl
jmp 0x418a51
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x418a35
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00444f53
add esp, 0x10
cmp esi, eax
jne 0x4189f5
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x418a4f
test esi, esi
jne 0x4189bf
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00412d00
jmp 0x4189b9
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00418e08
mov al, bl
jmp 0x418a63
mov al, 1
call fcn.00458081
ret

Function at 0x4195a2
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x419e3f
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4

Function at 0x41b9f7
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
xor ecx, ecx
xor edx, edx
xor esi, esi
push edi
cmp dword [ebp + 0xc], ecx
jle 0x41bad8
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
cmp al, 0x3d
jne 0x41ba1b
inc edx
cmp edx, 2
jg 0x41ba59
cmp al, 0x7f
ja 0x41ba59
movzx eax, al
mov al, byte [eax + 0x490b90]
cmp al, 0x7f
je 0x41ba59
cmp al, 0x40
jae 0x41ba34
test edx, edx
jne 0x41ba59
inc ecx
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x41ba0e
test ecx, ecx
je 0x41bad8
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x41ba5e
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x41ba5b
push 0xffffffffffffffee
pop eax
jmp 0x41bada
mov edx, dword [ebp + 0x10]
xor eax, eax
push ebx
xor ebx, ebx
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x41bad2
mov eax, dword [ebp + 8]
push 3
pop edi
movzx eax, byte [eax]
mov cl, byte [eax + 0x490b90]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
or ebx, eax
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x41bac3
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x41baae
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x41babb
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x41bac3
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x41ba73
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
pop ebx
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x41bade
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x41baf2
xor eax, eax
jmp 0x41bc30
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x41bb1b
dec edx
sub edx, 1
jne 0x41bb1d
add eax, 2
jmp 0x41bb1d
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x41bb30
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x41bc2f
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x41bbc6
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x490b50]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x490b50]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x490b50]
mov byte [edi + 2], al
mov al, byte [esi + 0x490b50]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x41bb5b
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x41bbc9
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x41bc22
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x41bbde
movzx ecx, byte [eax + 1]
jmp 0x41bbe0
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x490b50]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x490b50]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x41bc17
and ecx, 0xf
mov al, byte [ecx*4 + 0x490b50]
mov byte [edi + 2], al
jmp 0x41bc1b
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420137
Capabilities:
Get mac address on windows

Disassembly:
push 0x58
mov eax, 0x48bd7c
call fcn.004580c6
mov esi, dword [ebp + 8]
and dword [ebp - 0x64], 0
push 0x288
mov dword [ebp - 0x54], 4
call fcn.00439da8
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x420173
push 0x48e490
mov ecx, esi
call fcn.0040f840
jmp 0x4202db
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x420198
push ebx
call fcn.00439db3
push dword [ebp - 0x54]
call fcn.00439da8
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x420162
xor eax, eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x38], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4202b0
mov byte [ebp - 0x20], al
lea edi, [ebp - 0x1f]
stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x60], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
mov edi, ebx
test ebx, ebx
je 0x420289
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x20]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.004092c0
lea eax, [edi + 0x10c]
push eax
call fcn.00487005
push 0x491154
push eax
call fcn.00434230
add esp, 0x2c
test eax, eax
jne 0x4202e5
cmp dword [edi + 0x1a0], 0x47
je 0x4202e5
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040f840
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x60]
call fcn.0041e038
push 0
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00418e08
mov edi, dword [edi]
test edi, edi
jne 0x4201e0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
sub eax, ecx
push 0x18
cdq
pop edi
idiv edi
test eax, eax
je 0x4202a8
lea eax, [ebp - 0x38]
cmp eax, ecx
je 0x4202a8
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00406590
lea ecx, [ebp - 0x60]
call fcn.0041c97d
push ebx
call fcn.00439db3
pop ecx
xor ebx, ebx
mov dword [esi + 0x14], 0xf
lea eax, [ebp - 0x38]
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.00408990
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00418e08
mov eax, esi
call fcn.00458081
ret 4
cmp byte [ebp - 0x20], 0
jne 0x4202ef
xor eax, eax
jmp 0x4202f9
lea eax, [ebp - 0x20]
push eax
call fcn.00444c90
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.00409030
jmp 0x4202a8
Function at 0x420325
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x4ad1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
and dword [ebp - 0x6a4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push 0
push eax
call fcn.00432360
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4a4798
call fcn.00445181
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00445b8c
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.00432360
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.00432360
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], edi
push edi
push eax
mov dword [ebp - 0x6a0], edi
mov dword [ebp - 0x69c], edi
call fcn.00432360
add esp, 0x34
lea eax, [ebp - 0x48c]
push ebx
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push ebx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x420423
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.004092c0
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.0040f840
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004139c2
mov esp, ebp
pop ebp
ret 4
Function at 0x420784
Capabilities:
Check os version

Disassembly:
push 0x34c
mov eax, 0x48be06
call fcn.004580c6
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x330]
xor ebx, ebx
mov dword [ebp - 0x358], esi
push 0x118
push ebx
mov dword [ebp - 0x350], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x334], 0x11c
call fcn.00432360
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x4a47b4
mov ecx, esi
call fcn.00401f10
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x34c], eax
movzx eax, byte [ebp - 0x21a]
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x32c]
push str.ntdll.dll
mov dword [ebp - 4], ebx
mov dword [ebp - 0x350], 1
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x348], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x42087b
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x420874
lea ecx, [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x340]
push ecx
call eax
movzx eax, word [ebp - 0x33c]
mov dword [ebp - 0x33c], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x34c]
cmp eax, 5
jne 0x4208ad
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x420979
cmp eax, 1
jne 0x4208a3
mov edi, str.WindowsXP
jmp 0x420969
mov edi, str.WindowsServer2003
jmp 0x420969
cmp eax, 6
jne 0x420979
mov eax, dword [ebp - 0x348]
sub eax, ebx
je 0x420956
sub eax, 1
je 0x42094f
mov edi, dword [ebp - 0x338]
sub eax, 1
jne 0x42097f
cmp edi, 0x1ebb
jne 0x4208eb
mov edi, str.Windows8
jmp 0x420969
lea eax, [edi - 0x1ee6]
cmp eax, 0x25
jbe 0x4208e4
cmp edi, 0x1f13
je 0x4208e4
cmp dword [ebp - 0x340], 0xa
jne 0x420923
cmp dword [ebp - 0x344], 0
jne 0x42097f
push str.Windows10
call fcn.00445181
pop ecx
push eax
push str.Windows10
jmp 0x420946
cmp dword [ebp - 0x340], 6
jne 0x42097f
cmp dword [ebp - 0x344], 3
jne 0x42097f
push str.Windows8.1
call fcn.00445181
pop ecx
push eax
push str.Windows8.1
mov ecx, esi
call fcn.00402070
jmp 0x42097f
mov edi, str.Windows7
jmp 0x420969
cmp dword [ebp - 0x354], 1
mov edi, str.WindowsVista
je 0x420969
mov edi, str.WindowsServer2008
push edi
call fcn.00445181
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00402070
mov edi, dword [ebp - 0x338]
push 0x4a47b4
mov ecx, esi
call fcn.0041b59a
test eax, eax
jne 0x4209ed
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00432360
mov eax, dword [ebp - 0x34c]
push edi
push dword [ebp - 0x348]
push eax
lea eax, [ebp - 0x218]
push str.Windows_d._d._d
push eax
call fcn.00404ed0
add esp, 0x20
cmp word [ebp - 0x218], 0
jne 0x4209d1
mov eax, ebx
jmp 0x4209de
lea eax, [ebp - 0x218]
push eax
call fcn.00445181
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00402070
cmp dword [ebp + 0xc], 0
je 0x420a1b
cmp word [ebp - 0x320], 0
je 0x420a0c
lea eax, [ebp - 0x320]
push eax
call fcn.00445181
pop ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x320]
mov ecx, esi
push eax
call fcn.004045d0
mov eax, esi
call fcn.00458081
ret
Function at 0x421804
Capabilities:
Create process on windows

Disassembly:
push 0x88
mov eax, 0x48bfa8
call fcn.004580c6
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x94]
mov edi, dword [ebp + 0xc]
push 0x44
pop ebx
push ebx
push 0
push eax
call fcn.00432360
push 0x10
lea eax, [ebp - 0x50]
mov dword [ebp - 0x94], ebx
push 0
push eax
call fcn.00432360
add esp, 0x18
xor edx, edx
xor eax, eax
mov dword [ebp - 0x18], edx
mov word [ebp - 0x28], ax
push 7
pop ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov word [ebp - 0x40], ax
or ebx, 0xffffffff
mov byte [ebp - 4], 1
test edi, edi
je 0x4218e2
cmp word [edi], dx
jne 0x421873
mov eax, edx
jmp 0x42187a
push edi
call fcn.00445181
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.00402070
cmp dword [ebp - 0x30], 0
je 0x4218e2
mov edi, 0x48ea84
push edi
call fcn.00445181
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00402070
xor edi, edi
cmp word [esi], di
jne 0x4218ab
mov eax, edi
jmp 0x4218b2
push esi
call fcn.00445181
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004045d0
mov esi, 0x48ea88
push esi
call fcn.00445181
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004045d0
push ebx
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404700
jmp 0x4218fe
xor edi, edi
cmp word [esi], di
jne 0x4218ed
mov eax, edi
jmp 0x4218f4
push esi
call fcn.00445181
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00402070
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.CreateRunProcess__s_
call fcn.00434890
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x94]
push ecx
push edi
push edi
push edi
push 1
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x421943
mov esi, edi
jmp 0x42196e
cmp byte [ebp + 0x10], 0
je 0x42195b
cmp dword [ebp + 0x14], 0
cmovg ebx, dword [ebp + 0x14]
push ebx
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x4c]
call esi
xor esi, esi
inc esi
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.00401fb0
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00401fb0
mov eax, esi
call fcn.00458081
ret
Function at 0x4219b0
Capabilities:
Enumerate processes

Disassembly:
push 0x260
mov eax, 0x48bfe1
call fcn.004580c6
mov eax, dword [ebp + 8]
test eax, eax
je 0x421aac
push eax
lea ecx, [ebp - 0x40]
call fcn.00401f10
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0041adfb
mov edi, 0x22c
lea eax, [ebp - 0x26c]
push edi
push ebx
push eax
call fcn.00432360
add esp, 0x10
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x421a9d
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x421a92
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
cmp word [ebp - 0x248], ax
jne 0x421a3c
mov eax, ebx
jmp 0x421a49
lea eax, [ebp - 0x248]
push eax
call fcn.00445181
pop ecx
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402070
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0041adfb
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404980
test eax, eax
je 0x421ab2
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00401fb0
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x421a1f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00401fb0
mov eax, esi
call fcn.00458081
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x264]
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.00401fb0
jmp 0x421a9f
Function at 0x422309
Capabilities:
Encode data using xor

Disassembly:
push 0x74
mov eax, 0x48c141
call fcn.004580c6
mov edi, ecx
mov dword [ebp - 0x4c], edi
mov eax, dword [edi]
or eax, dword [edi + 4]
jne 0x422347
xor ebx, ebx
push ebx
call fcn.00439b2a
mov dword [edi], eax
imul eax, dword [edi + 8], 0x3c
pop ecx
mov dword [edi + 4], edx
test eax, eax
jle 0x422355
push eax
push ebx
call fcn.0042655d
cdq
add dword [edi], eax
pop ecx
adc dword [edi + 4], edx
jmp 0x422354
xor ebx, ebx
push ebx
call fcn.00439b2a
mov dword [edi], eax
mov dword [edi + 4], edx
pop ecx
push 0x1869f
push 0x2710
call fcn.0042655d
pop ecx
pop ecx
lea ecx, [edi + 0xa8]
mov esi, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004183aa
xor eax, eax
mov dword [ebp - 4], ebx
inc eax
cmp dword [ebp - 0x18], 0
je 0x422497
push str._rand
call fcn.00444c90
pop ecx
push eax
push str._rand
lea ecx, [ebp - 0x28]
call fcn.00408f00
mov eax, esi
cdq
push edx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00420bc2
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00408e00
xor eax, eax
mov byte [ebp - 4], bl
push ebx
inc eax
lea ecx, [ebp - 0x40]
push eax
call fcn.00418e08
lea ecx, [ebp - 0x80]
call fcn.0041c6ba
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0041c769
lea ecx, [ebp - 0x80]
call fcn.0041ca12
push 1
mov dword [ebp - 0x44], eax
mov esi, dword [eax + 4]
sub esi, dword [eax]
pop eax
cmove esi, eax
inc esi
push esi
call fcn.004139f6
push esi
mov esi, eax
mov dword [ebp - 0x48], eax
push ebx
push esi
call fcn.00432360
push str.BUDINGPAOPAO
call fcn.00444c90
mov dword [ebp - 0x48], eax
add esp, 0x14
mov eax, dword [ebp - 0x44]
mov edx, ebx
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
je 0x422462
mov edi, ebx
mov ecx, dword [eax]
mov al, byte [ecx + edx]
xor al, byte [edi + str.BUDINGPAOPAO]
inc edi
mov ecx, dword [ebp - 0x44]
mov byte [edx + esi], al
xor eax, eax
cmp edi, dword [ebp - 0x48]
cmovge edi, eax
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
inc edx
cmp edx, eax
mov eax, ecx
jb 0x422439
mov edi, dword [ebp - 0x4c]
push esi
mov ecx, edi
call fcn.0042201f
test al, al
jne 0x42247b
test esi, esi
je 0x42248c
push esi
call fcn.004139ff
pop ecx
jmp 0x42248c
test esi, esi
je 0x422486
push esi
call fcn.004139ff
pop ecx
xor eax, eax
inc eax
mov byte [edi + 0xc], al
lea ecx, [ebp - 0x80]
call fcn.0041c6fb
xor eax, eax
inc eax
push ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.00418e08
call fcn.00458081
ret
Function at 0x424373
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x48c40b
call fcn.00458092
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0042d843
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0042d877
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x4243b3
mov edi, 0xf003f
push edi
push esi
push 0x491c9c
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x424413
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4243ee
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x424413
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.0042d856
call fcn.0045806c
ret 0xc
Function at 0x42489b
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x48c4a6
call fcn.004580c6
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.00432360
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x424992
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x424917
lea eax, [ebp - 0x218]
push eax
call fcn.00445181
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402070
and dword [ebp - 4], 0
push 0x4a4794
call fcn.00445181
pop ecx
push eax
push 0x4a4794
lea ecx, [ebp - 0x230]
call fcn.004045d0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.004244fe
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x424983
call fcn.00401fb0
mov eax, edi
jmp 0x424a44
or dword [ebp - 4], 0xffffffff
call fcn.00401fb0
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x424a42
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x4249d9
lea eax, [ebp - 0x218]
push eax
call fcn.00445181
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00402070
mov esi, 0x4a4794
mov dword [ebp - 4], 1
push esi
call fcn.00445181
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.004045d0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.004244fe
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.00401fb0
test esi, esi
je 0x424a42
mov eax, esi
jmp 0x424a44
xor eax, eax
call fcn.00458081
ret 4