joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408390
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cc00
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x46b074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
cmp dword [edx + 0x10], eax
je 0x4085c0
xorps xmm0, xmm0
lea ecx, [ebp - 0x44c]
mov eax, 2
movups xmmword [ebp - 0x45c], xmm0
mov word [ebp - 0x45c], ax
call fcn.004054f0
cmp dword [eax + 0x14], 0x10
jb 0x408408
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edx, dword [ebp - 0x438]
mov dword [ebp - 0x458], eax
cmp edx, 0x10
jb 0x40844f
mov ecx, dword [ebp - 0x44c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408445
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4085df
push edx
push ecx
call fcn.00422d4e
add esp, 8
push 0x6987
call dword [sym.imp.WS2_32.dll_htons]
push 0x401
mov word [ebp - 0x45a], ax
lea eax, [ebp - 0x434]
push 0
push eax
call fcn.0043a370
add esp, 0xc
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
push 8
push 0x20
push eax
push 0x401
lea eax, [ebp - 0x434]
push eax
push 0x10
lea eax, [ebp - 0x45c]
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x4085c0
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x474], al
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4084d0
sub ecx, edx
lea eax, [ebp - 0x434]
push ecx
push eax
lea ecx, [ebp - 0x474]
call fcn.00409ab0
lea edx, [ebp - 0x474]
lea ecx, [ebp - 0x44c]
call fcn.00405390
mov edi, eax
cmp esi, edi
je 0x40852d
mov ecx, esi
call fcn.00401970
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x438]
cmp edx, 8
jb 0x40856d
mov ecx, dword [ebp - 0x44c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408563
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4085e4
push edx
push ecx
call fcn.00422d4e
add esp, 8
mov edx, dword [ebp - 0x460]
xor eax, eax
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 7
mov word [ebp - 0x44c], ax
cmp edx, 0x10
jb 0x4085c0
mov ecx, dword [ebp - 0x474]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4085b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4085e9
push edx
push ecx
call fcn.00422d4e
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422d0d
mov esp, ebp
pop ebp
ret 8
call fcn.0043d6f9
call fcn.0043d6f9
call fcn.0043d6f9
int3
Function at 0x40c620
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d170
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x46b074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x138], ebx
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0043a370
add esp, 0xc
lea ecx, [ebp - 0x128]
mov edx, esi
call fcn.0040c1f0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov ecx, dword [0x46b9d8]
test ecx, ecx
je 0x40c821
cmp dword [ebp - 0x118], 0
je 0x40c821
xor eax, eax
nop dword [eax]
mov byte [ebp + eax - 0x110], al
inc eax
cmp eax, 0x100
jl 0x40c6b0
test ecx, ecx
je 0x40c72d
xor edi, edi
xor esi, esi
nop word [eax + eax]
cmp dword [0x46b9dc], 0x10
mov ecx, 0x46b9c8
mov eax, esi
mov bl, byte [ebp + esi - 0x110]
cmovae ecx, dword [0x46b9c8]
xor edx, edx
div dword [0x46b9d8]
movsx eax, byte [edx + ecx]
add edi, eax
movzx ecx, bl
add edi, ecx
and edi, 0x800000ff
jns 0x40c70f
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [ebp + edi - 0x110]
mov byte [ebp + esi - 0x110], al
inc esi
mov byte [ebp + edi - 0x110], bl
cmp esi, 0x100
jl 0x40c6d0
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 0x128]
mov ecx, dword [ebp - 0x128]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x134], esi
cmp edx, 0x10
cmovae eax, ecx
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x128]
cmovae eax, ecx
add eax, dword [ebp - 0x118]
mov ebx, eax
sub ebx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], ebx
xor ebx, ebx
cmp dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x130]
cmova eax, ebx
mov ebx, dword [ebp - 0x138]
mov dword [ebp - 0x130], eax
test eax, eax
je 0x40c82d
inc esi
and esi, 0x800000ff
jns 0x40c7a8
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [ebp + esi - 0x110]
movzx edx, cl
add edi, edx
and edi, 0x800000ff
jns 0x40c7c4
dec edi
or edi, 0xffffff00
inc edi
movzx eax, byte [ebp + edi - 0x110]
mov byte [ebp + esi - 0x110], al
mov byte [ebp + edi - 0x110], cl
movzx eax, byte [ebp + esi - 0x110]
mov ecx, dword [ebp - 0x12c]
add eax, edx
movzx eax, al
movzx eax, byte [ebp + eax - 0x110]
xor al, byte [ecx]
mov ecx, ebx
movzx eax, al
push eax
call fcn.0040e700
mov eax, dword [ebp - 0x134]
inc dword [ebp - 0x12c]
inc eax
mov dword [ebp - 0x134], eax
cmp eax, dword [ebp - 0x130]
jne 0x40c797
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x40c857
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c84d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c875
push edx
push ecx
call fcn.00422d4e
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422d0d
mov esp, ebp
pop ebp
ret
call fcn.0043d6f9
int3
Function at 0x40cc10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x46b074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov edx, 0xb
lea ecx, [ebp - 0x34]
call fcn.0040c450
mov edx, 5
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.0040c450
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], reloc.OLEAUT32.dll_SysReAllocString
cmp dword [eax + 0x10], 0
je 0x40cc9f
cmp dword [esi + 0x10], 0
je 0x40cc9f
cmp dword [eax + 0x14], 8
jb 0x40cc5f
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push 0xf003f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40cc9f
cmp dword [esi + 0x14], 8
jb 0x40cc82
mov esi, dword [esi]
push 4
lea eax, [ebp - 0x3c]
push eax
push 4
push 0
push esi
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x40ccd5
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cccb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd2e
push edx
push ecx
call fcn.00422d4e
add esp, 8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
cmp edx, 8
jb 0x40cd1f
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cd15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd2e
push edx
push ecx
call fcn.00422d4e
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00422d0d
mov esp, ebp
pop ebp
ret
call fcn.0043d6f9
int3
Function at 0x40d220
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d200
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x46b074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x10], 0
je 0x40d3ad
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x25c], ebx
cmp ebx, 0xffffffff
je 0x40d3ad
push 0x228
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.0043a370
add esp, 0xc
mov dword [ebp - 0x258], 0x22c
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40d3aa
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x234]
mov dword [ebp - 0x14], 7
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d2d0
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00401b50
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.0040cd90
mov edx, dword [ebp - 0x14]
mov bl, al
cmp edx, 8
jb 0x40d335
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d32b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d3cb
push edx
push ecx
call fcn.00422d4e
add esp, 8
test bl, bl
je 0x40d38e
push dword [ebp - 0x250]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40d388
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x40d36b
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 1
push 0x45e918
push 0
call fcn.0040a180
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40d38e
mov al, 1
jmp 0x40d3af
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x25c]
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40d2b1
push ebx
call esi
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422d0d
mov esp, ebp
pop ebp
ret
call fcn.0043d6f9
int3
Function at 0x40d950
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x46b074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov edi, edx
mov byte [ebp - 0x29], 0
mov esi, ecx
call ebx
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x34], eax
je 0x40dac9
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x40dac9
cmp dword [esi + 0x14], 8
jb 0x40d9a2
mov esi, dword [esi]
push 0x2c
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x40dac0
lea eax, [ebp - 0x30]
mov dword [ebp - 8], 0
push eax
push 0x24
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], 0
push eax
xorps xmm0, xmm0
push 0
push esi
movups xmmword [ebp - 0x28], xmm0
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x40dab9
mov eax, dword [ebp - 0x24]
cmp eax, 1
je 0x40dab9
cmp eax, 3
jne 0x40da5b
mov ecx, 0x2710
mov eax, 0xcccccccd
mul dword [ebp - 0x10]
shr edx, 3
cmp edx, 0x3e8
jae 0x40da1a
mov edx, 0x3e8
jmp 0x40da23
cmp edx, 0x2710
cmova edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x30]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x40da5b
cmp dword [ebp - 0x24], 1
je 0x40da5b
call ebx
sub eax, dword [ebp - 0x34]
cmp eax, edi
ja 0x40da5b
cmp dword [ebp - 0x24], 3
mov ecx, 0x2710
je 0x40da00
mov ecx, dword [ebp - 0x38]
mov edx, esi
push edi
call fcn.0040dae0
add esp, 4
lea eax, [ebp - 0x28]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x40dab9
cmp dword [ebp - 0x24], 1
je 0x40dab9
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x30]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x40daad
cmp dword [ebp - 0x24], 1
je 0x40dab5
call ebx
sub eax, dword [ebp - 0x34]
cmp eax, edi
ja 0x40dab9
cmp dword [ebp - 0x24], 1
jne 0x40da80
jmp 0x40dab9
mov byte [ebp - 0x29], 1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x29]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00422d0d
mov esp, ebp
pop ebp
ret
Function at 0x40dae0
Capabilities:
Check for time delay via gettickcount
Enumerate services
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4674d0
push 0x44c3ca
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x46b074]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
test edi, edi
je 0x40dc8f
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x40dc8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x40dc8f
mov esi, dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x48], esi
test esi, esi
je 0x40dc8f
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
push esi
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
je 0x40dc83
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x54], eax
cmp eax, dword [ebp - 0x4c]
jae 0x40dc80
lea eax, [eax + eax*8]
mov ecx, dword [ebp - 0x48]
movups xmm1, xmmword [ecx + eax*4]
movups xmm0, xmmword [ecx + eax*4 + 0x10]
movups xmmword [ebp - 0x74], xmm0
mov eax, dword [ecx + eax*4 + 0x20]
mov dword [ebp - 0x64], eax
push 0x24
movd eax, xmm1
push eax
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
mov dword [ebp - 0x5c], edi
test edi, edi
je 0x40dc80
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x40dc57
nop dword [eax]
cmp dword [ebp - 0x3c], 1
je 0x40dc57
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x44]
push eax
push 0x24
lea eax, [ebp - 0x40]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x40dc57
cmp dword [ebp - 0x3c], 1
je 0x40dc57
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x58]
cmp eax, esi
jbe 0x40dc20
mov dword [ebp - 4], 0
call fcn.0040dc78
mov eax, dword [ebp - 0x54]
inc eax
jmp 0x40dbc5
mov esi, dword [ebp - 0x48]
mov dword [ebp - 4], 0xfffffffe
call fcn.0040dcae
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00422d0d
mov esp, ebp
pop ebp
ret
Function at 0x40dd30
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d230
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x94
mov eax, dword [0x46b074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0x44
mov edx, 2
movlpd qword [ebp - 0x9c], xmm0
lea ecx, [ebp - 0x44]
movlpd qword [ebp - 0x94], xmm0
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movups xmmword [ebp - 0x54], xmm0
call fcn.0040c450
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x40ddcf
mov esi, dword [esi]
push ecx
push esi
mov ecx, eax
call fcn.00403590
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x40de36
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40de2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ded6
push edx
push ecx
call fcn.00422d4e
add esp, 8
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0xa0]
push ecx
push 0
push 0
push 0x8000000
push 1
push 0
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40de83
push 0xffffffffffffffff
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x50]
call esi
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40deb9
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40deaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dedb
push edx
push ecx
call fcn.00422d4e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00422d0d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0043d6f9
call fcn.0043d6f9
int3
Function at 0x40e5f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul edx, ecx, 0x1000193
mov ecx, dword [0x46f210]
and edx, dword [0x46f21c]
mov edi, dword [ecx + edx*8]
lea ebx, [ecx + edx*8]
mov edx, dword [0x46f208]
mov eax, edi
cmp edi, edx
jne 0x40e650
mov ecx, edx
jmp 0x40e655
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x40e668
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
je 0x40e664
mov eax, dword [eax]
jmp 0x40e648
mov ecx, eax
jmp 0x40e66c
mov eax, edx
mov ecx, edx
cmp ecx, edx
jne 0x40e6c0
push ecx
mov dword [ebp + 8], esi
lea eax, [ebp + 8]
mov esi, dword [edx]
push eax
push ecx
mov edi, dword [esi + 4]
push edi
push esi
call fcn.00412fe0
mov edx, eax
mov ecx, 0x6666665
mov eax, dword [0x46f20c]
sub ecx, eax
cmp ecx, 1
jb 0x40e6cc
inc eax
mov ecx, 0x46f204
mov dword [0x46f20c], eax
mov dword [esi + 4], edx
mov dword [edi], edx
mov eax, dword [0x46f208]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00411940
mov eax, dword [ebp - 0xc]
pop edi
pop esi
add eax, 0xc
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.list_T__too_long
call fcn.0041fe85
int3

Function at 0x40f460
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x40f491
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x40f480
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x412f40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x412fb3
cmp ecx, eax
jne 0x412fab
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x412fbb
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x412fbb
cmp ecx, eax
jne 0x412fbb
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.0040eb00
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8
Function at 0x415930
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d700
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x46b074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0x30], reloc.OLEAUT32.dll_SysReAllocString
cmp dword [ebx + 0x10], eax
je 0x415ac5
cmp dword [edi + 0x10], eax
je 0x415ac5
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push eax
push 0x104
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00403420
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x104
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x28]
setne byte [ebp - 0x29]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax], cx
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x415a1c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415a12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415ae3
push edx
push ecx
call fcn.00422d4e
add esp, 8
movzx eax, byte [ebp - 0x29]
shl eax, 8
mov dword [ebp - 4], 0xffffffff
add eax, 0x20019
cmp dword [ebx + 0x14], 8
jb 0x415a37
mov ebx, dword [ebx]
lea ecx, [ebp - 0x30]
push ecx
push eax
push 0
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415ac5
push eax
push 0x104
mov ecx, esi
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0x104
call fcn.00404260
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x415a71
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x415a79
mov edi, dword [edi]
lea ecx, [ebp - 0x34]
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push edi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415aa6
push eax
push dword [ebp - 0x34]
mov ecx, esi
call fcn.00404260
mov ecx, esi
call fcn.004030a0
jmp 0x415abc
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x415ab0
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422d0d
mov esp, ebp
pop ebp
ret
call fcn.0043d6f9
int3