joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49e0bc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49e2a0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x49e25c
mov eax, dword [ebp - 4]
call fcn.0049fa0c
cmp ebx, eax
jge 0x49e25c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.004949c4
mov edx, dword [0x495d4c]
call fcn.00403d28
mov esi, eax
mov eax, esi
call fcn.00496c00
test al, al
je 0x49e252
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x49e246
xor eax, eax
push ebp
push 0x49e23f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049e674
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041bd80
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00404f98
mov eax, dword [ebp - 8]
call fcn.00404e64
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049e438
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e28a
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x49e23e
mov eax, dword [ebp - 4]
call fcn.0049e6f8
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040a060
jmp 0x49e28a
mov eax, dword [ebp - 8]
call fcn.0040494c
jmp 0x49e28a
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.004095c4
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x416cb0]
call fcn.0040d040
call fcn.00404304
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e2a7
lea eax, [ebp - 0x54]
call fcn.0040494c
ret
Function at 0x4a6340
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a636e
mov eax, ebx
call fcn.004a6df4
cmp dword [ebx + 0x40], 0
je 0x4a6367
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a63df
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a63d1
cmp dword [ebx + 8], 0
je 0x4a6390
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4a63a2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a63d1
cmp dword [ebx + 8], 0
je 0x4a6383
cmp eax, 3
je 0x4a63b5
dec eax
jne 0x4a6383
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4a6383
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a6383
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a63fd
cmp dword [ebx + 0x14], 0xcc
je 0x4a63fd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004a6408
pop ebx
ret
Function at 0x4bbf4c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4bbfbd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x52cdd0]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4bbfa7
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004bbf3c
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4bbd44]
call fcn.004bbfe4
mov dword [0x52ce34], eax
mov eax, dword [ebp - 4]
call fcn.004bbeec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbfc4
lea eax, [ebp - 8]
call fcn.0040644c
ret

Function at 0x4bfda4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x530b5c
test esi, esi
jne 0x4bfdbe
xor eax, eax
jmp 0x4bfec0
cmp dword [ebp], 0
jne 0x4bfdc9
call fcn.004bfd34
xor ebx, 0xffffffff
cmp edi, 8
jb 0x4bfe99
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x4bfdd5
test edi, edi
jbe 0x4bfebb
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x4bfe9d
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4cbcc4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4cbd7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405058
mov eax, dword [0x52d8d4]
cmp dword [eax], 2
jne 0x4cbd33
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004052a0
mov eax, dword [ebx]
call fcn.004051c4
push eax
mov eax, dword [ebx]
call fcn.004051b4
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004051c4
mov edx, eax
dec edx
mov eax, ebx
call fcn.004052a0
jmp 0x4cbd65
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a060
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004051a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbd85
lea eax, [ebp - 0x3f0]
call fcn.0040494c
ret
Function at 0x4fd298
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [ebp + 8]
add ebx, 0xffffffc4
mov esi, dword [ebp + 8]
add esi, 0xffffffbc
xor eax, eax
push ebp
push 0x4fd44b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00428fb4
mov eax, dword [eax + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x70]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
call fcn.0045afc8
call fcn.004e975c
mov edx, dword [ebp + 8]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x4c], 0
je 0x4fd31c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x68]
call fcn.00423a1c
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00428fb4
mov eax, dword [eax + 0xc]
pop edx
call fcn.00423a24
mov eax, dword [ebp + 8]
mov dword [eax - 0x50], ebx
lea edx, [ebp - 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423904
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x1c]
call fcn.00409f0c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
push eax
push 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00428fb4
call fcn.00424b24
push eax
call sub.gdi32.dll_GetObjectA
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423978
mov dword [ebx], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004239b4
test al, 8
setne al
mov byte [ebx + 0x16], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004239b4
test al, 2
setne al
mov byte [ebx + 0x14], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004239b4
test al, 4
setne al
mov byte [ebx + 0x15], al
mov dword [ebx + 0x10], 0x190
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00423a1c
mov byte [ebx + 0x17], al
xor eax, eax
mov dword [ebx + 4], eax
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x1b], 0
mov byte [ebx + 0x1a], 0
push ebx
call sub.gdi32.dll_CreateFontIndirectA
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00428fb4
mov eax, dword [eax + 0xc]
pop edx
call fcn.004238b0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.00428fb4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 0x54], 0x23
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x94]
mov edx, dword [ecx + edx*4 + 0xc]
call fcn.004236f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd452
lea eax, [ebp - 4]
call fcn.0040494c
ret
Function at 0x50f0f4
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.0040975c
test al, al
je 0x50f17b
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.00403378
or esi, 0x100
test esi, esi
jns 0x50f12f
call fcn.00403ab8
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.00404e0c
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x50f17b
mov dl, 1
mov eax, dword [0x42288c]
call fcn.0042a660
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.0042aa30
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x50f17b
mov eax, esp
call fcn.0040ecd8
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x51b964
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403378
ret

Function at 0x51d200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404dfc
xor eax, eax
push ebp
push 0x51d2d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040494c
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00404c0c
mov esi, eax
sar esi, 1
jns 0x51d245
adc esi, 0
test esi, esi
jle 0x51d2ae
mov dword [ebp - 8], 1
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 8]
add edx, edx
dec edx
mov ecx, 2
mov eax, dword [ebp - 4]
call fcn.00404e6c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 0x51d2e8
call fcn.00404c58
mov eax, dword [ebp - 0x10]
call fcn.004092ac
mov edx, eax
mov al, byte [ebx + 0x52d00c]
xor dl, al
lea eax, [ebp - 0xc]
call fcn.00404b34
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.00404c14
lea eax, [ebx + 1]
mov ecx, 0xa
cdq
idiv ecx
mov ebx, edx
inc dword [ebp - 8]
dec esi
jne 0x51d250
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d2d8
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404970
lea eax, [ebp - 4]
call fcn.0040494c
ret

Function at 0x51d4bc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x51d53b
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x41
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404b34
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x51d550
call fcn.00404c58
mov eax, dword [ebp - 4]
call fcn.00404e0c
push eax
call sub.kernel32.dll_GetDriveTypeA
test eax, eax
je 0x51d51a
cmp eax, 1
je 0x51d51a
cmp eax, 3
jne 0x51d51a
mov eax, dword [esi]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 0x5b
jne 0x51d4da
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d542
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404970
ret
Function at 0x51e1f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dfc
xor eax, eax
push ebp
push 0x51e41c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x51e3e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5311bc]
mov eax, dword [eax + 0x330]
mov edx, dword [eax]
call dword [edx + 0xd8]
mov eax, dword [ebp - 4]
call fcn.00402910
call fcn.004028d4
lea eax, [ebp - 0x14c]
push eax
push 0x51e430
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x51e2f5
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404bbc
lea eax, [ebp - 0x150]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404c58
mov eax, dword [ebp - 0x150]
call fcn.0040975c
test al, al
je 0x51e2de
lea eax, [ebp - 0x154]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404c58
mov edx, dword [ebp - 0x154]
mov eax, dword [0x5311bc]
mov eax, dword [eax + 0x330]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x51e27e
push ebx
call sub.kernel32.dll_FindClose_1
mov eax, dword [0x5311bc]
mov eax, dword [eax + 0x330]
mov edx, dword [eax]
call dword [edx + 0xc8]
mov esi, eax
dec esi
test esi, esi
jl 0x51e3d2
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x158]
mov eax, dword [0x5311bc]
mov eax, dword [eax + 0x330]
mov eax, dword [eax + 0x218]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x158]
call fcn.0051ce18
cmp edx, 0
jne 0x51e353
cmp eax, 0x25435650
jbe 0x51e3ca
jmp 0x51e355
jle 0x51e3ca
lea ecx, [ebp - 0x15c]
mov eax, dword [0x5311bc]
mov eax, dword [eax + 0x330]
mov eax, dword [eax + 0x218]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x15c]
call fcn.0051ce18
cmp edx, 0
jne 0x51e38c
cmp eax, 0x25437d60
jae 0x51e3ca
jmp 0x51e38e
jge 0x51e3ca
mov byte [ebp - 5], 1
lea ecx, [ebp - 0x160]
mov eax, dword [0x5311bc]
mov eax, dword [eax + 0x330]
mov eax, dword [eax + 0x218]
mov edx, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x160]
mov eax, 0x5311d8
call fcn.004049a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51e3ee
inc ebx
dec esi
jne 0x51e31c
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51e3ee
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51e423
lea eax, [ebp - 0x160]
mov edx, 5
call fcn.00404970
lea eax, [ebp - 0xc]
call fcn.0040494c
lea eax, [ebp - 4]
call fcn.0040494c
ret
Function at 0x51e4b4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dfc
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x51e62e
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.0048363c
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.0048365c
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x51e5fa
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404bbc
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409c98
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408cb8
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408cb8
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404d58
je 0x51e5d4
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404bbc
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408cb8
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408cb8
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404d58
jne 0x51e5eb
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.0048367c
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x51e535
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51e635
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404970
lea eax, [ebp - 4]
call fcn.0040494c
ret
Function at 0x4349d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49680b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048b507
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x434a52
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048941f
mov eax, dword [eax]
push 0x4b5104
push eax
call fcn.004759a0
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048b792
test bl, bl
je 0x434a52
push 0x4b5104
lea ecx, [esp + 0xc]
call fcn.0048bb22
push 0x4b8c64
lea ecx, [esp + 0xc]
call fcn.0048bb22
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x434a8e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048b792
jmp 0x434b59
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x434b12
lea edx, [esp + 0x7c]
push 0x4b8c60
push edx
call fcn.004759a0
add esp, 8
test eax, eax
je 0x434b12
lea eax, [esp + 0x7c]
push 0x4b8c5c
push eax
call fcn.004759a0
add esp, 8
test eax, eax
je 0x434b12
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x434aa2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048b792
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x435350
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4353b2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4353c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49688b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4bf170]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4354f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x435426
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048b792
xor eax, eax
jmp 0x43556f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048b8cf
push esi
lea ecx, [esp + 0xc]
call fcn.0048bb5e
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43554d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00435350
test eax, eax
jne 0x43554d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00435350
test eax, eax
jne 0x43554d
lea eax, [esp + 0x14]
push 0x4b8c78
push eax
call fcn.00476ae2
mov esi, eax
add esp, 8
test esi, esi
jne 0x43552c
lea ecx, [esp + 0x14]
push 0x4b8c74
push ecx
call fcn.00476930
mov esi, eax
add esp, 8
test esi, esi
jne 0x43552c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43552f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048b87f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43543e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048b792
xor eax, eax
jmp 0x43556f
mov byte [esi], 0
push 0x4b8c70
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0048b792
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4