joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408418
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
push 0x38
pop eax
mov ecx, dword [esi + 8]
and ecx, 0x3f
mov byte [ecx + esi + 0x40], 0x80
inc ecx
cmp ecx, eax
jbe 0x40845f
push 0x40
pop edx
cmp ecx, edx
je 0x40844c
sub edx, ecx
lea eax, [esi + 0x40]
push edx
add eax, ecx
push 0
push eax
call fcn.00a91e70
add esp, 0xc
lea edi, [esi + 0x20]
lea edx, [esi + 0x40]
mov ecx, edi
push 1
call dword [esi]
push 0x38
xor ecx, ecx
pop eax
jmp 0x408462
lea edi, [esi + 0x20]
sub eax, ecx
push eax
lea eax, [esi + 0x40]
add eax, ecx
push 0
push eax
call fcn.00a91e70
mov ecx, dword [esi + 8]
lea edx, [esi + 0x40]
mov eax, dword [esi + 0xc]
add esp, 0xc
shld eax, ecx, 3
shl ecx, 3
bswap ecx
bswap eax
mov dword [esi + 0x7c], ecx
mov ecx, edi
push 1
mov dword [esi + 0x78], eax
call dword [esi]
push 4
pop edx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
lea edi, [edi + 8]
bswap eax
mov dword [ebx], eax
lea ebx, [ebx + 8]
bswap ecx
mov dword [ebx - 4], ecx
sub edx, 1
jne 0x408498
pop edi
mov ecx, esi
pop esi
pop ebx
jmp fcn.00407f6e

Function at 0x40a43e
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xab540d
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0xaf8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
push dword [ebp + 8]
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40a4b1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40a4aa
push dword [ebp + 8]
push edi
push eax
call fcn.00a918f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x40a4aa
mov al, 1
jmp 0x40a4b3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40a4ca
Capabilities:
Open clipboard

Disassembly:
push 0x1c
mov eax, 0xab5447
call fcn.00ab476b
mov esi, edx
and dword [ebp - 4], 0
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne al
mov byte [ebp - 0xd], al
test al, al
je 0x40a58b
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x40a588
mov eax, dword [esi + 4]
mov edx, dword [esi]
lea eax, [eax*2 + 2]
push eax
push 0xd
pop ecx
call fcn.0040a43e
push 0
mov edx, esi
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00409ba2
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
inc ecx
push ecx
mov ecx, eax
call fcn.0040a43e
push 1
pop edi
test al, al
movzx ebx, bl
push edi
mov edx, esi
lea ecx, [ebp - 0x28]
cmovne ebx, edi
call fcn.00409ba2
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00409071
push dword [ebp - 0x28]
call fcn.00a8f821
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
inc eax
pop ecx
push eax
push 7
pop ecx
call fcn.0040a43e
push dword [ebp - 0x1c]
test al, al
movzx ebx, bl
cmovne ebx, edi
call fcn.00a8f821
pop ecx
jmp 0x40a591
mov al, byte [ebp - 0xd]
xor bl, bl
test al, al
je 0x40a597
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
call fcn.00ab4739
ret

Function at 0x40af2c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0xafadb9], 0
push esi
mov esi, edx
jne 0x40af60
mov edx, ecx
lea ecx, [ebp - 0xc]
call fcn.00409881
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00a8f821
pop ecx
test esi, esi
jmp 0x40af6a
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x40af70
mov al, 1
jmp 0x40af72
xor al, al
pop esi
leave
ret

Function at 0x40af75
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0xafadb9], 0
jne 0x40afa7
mov edx, ecx
lea ecx, [ebp - 0xc]
push esi
call fcn.00409881
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00a8f821
pop ecx
test esi, esi
pop esi
jmp 0x40afb0
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x40afb6
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x40b022
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0xafadb9], 0
jne 0x40b056
mov edx, ecx
lea ecx, [ebp - 0xc]
push esi
call fcn.00409881
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00a8f821
pop ecx
test esi, esi
pop esi
jmp 0x40b061
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40b067
mov al, 1
leave
ret
xor al, al
leave
ret
Function at 0x40b06b
Capabilities:
Create directory

Disassembly:
push 0x44
mov eax, 0xab5569
call fcn.00ab476b
mov edi, ecx
cmp byte [0xafadb9], 0
jne 0x40b0a6
mov edx, edi
lea ecx, [ebp - 0x18]
call fcn.00409881
xor ebx, ebx
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x18]
mov esi, eax
call fcn.00a8f821
pop ecx
test esi, esi
jmp 0x40b0b2
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40b0b8
mov al, 1
jmp 0x40b0fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40b0c9
xor al, al
jmp 0x40b0fe
lea ecx, [ebp - 0x50]
call fcn.0040b4fc
lea ecx, [ebp - 0x28]
call fcn.004092bf
push ebx
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.0040b834
test al, al
je 0x40b0f3
mov ebx, dword [ebp - 0x30]
shr ebx, 4
and bl, 1
push dword [ebp - 0x28]
call fcn.00a8f821
pop ecx
mov al, bl
call fcn.00ab4739
ret

Function at 0x40b253
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
call fcn.0040b7ef
cmp eax, 0xffffffff
je 0x40b280
mov edx, eax
and dl, 0x11
cmp dl, 1
jne 0x40b280
and eax, 0xfffffffe
mov ecx, esi
mov edx, eax
call fcn.0040af2c
test al, al
je 0x40b2b9
cmp byte [0xafadb9], 0
jne 0x40b2aa
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.00409881
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00a8f821
pop ecx
test esi, esi
jmp 0x40b2b3
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40b2b9
mov al, 1
jmp 0x40b2bb
xor al, al
pop esi
leave
ret

Function at 0x40b7ef
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0xafadb9], 0
jne 0x40b821
mov edx, ecx
lea ecx, [ebp - 0xc]
push esi
call fcn.00409881
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00a8f821
pop ecx
mov eax, esi
pop esi
leave
ret
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
leave
ret
Function at 0x40beb2
Capabilities:
Get disk information

Disassembly:
push 0x30
mov eax, 0xab570c
call fcn.00ab476b
mov ebx, ecx
mov dword [ebp - 0x18], ebx
call fcn.00408aab
cmp byte [0xafadb9], 0
jne 0x40bfae
mov ecx, ebx
call fcn.00408aab
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xor ebx, ebx
push ebx
push ebx
call esi
mov edi, eax
test edi, edi
je 0x40bfc0
push edi
call fcn.00a8f957
pop ecx
mov dword [ebp - 0x14], eax
push eax
push edi
mov dword [ebp - 4], ebx
call esi
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x40bfa6
cmp esi, edi
ja 0x40bfa6
lea ecx, [ebp - 0x30]
call fcn.00408ffa
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x14]
test esi, esi
je 0x40bf9f
xor eax, eax
mov ecx, esi
mov esi, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], ecx
cmp byte [edi + eax - 1], 0
jne 0x40bf90
lea eax, [edi + ebx]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040901c
mov ebx, dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
xor ecx, ecx
lea edx, [ebp - 0x30]
test eax, eax
sete cl
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00409b07
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00408b56
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.00408b17
mov byte [ebp - 4], 1
push dword [ebp - 0x3c]
call fcn.00a8f821
pop ecx
mov ecx, dword [ebp - 0x1c]
mov eax, ebx
inc eax
sub ecx, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], ecx
jne 0x40bf39
mov esi, dword [ebp - 0x20]
cmp ebx, esi
jmp 0x40c060
mov edi, dword [ebp - 0x14]
jmp 0x40c071
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
xor ebx, ebx
push ebx
push ebx
call esi
mov edi, eax
test edi, edi
jne 0x40bfc7
xor al, al
jmp 0x40c07a
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00a8f957
pop ecx
mov dword [ebp - 0x1c], eax
push eax
push edi
mov dword [ebp - 4], 3
call esi
mov esi, eax
test esi, esi
je 0x40c06e
cmp esi, edi
ja 0x40c06e
lea ecx, [ebp - 0x30]
call fcn.004092bf
mov byte [ebp - 4], 4
mov edx, ebx
mov edi, dword [ebp - 0x1c]
mov ecx, ebx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], ecx
test esi, esi
je 0x40c05e
push 2
pop eax
mov dword [ebp - 0x10], eax
cmp word [edi + eax - 2], bx
jne 0x40c04d
lea eax, [edx + edi]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040939b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x20], eax
call fcn.00408b56
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x30]
push eax
call fcn.00408b17
mov eax, dword [ebp - 0x10]
mov edx, eax
mov ecx, dword [ebp - 0x14]
inc ecx
add eax, 2
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
cmp ecx, esi
jb 0x40c017
mov edx, dword [ebp - 0x20]
cmp edx, esi
push dword [ebp - 0x30]
sete bl
call fcn.00a8f821
pop ecx
jmp 0x40c071
mov edi, dword [ebp - 0x1c]
push edi
call fcn.00a8f821
mov al, bl
pop ecx
call fcn.00ab4739
ret
Function at 0x40c163
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xab5746
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0xaf8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c1ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40c1ac
xor al, al
jmp 0x40c1c0
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret 4
Function at 0x40fcb6
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
lea eax, [esp + 8]
push ebx
push esi
push edi
push eax
lea eax, [esp + 0x14]
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
xor ebx, ebx
test eax, eax
je 0x40fcfe
cmp dword [esp + 0x10], ebx
je 0x40fcfe
mov edx, ebx
mov ecx, ebx
mov eax, dword [esp + 0x10]
shr eax, cl
and eax, 1
add edx, eax
inc ecx
cmp ecx, 0x20
jb 0x40fceb
jmp 0x40fd0d
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x30]
mov eax, 0x40000000
mov dword [esi], edx
lea ecx, [esp + 0x10]
mov dword [esi + 4], edx
mov byte [esi + 8], bl
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
call fcn.0040d529
mov byte [esi + 9], al
test al, al
je 0x40fd91
mov edi, dword [esp + 0x14]
mov eax, 0x70000000
mov ebx, dword [esp + 0x10]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edi
test edi, edi
jne 0x40fd5f
cmp ebx, eax
jbe 0x40fd63
mov ebx, eax
xor edi, edi
push ecx
push ecx
push edi
push ebx
call fcn.0040fc59
shrd ebx, edi, 5
mov dword [esi + 0x10], eax
push 0x11
shr edi, 5
pop ecx
mov dword [esi + 0x14], edx
mov eax, edi
mul ecx
push 0x11
mov ecx, eax
mov eax, ebx
pop edx
mul edx
add ecx, edx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41414e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
xor ebx, ebx
push dword [ebp + 8]
mov byte [eax], bl
lea ecx, [esi - 4]
call fcn.00413dcd
mov eax, dword [esi + 0x78]
mov edi, ebx
test eax, eax
je 0x4141e6
cmp edi, dword [esi + 0x60]
je 0x4141de
mov eax, dword [esi + 0x74]
mov eax, dword [eax + edi*4]
mov dword [ebp + 0xc], eax
lea ecx, [eax + 4]
call fcn.00408900
mov ecx, eax
test ecx, ecx
jne 0x41425d
mov ecx, dword [ebp + 0xc]
add ecx, 8
call fcn.00408900
mov ecx, eax
test ecx, ecx
jne 0x41425d
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x10], bl
cmp dword [eax + 0xc], ebx
jne 0x4141de
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push 0x417903
push ebx
push ebx
call fcn.00a955d3
mov ecx, dword [ebp + 0xc]
add esp, 0x18
mov dword [ecx + 0xc], eax
test eax, eax
jne 0x4141de
call fcn.0040880f
mov ecx, eax
test ecx, ecx
jne 0x41425d
mov eax, dword [esi + 0x78]
inc edi
cmp edi, eax
jb 0x414174
mov edi, ebx
test eax, eax
je 0x41420e
cmp edi, dword [esi + 0x60]
je 0x414208
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + edi*4]
mov byte [ecx + 0x10], bl
add ecx, 4
call fcn.0040885d
mov ecx, eax
test ecx, ecx
jne 0x41425d
inc edi
cmp edi, dword [esi + 0x78]
jb 0x4141ec
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x74]
push dword [ebp + 0x10]
mov ecx, dword [ecx + eax*4]
call fcn.00413a22
mov edi, ebx
cmp dword [esi + 0x78], ebx
jbe 0x41426f
cmp ebx, dword [esi + 0x60]
je 0x41423e
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + ebx*4]
mov ecx, dword [ecx + 8]
call fcn.00408841
test edi, edi
cmove edi, eax
inc ebx
cmp ebx, dword [esi + 0x78]
jb 0x414226
push 0
pop ebx
test edi, edi
je 0x41426f
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
jmp 0x41431a
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x41431a
lea edi, [esi - 4]
push 0x80004004
mov ecx, edi
call fcn.0041411f
test eax, eax
jne 0x41431a
push 0x8007000e
mov ecx, edi
call fcn.0041411f
test eax, eax
jne 0x41431a
mov ecx, dword [esi + 0x78]
mov edx, ebx
test ecx, ecx
je 0x4142cd
mov edi, dword [esi + 0x74]
mov eax, dword [edi]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x4142c2
cmp eax, 0x20000010
je 0x4142c2
cmp eax, 1
je 0x4142c2
cmp eax, 0x80004005
jne 0x41431a
inc edx
add edi, 4
cmp edx, ecx
jb 0x4142a6
lea edi, [esi - 4]
push 1
mov ecx, edi
call fcn.0041411f
test eax, eax
jne 0x41431a
mov ecx, ebx
cmp dword [esi + 0x78], eax
jbe 0x414318
mov edx, dword [esi + 0x74]
mov eax, dword [edx]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x4142f4
cmp eax, 0x20000010
jne 0x41431a
inc ecx
add edx, 4
cmp ecx, dword [esi + 0x78]
jb 0x4142e4
mov eax, dword [esi + 0x74]
push dword [ebp + 0x14]
mov ecx, dword [eax + ebx*4]
add ecx, 0x18
call fcn.00413560
test eax, eax
jne 0x41431a
inc ebx
cmp ebx, dword [esi + 0x78]
jb 0x4142fd
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x4162ce
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xab5746
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0xaf8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x14]
xor edi, edi
test esi, esi
je 0x4162fd
mov dword [esi], edi
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x416343
push edi
lea ecx, [ebp + 0x14]
push ecx
mov ecx, 0x8000
cmp eax, ecx
cmovae eax, ecx
push eax
push dword [ebp + 0xc]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
add dword [ecx + 8], edx
adc dword [ecx + 0xc], edi
test esi, esi
je 0x416338
add dword [esi], edx
test eax, eax
jne 0x416343
call fcn.0040c080
mov edi, eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
leave
ret 0x10
Function at 0x41e865
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xab69ef
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0xaf8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0xa8]
call fcn.0041d79b
lea ecx, [esi + 0x78]
call fcn.0041d79b
push dword [esi + 0x30]
call fcn.00a8f821
push dword [esi + 0x24]
call fcn.00a8f821
push dword [esi + 0x18]
call fcn.00a8f821
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41e8c9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41e8dd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 2
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41e8f1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
mov ecx, dword [esi]
test ecx, ecx
je 0x41e904
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x421082
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
setne al
pop ebp
ret 4

Function at 0x4218c3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x11
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [ebp + 8]
shr eax, 0xf
and al, 1
movzx ecx, word [edx + 0xc]
mov edx, ecx
cmp edx, 8
je 0x421908
cmp edx, 0x52
je 0x4218f7
cmp ecx, 0x76
jne 0x421904
mov ecx, esi
call fcn.004222b9
jmp 0x42190f
test al, al
je 0x421904
mov ecx, esi
call fcn.0042212c
jmp 0x42190f
xor al, al
jmp 0x421911
mov ecx, esi
call fcn.004221b6
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x423ea5
Capabilities:
Get file system object information

Disassembly:
push 0x1f0
mov eax, 0xab749d
call fcn.00ab479e
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1fc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1e4], eax
call fcn.004092bf
and dword [ebp - 4], 0
cmp byte [edi], 0
je 0x423f3a
push dword [edi + 0xc]
lea ecx, [ebp - 0x54]
push dword [edi + 8]
call fcn.00408d17
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x1cc]
call fcn.004092e3
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 1
push eax
mov edx, 0xdb0
lea ecx, [ebp - 0x1d8]
call fcn.00423dce
push eax
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 2
call fcn.0040940a
push dword [ebp - 0x1d8]
call fcn.00a8f821
pop ecx
mov byte [ebp - 4], 0
push dword [ebp - 0x1cc]
call fcn.00a8f821
pop ecx
lea eax, [edi + 0x18]
mov ecx, eax
mov dword [ebp - 0x1e0], eax
call fcn.0040966d
mov esi, eax
lea eax, [ebp - 0x1cc]
lea ecx, [esi + 1]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.004145e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1f0]
mov eax, dword [edi + 0x18]
add eax, 2
lea eax, [eax + esi*2]
push eax
call fcn.004092e3
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.00423e44
lea eax, [ebp - 0x1f0]
mov ecx, ebx
push eax
call fcn.00423e44
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.0040936a
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 5
call fcn.00409548
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.004095b7
lea ecx, [ebp - 0x1c0]
call fcn.00409548
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.004095b7
lea ecx, [ebp - 0x1c0]
call fcn.00409548
cmp byte [edi + 1], 0
je 0x424057
mov edx, 0x3f4
lea ecx, [ebp - 0x1d8]
call fcn.0040cfbe
push eax
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 6
call fcn.004095b7
mov byte [ebp - 4], 5
push dword [ebp - 0x1d8]
call fcn.00a8f821
lea ecx, [ebp - 0x1c0]
mov dword [esp], 0xac8194
call fcn.004095f5
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 0x10]
call fcn.0040cd35
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.004095f5
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 4]
call edi
push dword [ebp - 0x1c0]
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 0x1dc], eax
call fcn.0042101a
mov edx, dword [ebp - 0x1e0]
lea ecx, [ebp - 0x1d8]
push 0
call fcn.00409ba2
push 0x110
push 0x160
lea eax, [ebp - 0x1b4]
push eax
push 0x80
push dword [ebp - 0x1d8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x1d8]
mov esi, eax
call fcn.00a8f821
pop ecx
test esi, esi
je 0x4240e2
push dword [ebp - 0x1e4]
push dword [ebx + 4]
call edi
push 0
push dword [ebp - 0x1b4]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x1c0]
call fcn.00a8f821
pop ecx
push dword [ebp - 0x1f0]
call fcn.00a8f821
pop ecx
push dword [ebp - 0x1cc]
call fcn.00a8f821
pop ecx
push dword [ebp - 0x1fc]
call fcn.00a8f821
pop ecx
call fcn.00ab474d
ret 0xc
Function at 0x426663
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x28
mov eax, dword [edx]
push esi
mov esi, ecx
cmp eax, dword [esi + 0xb4]
jne 0x426696
cmp dword [edx + 8], 0xffffff65
jne 0x426696
movzx eax, word [edx + 0xc]
sub eax, 0x2d
je 0x4266d0
sub eax, 0x14
je 0x42669d
dec eax
sub eax, 1
je 0x4266d0
xor al, al
pop esi
leave
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x426696
push 2
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
push 0x102b
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, 1
jmp 0x426698
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x426696
mov ecx, esi
call fcn.004266e8
jmp 0x4266cc

Function at 0x4268cd
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0xab783e
call fcn.00ab476b
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push 0x20
mov dword [ebp - 4], ebx
call fcn.00a8f9d4
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
lea eax, [edi + 0x279]
mov dword [esi + 0x14], eax
lea eax, [edi + 0x27a]
mov byte [esi], bl
mov dword [esi + 4], ebx
mov byte [esi + 8], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], eax
mov dword [esp], 0x100
call fcn.00a8f957
mov dword [esi + 0xc], eax
mov byte [ebp - 4], bl
push 8
mov dword [edi + 0x27c], esi
call fcn.00a8f9d4
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
push ecx
push ecx
mov ecx, eax
mov dword [ebp - 0x14], esi
call fcn.009f420f
mov byte [ebp - 4], bl
mov eax, dword [eax]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
push 0x4267ef
push ebx
push ebx
call fcn.00a955d3
add esp, 0x18
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x426987
call fcn.0040880f
test eax, eax
je 0x426987
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x426996
push ecx
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.00425e6b
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 4
call fcn.00408820
mov eax, ebx
call fcn.00ab4739
ret 8

Function at 0x426c53
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2d0
mov eax, dword [0xaf8008]
xor eax, esp
mov dword [esp + 0x2cc], eax
cmp byte [0xafadb9], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
jne 0x426cb6
mov edx, ecx
lea ecx, [esp + 0xc]
call fcn.00409881
push 0x4010
push 0x160
lea ecx, [esp + 0x20]
or esi, 0x80
push ecx
push esi
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [esp + 0xc]
mov esi, eax
call fcn.00a8f821
pop ecx
mov eax, esi
jmp 0x426cd8
mov eax, dword [0xafaefc]
test eax, eax
je 0x426cd8
push 0x4010
push 0x2b4
lea edx, [esp + 0x20]
or esi, 0x80
push edx
push esi
push ecx
call eax
mov ecx, dword [esp + 0x1c]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
xor ecx, esp
call fcn.00a8f813
mov esp, ebp
pop ebp
ret 4
Function at 0x426f6b
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x168
mov eax, dword [0xaf8008]
xor eax, esp
mov dword [esp + 0x164], eax
test cl, cl
mov edx, 0x4011
mov eax, 0x4110
cmovne eax, edx
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0x90
push 0xac738c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.00a8f813
mov esp, ebp
pop ebp
ret