joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6451ba20
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esp + 8], 0x1c4
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6451baba
test edi, edi
mov dword [eax], fcn.6451b710
mov ebx, eax
cmove edi, eax
mov dword [eax + 4], 0x64528de0
mov dword [eax + 8], 0x64528da0
mov dword [eax + 0xc], 0x64528d60
mov dword [eax + 0x14], 1
mov dword [eax + 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.6451b710
mov esi, eax
mov eax, dword [ebx]
sub esp, 0xc
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, 0x80044067
jmp 0x6451bab0

Function at 0x645236e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x22c
mov eax, dword [0x64538100]
test eax, eax
je 0x64523798
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x64523720
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x220]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x6452370c
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x645237cd
mov dword [esp + 4], 0x6452fbbc
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x64538100], eax
sub esp, 8
test eax, eax
jne 0x645236fd
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x6452370e
Function at 0x402d1e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x402cd7
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
leave
ret 4

Function at 0x403c80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push esi
stosd dword es:[edi], eax
push esi
push esi
xor eax, eax
inc eax
push esi
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push esi
push dword [eax + 0x5e0]
push dword [eax + 0x5dc]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp edi, esi
je 0x403cf2
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
jmp 0x403d02
push str.CBugReportInfo::RestartCrashProcess_Fail_
mov ecx, str.BugReport
call fcn.00416d9e
pop ecx
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x406aae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x406b05
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x406af7
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x406af3
cmp edi, eax
jae 0x406af7
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x406ae5
cmp edi, eax
jb 0x406afb
xor eax, eax
jmp 0x406b04
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x4070d8
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x420189
call fcn.0041fbf4
and dword [ebp - 0x10], 0
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x407139
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
inc eax
push eax
push eax
lea esi, [ebp - 0x10]
call fcn.00401409
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
or eax, 0xffffffff
call fcn.0040583a
mov esi, dword [ebp - 0x10]
lea eax, [esi - 0x10]
call fcn.00405f8b
add eax, 0x10
mov dword [edi], eax
lea eax, [esi - 0x10]
call fcn.00401613
mov eax, edi
call fcn.0041fccc
ret 8
Function at 0x413723
Capabilities:
Encode data using xor

Disassembly:
daa
aam 0xdb
in al, dx
and byte [ecx + 0x6a5256dc], ah
adc ah, byte [esi]
aad 0x14
adc eax, 0x26dea576
inc ecx
push edi
dec ebp
imul eax, dword [ebp - 0x51], 0x8cdbb4a5
xchg ebx, eax
ficomp dword [eax]
mov dword [edx + edi + 0x14b5a6a6], esp
mov ch, 0x14
dec esp
imul ebp, dword [ecx + 0x2a], 0xd8c6d2cc
add dword [edi + 0x57], edx
shr byte [edx + 0xa], cl
cmpsb byte [esi], byte es:[edi]
aam 0xb4
cmp al, dh
cmp byte [ebp - 0x6b7c4c72], ah
xor ch, byte [esi + 0x4c34d464]
stosd dword es:[edi], eax
sbb dword [edx], ebp
in al, dx
dec edx
sbb eax, 0xcd574127
push 0xb465af45
jno 0x413740
imul ebp, dword [ebp - 0x7e], 0x509d5a44
mov bl, 0x5a
push es
mov ah, 0x2c
adc eax, 0x9c636966
add byte [esi - 0xdf16342], bl
lodsb al, byte [esi]
mov ecx, 0x18e0e91b
jecxz 0x4137ee
jo 0x413738
adc edx, dword [eax + 0x4ce5c792]
xor byte [0x150cc1d3], cl
dec esi
inc ebp
jo 0x413748
add al, 0xdd
pushal
inc esi
sub dword [edx + 0x25], edi
mov dword [0x2b4e338c], eax
adc esp, dword [edx + edx*8]
ror dword [ecx - 0x3f36a9a0], 0x8c
xchg edx, eax
movsd dword es:[edi], dword [esi]
ret 0x652c
dec edx
dec esi
cdq
pushfd
push ebp
cmpsb byte [esi], byte es:[edi]
dec eax
adc dword fs:[ebx - 0x3f], 0x16
and eax, 0xb4a7307
adc eax, 0xec132966
sub byte [ebx + 0x5335592b], 0xf0
push 0x56
popfd
pushal
pushfd
push ecx
daa
fld dword [ecx + 0x46]
cdq
push esp
jb 0x413884
push ss
aad 0x1c
adc eax, 0x924ea576
mov al, byte [0xa2b4e6ab]
xlatb
jb 0x413805
and al, 0xe3
lodsb al, byte [esi]
inc ebp
and ch, byte [ebx + 0x5a2da94e]
push cs
out 0xb4, al
push ss
sub cl, ah
shl byte [esi + 0x575701d8], cl
pop edx
aam 0x1c
int3
xlatb
ficomp dword [ebp - 0x3a]
sub eax, 0x2d123dda
ljmp 0xbcc3
or edi, dword [ebp - 0x3e]
js 0x4138d6
dec ebp
call 0x6b8997b8
mov ah, 0xab
jl 0x4138a1
dec eax
imul esi, dword [ebx + ebp*4 + 0xf3d0f7c], 0xffffffeb
inc ebx
jne 0x41389d
cmp eax, 0x7543eb0f
add eax, 0xbea7aa1f
push es
pop ds
stosb byte es:[edi], al
cmpsd dword [esi], dword es:[edi]
mov esi, 0x8e4abd06
dec esp
mov ebp, 0xa84c8e4a
pop esi
dec edx
mov cs, word [eax + ebp*4 + 0x5e]
test al, 0x5e
das
jp 0x413863
pop esi
mov edi, 0xbf4eb8ca
inc esi
mov byte [0xd42d742e], al
mov al, byte [0xbd7ac3d7]
or dword [edx], 0x7c6bf4b3
invalid
fidiv dword [ebp - 0x13]
das
call 0xf472e654
pop ss
fcom dword [eax]
push 0xffffffffffffffa4
into
mov bh, 0x4d
call 0xa1737226
inc esi
mov ebp, 0xfd46f5e8
cmp ah, bl
push es
std
push es
mov dword [esi - 0x582f7230], eax
call 0xff9d898f
adc al, 0xae
xlatb
jecxz 0x41388c
mov edx, 0x82b21ebe
jle 0x41389b
popfd
mov cl, 0x2b
mov ebp, 0xf05f5c21
loope 0x41389e
invalid
Function at 0x406e5b
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get common file path
Read .ini file
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
lea eax, [ebp - 0x13e]
push eax
push 0x410d8d
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 0x144], eax
cmp eax, 0xffffffff
je 0x4070ad
lea eax, [ebp - 0x13e]
push eax
push dword [ebp - 0x144]
call sub.KERNEL32.DLL_FindNextFileA
or eax, eax
je 0x4070a2
mov eax, dword [ebp - 0x13e]
test ax, 2
jne 0x406e84
test ax, 0x10
jne 0x407018
push dword [0x412c1c]
pop dword [0x4128f0]
lea eax, [ebp - 0x112]
mov dword [0x412908], eax
mov dword [0x412910], 0xfffffffe
mov dword [0x412914], 1
mov dword [0x4128f4], 0
push 0x4128f0
push 0
push 0x1100
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
mov dword [ebp - 0x148], eax
cmp byte [ebp + 0xc], 0
je 0x407000
push 0x4116ff
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push 0x410e60
push 0x4116ff
call sub.KERNEL32.DLL_lstrcatA
lea eax, [ebp - 0x112]
push eax
push 0x4116ff
call sub.KERNEL32.DLL_lstrcatA
push 0x411907
call sub.KERNEL32.DLL_lstrlenA
inc eax
add eax, 0x4116ff
mov dword [ebp - 0x14c], eax
push 0x411a0b
push 0x100
push dword [0x412c4d]
push 0x4112fa
push dword [ebp - 0x14c]
push str.Shortcuts
call sub.KERNEL32.DLL_GetPrivateProfileStringA
or eax, eax
je 0x407000
mov esi, dword [0x412c4d]
mov ecx, dword [0x412c41]
cmp dword [ecx], 0
je 0x406f95
add ecx, 9
jmp 0x406f8b
mov edx, dword [ebp - 0x148]
mov dword [ecx], edx
lodsb al, byte [esi]
cmp al, 0x64
jne 0x406fa8
mov byte [ecx + 4], 1
jmp 0x406fce
cmp al, 0x73
jne 0x406fb2
mov byte [ecx + 5], 1
jmp 0x406fce
cmp al, 0x6d
jne 0x406fbc
mov byte [ecx + 6], 1
jmp 0x406fce
cmp al, 0x70
jne 0x406fc6
mov byte [ecx + 7], 1
jmp 0x406fce
cmp al, 0x71
jne 0x406fce
mov byte [ecx + 8], 1
cmp al, 0
jne 0x406f9d
mov dword [0x412928], edx
mov dword [0x41293c], 2
mov dword [0x412924], 0x12
push 0x412924
push 0
push 0x110d
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
cmp byte [0x412c94], 0
jne 0x406e84
inc byte [0x412c94]
jmp 0x406e84
lea eax, [ebp - 0x112]
cmp byte [eax], 0x2e
je 0x406e84
push dword [0x412c1c]
pop dword [0x4128f0]
mov dword [0x412908], eax
mov dword [0x412910], 3
mov dword [0x412914], 4
mov dword [0x4128f4], 0xffff0001
push 0x4128f0
push 0
push 0x1100
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
push dword [0x412c1c]
mov dword [0x412c1c], eax
lea eax, [ebp - 0x112]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov al, byte [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.00406e5b
push 0x410d93
call sub.KERNEL32.DLL_SetCurrentDirectoryA
pop dword [0x412c1c]
jmp 0x406e84
push dword [ebp - 0x144]
call sub.KERNEL32.DLL_FindClose
leave
ret 8
Function at 0x4090b7
Capabilities:
Get common file path
Get graphical window text
Query environment variable
Query or enumerate registry value

Disassembly:
push 0
push 0
push 0x147
push dword [0x412b64]
call sub.user32.dll_SendMessageA
or eax, eax
jne 0x4090eb
mov eax, str.SystemDrive
push 0x100
push 0x4116ff
push eax
call sub.KERNEL32.DLL_GetEnvironmentVariableA
jmp 0x40914a
cmp eax, 1
jne 0x409169
push str.ProgramFilesDir
push 0x412c29
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
pop eax
mov dword [0x412cd8], 0x104
push 0x412cd8
push 0x4116ff
push 0
push 0
push eax
push dword [0x412c29]
call sub.advapi32.dll_RegQueryValueExA
push dword [0x412c29]
call sub.advapi32.dll_RegCloseKey
push 0x4116ff
call sub.KERNEL32.DLL_lstrlenA
add eax, 0x411700
mov byte [eax - 1], 0x5c
push 0x80
push eax
push dword [0x412b6c]
call sub.user32.dll_GetWindowTextA
jmp 0x409233
cmp eax, 2
jne 0x40917a
push str.CommonFilesDir
jmp 0x4090f5
cmp eax, 3
jne 0x409195
push 0x104
push 0x4116ff
call sub.KERNEL32.DLL_GetWindowsDirectoryA
jmp 0x40914a
cmp eax, 4
jne 0x4091b0
push 0x104
push 0x4116ff
call sub.KERNEL32.DLL_GetSystemDirectoryA
jmp 0x40914a
cmp eax, 5
jne 0x4091c1
mov eax, str.UserProfile
jmp 0x4090d4
cmp eax, 6
jne 0x4091d2
mov eax, str.AppData
jmp 0x4090d4
cmp eax, 7
jne 0x409200
mov eax, 5
push 0x412c29
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
push 0x4116ff
push dword [0x412c29]
call sub.shell32.dll_SHGetPathFromIDListA
jmp 0x409140
cmp eax, 8
jne 0x40920e
mov eax, 0x10
jmp 0x4091dc
cmp eax, 9
jne 0x409229
push 0x4116ff
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
jmp 0x40914a
mov eax, 0x4116ff
jmp 0x409153
mov esi, 0x4116ff
mov dword [0x412d2a], 0x8000
xor ecx, ecx
lodsb al, byte [esi]
cmp al, 0
je 0x409279
cmp al, 0x22
je 0x40926f
cmp al, 0x2a
je 0x40926f
cmp al, 0x2f
je 0x40926f
cmp al, 0x3c
je 0x40926f
cmp al, 0x3e
je 0x40926f
cmp al, 0x3f
je 0x40926f
cmp al, 0x7c
je 0x40926f
cmp al, 0x3a
jne 0x409244
inc ecx
cmp cl, 2
jne 0x409244
mov dword [0x412d2a], 0xff
push 0x4116ff
push dword [0x412bfc]
call sub.user32.dll_SetWindowTextA
push 1
push 0x412834
push dword [0x412ac0]
call sub.user32.dll_InvalidateRect
ret
Function at 0x40933e
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 0x410d8f
push eax
call sub.KERNEL32.DLL_lstrcatA
lea eax, [ebp - 0x242]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 0x248], eax
cmp eax, 0xffffffff
jne 0x40939e
jmp 0x409468
lea eax, [ebp - 0x242]
push eax
push dword [ebp - 0x248]
call sub.KERNEL32.DLL_FindNextFileA
or eax, eax
je 0x40945d
mov eax, dword [ebp - 0x242]
test ax, 2
jne 0x409384
test ax, 0x10
je 0x4093f6
lea eax, [ebp - 0x216]
cmp byte [eax], 0x2e
je 0x409384
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.DLL_lstrcpyA
lea eax, [ebp - 0x216]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.DLL_lstrcatA
push 0x410e60
push eax
call sub.KERNEL32.DLL_lstrcatA
push eax
call fcn.0040933e
inc dword [0x412d01]
jmp 0x409384
lea eax, [ebp - 0x216]
push eax
push 0x411803
call sub.KERNEL32.DLL_lstrcpyA
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 0x411803
push eax
call sub.KERNEL32.DLL_lstrcatA
push 0
push eax
call sub.KERNEL32.DLL__lopen
cmp eax, 0xffffffff
je 0x409384
push eax
call sub.KERNEL32.DLL__lclose
mov eax, dword [ebp - 0x222]
xor edx, edx
mov ebx, 0x100000
div ebx
or edx, edx
je 0x40944c
inc eax
add dword [0x412d11], eax
inc dword [0x412cfd]
jmp 0x409384
push dword [ebp - 0x248]
call sub.KERNEL32.DLL_FindClose
leave
ret 4
Function at 0x40df9f
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
add edi, 0x50
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
leave
ret 4

Function at 0x40e06e
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
cld
push esi
push edi
push ebx
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x50]
mov ebx, eax
and ebx, 0x3f
mov edx, dword [edi + 0x54]
add eax, eax
adc edx, edx
add eax, eax
adc edx, edx
add eax, eax
adc edx, edx
cmp ebx, 0x38
jb 0x40e105
mov ecx, 0x40
sub ecx, ebx
add edi, 0x10
add edi, ebx
mov esi, 0x40e74b
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov esi, edi
add edi, 0x10
call fcn.0040e162
mov ebx, edi
mov dword [edi + 0x38], eax
xor eax, eax
mov ecx, 0xe
rep stosd dword es:[edi], eax
mov dword [edi + 4], edx
mov edi, ebx
call fcn.0040e162
mov ecx, 4
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
add edi, 0x50
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ebx
pop edi
pop esi
leave
ret 8
mov ecx, 0x38
sub ecx, ebx
mov esi, 0x40e74b
add edi, 0x10
add edi, ebx
rep movsb byte es:[edi], byte [esi]
stosd dword es:[edi], eax
mov eax, edx
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov esi, edi
add edi, 0x10
call fcn.0040e162
mov ecx, 4
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
add edi, 0x50
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x404637
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov word [esi + 0x1a], bx
push 0x7e
push esi
call fcn.00403291
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], ebx
jmp 0x4046bd
cmp ebx, dword [esi]
jne 0x404663
cmp ebx, edi
jge 0x404663
mov edi, ebx
mov eax, ebx
sub eax, edi
je 0x404680
dec eax
je 0x40467b
dec eax
je 0x404676
add ebx, dword [ebp + 0xc]
mov bl, byte [ebx]
jmp 0x40468f
mov bl, byte [esi + 0x1a]
jmp 0x404699
mov bl, byte [esi + 0x1b]
jmp 0x404699
mov bl, byte [esi + 0x18]
test edi, edi
je 0x40468f
cmp edi, dword [ebp + 0x10]
jne 0x40468f
or bl, 8
movzx eax, bl
push eax
push esi
call fcn.00404610
movzx eax, bl
bt dword [0x405190], eax
jae 0x4046b0
push 0x7d
push esi
call fcn.00403291
xor bl, 0x20
movzx eax, bl
push eax
push esi
call fcn.00403291
inc dword [ebp - 8]
lea eax, [edi + 3]
cmp dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
jl 0x404659
push 0x7e
push esi
call fcn.00403291
push esi
call fcn.004031a1
movzx ecx, byte [esi + 0x18]
shr ecx, 4
and cl, 7
mov edi, ecx
lea eax, [esi + 0x18]
push eax
call fcn.00404a48
mov eax, dword [ebp + 0xc]
mov dword [esi + edi*4 + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + edi*4 + 0x3c], eax
lea eax, [ebx - 3]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x417c80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x490c0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004851ad
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x417d02
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00482f90
mov eax, dword [eax]
push 0x4beca0
push eax
call fcn.00474734
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00485438
test bl, bl
je 0x417d02
push 0x4beca0
lea ecx, [esp + 0xc]
call fcn.004857c8
push 0x4becac
lea ecx, [esp + 0xc]
call fcn.004857c8
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x417d3e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00485438
jmp 0x417e09
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x417dc2
lea edx, [esp + 0x7c]
push 0x4beca8
push edx
call fcn.00474734
add esp, 8
test eax, eax
je 0x417dc2
lea eax, [esp + 0x7c]
push 0x4beca4
push eax
call fcn.00474734
add esp, 8
test eax, eax
je 0x417dc2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x417d52
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00485438
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x418600
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x418662
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x418670
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x490c8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c8bf8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4187a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4186d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00485438
xor eax, eax
jmp 0x41881f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00485575
push esi
lea ecx, [esp + 0xc]
call fcn.00485804
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4187fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00418600
test eax, eax
jne 0x4187fd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00418600
test eax, eax
jne 0x4187fd
lea eax, [esp + 0x14]
push 0x4becbc
push eax
call fcn.004758a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4187dc
lea ecx, [esp + 0x14]
push 0x4becb8
push ecx
call fcn.00475820
mov esi, eax
add esp, 8
test esi, esi
jne 0x4187dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4187df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00485525
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4186ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00485438
xor eax, eax
jmp 0x41881f
mov byte [esi], 0
push 0x4becb4
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00485438
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4