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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x4cc26d
dec al
je 0x4cc2a8
dec al
je 0x4cc2ed
dec al
je 0x4cc356
jmp 0x4cc3e0
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4cc3e0
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4cc27d
jmp 0x4cc3e0
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4cc3e0
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4cc2b8
jmp 0x4cc3e0
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4cc3e0
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4cc31c
xor ebp, ebp
jmp 0x4cc32c
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4cc335
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4cc2fd
jmp 0x4cc3e0
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4cc3e0
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4cc3af
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004c92b0
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4cc36a
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d0708
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor eax, eax
mov dword [ebp - 0x210], eax
xor eax, eax
push ebp
push 0x4d07d5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406c60
lea eax, [ebp - 0x210]
mov edx, 0x4d07f0
call fcn.00406e74
mov eax, dword [ebp - 0x210]
call fcn.00406aec
push eax
call sub.kernel32.dll_LoadLibraryW
mov dword [0x4f16cc], eax
xor eax, eax
mov dword [0x4f16d0], eax
cmp dword [0x4f16cc], 0
je 0x4d07b2
push 0x4d0808
mov eax, dword [0x4f16cc]
push eax
call fcn.0040b954
test eax, eax
jne 0x4d07ad
mov eax, dword [0x4f16cc]
push eax
call sub.kernel32.dll_FreeLibrary
xor eax, eax
mov dword [0x4f16cc], eax
jmp 0x4d07b2
mov dword [0x4f16d0], eax
cmp dword [0x4f16cc], 0
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d07dc
lea eax, [ebp - 0x210]
call fcn.00406a50
ret

Function at 0x4d08ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d09f1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x80000
jne 0x4d092d
mov ebx, 0x64
jmp 0x4d09d8
or ebx, 0xffffffff
push 0x104
lea eax, [ebp - 0x216]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
lea eax, [ebp - 0x21c]
lea edx, [ebp - 0x216]
mov ecx, 0x105
call fcn.00406c60
lea eax, [ebp - 0x21c]
mov edx, 0x4d0a10
call fcn.00406e74
mov eax, dword [ebp - 0x21c]
call fcn.00406aec
push eax
call sub.kernel32.dll_LoadLibraryW
mov esi, eax
test esi, esi
je 0x4d09aa
push 0x4d0a28
push esi
call fcn.0040b954
mov edi, eax
test edi, edi
je 0x4d09aa
mov dword [ebp - 0xc], 2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 5]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call edi
movzx ebx, byte [ebp - 5]
push esi
call sub.kernel32.dll_FreeLibrary
mov dword [ebp - 0x220], ebx
fild dword [ebp - 0x220]
fdiv dword [0x4d0a60]
fmul dword [0x4d0a64]
call fcn.00404688
mov ebx, eax
test ebx, ebx
jne 0x4d09d8
mov ebx, 0x64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d09f8
lea eax, [ebp - 0x21c]
call fcn.00406a50
ret
Function at 0x4d34a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406a48
mov eax, dword [ebp - 8]
call fcn.00406a48
mov eax, dword [ebp + 0xc]
call fcn.00406a48
xor eax, eax
push ebp
push 0x4d3521
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00406aec
push eax
mov eax, dword [ebp - 8]
call fcn.00406aec
push eax
mov eax, dword [ebp - 4]
call fcn.00406aec
push eax
push 0
push ebx
call sub.shell32.dll_ShellExecuteW
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3528
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406a58
lea eax, [ebp + 0xc]
call fcn.00406a50
ret

Function at 0x4d36fc
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
jne 0x4d3713
mov bl, 1
jmp 0x4d3800
mov eax, dword [0x4eb068]
cmp dword [eax], 2
jne 0x4d3727
mov eax, dword [0x4eac2c]
cmp dword [eax], 4
jg 0x4d375b
mov eax, dword [0x4eb068]
cmp dword [eax], 1
jne 0x4d37ea
mov eax, dword [0x4eac2c]
cmp dword [eax], 4
jg 0x4d375b
mov eax, dword [0x4eac2c]
cmp dword [eax], 4
jne 0x4d37ea
mov eax, dword [0x4eaed4]
cmp dword [eax], 0
jle 0x4d37ea
xor ebx, ebx
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov edi, eax
push 0
push esi
call sub.user32.dll_GetWindowThreadProcessId
mov ebp, eax
push 0xffffffffffffffff
push edi
push ebp
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x4d37a2
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 0
push edi
push ebp
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
test bl, bl
jne 0x4d37f6
push 0
lea eax, [esp + 4]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoW
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoW
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, dword [esp + 4]
push eax
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoW
jmp 0x4d37f6
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d3874
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d3a0e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
xor edx, edx
call fcn.00406ab4
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406ab4
mov eax, esi
xor edx, edx
call fcn.00406a60
mov eax, edi
xor edx, edx
call fcn.00406a60
test ebx, ebx
je 0x4d39cd
push ebx
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4d39cd
push ebx
call sub.user32.dll_GetWindowTextLengthW
test eax, eax
jle 0x4d39cd
push 0x104
lea eax, [ebp - 0x212]
push eax
push ebx
call sub.user32.dll_GetWindowTextW
lea eax, [ebp - 0x21c]
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.00406c60
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x218]
call fcn.004d2a18
mov edx, dword [ebp - 0x218]
mov eax, esi
call fcn.00406a60
push 0x104
lea eax, [ebp - 0x212]
push eax
push ebx
call sub.user32.dll_GetClassNameW
lea eax, [ebp - 0x224]
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.00406c60
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x220]
call fcn.004d2a18
mov edx, dword [ebp - 0x220]
mov eax, edi
call fcn.00406a60
lea edx, [ebp - 0x228]
mov eax, ebx
call fcn.004d3afc
mov edx, dword [ebp - 0x228]
lea eax, [ebp - 4]
call fcn.00406cc8
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00406ab4
mov eax, dword [ebp - 4]
call fcn.004d2344
test al, al
je 0x4d39cd
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d27a8
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00406a60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3a15
lea eax, [ebp - 0x228]
call fcn.004065b0
lea eax, [ebp - 0x224]
mov edx, 4
call fcn.00406a58
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406a58
ret

Function at 0x4d3a3c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d3ae6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004065b0
push 0
push 0
call sub.kernel32.dll_GetSystemDirectoryW
mov ebx, eax
test ebx, ebx
jbe 0x4d3ad0
mov eax, ebx
add eax, eax
call fcn.004041bc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d3ac9
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov ebx, eax
test ebx, ebx
jbe 0x4d3ab3
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00406714
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, 0x4d3af8
call fcn.00406808
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3ad0
mov eax, dword [ebp - 4]
call fcn.004041f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3aed
lea eax, [ebp - 8]
call fcn.004065b0
ret
Function at 0x4d3e78
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 4], 5
ja 0x4d3ea4
cmp dword [esp + 4], 5
jb 0x4d3ea0
cmp dword [esp + 8], 1
jae 0x4d3ea4
xor eax, eax
jmp 0x4d3ea6
mov al, 1
add esp, 0x114
ret

Function at 0x4d3eb0
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 4], 5
setae al
add esp, 0x114
ret
Function at 0x4d641c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor eax, eax
mov dword [ebp - 0x210], eax
xor eax, eax
push ebp
push 0x4d64eb
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004d6390
cmp byte [0x4f17fc], 0
je 0x4d64d2
push 0x104
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406c60
lea eax, [ebp - 0x210]
mov edx, 0x4d6504
call fcn.00406e74
mov eax, dword [ebp - 0x210]
call fcn.00406aec
push eax
call sub.kernel32.dll_LoadLibraryW
mov ebx, eax
test ebx, ebx
je 0x4d64d2
push 0x4d6520
push ebx
call fcn.0040b954
mov dword [0x4f1804], eax
push 0x4d6560
push ebx
call fcn.0040b954
mov dword [0x4f1808], eax
push 0x4d659c
push ebx
call fcn.0040b954
mov dword [0x4f180c], eax
push ebx
call sub.kernel32.dll_FreeLibrary
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d64f2
lea eax, [ebp - 0x210]
call fcn.00406a50
ret
Function at 0x4da508
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x4eab34]
mov eax, dword [eax]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x4da5b2
mov eax, dword [0x4eab34]
mov eax, dword [eax]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x4da559
push 9
mov eax, dword [0x4eab34]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4eab7c]
cmp dword [eax], 0
je 0x4da559
push 9
mov eax, dword [0x4eab7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x4a0]
cmp eax, 0x64
jge 0x4da572
mov edx, dword [0x4eab34]
mov edx, dword [edx]
xchg edx, eax
call fcn.004d06c8
mov eax, dword [ebx + 0x43c]
cmp byte [eax + 0x38], 0
je 0x4da58a
mov eax, dword [0x4eab34]
mov eax, dword [eax]
call fcn.004d5b6c
mov eax, dword [ebx + 0x440]
cmp byte [eax + 0x38], 0
je 0x4da5a4
mov eax, dword [0x4eab34]
mov eax, dword [eax]
mov dl, 1
call fcn.004d3534
mov eax, dword [0x4eab34]
mov eax, dword [eax]
call fcn.004d36fc
pop ebx
ret
mov eax, ebx
call fcn.004d9c0c
test al, al
je 0x4da5d2
mov eax, dword [0x4eaf2c]
mov eax, dword [eax]
push eax
mov eax, dword [0x4eab34]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x4db800
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [eax + 0x390]
cmp byte [ecx + 0x38], 0
je 0x4db85f
mov eax, dword [0x4eab34]
cmp edx, dword [eax]
je 0x4db81e
mov eax, dword [0x4eab7c]
cmp edx, dword [eax]
jne 0x4db877
mov eax, dword [0x4eab7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4db83e
push 0
mov eax, dword [0x4eab7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4eab34]
mov eax, dword [eax]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4db877
push 0
mov eax, dword [0x4eab34]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
ret
mov eax, dword [eax + 0x43c]
cmp byte [eax + 0x38], 0
je 0x4db877
mov eax, dword [0x4eab34]
mov eax, dword [eax]
call fcn.004d5b28
ret

Function at 0x4dc818
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [eax + 0x4a8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dc85f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc866
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle
ret
Function at 0x4e4028
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov eax, 0x4dcd44
call fcn.0040a2d8
mov esi, dword [0x4eae70]
xor eax, eax
push ebp
push 0x4e41f3
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 0x4e4210
call fcn.004d335c
test al, al
je 0x4e41e5
mov edx, dword [0x4eaca0]
mov edx, dword [edx]
mov eax, dword [0x4eae48]
mov ecx, 0x4e4224
call fcn.00406f34
mov edx, dword [0x4eaca0]
mov edx, dword [edx]
mov eax, dword [0x4eaf58]
mov ecx, 0x4e4240
call fcn.00406f34
call fcn.004d4f1c
test al, al
jne 0x4e40fd
push 0x4e4250
push 0
push 0x1f0001
call sub.kernel32.dll_OpenMutexW
mov ebx, eax
test ebx, ebx
je 0x4e40fd
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, 0x4f1948
mov edx, 0x4e4280
call fcn.00406a60
mov eax, 0x4f194c
mov edx, 0x4e42b0
call fcn.00406a60
push 0x1030
mov eax, dword [0x4f1948]
call fcn.00406aec
push eax
mov eax, dword [0x4f194c]
call fcn.00406aec
mov edx, eax
mov eax, dword [esi]
pop ecx
call fcn.00487e08
jmp 0x4e41e5
mov eax, dword [esi]
mov edx, 0x4e42f0
call fcn.00487480
call fcn.004d48a8
mov eax, dword [0x4eac90]
cmp dword [eax], 0
jne 0x4e415f
mov eax, 0x4f1948
mov edx, 0x4e4280
call fcn.00406a60
mov eax, 0x4f194c
mov edx, 0x4e4308
call fcn.00406a60
push 0x1010
mov eax, dword [0x4f1948]
call fcn.00406aec
push eax
mov eax, dword [0x4f194c]
call fcn.00406aec
mov edx, eax
mov eax, dword [esi]
pop ecx
call fcn.00487e08
jmp 0x4e41e5
push 0x4e4250
push 0
push 0
call fcn.0040b7fc
mov ebx, eax
mov eax, dword [esi]
call fcn.00487a64
mov ecx, dword [0x4eaba4]
mov eax, dword [esi]
mov edx, dword [0x4d76c4]
call main
mov ecx, dword [0x4eab24]
mov eax, dword [esi]
mov edx, dword [0x4d6608]
call main
mov ecx, dword [0x4eaefc]
mov eax, dword [esi]
mov edx, dword [0x4d55dc]
call main
mov eax, dword [esi]
mov byte [eax + 0x5b], 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
call fcn.004d4f1c
test al, al
jne 0x4e41d8
call fcn.004d4db0
call fcn.004d5074
mov eax, dword [esi]
call fcn.00487bcc
push ebx
call sub.kernel32.dll_ReleaseMutex
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e41fa
ret
Function at 0x413060
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a097b
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.004956f2
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4130e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049346c
mov eax, dword [eax]
push 0x13adc94
push eax
call fcn.004856b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049597d
test bl, bl
je 0x4130e2
push 0x13adc94
lea ecx, [esp + 0xc]
call fcn.00495d0d
push 0x13adca0
lea ecx, [esp + 0xc]
call fcn.00495d0d
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 0x41311e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049597d
jmp 0x4131e9
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 0x4131a2
lea edx, [esp + 0x7c]
push 0x13adc9c
push edx
call fcn.004856b4
add esp, 8
test eax, eax
je 0x4131a2
lea eax, [esp + 0x7c]
push 0x13adc98
push eax
call fcn.004856b4
add esp, 8
test eax, eax
je 0x4131a2
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 0x413132
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.0049597d
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 0x4139f0
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 0x413a52
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 0x413a60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a09fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x13bd0c8]
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 0x413b98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x413ac6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049597d
xor eax, eax
jmp 0x413c0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00495aba
push esi
lea ecx, [esp + 0xc]
call fcn.00495d49
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x13adcd4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x413bed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004139f0
test eax, eax
jne 0x413bed
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 accept
mov ecx, edi
call fcn.004139f0
test eax, eax
jne 0x413bed
lea eax, [esp + 0x14]
push 0x13adcb0
push eax
call fcn.00486750
mov esi, eax
add esp, 8
test esi, esi
jne 0x413bcc
lea ecx, [esp + 0x14]
push 0x13adcac
push ecx
call fcn.004866d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x413bcc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x413bcf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00495a6a
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x413ade
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049597d
xor eax, eax
jmp 0x413c0f
mov byte [esi], 0
push 0x13adca8
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.0049597d
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