joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4538f8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49abdc]
cmp dword [eax + 0x30], 0
je 0x4539a2
cmp dword [ebx + 0x94], 0
jne 0x45399c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453888
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45399c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x453962
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45399c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413c50
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x453971
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454504
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x454539
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f94
jmp 0x454546
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ef8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4555b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4555f1
mov eax, esi
call fcn.0043bb18
test al, al
je 0x4555f1
mov eax, dword [ebx + 0x84]
call fcn.0043b814
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4555f1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043b814
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45b354
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x45b37e
cmp dword [ebx + 0x64], 0
jne 0x45b37e
cmp dword [ebx + 0x6c], 0
jne 0x45b37e
mov esi, edi
jmp 0x45b40c
cmp esi, 0xffffffff
jne 0x45b389
dec esi
jmp 0x45b40c
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x45b40c
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.0045a9bc
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x45b3d4
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x45b3d9
mov word [edx], 0
dec eax
test eax, eax
jne 0x45b3ba
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x45b400
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x45b405
mov word [edx], 0
dec eax
test eax, eax
jne 0x45b3e6
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x45b46a
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.0045b0dc
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x45b455
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x45b46a
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x45b35e
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x465b14
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x465b29
add esp, 0xfffffff0
call fcn.00403478
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404354
xor eax, eax
push ebp
push 0x465bec
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00461c90
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004127f4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004127f4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004127f4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004127f4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041281c
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465bf3
lea eax, [ebp - 4]
call fcn.00403ea4
ret
Function at 0x469f18
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x469ff5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x46a00c
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.00403ef8
push 0xffffffffffffffff
mov ecx, 0x46a01c
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
mov ecx, 0x46a038
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0045690c
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x46a054
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004567f8
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x46a068
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004567f8
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x46a080
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0045690c
mov byte [ebx + 0x34], al
mov ecx, 0x46a094
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0046196c
mov byte [ebx + 0x35], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469ffc
lea eax, [ebp - 4]
call fcn.00403ea4
ret

Function at 0x4715bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4715f4]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4715d2
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4715e1
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4715f0
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x471efc
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x431134]
call fcn.004032e0
test al, al
je 0x471f3e
mov eax, dword [0x498f38]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x471f3e
mov edx, dword [0x498f38]
xor edx, edx
call fcn.0044df44
push 0
mov eax, dword [0x498f38]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x495ab8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404354
xor eax, eax
push ebp
push 0x495c56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404164
imul esi, eax, 0x897
push dword [ebp - 4]
push dword [ebp - 4]
push dword [ebp - 4]
push dword [ebp - 4]
push dword [ebp - 4]
push dword [ebp - 4]
push dword [ebp - 4]
push dword [ebp - 4]
push dword [ebp - 4]
push dword [ebp - 4]
lea eax, [ebp - 8]
mov edx, 0xa
call fcn.00404224
push dword [ebp - 8]
push dword [ebp - 8]
push dword [ebp - 8]
push dword [ebp - 8]
push dword [ebp - 8]
lea eax, [ebp - 8]
mov edx, 5
call fcn.00404224
lea eax, [ebp - 8]
push eax
mov ecx, 0x1e
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004043c4
lea eax, [ebp - 0xc]
call fcn.00403ea4
mov eax, dword [ebp - 8]
call fcn.00404164
test al, al
jbe 0x495bbe
mov byte [ebp - 0x12], al
mov bl, 1
xor eax, eax
mov al, bl
mov edx, dword [ebp - 8]
mov al, byte [edx + eax - 1]
xor edx, edx
mov dl, al
xor ecx, ecx
mov cl, bl
lea ecx, [ecx + ecx*2]
imul edx, ecx
add edx, 7
add esi, edx
mov edx, esi
shr edx, 7
xor al, dl
mov byte [ebp - 0x11], al
xor eax, eax
mov al, byte [ebp - 0x11]
mov ecx, 0xa
xor edx, edx
div ecx
add dl, 0x30
mov byte [ebp - 0x11], dl
lea eax, [ebp - 0x18]
mov dl, byte [ebp - 0x11]
call fcn.0040408c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.0040416c
inc ebx
dec byte [ebp - 0x12]
jne 0x495b66
mov eax, dword [ebp - 0xc]
call fcn.00404164
mov ebx, eax
cmp bl, 1
jb 0x495c2e
xor eax, eax
mov al, bl
mov edx, dword [ebp - 0xc]
mov al, byte [edx + eax - 1]
xor edx, edx
mov dl, al
xor ecx, ecx
mov cl, bl
lea ecx, [ecx + ecx*2]
imul edx, ecx
add edx, 7
add esi, edx
mov edx, esi
shr edx, 5
xor al, dl
mov byte [ebp - 0x11], al
xor eax, eax
mov al, byte [ebp - 0x11]
mov ecx, 0xa
xor edx, edx
div ecx
add dl, 0x30
mov byte [ebp - 0x11], dl
lea eax, [ebp - 0x1c]
mov dl, byte [ebp - 0x11]
call fcn.0040408c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
call fcn.0040416c
mov eax, edi
mov edx, dword [ebp - 0x10]
call fcn.00403ef8
dec ebx
test bl, bl
jne 0x495bcd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495c5d
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403ec8
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403ec8
ret
Function at 0x401010
Capabilities:
Set registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
mov dword [esp], 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40106f
mov eax, dword [esp]
test eax, eax
je 0x40106f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push esi
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret
xor eax, eax
pop ecx
ret

Function at 0x401080
Capabilities:
Print debug messages

Disassembly:
push ecx
mov cl, byte [esp + 8]
mov dword [esp], 0
cmp cl, 0x41
jb 0x4010a7
cmp cl, 0x5a
ja 0x4010a7
sub ecx, 0x41
mov eax, 1
shl eax, cl
mov dword [esp], eax
jmp 0x4010d0
cmp cl, 0x61
jb 0x4010c1
cmp cl, 0x7a
ja 0x4010c1
sub ecx, 0x61
mov eax, 1
shl eax, cl
mov dword [esp], eax
jmp 0x4010d0
push str.invalid_parameter_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp]
test eax, eax
jne 0x4010d6
pop ecx
ret
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4010e6
mov dword [esp], 0
lea eax, [esp]
push 4
push eax
push 4
push str.NoViewOnDrive
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call fcn.00401010
add esp, 0x18
pop ecx
ret

Function at 0x401110
Capabilities:
Print debug messages

Disassembly:
push ecx
mov cl, byte [esp + 8]
mov dword [esp], 0
cmp cl, 0x41
jb 0x401137
cmp cl, 0x5a
ja 0x401137
sub ecx, 0x41
mov eax, 1
shl eax, cl
mov dword [esp], eax
jmp 0x401160
cmp cl, 0x61
jb 0x401151
cmp cl, 0x7a
ja 0x401151
sub ecx, 0x61
mov eax, 1
shl eax, cl
mov dword [esp], eax
jmp 0x401160
push str.invalid_parameter_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp]
test eax, eax
jne 0x401166
pop ecx
ret
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x401176
mov dword [esp], 0
lea eax, [esp]
push 4
push eax
push 4
push str.NoDrives
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call fcn.00401010
add esp, 0x18
pop ecx
ret
Function at 0x4011e0
Capabilities:
Enumerate gui resources
Enumerate threads

Disassembly:
sub esp, 0x24
push ebx
push esi
push edi
push 0
push 6
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4011ff
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x24
ret
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], 0x1c
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push ebp
push eax
push esi
call sub.KERNEL32.dll_Thread32First
mov ecx, dword [esp + 0x38]
mov edi, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
xor ebx, ebx
mov ebp, eax
test edi, edi
je 0x40125f
lea edx, [esp + 0x18]
push edx
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
je 0x40125f
cmp dword [esp + 0x24], ebp
je 0x40125b
lea eax, [esp + 0x18]
push eax
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x401244
jmp 0x40125f
mov ebx, dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
pop ebp
jne 0x401274
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x24
ret
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push 0x4011a0
mov dword [esp + 0x18], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4012ad
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x401910
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
lea edi, [ebp - 0x40]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.0041cdce
cmp dword [0x42af64], eax
je 0x401961
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.0041cdce
mov dword [0x42af64], eax
mov eax, dword [0x42af64]
push eax
call fcn.0041cff4
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x40
cmp ebp, esp
call fcn.0041cdce
mov esp, ebp
pop ebp
ret
Function at 0x40fe00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push ebx
push esi
push edi
lea edi, [ebp - 0x140]
mov ecx, 0x50
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
lea eax, [ebp - 0x100]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp esi, esp
call fcn.0041cdce
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 0x100]
mov byte [ecx], dl
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x140
cmp ebp, esp
call fcn.0041cdce
mov esp, ebp
pop ebp
ret

Function at 0x40fe60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
lea edi, [ebp - 0x48]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov esi, esp
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp esi, esp
call fcn.0041cdce
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40fea9
cmp dword [ebp - 4], 0
jne 0x40fead
xor eax, eax
jmp 0x40fef7
mov esi, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.0041cdce
mov dword [ebp - 8], eax
mov esi, esp
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.0041cdce
cmp dword [ebp - 8], 0
jne 0x40fef5
mov eax, 1
jmp 0x40fef7
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x48
cmp ebp, esp
call fcn.0041cdce
mov esp, ebp
pop ebp
ret

Function at 0x40ff10
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and eax, 0xff
cmp eax, 0x41
jl 0x40ff62
mov ecx, dword [ebp + 8]
and ecx, 0xff
cmp ecx, 0x5a
jg 0x40ff62
mov ecx, dword [ebp + 8]
and ecx, 0xff
sub ecx, 0x41
mov edx, 1
shl edx, cl
mov dword [ebp - 4], edx
jmp 0x40ffa9
mov eax, dword [ebp + 8]
and eax, 0xff
cmp eax, 0x61
jl 0x40ff95
mov ecx, dword [ebp + 8]
and ecx, 0xff
cmp ecx, 0x7a
jg 0x40ff95
mov ecx, dword [ebp + 8]
and ecx, 0xff
sub ecx, 0x61
mov edx, 1
shl edx, cl
mov dword [ebp - 4], edx
jmp 0x40ffa9
mov esi, esp
push str.invalid_parameter_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.0041cdce
cmp dword [ebp - 4], 0
jne 0x40ffb3
xor eax, eax
jmp 0x40ffdf
cmp dword [ebp + 0xc], 0
jne 0x40ffc0
mov dword [ebp - 4], 0
push 4
lea eax, [ebp - 4]
push eax
push 4
push str.NoViewOnDrive
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call fcn.0040fe60
add esp, 0x18
pop edi
pop esi
pop ebx
add esp, 0x44
cmp ebp, esp
call fcn.0041cdce
mov esp, ebp
pop ebp
ret
Function at 0x40fff0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and eax, 0xff
cmp eax, 0x41
jl 0x410042
mov ecx, dword [ebp + 8]
and ecx, 0xff
cmp ecx, 0x5a
jg 0x410042
mov ecx, dword [ebp + 8]
and ecx, 0xff
sub ecx, 0x41
mov edx, 1
shl edx, cl
mov dword [ebp - 4], edx
jmp 0x410089
mov eax, dword [ebp + 8]
and eax, 0xff
cmp eax, 0x61
jl 0x410075
mov ecx, dword [ebp + 8]
and ecx, 0xff
cmp ecx, 0x7a
jg 0x410075
mov ecx, dword [ebp + 8]
and ecx, 0xff
sub ecx, 0x61
mov edx, 1
shl edx, cl
mov dword [ebp - 4], edx
jmp 0x410089
mov esi, esp
push str.invalid_parameter_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.0041cdce
cmp dword [ebp - 4], 0
jne 0x410093
xor eax, eax
jmp 0x4100bf
cmp dword [ebp + 0xc], 0
jne 0x4100a0
mov dword [ebp - 4], 0
push 4
lea eax, [ebp - 4]
push eax
push 4
push str.NoDrives
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call fcn.0040fe60
add esp, 0x18
pop edi
pop esi
pop ebx
add esp, 0x44
cmp ebp, esp
call fcn.0041cdce
mov esp, ebp
pop ebp
ret
Function at 0x417470
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
lea edi, [ebp - 0x40]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a090
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x64]
mov ecx, 0x19
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0xffffffff
mov esi, esp
push 0
push 0x80
push 4
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, esp
call fcn.0041cdce
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x41a19a
mov esi, esp
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp esi, esp
call fcn.0041cdce
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041d5d6
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov esi, esp
push 0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.0041cdce
mov esi, esp
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0041cdce
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 4]
call fcn.0041a1b0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0041da1c
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0x64
cmp ebp, esp
call fcn.0041cdce
mov esp, ebp
pop ebp
ret 8
Function at 0x41c720
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x264]
mov ecx, 0x99
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov byte [ebp - 0x1a8], 0
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x1a7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x220], 0
mov ecx, 0x1d
xor eax, eax
lea edi, [ebp - 0x21f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.0041d120
add esp, 8
push str..
lea edx, [ebp - 0x1a8]
push edx
call fcn.0041d130
add esp, 8
mov esi, esp
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.0041cdce
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0xffffffff
jne 0x41c7cd
jmp 0x41c8d2
mov edx, 1
test edx, edx
je 0x41c8bc
mov eax, dword [ebp - 0x144]
and eax, 0x10
test eax, eax
je 0x41c841
movsx ecx, byte [ebp - 0x118]
cmp ecx, 0x2e
je 0x41c83f
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.0041d120
add esp, 8
push 0x426944
lea ecx, [ebp - 0x220]
push ecx
call fcn.0041d130
add esp, 8
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.0041d130
add esp, 8
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0041c720
jmp 0x41c894
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.0041d120
add esp, 8
push 0x426944
lea ecx, [ebp - 0x220]
push ecx
call fcn.0041d130
add esp, 8
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.0041d130
add esp, 8
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x220]
push edx
mov ecx, dword [ebp - 4]
call fcn.0041a090
mov esi, esp
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp esi, esp
call fcn.0041cdce
test eax, eax
jne 0x41c8b7
jmp 0x41c8bc
jmp 0x41c7cd
mov esi, esp
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.0041cdce
pop edi
pop esi
pop ebx
add esp, 0x264
cmp ebp, esp
call fcn.0041cdce
mov esp, ebp
pop ebp
ret 4