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

Disassembly:
sub esp, 0x10
mov al, byte [0x428fc0]
xor ecx, ecx
mov dword [esp + 1], ecx
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 9], ecx
mov dword [esp + 0xd], ecx
mov byte [esp + 4], al
mov word [esp + 0x11], cx
test edi, edi
mov byte [esp + 0x13], cl
jne 0x413de0
lea edi, [esp + 4]
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jl 0x413e48
push ebx
push ebp
shr eax, 4
push esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x28]
mov ebp, esi
sub ecx, edi
mov eax, edi
sub ebp, edi
mov edx, 0x10
mov bl, byte [ecx + eax]
xor bl, byte [eax]
inc eax
dec edx
mov byte [eax + ebp - 1], bl
jne 0x413e08
mov edx, dword [esp + 0x24]
push esi
push esi
push 1
push edx
call fcn.00413200
push 0x10
push esi
push edi
call fcn.00412df0
add esi, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
add edx, 0x10
dec eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], eax
jne 0x413df7
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret 0x14

Function at 0x413e50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov al, byte [0x428fc0]
xor ecx, ecx
mov dword [esp + 1], ecx
push ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 9], ecx
mov dword [esp + 0xd], ecx
mov byte [esp + 4], al
mov word [esp + 0x11], cx
test ebp, ebp
mov byte [esp + 0x13], cl
jne 0x413e80
lea ebp, [esp + 4]
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jl 0x413efb
mov edx, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x30]
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, ebp
add edx, 0x118
sub edi, esi
mov dword [esp + 0x40], edx
shr eax, 4
mov dword [esp + 0x44], eax
push 0x10
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.00412df0
push esi
push ebx
mov ecx, dword [esp + 0x48]
push 0
push ecx
call fcn.00413200
mov eax, 0x10
mov dl, byte [edi + esi]
mov cl, byte [esi]
xor cl, dl
mov byte [esi], cl
inc esi
dec eax
jne 0x413ecd
lea eax, [esp + 0x20]
push 0x10
push eax
push ebp
call fcn.00412df0
add ebx, 0x10
sub edi, 0x10
mov eax, dword [esp + 0x44]
dec eax
mov dword [esp + 0x44], eax
jne 0x413ead
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x20
ret 0x14
Function at 0x4143a0
Capabilities:
Check internet connectivity via wininet

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
test esi, esi
jne 0x4143b9
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret 8
lea eax, [esp + 0xc]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x4143d3
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
test byte [esp + 0xc], 7
jne 0x4143e5
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret 8
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call ebx
mov dword [esp + 0x1c], eax
xor edi, edi
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push edx
push edi
call fcn.00414110
test eax, eax
jne 0x41441d
inc edi
cmp edi, 8
jl 0x414403
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
or eax, ecx
jne 0x414434
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret 8
call ebx
mov ecx, dword [esp + 0x1c]
lea edx, [eax + eax*4]
cmp eax, ecx
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
jae 0x414491
shl edx, 4
mov edi, edx
lea edx, [ecx + ecx*4]
mov ebx, dword [esp + 0x10]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
shl edx, 4
sub edx, edi
xor edi, edi
add edx, ebx
mov ebx, dword [esp + 0x14]
mov dword [esi], edx
mov edx, dword [esp + 0x20]
adc edi, ebx
test edx, edx
mov dword [esi + 4], edi
je 0x4144ca
sub ecx, eax
pop edi
shr ecx, 1
add ecx, eax
pop esi
mov dword [edx], ecx
mov eax, 1
pop ebx
add esp, 0xc
ret 8
shl edx, 4
mov edi, edx
lea edx, [ecx + ecx*4]
mov ebx, dword [esp + 0x10]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
shl edx, 4
sub edi, edx
xor edx, edx
add edi, ebx
mov ebx, dword [esp + 0x14]
adc edx, ebx
mov dword [esi], edi
mov dword [esi + 4], edx
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4144ca
sub eax, ecx
shr eax, 1
add eax, ecx
mov dword [edx], eax
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xc
ret 8
Function at 0x414850
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x28c
mov dx, word [0x428280]
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x92]
mov word [esp + 0x90], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [esp + 0x94]
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
add esp, 0xc
lea ecx, [esp + 0xc]
lea edx, [esp + 0x90]
push ecx
push edx
push connect
call edi
test eax, eax
jne 0x414970
mov ecx, dword [esp + 0x29c]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push 0x40
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x414967
mov eax, dword [esp + 0xc]
push eax
call ebx
mov esi, dword [sym.imp.MSVCRT.dll_wcsncat]
push 0x104
lea ecx, [esp + 0x94]
push 0x426124
push ecx
call esi
lea edx, [esp + 0x1c]
push 0x104
lea eax, [esp + 0xa0]
push edx
push eax
call esi
add esp, 0x18
lea ecx, [esp + 0xc]
lea edx, [esp + 0x90]
push ecx
push edx
push connect
call edi
test eax, eax
jne 0x414970
mov ecx, dword [esp + 0x2a0]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x2a4]
push eax
push ecx
push 0
push 0
push str.ServiceName
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
call ebx
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x28c
ret 0xc
Function at 0x415040
Capabilities:
Get common file path
Get disk information via ioctl

Disassembly:
sub esp, 0x238
mov ecx, dword [str..C:]
mov eax, dword [0x427ca4]
mov dword [esp + 8], ecx
mov edx, dword [0x427cac]
xor ecx, ecx
mov dword [esp + 4], eax
mov ax, word [0x427cb0]
mov dword [esp + 0x12], ecx
mov dword [esp + 0x16], ecx
push ebx
mov dword [esp + 0x1e], ecx
mov dword [esp + 0x10], edx
mov dx, word [0x428280]
mov dword [esp + 0x22], ecx
push edi
mov word [esp + 0x18], ax
mov word [esp + 0x2a], cx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x3a]
mov word [esp + 0x38], dx
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x38]
push 0x104
push eax
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4150c5
pop edi
pop ebx
add esp, 0x238
ret
mov cx, word [esp + 0x38]
push esi
push ebx
push 0x80
push 3
push ebx
push 3
lea edx, [esp + 0x24]
push 0xc0000000
push edx
mov word [esp + 0x34], cx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x415115
lea eax, [esp + 0xc]
push ebx
push eax
lea ecx, [esp + 0x38]
push 0xc
push ecx
push ebx
push ebx
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x415115
mov ebx, dword [esp + 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebx
pop edi
pop ebx
add esp, 0x238
ret
Function at 0x415970
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
xor eax, eax
push ebx
mov dword [esp + 5], eax
push ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0xd], eax
mov dword [esp + 0x11], eax
push esi
mov word [esp + 0x19], ax
push edi
test ebp, ebp
mov byte [esp + 0x10], 0
mov byte [esp + 0x1f], al
jne 0x4159aa
pop edi
pop esi
pop ebp
mov eax, 0x57
pop ebx
add esp, 0x10
ret 0x10
cmp dword [ebp], 0x280
je 0x4159c2
pop edi
pop esi
pop ebp
mov eax, 0x57
pop ebx
add esp, 0x10
ret 0x10
mov ecx, dword [ebp + 0x24c]
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jb 0x415b04
mov eax, dword [esp + 0x28]
test eax, eax
je 0x415b04
mov ecx, dword [ebp + 4]
push 0
push 0
push 0x100
push ecx
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0x100
je 0x415a12
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
mov esi, dword [ebp + 0x24c]
add esi, 0xf
shr esi, 4
shl esi, 4
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea edx, [esp + 0x24]
push 0
mov ebx, eax
mov eax, dword [ebp + 4]
push edx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x415a5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x415a7c
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
mov eax, 0x1e
pop ebx
add esp, 0x10
ret 0x10
push 0
push eax
push ebx
lea ecx, [ebp + 8]
push ebx
push ecx
call fcn.00417750
mov eax, dword [ebp + 0x24c]
lea edx, [esp + 0x10]
push edx
push eax
push ebx
call fcn.004093d0
mov ecx, 4
lea edi, [ebp + 0x250]
lea esi, [esp + 0x10]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x415ac7
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
mov eax, 0x17
pop ebx
add esp, 0x10
ret 0x10
mov ecx, dword [ebp + 0x24c]
mov edi, dword [esp + 0x28]
mov eax, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x30]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x415af1
mov ecx, dword [ebp + 0x24c]
mov dword [eax], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
mov eax, dword [esp + 0x30]
test eax, eax
je 0x415b0e
mov dword [eax], ecx
pop edi
pop esi
pop ebp
mov eax, 0xea
pop ebx
add esp, 0x10
ret 0x10
Function at 0x4160a0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x58
mov eax, dword [esp + 0x5c]
push ebx
push ebp
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4160d7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x58
ret 8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
test ebp, ebp
jne 0x4160f9
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x58
ret 8
push 0x100000
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x41611f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x58
ret 8
lea ecx, [esp + 0x10]
push ecx
call fcn.00409250
test ebp, ebp
jbe 0x416161
lea edx, [esp + 0x6c]
push 0
push edx
push 0x100000
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x416161
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x416161
push eax
lea eax, [esp + 0x14]
push esi
push eax
call fcn.00409280
add edi, dword [esp + 0x6c]
cmp edi, ebp
jb 0x41612d
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.00409350
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x58
ret 8
Function at 0x4169d0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 0x10]
cmp eax, 0x10
je 0x4169ff
cmp eax, 0x18
je 0x4169f3
cmp eax, 0x20
jne 0x416afa
mov eax, dword [esp + 4]
mov dword [eax], 0xe
jmp 0x416a09
mov eax, dword [esp + 4]
mov dword [eax], 0xc
jmp 0x416a09
mov eax, dword [esp + 4]
mov dword [eax], 0xa
mov ecx, dword [esp + 8]
push ebx
push esi
push edi
lea edi, [eax + 8]
mov dword [eax + 4], edi
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
add edi, 4
shl esi, 4
add esi, ebx
add edi, 4
add edi, 4
mov ecx, dword [esi]
add esi, 4
mov dword [edi - 0xc], ecx
add edi, 4
mov edx, dword [esi]
add esi, 4
mov dword [edi - 0xc], edx
mov ecx, dword [esi]
add esi, 4
mov dword [edi - 8], ecx
mov edx, dword [esi]
sub esi, 0x1c
mov dword [edi - 4], edx
mov eax, dword [eax]
dec eax
test eax, eax
jbe 0x416ad8
push ebp
mov dword [esp + 0x14], eax
mov ebp, 4
mov eax, dword [esi]
xor ecx, ecx
mov dword [esp + 0x20], eax
xor edx, edx
mov cl, byte [esp + 0x22]
xor ebx, ebx
add edi, 4
add esi, 4
mov dl, byte [ecx + 0x421014]
xor ecx, ecx
mov cl, ah
mov edx, dword [edx*4 + 0x422a14]
mov bl, byte [ecx + 0x421014]
mov ecx, dword [ebx*4 + 0x422614]
xor ebx, ebx
xor edx, ecx
mov ecx, eax
shr ecx, 0x18
and eax, 0xff
mov bl, byte [ecx + 0x421014]
mov ecx, dword [ebx*4 + 0x422e14]
xor edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x421014]
mov ebx, dword [ecx*4 + 0x422214]
xor edx, ebx
dec ebp
mov dword [edi - 4], edx
jne 0x416a61
mov eax, dword [esp + 0x14]
sub esi, 0x20
dec eax
mov dword [esp + 0x14], eax
jne 0x416a5c
pop ebp
mov edx, dword [esi]
add esi, 4
mov dword [edi], edx
add edi, 4
mov eax, dword [esi]
mov dword [edi], eax
mov ecx, dword [esi + 4]
add edi, 4
add esi, 4
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x4176b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov al, byte [0x428fc0]
xor ecx, ecx
mov dword [esp + 1], ecx
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 9], ecx
mov dword [esp + 0xd], ecx
mov byte [esp + 4], al
mov word [esp + 0x11], cx
test edi, edi
mov byte [esp + 0x13], cl
jne 0x4176e0
lea edi, [esp + 4]
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jl 0x417748
push ebx
push ebp
shr eax, 4
push esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x28]
mov ebp, esi
sub ecx, edi
mov eax, edi
sub ebp, edi
mov edx, 0x10
mov bl, byte [ecx + eax]
xor bl, byte [eax]
inc eax
dec edx
mov byte [eax + ebp - 1], bl
jne 0x417708
mov edx, dword [esp + 0x24]
push esi
push esi
push 1
push edx
call fcn.00416b00
push 0x10
push esi
push edi
call fcn.004166f0
add esi, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
add edx, 0x10
dec eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], eax
jne 0x4176f7
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret 0x14

Function at 0x417750
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov al, byte [0x428fc0]
xor ecx, ecx
mov dword [esp + 1], ecx
push ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 9], ecx
mov dword [esp + 0xd], ecx
mov byte [esp + 4], al
mov word [esp + 0x11], cx
test ebp, ebp
mov byte [esp + 0x13], cl
jne 0x417780
lea ebp, [esp + 4]
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jl 0x4177fb
mov edx, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x30]
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, ebp
add edx, 0x118
sub edi, esi
mov dword [esp + 0x40], edx
shr eax, 4
mov dword [esp + 0x44], eax
push 0x10
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.004166f0
push esi
push ebx
mov ecx, dword [esp + 0x48]
push 0
push ecx
call fcn.00416b00
mov eax, 0x10
mov dl, byte [edi + esi]
mov cl, byte [esi]
xor cl, dl
mov byte [esi], cl
inc esi
dec eax
jne 0x4177cd
lea eax, [esp + 0x20]
push 0x10
push eax
push ebp
call fcn.004166f0
add ebx, 0x10
sub edi, 0x10
mov eax, dword [esp + 0x44]
dec eax
mov dword [esp + 0x44], eax
jne 0x4177ad
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x20
ret 0x14
Function at 0x41b5a0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x4016bd
Capabilities:
Enumerate process modules

Disassembly:
push 0x49c
mov eax, 0x432320
call fcn.0041504b
push 3
pop edi
push 0
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x4a4], eax
cmp eax, 0xffffffff
jne 0x40172c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test edi, edi
jle 0x40170f
push 0x18
pop eax
cmp esi, eax
jne 0x40170f
push 0
push 8
dec edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x4a4], eax
cmp eax, 0xffffffff
je 0x4016e4
jmp 0x401715
mov eax, dword [ebp - 0x4a4]
cmp eax, 0xffffffff
jne 0x40172c
push esi
push str.Could_not_verify_loaded_modules._Error_code:__d
call fcn.00401e18
pop ecx
pop ecx
jmp 0x4018d8
lea eax, [ebp - 0x4a4]
mov dword [ebp - 0x50], vtable.std::_Func_impl_no_alloc_class__lambda_c2fa2fd38f044bc2634cd73b430d1215___void___.0
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x2c], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x78]
and dword [ebp - 0x54], 0
mov dword [ebp - 0x4a8], eax
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00402c85
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x401783
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
and dword [ebp - 0x2c], 0
push str.Verifying_loaded_modules
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004027e8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00401ed4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00402f5c
mov esi, 0x428
lea eax, [ebp - 0x4a0]
push esi
push 0
push eax
call fcn.004160f0
add esp, 0xc
mov dword [ebp - 0x4a0], esi
lea eax, [ebp - 0x4a0]
push eax
push dword [ebp - 0x4a4]
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
jmp 0x40187c
mov edx, dword [ebp - 0x484]
cmp edx, dword [0x44f384]
je 0x401869
lea ecx, [ebp - 0x28]
call fcn.004022a3
mov edx, 0x44dad4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.0040242c
test al, al
jne 0x40185d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x488]
cmovae eax, dword [ebp - 0x28]
push eax
push str._ls__SizeOfImage:__u_
call fcn.00401de3
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00401a22
test al, al
je 0x40185d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Vulnerability_found:__ls
call fcn.00401e18
pop ecx
pop ecx
lea eax, [ebp - 0x28]
mov ecx, 0x44f3cc
push eax
call fcn.004024f3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00402f5c
lea eax, [ebp - 0x4a0]
push eax
push dword [ebp - 0x4a4]
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x4017e1
mov eax, dword [0x44f3d0]
mov ecx, dword [0x44f3cc]
cmp ecx, eax
jne 0x4018b6
push str.All_loaded_modules_verified
lea ecx, [ebp - 0x28]
call fcn.004027e8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00401ed4
lea ecx, [ebp - 0x28]
call fcn.00402f5c
jmp 0x4018d0
sub eax, ecx
push 0x18
pop ecx
cdq
idiv ecx
push eax
push str.Suspicious_modules_found:__d
call fcn.00401e18
pop ecx
pop ecx
call fcn.00401a6c
lea ecx, [ebp - 0x78]
call fcn.00401100
call fcn.00414ff5
ret
Function at 0x402459
Capabilities:
Get common file path

Disassembly:
push 0x24c
mov eax, 0x4324ec
call fcn.0041504b
mov esi, ecx
mov dword [ebp - 0x254], esi
and dword [ebp - 0x258], 0
lea eax, [ebp - 0x220]
push eax
mov edi, 0x105
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4024a9
cmp eax, edi
jae 0x4024a9
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x250]
call fcn.004027e8
xor ebx, ebx
inc ebx
jmp 0x4024bc
push 0x441e64
lea ecx, [ebp - 0x238]
call fcn.004027e8
push 2
pop ebx
push eax
mov ecx, esi
call fcn.00402ccf
or ebx, 4
test bl, 2
je 0x4024da
lea ecx, [ebp - 0x238]
and ebx, 0xfffffffd
call fcn.00402f5c
test bl, 1
je 0x4024ea
lea ecx, [ebp - 0x250]
call fcn.00402f5c
mov eax, esi
call fcn.00414ff5
ret
Function at 0x407593
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x44d07c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x214]
mov dword [ebp - 0x230], edx
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4075e5
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
jmp 0x4077a5
xor ecx, ecx
mov dword [ebp - 0x238], ecx
mov eax, ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x244], ecx
mov byte [ebp - 0x234], cl
mov dword [ebp - 0x22c], ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x228], 0x104
push ecx
lea ecx, [ebp - 0x210]
push ecx
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x407787
cmp eax, 0xea
je 0x40776c
test eax, eax
jne 0x40776c
mov ecx, dword [ebp - 0x228]
test ecx, ecx
je 0x40776c
lea eax, [ecx - 1]
cmp eax, 0x104
ja 0x40776c
add ecx, ecx
cmp ecx, 0x208
jae 0x4077bb
xor eax, eax
mov word [ebp + ecx - 0x210], ax
mov ax, word [ebp - 0x210]
test ax, ax
je 0x4076cf
cmp word [ebp - 0x20e], 0
je 0x4076cf
cmp ax, 0x76
je 0x4076aa
cmp ax, 0x56
jne 0x4076cf
lea edx, [ebp - 0x20e]
lea ecx, [ebp - 0x224]
call fcn.004032c1
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x220]
jmp 0x4076ed
xor ecx, ecx
xor edx, edx
xor eax, eax
mov dword [ebp - 0x21c], edx
and dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x218], ecx
cmp dword [ebp - 0x224], 0
lea esi, [ebp - 0x224]
lea edi, [ebp - 0x258]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x248], 1
jne 0x407719
test eax, eax
jne 0x407719
test edx, edx
jne 0x407719
test ecx, ecx
je 0x40776c
push dword [ebp - 0x230]
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x258]
push eax
lea edx, [ebp - 0x210]
call fcn.004078ed
pop ecx
pop ecx
test eax, eax
je 0x40776c
sub esp, 0x10
lea esi, [ebp - 0x244]
mov edi, esp
lea ecx, [ebp - 0x258]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00407028
test al, al
je 0x40776c
push 5
pop ecx
lea esi, [ebp - 0x258]
lea edi, [ebp - 0x244]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x22c]
inc eax
mov dword [ebp - 0x22c], eax
cmp eax, 0x1000
jge 0x407787
xor ecx, ecx
jmp 0x40760d
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x234]
lea esi, [ebp - 0x244]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop edi
mov byte [ebx + 0x10], al
xor ecx, ebp
pop esi
mov eax, ebx
pop ebx
call fcn.00414893
mov esp, ebp
pop ebp
ret
call fcn.00414cc5
int3
Function at 0x4077c1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
push 4
pop ecx
test edi, edi
jne 0x407821
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ecx
push eax
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push str.Release
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 4
pop ecx
test edi, edi
je 0x407835
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 4], ebx
mov dword [esi], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
cmp eax, 0x70bf0
jb 0x407854
mov dword [esi + 4], 7
mov dword [esi + 8], 2
mov dword [esi], ecx
mov dword [esi + 0xc], ebx
jmp 0x40782c
cmp eax, 0x709fc
jb 0x40786b
mov dword [esi + 4], 7
mov dword [esi + 8], 1
jmp 0x40784d
cmp eax, 0x707fe
jb 0x40787e
mov dword [esi + 4], 7
mov dword [esi + 8], ebx
jmp 0x40784d
cmp eax, 0x60632
jb 0x40788e
mov dword [esi + 4], 6
jmp 0x407846
cmp eax, 0x6040e
jb 0x40789e
mov dword [esi + 4], 6
jmp 0x407862
cmp eax, 0x6004f
jb 0x4078ae
mov dword [esi + 4], 6
jmp 0x407879
cmp eax, 0x5cbf5
jb 0x4078be
mov dword [esi + 4], 5
jmp 0x407846
cmp eax, 0x5c733
jb 0x4078ce
mov dword [esi + 4], 5
jmp 0x407862
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
cmp eax, 0x5c615
jb 0x407827
mov dword [esi], ecx
mov dword [esi + 4], 5
jmp 0x40782c