joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4105c4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
add dword [ebp + 8], 2
push esi
push edi
lea ecx, [ebp - 8]
call fcn.0043d47d
lea ecx, [ebp - 4]
call fcn.0043d47d
push 0x2c
xor esi, esi
push esi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov edi, eax
cmp edi, esi
je 0x4106a6
push ebx
push 1
push esi
lea eax, [ebp - 8]
mov word [edi], si
push eax
push dword [ebp + 8]
mov esi, 0x4bdfa0
mov ecx, esi
call fcn.0044c0fc
mov ebx, dword [ebp - 8]
push 1
push 0
lea eax, [ebp - 4]
push eax
add edi, 2
push edi
mov ecx, esi
mov dword [ebp + 8], ebx
call fcn.0044c0fc
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp - 4]
mov dword [ebp - 0xc], esi
je 0x41065d
lea ecx, [ebp + 8]
call fcn.0040de83
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, eax
push eax
push dword [ebp + 8]
push 1
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
jmp 0x410699
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
push ebx
call esi
add eax, eax
push eax
push ebx
push 1
push str.RegisteredOwner
mov edi, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push edi
mov ebx, 0x80000002
push ebx
call fcn.00438a61
add esp, 0x18
push dword [ebp - 0xc]
call esi
shl eax, 1
push eax
push dword [ebp - 0xc]
push 1
push str.RegisteredOrganization
push edi
push ebx
call fcn.00438a61
add esp, 0x18
xor esi, esi
pop ebx
jmp 0x4106a9
xor esi, esi
inc esi
lea ecx, [ebp - 4]
call fcn.00437960
lea ecx, [ebp - 8]
call fcn.00437960
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x410bc9
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
jge 0x410bda
call fcn.00410b6e
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
mov esi, dword [esp + 0xc]
jg 0x410bee
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
dec eax
js 0x410bfa
inc eax
xor word [esi], di
inc esi
inc esi
dec eax
jne 0x410bf2
mov eax, edi
pop edi
shl eax, 0x10
pop esi
ret

Function at 0x410d87
Capabilities:
Log keystrokes via application hook

Disassembly:
cmp dword [0x4bde74], 0
jne 0x410daa
push 0
push dword [0x4bde84]
push 0x410c8a
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4bde74], eax
ret

Function at 0x410f1b
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
jne 0x410f36
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov esi, eax
push esi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x22c], 0x22c
mov dword [ebp - 0x228], ebx
mov ecx, 0x89
lea edi, [ebp - 0x224]
push 2
rep stosd dword es:[edi], eax
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x22c]
push eax
push edi
call sub.KERNEL32.DLL_Process32FirstW
jmp 0x410f85
cmp dword [ebp - 0x224], esi
je 0x410f8b
lea eax, [ebp - 0x22c]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x410f70
jmp 0x410f91
mov ebx, dword [ebp - 0x214]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
dec dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0
mov esi, ebx
jg 0x410f36
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x4111ab
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
push edi
je 0x4111cf
cmp dword [ebp + 0xc], 2
jne 0x4111fe
mov edi, dword [ebp + 0x14]
push 0x104
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
jmp 0x4111d2
mov edi, dword [ebp + 0x10]
cmp dword [ebp + 0x18], 0
je 0x4111e2
push dword [ebp + 0x18]
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [esi + 2]
push eax
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
push edi
push esi
mov ecx, 0x4bdfa0
call fcn.0043cd78
pop esi
pop edi
pop ebp
ret

Function at 0x411201
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0xc11
lea ecx, [ebp - 4]
call fcn.0043d49b
push 0x822
push 0
push dword [ebp - 4]
call fcn.0048f7a0
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 8]
lea esi, [eax + 0x410]
and word [esi], 0
add esp, 0xc
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x10], eax
lea edi, [ebx + 2]
je 0x411248
mov edi, dword [ebp + 0xc]
and dword [ebp - 8], 0
push 0x104
push esi
push edi
mov dword [ebp - 0xc], 0x410
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
cmp word [esi], 0
je 0x411274
push esi
push ebx
mov ecx, 0x4bdfa0
call fcn.0043cd78
jmp 0x4112a7
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push edi
push 0x4a4d28
push 0x80000001
call fcn.004389fd
add esp, 0x18
test eax, eax
jne 0x4112a7
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push esi
push dword [ebp - 8]
push ebx
call fcn.004111ab
add esp, 0x14
lea ecx, [ebp - 4]
call fcn.00437960
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4112b4
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x411
lea ecx, [ebp - 4]
mov byte [0x4bdfab], 1
call fcn.0043d49b
push 0x822
push 0
push dword [ebp - 4]
call fcn.0048f7a0
mov edi, dword [ebp - 4]
add esp, 0xc
push 0x104
add edi, 0x410
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push str.PE_IDBASE
push 0x1000
mov esi, 0x4bdfa0
push esi
call fcn.0043f7f4
push str.WM_PE_BASE
push 0x5000
push esi
call fcn.0043f7f4
push str.PE_MENU_IDBASE
push 0x100
push esi
call fcn.0043f7f4
mov esi, dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
add esp, 0x24
push edi
push 0x4a603a
call esi
push edi
mov ebx, 0x4bdfa0
push str.MyName
mov ecx, ebx
call fcn.0043cd78
push 0x5c
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
xor edi, edi
cmp eax, edi
je 0x41137b
lea edi, [eax + 2]
push edi
push 0x4a6026
call esi
push edi
push str.MyName0
mov ecx, ebx
call fcn.0043cd78
xor edi, edi
push edi
push edi
push str.Desktop
call fcn.00411201
push edi
push edi
push str.Favorites
call fcn.00411201
push edi
push edi
push str.Programs
call fcn.00411201
push edi
push edi
push str.SendTo
call fcn.00411201
push edi
push edi
push str.Personal
call fcn.00411201
push edi
push str.Start_Menu
push 0x4a5610
call fcn.00411201
add esp, 0x48
push edi
push str.Cache
push str.IECache
call fcn.00411201
push edi
push edi
push str.Startup
call fcn.00411201
push str.MicrosoftInternet_ExplorerQuick_Launch
push str.AppData
push str.QuickLaunch
call fcn.00411201
add esp, 0x24
lea ecx, [ebp - 4]
call fcn.00437960
pop edi
pop esi
pop ebx
leave
ret

Function at 0x411466
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14b8
call fcn.0048fb80
push esi
mov esi, 0x4bc2c4
and word [ebp - 0x14b8], 0
mov edx, dword [esi]
mov word [ebp - 0x64], 0x26
lea ecx, [ebp - 0x62]
movsx ax, byte [edx]
mov word [ecx], ax
inc ecx
inc ecx
inc edx
test ax, ax
jne 0x41148c
push 0xa28
lea eax, [ebp - 0x14b8]
push eax
lea eax, [ebp - 0x62]
push eax
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
lea eax, [ebp - 0x14b8]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x4bdfa0
call fcn.0043cd78
add esi, 4
cmp esi, 0x4bc2d8
jl 0x411479
pop esi
leave
ret
Function at 0x412aac
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, 0x4beb4c
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.00403cf6
mov edi, dword [sym.imp.SHLWAPI.dll_StrChrW]
pop ecx
push 0x5c
push dword [ebp + 8]
mov byte [ebp - 4], al
jmp 0x412b04
push dword [ebp + 8]
and word [esi], 0
call fcn.0048ef50
test eax, eax
pop ecx
jne 0x412af9
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov word [esi], 0x5c
push 0x5c
add esi, 2
push esi
call edi
mov esi, eax
test esi, esi
jne 0x412ade
cmp byte [ebp - 4], al
je 0x412b1a
push dword [ebp - 8]
call fcn.00403d07
pop ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret

Function at 0x412fa6
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0x40
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0048f7a0
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatusEx]
cmp dword [ebp + 8], 0
je 0x412fdb
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
leave
ret
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
leave
ret
Function at 0x413072
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0x18]
test esi, esi
push edi
mov dword [ebp - 0xc], 0x20
je 0x41308e
mov dword [ebp - 8], esi
jmp 0x413096
lea eax, [ebp - 0xc]
mov dword [ebp - 8], eax
mov esi, eax
push dword [ebp + 0x10]
mov ax, word [esi + 2]
push dword [ebp + 0xc]
mov word [ebp - 4], ax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4130c1
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
jmp 0x4130c3
xor edi, edi
test ebx, ebx
je 0x4130d3
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
jmp 0x4130d5
xor eax, eax
xor cl, cl
test byte [esi], 1
mov byte [ebp + 0x1b], cl
je 0x4130f1
test eax, eax
je 0x4131d2
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov cl, byte [ebp + 0x1b]
mov ebx, eax
test ebx, ebx
je 0x4131d2
test edi, edi
jle 0x4131d2
test byte [esi], 0x40
jne 0x413161
push 0
push edi
push ebx
call fcn.0043a8e8
add esp, 0xc
test al, al
mov byte [ebp + 0x1b], al
je 0x413161
test byte [esi], 0x20
je 0x41312b
test al, 2
je 0x41312b
xor eax, eax
jmp 0x4131db
push 0
lea ecx, [ebp - 0x18]
call fcn.004457c5
movzx eax, word [ebp - 4]
mov esi, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x18]
push esi
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call fcn.00440ff6
and dword [ebp - 0x18], 0
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00437960
jmp 0x41319e
mov esi, dword [ebp + 0x14]
lea eax, [edi + 0x410]
push eax
mov ecx, esi
call fcn.0040ddda
push edi
push ebx
push dword [esi]
mov dword [esi + 8], edi
mov dword [esi + 4], edi
call fcn.004125f9
add esp, 0xc
cmp word [ebp - 4], 0
je 0x41319e
movzx eax, word [ebp - 4]
inc edi
shr edi, 1
push edi
push eax
push dword [esi]
call fcn.00410bc9
add esp, 0xc
mov eax, dword [esi + 4]
mov edi, dword [esi]
lea ecx, [eax + 0x10]
push 0x10
add eax, edi
push 0
push eax
mov dword [esi + 8], ecx
call fcn.0048f7a0
movzx eax, word [ebp - 4]
push 0xc
push eax
mov eax, dword [esi + 4]
add eax, edi
push eax
call fcn.0048f7a0
mov esi, dword [ebp - 8]
mov cl, byte [ebp + 0x1b]
add esp, 0x18
jmp 0x4131d4
xor edi, edi
and ecx, 2
or dword [esi], ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4131e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push dword [ebp + 8]
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.0040511c
cmp dword [ebp - 8], ebx
jne 0x413211
push 0xfffffffffffffffe
pop esi
jmp 0x4132d6
push edi
push dword [ebp - 8]
call fcn.00483fd1
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov esi, eax
mov dword [ebp - 0x10], esi
call fcn.00438aec
add esp, 0x14
add esi, 0xc
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.0043d398
mov edi, dword [esi]
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [ebp - 0xc]
push 6
add eax, edi
push ebx
push eax
call fcn.0048f7a0
mov eax, dword [ebp - 0xc]
push dword [ebp + 0x10]
mov dword [esi + 8], eax
push eax
push edi
mov dword [esi + 4], eax
call fcn.0043a8e8
add esp, 0x18
cmp al, 1
mov byte [ebp - 1], al
pop edi
jne 0x4132bf
push dword [0x4bdf68]
lea ecx, [ebp - 0x1c]
push esi
call fcn.0040de26
mov eax, dword [ebp - 0xc]
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00440ff6
add esp, 0xc
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
add eax, 6
push eax
mov ecx, esi
call fcn.0043d398
lea ecx, [ebp - 0x1c]
call fcn.00437960
push 1
push esi
call fcn.004864e7
cmp byte [ebp - 1], bl
pop ecx
pop ecx
jge 0x4132d3
or esi, 0xffffffff
jmp 0x4132d6
mov esi, dword [esi + 4]
lea ecx, [ebp - 8]
call fcn.00402b5a
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x414ac0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
and dword [ebp + 0xc], 0xfffffffe
and edi, 1
cmp word [ebx], 0
mov dword [ebp - 0x14], edi
je 0x414c97
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
jmp 0x414af5
mov edi, dword [ebp - 0x14]
push ebx
mov dword [ebp - 0x10], ebx
call esi
add eax, edi
mov edi, dword [ebp - 0x10]
push edi
lea ebx, [ebx + eax*2]
call esi
and dword [ebp - 8], 0
lea eax, [edi + eax*2 - 2]
cmp word [eax], 0x5c
jne 0x414b21
and word [eax], 0
mov dword [ebp - 8], 2
jmp 0x414b33
push edi
call fcn.0048ef50
test eax, eax
pop ecx
je 0x414b33
mov dword [ebp - 8], 1
push edi
lea ecx, [ebp + 8]
call fcn.004457e4
cmp dword [ebp - 8], 0
je 0x414b4f
push 0x4a6c74
lea ecx, [ebp + 8]
call fcn.0043d4e9
and dword [ebp - 0xc], 0
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0048f048
push dword [ebp + 8]
call fcn.0040e64a
add esp, 0x10
push dword [ebp + 8]
call esi
inc eax
lea edi, [eax + eax]
mov eax, dword [ebp + 8]
mov word [edi + eax - 2], 0x5c
mov eax, dword [ebp + 8]
and word [edi + eax], 0
cmp dword [ebp - 0xc], 0
je 0x414c3a
mov eax, dword [ebp + 8]
and word [edi + eax], 0
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp + 8]
call fcn.0043d4e9
test byte [ebp - 0x264], 0x10
jne 0x414be5
cmp dword [ebp + 0xc], 0
push dword [ebp + 8]
je 0x414bd9
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x414c21
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x414bd4
inc eax
mov dword [ebp - 4], eax
jmp 0x414c21
call fcn.0040fe15
test eax, eax
pop ecx
je 0x414c21
jmp 0x414bd4
cmp word [ebp - 0x238], 0x2e
jne 0x414c0d
cmp word [ebp - 0x236], 0
je 0x414c21
cmp word [ebp - 0x236], 0x2e
jne 0x414c0d
cmp word [ebp - 0x234], 0
je 0x414c21
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00414ac0
test eax, eax
pop ecx
pop ecx
jne 0x414c21
and dword [ebp - 4], eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0xc]
call fcn.00405192
test eax, eax
jne 0x414b96
jmp 0x414c48
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x414c45
inc eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc]
call fcn.00402b8f
xor edi, edi
cmp dword [ebp - 8], edi
je 0x414c85
cmp dword [ebp + 0xc], edi
push dword [ebp - 0x10]
je 0x414c78
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
jne 0x414c85
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, edi
jne 0x414c82
xor eax, eax
inc eax
jmp 0x414c82
call fcn.0040fe15
cmp eax, edi
pop ecx
je 0x414c85
mov dword [ebp - 4], eax
lea ecx, [ebp + 8]
call fcn.00437960
cmp word [ebx], di
jne 0x414af2
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret
Function at 0x4171fa
Capabilities:
Check mutex on windows

Disassembly:
test byte [0x4c1003], 1
je 0x417212
push str.UCallBackhWnd
call fcn.004104cc
test eax, eax
pop ecx
jne 0x417215
xor eax, eax
ret
push edi
push str.GlobalPECMD:main_u
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov edi, eax
test edi, edi
je 0x417250
push esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
sub esi, 0xb7
neg esi
sbb esi, esi
push edi
inc esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
pop esi
jne 0x417250
xor eax, eax
inc eax
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x4180d8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov esi, eax
add esi, 0x84
lea eax, [esi + 0x325]
push eax
lea ecx, [ebp - 0xc]
call fcn.0043d49b
cmp word [edi], 0x5c
mov ebx, dword [ebp - 0xc]
push 2
pop eax
mov dword [ebp - 4], ebx
lea ebx, [ebx + esi*2]
mov dword [ebp - 8], eax
jne 0x4181bb
and dword [ebp + 8], 0
push 0x2c
add edi, eax
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov esi, eax
test esi, esi
je 0x41814a
and word [esi], 0
inc esi
inc esi
push esi
call dword [sym.imp.USER32.dll_CharUpperW]
movzx esi, word [esi]
test si, si
je 0x41814a
mov dword [ebp + 8], esi
push edi
call fcn.0041113a
pop ecx
push ebx
push 0x324
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
cmp word [ebx], 0
mov esi, ebx
je 0x418222
mov ax, word [ebp + 8]
cmp word [esi], ax
jb 0x4181a8
mov ebx, dword [ebp - 4]
push edi
push esi
push str._s_sFonts
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
push ebx
call fcn.0048ef50
add esp, 0x14
test eax, eax
je 0x4181a8
push 0x4a6c74
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
push ebx
call fcn.00418020
pop ecx
mov dword [ebp - 8], eax
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
jne 0x41816b
jmp 0x418222
push edi
call fcn.0041113a
and dword [ebp + 8], 0
mov esi, eax
push esi
call fcn.0048ef50
test eax, eax
pop ecx
pop ecx
je 0x4181ec
push esi
lea ecx, [ebp + 8]
call fcn.004458a8
push 0x4a6c74
lea ecx, [ebp + 8]
call fcn.0043d4e9
mov esi, dword [ebp + 8]
push esi
push 0x4a7210
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.0040e64a
push esi
call fcn.0048ef50
add esp, 0x14
test eax, eax
je 0x41821a
push dword [ebp - 4]
call fcn.00418020
pop ecx
mov dword [ebp - 8], eax
lea ecx, [ebp + 8]
call fcn.00437960
lea ecx, [ebp - 0xc]
call fcn.00437960
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a907
Capabilities:
Check for time delay via gettickcount
Log keystrokes via application hook

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, 0x4beb4c
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
xor ebx, ebx
test byte [esp + 0x32], 1
jne 0x41a930
cmp dword [0x4bdf28], ebx
jne 0x41a930
mov dword [0x4bdf24], ebx
movzx eax, byte [esp + 0x30]
add dword [0x4bdf28], 1
cmp dword [0x4bdf20], ebx
mov dword [esp + 0x30], eax
jne 0x41a975
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
push 0x41a808
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
cmp eax, ebx
mov dword [0x4bdf20], eax
jne 0x41a975
sub dword [0x4bdf28], 1
xor esi, esi
jmp 0x41aa66
push ebp
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov ebp, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call ebp
mov esi, dword [esp + 0x30]
mov edi, eax
add edi, esi
cmp esi, 0x4e20
jb 0x41a99d
push 1
call fcn.00439473
pop ecx
cmp dword [esp + 0x34], 2
jne 0x41aa33
cmp esi, ebx
jne 0x41aa33
push 0xa
pop esi
jmp 0x41aa33
cmp dword [esp + 0x34], 2
je 0x41a9c6
call ebp
mov esi, edi
sub esi, eax
cmp esi, ebx
jle 0x41aa3f
cmp byte [0x4bc2c0], bl
jle 0x41aa3f
push 0xa
pop eax
cmp esi, eax
ja 0x41a9d7
mov eax, esi
push 0x4ff
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x41aa2b
cmp dword [0x4bdf24], ebx
jne 0x41aa3f
cmp dword [esp + 0x34], 2
je 0x41aa01
call ebp
mov esi, edi
sub esi, eax
cmp esi, ebx
jle 0x41aa33
push 1
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x41aa33
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x4bc2c0], bl
jg 0x41a9e8
cmp dword [0x4bdf24], ebx
je 0x41a9b5
push 0x4beb4c
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [0x4bdf24]
sub dword [0x4bdf28], 1
pop ebp
jne 0x41aa5f
mov dword [0x4bdf24], ebx
mov esi, eax
mov edi, 0x4beb4c
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x41bbca
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xd0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov dword [0x4be0d8], eax
call fcn.0040e3d4
call fcn.0048fe5b
call fcn.0041254b
xor ebx, ebx
mov esi, 0x4bdfa0
push ebx
mov ecx, esi
call fcn.0040ee3b
call fcn.0040568f
mov edi, 0x4beb4c
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [0x4bdca8]
or eax, dword [0x4bdcac]
jne 0x41bc2a
push 0x4bdca8
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push 0x4bdcb0
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
push 0x4bdf00
call dword [sym.imp.KERNEL32.DLL_GetSystemTimeAsFileTime]
push ebx
push 0x34c9
call fcn.00411456
push 0xd6fc6
push 0x311f1
lea eax, [ebp - 0x60]
push str._06lu_06lu
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x60]
push eax
push 0x4a76d6
mov ecx, esi
call fcn.0043cd78
lea eax, [ebp - 0x60]
push eax
push str.PECMDVER
mov ecx, esi
call fcn.0043cd78
push str.X86_U
lea ecx, [ebp + 0x68]
call fcn.004457e4
push dword [0x4bc0f0]
lea ecx, [ebp + 0x68]
call fcn.0043d4e9
push dword [ebp + 0x68]
mov ecx, esi
push 0x4a76ac
call fcn.0043cd78
push 0x4a76a8
push 0x4a7698
mov ecx, esi
call fcn.0043cdc8
push ebx
push 0x34d6
call fcn.00411456
call fcn.004112b4
push ebx
push 0x34d8
call fcn.00411456
mov eax, dword [ebp + 0x78]
mov dword [0x4bde84], eax
mov eax, dword [ebp + 0x7c]
mov dword [0x4bc290], eax
call fcn.004381b0
push str.WM_TaskbarRestart
push dword [0x4be100]
mov esi, 0x4bdfa0
push esi
call fcn.0043f7c8
mov edi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
add esp, 0x1c
push str.__PID
call edi
push eax
push esi
call fcn.0043f7c8
add esp, 0xc
push str.__PPID
call edi
push eax
call fcn.00404a04
pop ecx
push eax
push esi
call fcn.0043f7c8
push str.__HINST
push dword [0x4bde84]
push esi
call fcn.0043f7c8
add esp, 0x18
push 0x4a762c
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
push esi
call fcn.0043f7c8
add esp, 0xc
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
add eax, 0x34e1
push ebx
push eax
call fcn.00411456
movzx eax, word [0x4c1010]
push str.SYSCODEPAGE
push eax
push esi
call fcn.0043f7c8
add esp, 0x14
push 0x20a
lea ecx, [ebp + 0x6c]
call fcn.0043d49b
push dword [ebp + 0x6c]
mov edi, 0x208
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
push dword [ebp + 0x6c]
mov ecx, esi
push 0x4a7264
call fcn.0043cdc8
push dword [ebp + 0x6c]
mov ecx, esi
push str._CD
call fcn.0043cdc8
mov eax, dword [ebp + 0x6c]
mov word [eax + 4], bx
push dword [ebp + 0x6c]
mov ecx, esi
push str.CurDrv
call fcn.0043cdc8
mov eax, dword [ebp + 0x6c]
push edi
push eax
push ebx
mov word [eax], bx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push dword [ebp + 0x6c]
mov ecx, esi
push str.CurFile
call fcn.0043cdc8
call fcn.00411466
lea ecx, [ebp + 0x6c]
call fcn.00437960
lea ecx, [ebp + 0x68]
call fcn.00437960
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret