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

Disassembly:
rol byte [eax - 0x15], 0xa
push esi
mov esi, dword [eax + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
stosd dword es:[edi], eax
adc byte [edx - 0x57fcfec], cl
pop esp
xor byte [eax + 0xc745cfa], al
je 0x40ae4a
cmp dl, 0x2e
jne 0x40ae45
mov ecx, eax
dec eax
test eax, eax
jg 0x40ae38
cmp byte [eax + esi], 0x5c
jne 0x40add1
inc eax
sub ecx, eax
inc ecx
push ecx
add eax, esi
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [esp + 0xc]
pop esi
ret

Function at 0x40b795
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
test edi, edi
jne 0x40b819
cmp dword [0x429284], eax
push esi
push 0x400
je 0x40b7ee
mov esi, 0x428e80
push esi
push 6
push dword [0x429b9c]
call fcn.0040b4e0
add esp, 0x10
push 0x10
push 0x41d4d8
push esi
push dword [0x42bc70]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40b818
mov esi, 0x426110
push esi
push 6
push dword [0x429b9c]
call fcn.0040b51d
add esp, 0x10
dec edx
add byte [eax + 0x10], ch
aad 0x41
add byte [esi - 1], dl
and eax, 0x42bc70
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
stosd dword es:[edi], eax
invalid

Function at 0x40b81e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov esp, ebp
push edi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test edi, edi
jne 0x40b8a2
sbb dword [0x429284], eax
push esi
imul eax, dword [eax], 0x74000004
insb byte es:[edi], dx
mov esi, 0x4428e80
push esi
push 6
push dword [0x429b9c]
call fcn.0040b4e0
add esp, 0x10
push 0x10
push 0x41d4d8
push esi
push dword [0x1042bc70]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40b8a1
pop esi
mov eax, edi
pop edi
pop ebp
ret

Function at 0x40b9e2
Capabilities:
Create process on windows

Disassembly:
rol byte [ecx + 4], 1
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
push 0x10
pop ecx
xor esi, dword [esi + 0x7589c033]
test al, 0x8d
jge 0x40b9a3
rep stosd dword es:[edi], eax
or dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x104
mov edi, 0x422110
push edi
push dword [0x421d50]
mov dword [ebp - 4], edi
out dx, eax
adc eax, sym.imp.KERNEL32.dll_GetModuleFileNameW
test eax, eax
je 0x40ba82
mov eax, dword [ebp + 8]
or eax, 1
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x14]
ror byte [ebp + 0x5650a845], 1
push esi
push esi
push esi
push esi
push esi
push esi
push ebp
mov dword [ebp - 0x58], GetDlgItemTextW
mov word [ebp - 0x28], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40ba82
push 0xffffffffffffffff
push dword [ebp - 0x14]
invalid
xor eax, eax
pop edi
jle 0x40ba50
ret
Function at 0x40bbde
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
push 0x10
xor ebx, ebx
pop ecx
xor eax, eax
mov dword [ebp - 0x58], ebx
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov dword [edi - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
scasd eax, dword es:[edi]
inc ebx
stosd dword es:[edi], eax
push ebx
mov edi, 0x42ca00
push edi
call fcn.0040afe4
mov esi, eax
inc esi
lea eax, [esi + esi - 0x7e]
push eax
push ebx
fbstp tbyte [0x428e78]
call fcn.0040b8a7
add esp, 0x18
cmp eax, ebx
mov dword [0x91840ffc], eax
add byte [eax], al
add byte [esi + 0x50], dl
push edi
call fcn.0040afe5
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
mov ax, word [0x42d308]
neg ax
mov dword [ebp - 0x58], 0x2000064
sbb eax, eax
and eax, 0x42d308
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
xlatb
jne 0x40bc5d
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40bc7e
push dword [ebp - 0x14]
mov esi, dword [0x41d5c0]
call edx
push dword [ebp - 0x10]
call esi
jmp 0x40bcad
push 0x400
mov esi, 0x426130
push esi
push 0xa
push dword [0x429b9c]
call fcn.0040b51d
add esp, 0x10
push 0x30
push 0x41d510
push esi
push dword [0x42bc70]
std
adc eax, sym.imp.USER32.dll_MessageBoxW
push dword [ebp - 4]
push ebx
push dword [0x428e78]
call fcn.0040b929
add esp, 0xc
pop edi
pop esi
pop ebx
Function at 0x40c389
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareAkelsoftAkelPadOptions
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c846
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea eax, [ebp - 4]
push eax
push 0x42bd80
lea eax, [ebp - 0xc]
push eax
push ebx
push str.LanguageModule
push dword [ebp - 8]
mov dword [ebp - 4], 0x208
call esi
push 4
pop edi
lea eax, [ebp - 4]
push eax
push 0x42c5d0
lea eax, [ebp - 0xc]
push eax
push ebx
push str.WordWrap
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
lea eax, [ebp - 4]
push eax
push 0x42c5d4
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x40e5d8
push dword [ebp - 8]
mov dword [ecx - 4], edi
call esi
lea eax, [ebp - 4]
push eax
push 0x421038
lea eax, [ebp - 0xc]
push eax
pop ebx
push 0x45e5c4
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
lea eax, [ebp - 4]
push eax
push 0x42c5d9
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x8041e5b0
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
lea eax, [ebp - 4]
push eax
push 0x4285e4
lea eax, [ebp - 0xc]
push eax
push ebx
push str.KeepSpace
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
lea eax, [ebp - 4]
push eax
push 0x421044
lea eax, [0x685350f4]
mov ah, ah
inc ecx
add bh, bh
jne 0x40c473
push 0x41e488
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
lea eax, [ebp - 4]
push eax
push 0x42c5ec
lea eax, [ebp - 0xc]
mov ebp, dword [ebp - 4]
push eax
push ebx
push 0x841e56c
invalid
pop ebx
leave
ret

Function at 0x40c849
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, 0x425fc0
push edi
push 4
add dword [eax], eax
add byte [eax + 0x78], ch
mov esp, 0xb8680042
aam 0x41
add byte [eax - 0x38], ch
loope 0x40c8a8
add byte [esi + str.Options], bh
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push 0x2042c5d0
push 0x41e1bc
push esi
call fcn.00409cc2
push edi
push 0x42c5d4
push 0x41e1b6
push esi
call fcn.0040bcc2
push edi
push 0x421038
push 0x41e1a8
push esi
call fcn.00409cc2
push edi
push 0xc2c5d8
push 0x41e19d
jbe 0x40c89c
or dl, ah
invalid
Function at 0x40d011
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x41e80c
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d0d6
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
mov edi, 0x41e804
push edi
push dword [ebp - 8]
call esi
test eax, eax
jne 0x40d0cb
mov eax, dword [ebp - 4]
cmp eax, ebx
jbe 0x40d0cb
inc eax
push eax
push ebx
push dword [0x428e78]
call fcn.0040b8a7
add esp, 0xc
cmp eax, ebx
mov dword [0x42c2f4], eax
mov dword [0x42c2e4], eax
je 0x40d0cb
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
push dword [ebp - 8]
call esi
test eax, eax
jne 0x40d0cb
test byte [0x421022], 0x80
je 0x40d0cb
mov eax, dword [ebp - 4]
inc eax
push eax
push ebx
push dword [0x428e78]
call fcn.0040b8a7
add esp, 0xc
cmp eax, ebx
mov dword [0x42c2f4], eax
je 0x40d0cb
push eax
push dword [0x42c2e4]
call fcn.00408411
pop ecx
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d0d9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareAkelsoftAkelPadSearch
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d1a2
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
mov edi, str.find0
push edi
push dword [ebp - 8]
call esi
test eax, eax
jne 0x40d197
mov eax, dword [ebp - 4]
cmp eax, ebx
jbe 0x40d197
add eax, 2
push eax
push ebx
push dword [0x428e78]
call fcn.0040b8a7
add esp, 0xc
cmp eax, ebx
mov dword [0x42c2f8], eax
mov dword [0x42c2e8], eax
je 0x40d197
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
push dword [ebp - 8]
call esi
test eax, eax
jne 0x40d197
test byte [0x421022], 0x80
je 0x40d197
mov eax, dword [ebp - 4]
add eax, 2
push eax
push ebx
push dword [0x428e78]
call fcn.0040b8a7
add esp, 0xc
cmp eax, ebx
mov dword [0x42c2f8], eax
je 0x40d197
push eax
push dword [0x42c2e8]
call fcn.0040849e
pop ecx
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ed86
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40018
call fcn.0041c570
push ebx
push edi
xor ebx, ebx
xor eax, eax
mov ecx, 0xffff
lea edi, [ebp - 0x40014]
mov dword [ebp - 0x40018], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetControlNlsCodePage
push 0x80000002
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40eee4
push esi
lea eax, [ebp - 0x14]
push eax
push 0x4269e0
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
mov edi, 0x428e80
push edi
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, 0x400
jmp 0x40ee4e
inc dword [ebp - 8]
cmp byte [0x4269e0], 0
je 0x40ee37
push edi
call section..text
test eax, eax
pop ecx
je 0x40ee37
cmp eax, dword [0x421af8]
je 0x40ee37
cmp eax, dword [0x421d08]
je 0x40ee37
cmp eax, 0x10000
jge 0x40ee37
inc dword [ebp - 4]
mov dword [ebp + eax*4 - 0x40018], 1
lea eax, [ebp - 0x14]
push eax
push 0x4269e0
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp - 8]
push dword [ebp - 0xc]
mov byte [0x4269e0], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call ebx
test eax, eax
je 0x40edfb
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add dword [ebp - 4], 7
mov eax, dword [ebp - 4]
shl eax, 2
push eax
xor esi, esi
push esi
push dword [0x428e78]
call fcn.0040b8a7
mov ecx, dword [ebp + 8]
add esp, 0xc
cmp eax, esi
mov dword [ecx], eax
je 0x40eee3
mov ecx, dword [0x421af8]
mov dword [eax], ecx
mov ecx, dword [0x421d08]
push 4
pop edx
add eax, edx
mov dword [eax], ecx
add eax, edx
mov dword [eax], 0x4b0
add eax, edx
mov dword [eax], 0x4b1
add eax, edx
mov dword [eax], 0xfde9
add eax, edx
mov dword [eax], 0xfde8
add eax, edx
xor ecx, ecx
cmp dword [ebp + ecx*4 - 0x40018], esi
je 0x40eed8
mov dword [eax], ecx
add eax, edx
inc ecx
cmp ecx, 0xffff
jle 0x40eecb
mov dword [eax], esi
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret
Function at 0x40f494
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor edi, edi
push edi
push 0x41e80c
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40f59f
mov eax, dword [ebp + 8]
push ebx
push esi
push 0x41e8c0
mov esi, 0x428e80
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [0x421024], edi
jle 0x40f578
push edi
lea eax, [ebp - 0x30]
push esi
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40f578
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x40f578
inc eax
push eax
push ebx
push dword [0x428e78]
call fcn.0040b8a7
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x40f578
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40f578
push ebx
push eax
push 0x143
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0
push dword [0x428e78]
call fcn.0040b929
add esp, 0xc
inc edi
cmp edi, dword [0x421024]
jl 0x40f4e4
xor edi, edi
cmp dword [0x421d6c], edi
je 0x40f594
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 4], eax
je 0x40f594
push 0x41e8b4
jmp 0x40f4ce
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop edi
leave
ret
Function at 0x40f5a2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor edi, edi
push edi
push str.SoftwareAkelsoftAkelPadSearch
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40f6af
mov eax, dword [ebp + 8]
push ebx
push esi
push str.find_d
mov esi, 0x426110
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [0x421024], edi
jle 0x40f688
push edi
lea eax, [ebp - 0x50]
push esi
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40f688
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x40f688
add eax, 2
push eax
push ebx
push dword [0x428e78]
call fcn.0040b8a7
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x40f688
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40f688
push ebx
push eax
push 0x143
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0
push dword [0x428e78]
call fcn.0040b929
add esp, 0xc
inc edi
cmp edi, dword [0x421024]
jl 0x40f5f2
xor edi, edi
cmp dword [0x421d6c], edi
je 0x40f6a4
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 4], eax
je 0x40f6a4
push str.replace_d
jmp 0x40f5dc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop edi
leave
ret
Function at 0x40f6b2
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
inc esi
lea eax, [esi + 1]
push eax
xor ebx, ebx
push ebx
push dword [0x428e78]
mov dword [esp + 0x20], eax
call fcn.0040b8a7
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
add esp, 0xc
cmp eax, ebx
mov dword [ecx], eax
mov dword [ebp], eax
je 0x40f7f5
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp dword [0x421024], ebx
je 0x40f78f
mov eax, dword [ebp]
cmp byte [eax], bl
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x40f731
push eax
push ebx
push 0x158
push edi
call esi
cmp eax, 0xffffffff
je 0x40f769
push ebx
push eax
push 0x144
push edi
call esi
jmp 0x40f769
push ebx
mov dword [esp + 0x14], ebx
push ebx
mov ebp, 0x149
jmp 0x40f74b
cmp eax, ebx
je 0x40f758
inc dword [esp + 0x10]
push ebx
push dword [esp + 0x14]
push ebp
push edi
call esi
cmp eax, 0xffffffff
jne 0x40f73e
cmp eax, ebx
jne 0x40f765
push ebx
push dword [esp + 0x14]
push 0x144
push edi
call esi
mov ebp, dword [esp + 0x20]
mov eax, dword [0x421024]
push ebx
dec eax
push eax
push 0x144
push edi
call esi
push dword [ebp]
push ebx
push 0x14a
push edi
call esi
push ebx
push ebx
push 0x14e
push edi
call esi
test byte [0x421022], 0x80
je 0x40f7fe
push dword [esp + 0x14]
push ebx
push dword [0x428e78]
call fcn.0040b8a7
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp eax, ebx
mov dword [ecx], eax
je 0x40f7f5
push eax
push dword [ebp]
call fcn.00408411
test eax, eax
pop ecx
pop ecx
jne 0x40f7fe
push 0x400
mov esi, 0x428e80
push esi
push 8
push dword [0x429b9c]
call fcn.0040b4e0
add esp, 0x10
push 0x10
push 0x41d4d8
push esi
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
xor eax, eax
inc eax
jmp 0x40f7f7
Function at 0x40f803
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi + 2]
push eax
xor ebx, ebx
push ebx
push dword [0x428e78]
mov dword [esp + 0x20], eax
call fcn.0040b8a7
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
add esp, 0xc
cmp eax, ebx
mov dword [ecx], eax
mov dword [ebp], eax
je 0x40f948
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x421024], ebx
je 0x40f8e2
mov eax, dword [ebp]
cmp word [eax], bx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x40f882
push eax
push ebx
push 0x158
push esi
call edi
cmp eax, 0xffffffff
je 0x40f8b5
push ebx
push eax
jmp 0x40f8ad
push ebx
mov dword [esp + 0x14], ebx
push ebx
jmp 0x40f897
cmp eax, ebx
je 0x40f8a8
inc dword [esp + 0x10]
push ebx
push dword [esp + 0x14]
push 0x149
push esi
call edi
cmp eax, 0xffffffff
jne 0x40f88a
cmp eax, ebx
jne 0x40f8b5
push ebx
push dword [esp + 0x14]
push 0x144
push esi
call ebp
mov eax, dword [0x421024]
push ebx
dec eax
push eax
push 0x144
push esi
call ebp
mov eax, dword [esp + 0x20]
push dword [eax]
push ebx
push 0x14a
push esi
call edi
push ebx
push ebx
push 0x14e
push esi
call ebp
mov ebp, dword [esp + 0x20]
test byte [0x421022], 0x80
je 0x40f951
push dword [esp + 0x14]
push ebx
push dword [0x428e78]
call fcn.0040b8a7
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp eax, ebx
mov dword [ecx], eax
je 0x40f948
push eax
push dword [ebp]
call fcn.0040849e
test eax, eax
pop ecx
pop ecx
jne 0x40f951
push 0x400
mov edi, 0x426110
push edi
push 8
push dword [0x429b9c]
call fcn.0040b51d
add esp, 0x10
push 0x10
push 0x41d510
push edi
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
xor eax, eax
inc eax
jmp 0x40f94a
Function at 0x40f956
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
xor esi, esi
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x41e80c
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40fa5c
mov eax, dword [ebp + 8]
push ebx
push edi
push 0x41e8c0
mov ebx, 0x428e80
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x421024], 0
jle 0x40fa2a
push esi
lea eax, [ebp - 0x30]
push ebx
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push esi
push 0x149
push dword [ebp - 4]
call edi
cmp eax, 0xffffffff
je 0x40fa2a
inc eax
mov dword [ebp - 0x10], eax
inc eax
push eax
push 0
push dword [0x428e78]
call fcn.0040b8a7
add esp, 0xc
test eax, eax
mov dword [ebp - 8], eax
je 0x40fa2a
push eax
push esi
push 0x148
push dword [ebp - 4]
call edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
push dword [ebp - 8]
push 1
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
push 0
push dword [0x428e78]
call fcn.0040b929
add esp, 0xc
inc esi
cmp esi, dword [0x421024]
jl 0x40f9ad
cmp dword [0x421d6c], 0
je 0x40fa51
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 4], eax
je 0x40fa51
push 0x41e8b4
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor esi, esi
jmp 0x40f9a4
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
leave
ret
Function at 0x40fa5f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
xor esi, esi
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareAkelsoftAkelPadSearch
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40fb72
mov eax, dword [ebp + 8]
push ebx
push edi
push str.find_d
mov ebx, 0x426110
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x421024], 0
jle 0x40fb40
push esi
lea eax, [ebp - 0x50]
push ebx
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push esi
push 0x149
push dword [ebp - 4]
call edi
cmp eax, 0xffffffff
je 0x40fb40
lea eax, [eax + eax + 2]
mov dword [ebp - 0x10], eax
add eax, 2
push eax
push 0
push dword [0x428e78]
call fcn.0040b8a7
add esp, 0xc
test eax, eax
mov dword [ebp - 8], eax
je 0x40fb40
push eax
push esi
push 0x148
push dword [ebp - 4]
call edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x50]
push dword [ebp - 8]
push 1
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
push 0
push dword [0x428e78]
call fcn.0040b929
add esp, 0xc
inc esi
cmp esi, dword [0x421024]
jl 0x40faba
cmp dword [0x421d6c], 0
je 0x40fb67
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 4], eax
je 0x40fb67
push str.replace_d
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor esi, esi
jmp 0x40faad
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4104d0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x144
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_DeleteMenu]
xor ebx, ebx
push edi
mov dword [0x42bf88], ebx
mov edi, 0x1772
jmp 0x4104f0
inc edi
push ebx
push edi
push dword [0x4269d4]
call esi
test eax, eax
jne 0x4104ef
push 0x42d510
push 0x41e8ec
mov edi, 0x428e80
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
mov ebp, 0x1771
je 0x4105b8
xor ebx, ebx
inc ebx
lea eax, [esp + 0x40]
push eax
push 0x42bc78
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov esi, eax
neg esi
sbb esi, esi
lea eax, [esp + 0x40]
push edi
and esi, 0xfffffff8
push eax
add esi, 8
call fcn.0040ae26
pop ecx
pop ecx
push edi
lea eax, [ebx + 0x1771]
push eax
push esi
push ebp
push dword [0x4269d4]
call dword [sym.imp.USER32.dll_InsertMenuA]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
inc ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x410538
push 0
lea eax, [ebx - 1]
add ebx, 0x1771
push ebx
push 0x800
push ebp
push dword [0x4269d4]
mov dword [0x42bf88], eax
call dword [sym.imp.USER32.dll_InsertMenuA]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x400
push edi
push 0x39
push dword [0x429b9c]
call fcn.0040b4e0
mov al, byte [0x42bc78]
add esp, 0x10
neg al
push edi
push ebp
sbb eax, eax
and eax, 0xfffffff8
add eax, 8
push eax
push ebp
push dword [0x4269d4]
call dword [sym.imp.USER32.dll_ModifyMenuA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret