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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x46cfdc
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x46d178
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 8]
mov edx, 0x46d190
mov eax, esi
call fcn.0046ae5c
mov edx, dword [ebp - 8]
lea eax, [ebx + 0xc]
call fcn.00404a5c
lea ecx, [ebp - 0xc]
mov edx, 0x46d1a4
mov eax, esi
call fcn.0046ae5c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x28]
call fcn.00404a5c
lea ecx, [ebp - 0x10]
mov edx, 0x46d1bc
mov eax, esi
call fcn.0046ae5c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call fcn.00404a5c
lea ecx, [ebp - 0x14]
mov edx, 0x46d1d8
mov eax, esi
call fcn.0046ae5c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.00404a5c
lea ecx, [ebp - 0x18]
mov edx, 0x46d1f4
mov eax, esi
call fcn.0046ae5c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x24]
call fcn.00404a5c
lea ecx, [ebp - 0x20]
mov edx, 0x46d20c
mov eax, esi
call fcn.0046ae5c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00408fac
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
call fcn.00409598
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x24]
mov edx, 0x46d224
mov eax, esi
call fcn.0046ae5c
mov eax, dword [ebp - 0x24]
call fcn.00464a1c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x28]
mov edx, 0x46d234
mov eax, esi
call fcn.0046ae5c
mov eax, dword [ebp - 0x28]
call fcn.00464a1c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 4]
mov edx, 0x46d24c
mov eax, esi
call fcn.0046ae5c
mov eax, dword [ebp - 4]
call fcn.004645d0
test al, al
je 0x46d12f
mov eax, dword [ebp - 4]
call fcn.0040955c
mov edi, eax
test edi, edi
jl 0x46d125
call fcn.0040ae98
mov dword [ebp - 0x2c], edi
fild dword [ebp - 0x2c]
fdiv dword [0x46d254]
faddp st(1)
fstp qword [ebx + 0x38]
wait
jmp 0x46d13b
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
jmp 0x46d13b
mov eax, dword [ebp - 4]
call fcn.00464a1c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x46d260
mov eax, esi
call fcn.0046ae5c
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x48]
call fcn.00404a5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d17f
lea eax, [ebp - 0x30]
call fcn.00404a08
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00404a2c
ret

Function at 0x474868
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4748c2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00474858
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004634d0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004630d0
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4748c9
lea eax, [ebp - 4]
call fcn.00404a08
ret
Function at 0x478248
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416470]
call fcn.00405518
xor eax, eax
push ebp
push 0x47838c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4aa5d8], 0
jne 0x47829b
mov ecx, dword [0x4aa9c8]
mov dl, 1
mov eax, dword [0x4080ac]
call fcn.0040ccf0
call fcn.00404398
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403494
mov eax, ebx
call fcn.004052cc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47839c
lea edi, [ebp - 0x30]
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 edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040666c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004052dc
test eax, eax
jle 0x478333
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x47832c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404c90
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404c78
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408f3c
test eax, eax
jne 0x47832c
mov ebx, 0x15
jmp 0x478338
mov ebx, 0x10
jmp 0x478338
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4aa5d8]
call fcn.004780c0
mov eax, dword [ebp - 8]
call fcn.004780c0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406684
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478393
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404a2c
lea eax, [ebp - 0x10]
mov edx, dword [0x416470]
call fcn.004055e8
ret
Function at 0x482770
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x482891
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x4aaf68]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4aaf68]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4828a8
call fcn.0040a250
mov eax, dword [ebp - 4]
call fcn.0049eed0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x4aac00]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x4aaf04]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x4828c4
call fcn.0040a250
mov eax, dword [ebp - 0x10]
call fcn.0049eed0
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x48235c
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4828e4
call fcn.0040a250
mov eax, dword [ebp - 0x24]
call fcn.0049eed0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4828fc
call fcn.0040a250
mov eax, dword [ebp - 0x28]
call fcn.0049eed0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482898
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404a2c
lea eax, [ebp - 0x10]
call fcn.00404a08
lea eax, [ebp - 4]
call fcn.00404a08
ret

Function at 0x488790
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4887ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.004887f4
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4887f1
ret
Function at 0x48dbac
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x48dbe2
jmp 0x48dc88
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x48dc26
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x14c], 0
je 0x48dc26
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x14c]
mov eax, dword [eax + 0x14]
jmp 0x48dc36
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x148]
test edx, edx
je 0x48dc36
mov eax, dword [edx + 0x14]
test eax, eax
je 0x48dc4f
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.0048a8e0
jmp 0x48dc88
mov dl, 1
mov eax, dword [0x421ff0]
call fcn.00423ff8
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.004249b0
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xac]
mov eax, dword [esi + 0x10]
call fcn.00423ba8
mov edx, esp
mov eax, esi
call fcn.004246fc
mov eax, esi
call fcn.00403bf8
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x48fbf0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.004443e4
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.0043da9c
pop ebx
ret
Function at 0x4947fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov ebp, edx
mov esi, eax
mov edx, ebp
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
cmp dword [ebp + 0xc], 0
jne 0x49488d
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00454988
mov ebx, eax
mov dx, word [ebp + 4]
mov eax, esi
call fcn.004944b4
mov edi, eax
test edi, edi
je 0x494857
mov al, byte [0x494898]
cmp al, bl
jne 0x494857
mov edx, edi
mov eax, esi
call fcn.004943ec
mov dword [ebp + 0xc], 1
mov byte [esi + 0x31], 1
jmp 0x49488d
cmp byte [esi + 0x161], 2
jne 0x494880
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp + 4]
mov eax, dword [0x4aaff8]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.0043ed3c
test eax, eax
jne 0x49488d
xor eax, eax
mov dword [ebp + 0xc], eax
mov edx, ebp
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x498dfc
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 0x498eb6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405150
mov eax, dword [0x4aaa90]
cmp byte [eax], 0
je 0x498e6b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004054b0
mov eax, dword [ebx]
call fcn.004052dc
push eax
mov eax, dword [ebx]
call fcn.004052cc
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004052dc
mov edx, eax
dec edx
mov eax, ebx
call fcn.004054b0
jmp 0x498e9d
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.00409d38
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004052bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498ebd
lea eax, [ebp - 0x3f0]
call fcn.00404a08
ret

Function at 0x498ec4
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00409d38
add esp, 0x3ec
pop ebx
ret
Function at 0x49a444
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x84]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x88]
cdq
cmp edx, dword [esp + 4]
jne 0x49a47c
cmp eax, dword [esp]
pop edx
pop eax
jae 0x49a4fa
jmp 0x49a480
pop edx
pop eax
jge 0x49a4fa
mov eax, dword [0x4aaff8]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
mov esi, 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x84], eax
mov eax, dword [ebx + 0x138]
test byte [eax + 0x4c], 0x10
je 0x49a4d2
cmp byte [ebx + 0x161], 2
je 0x49a4d2
mov eax, ebx
call fcn.0049563c
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x49a51f
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x49a51f
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x49a51f
push 0
mov edx, dword [ebx + 0x12c]
push edx
push 0
mov edx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push edx
push esi
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x49a51f
cmp dword [ebx + 0x11c], 0
je 0x49a51f
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00434dc0
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4a4824
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a4995
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x8c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4a497a
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00409d38
mov dl, 1
mov eax, dword [0x47ffdc]
call fcn.00480034
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x417838]
call fcn.00403bc8
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004800b0
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4a4977
mov dl, 1
mov eax, dword [0x48108c]
call fcn.004810f4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, 0x4a49ac
call fcn.004803fc
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404d14
xor eax, eax
push ebp
push 0x4a4970
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004813f4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004a49b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4977
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00403bf8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403bf8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403bf8
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a499c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404a2c
ret
Function at 0x4053c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b3bb
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.004618aa
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x405442
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045be35
mov eax, dword [eax]
push 0x49eb90
push eax
call fcn.0044e97a
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00461b35
test bl, bl
je 0x405442
push 0x49eb90
lea ecx, [esp + 0xc]
call fcn.00461f11
push 0x49eb9c
lea ecx, [esp + 0xc]
call fcn.00461f11
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 0x40547e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00461b35
jmp 0x405549
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 0x405502
lea edx, [esp + 0x7c]
push 0x49eb98
push edx
call fcn.0044e97a
add esp, 8
test eax, eax
je 0x405502
lea eax, [esp + 0x7c]
push 0x49eb94
push eax
call fcn.0044e97a
add esp, 8
test eax, eax
je 0x405502
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 0x405492
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.00461b35
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 0x405d70
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 0x405dd2
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 0x405de0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b43b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a5f80]
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 0x405f18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x405e46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461b35
xor eax, eax
jmp 0x405f8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00461cbe
push esi
lea ecx, [esp + 0xc]
call fcn.00461f4d
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 0x405f6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.00405d70
test eax, eax
jne 0x405f6d
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 SysReAllocStringLen
mov ecx, edi
call fcn.00405d70
test eax, eax
jne 0x405f6d
lea eax, [esp + 0x14]
push 0x49ebb4
push eax
call fcn.0044eeb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x405f4c
lea ecx, [esp + 0x14]
push 0x49ebb0
push ecx
call fcn.0044ee30
mov esi, eax
add esp, 8
test esi, esi
jne 0x405f4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x405f4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00461c6e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x405e5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461b35
xor eax, eax
jmp 0x405f8f
mov byte [esi], 0
push 0x49ebac
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.00461b35
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
Function at 0x41c3d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46c5c8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00416cd0
test eax, eax
je 0x41c4d8
lea ecx, [esp + 0xc]
call fcn.00401060
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00416cd0
mov ecx, eax
call fcn.00420b80
test eax, eax
je 0x41c4bf
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x41c4bf
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x41c4bf
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00401290
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x41c4a1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x41c4bf
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4b67e0]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x48a720
call fcn.00401290
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x41c520
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00416cd0
test eax, eax
je 0x41c60f
mov ecx, edi
call fcn.00416cd0
mov ecx, eax
call fcn.00420a30
test eax, eax
jne 0x41c60f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41c60f
mov eax, dword [0x4b67e0]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x41c582
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00416cd0
mov ecx, eax
call fcn.00420c60
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x41c60f
cmp ebx, eax
jne 0x41c60f
cmp dword [esp + 0x10], eax
jne 0x41c5f5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc