joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425e00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c3eb
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4db434]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x14], ecx
mov byte [ecx], 0
mov dword [ebp - 4], 1
lea eax, [ecx + 0x18]
mov dword [ebp - 0x14], eax
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
mov byte [ebp - 4], 3
lea eax, [ecx + 0x30]
mov dword [ebp - 0x14], eax
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
mov byte [ebp - 4], 5
lea eax, [ecx + 0x48]
mov dword [ebp - 0x14], eax
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
mov byte [ebp - 4], 7
lea eax, [ecx + 0x64]
mov word [ecx + 0x60], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
mov byte [ebp - 4], 9
lea eax, [ecx + 0x7c]
mov dword [ebp - 0x14], eax
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
mov byte [ebp - 4], 0xb
lea eax, [ecx + 0x94]
mov dword [ebp - 0x14], eax
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
mov byte [ebp - 4], 0xd
lea eax, [ecx + 0xac]
mov dword [ebp - 0x14], eax
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
mov byte [ebp - 4], 0xf
mov byte [ecx + 0xc4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4297f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d30c
mov eax, dword fs:[0]
push eax
mov eax, 0x1024
call fcn.00458510
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.NOTIFIER
push 0x6a
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x429874
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x101c]
push str.Failed_to_get_notifier_from_resources:__i
push eax
call fcn.004052e0
add esp, 0xc
lea eax, [ebp - 0x101c]
push 0x4d8cc4
push eax
call fcn.00459b3b
mov dword [ebp - 0x1030], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1024]
push eax
mov dword [ebp - 0x1020], 0
call fcn.004242a0
mov byte [ebp - 4], 1
lea eax, [esi + 0x4c]
push dword [esi + 4]
push dword [esi + 8]
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.0043bf90
add esp, 0x14
test eax, eax
sete al
test al, al
je 0x4298e6
lea eax, [ebp - 0x101c]
push str.Failed_to_decompress_notifier
push eax
call fcn.004052e0
add esp, 8
lea eax, [ebp - 0x101c]
push 0x4d8cc4
push eax
call fcn.00459b3b
push 3
push 1
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x102c]
call fcn.00407880
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x102c]
push dword [ebp - 0x1020]
push dword [esi + 4]
call fcn.004078f0
mov ecx, edi
call fcn.00429960
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1028]
call fcn.00407280
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1024]
test ecx, ecx
je 0x42993b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 4], 0xffffffff
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.004584f8
mov esp, ebp
pop ebp
ret
Function at 0x42bce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48de81
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4db434]
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 dword [ebp - 4], 0
lea eax, [ebp - 0x28]
mov ebx, dword [ebp + 8]
push ecx
push eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 0
call fcn.004028a0
add esp, 8
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x42bd3b
mov eax, dword [eax]
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00404ee0
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42bd6c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403b20
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x18], 0
push eax
call fcn.0042bbc0
add esp, 8
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
push str.RT_RCDATA
call fcn.00401860
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004028a0
add esp, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x42bdc4
mov eax, dword [eax]
push eax
movzx eax, word [ebp + 0xc]
lea ecx, [ebp - 0x44]
push eax
call fcn.00404ef0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x42bdf4
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403b20
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x42be21
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403b80
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00404ef0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
lea ecx, [ebp - 0x44]
mov edi, eax
call fcn.00404ef0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
mov ecx, ebx
mov esi, eax
call fcn.00421d70
push edi
push esi
push dword [ebx]
mov dword [ebp - 0x48], 1
call fcn.00459f80
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.0042bc70
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.004584f8
mov esp, ebp
pop ebp
ret 8
Function at 0x42c5d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e122
mov eax, dword fs:[0]
push eax
mov eax, 0x1428
call fcn.00458510
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0x104
mov dword [ebp - 0x1434], esi
mov dword [ebp - 0x1430], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x420]
push eax
push 0
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x42c66d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x142c]
push str.Failed_to_create_Temp_file:__i
push eax
call fcn.004052e0
add esp, 0xc
lea eax, [ebp - 0x142c]
push 0x4d8cc4
push eax
call fcn.00459b3b
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
call fcn.004018d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1430], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret
Function at 0x42e950
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4dcd9c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10c], eax
je 0x42e992
push 0x104
push 0x4dcc98
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x4dcc98
call fcn.004447a0
add esp, 4
cmp byte [0x4dcc98], 0
jne 0x42eaa1
push 0x104
push 0x4dcc98
push dword [0x4dc820]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push 0x4dcc98
call fcn.0045ae00
add esp, 8
test eax, eax
je 0x42e9cb
mov byte [eax], 0
push 0x4dcc98
call fcn.004447a0
add esp, 4
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x4dcc98]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x109], al
test al, al
jne 0x42e9e0
push esi
mov edx, str.msocxushell.dll
push edi
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x42ea00
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42ea10
mov ecx, edx
lea eax, [ebp - 0x108]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.00444a20
add esp, 4
pop edi
pop esi
test eax, eax
jne 0x42ea42
mov byte [0x4dcc98], al
jmp 0x42ea4b
cmp byte [0x4dcc98], 0
jne 0x42eaa1
push 0
push 1
push 0x104
push 0x4dcc98
call fcn.0042e5c0
add esp, 0x10
test eax, eax
je 0x42ea7b
push 0x5c
push 0x4dcc98
call fcn.0045ae00
add esp, 8
test eax, eax
je 0x42ea7b
mov byte [eax], 0
cmp byte [0x4dcc98], 0
jne 0x42eaa1
push 0x104
push 0x4dcc98
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x4dcc98
call fcn.004447a0
add esp, 4
push dword [ebp + 0xc]
push 0x4dcc98
push dword [ebp - 0x10c]
call fcn.00469580
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret
Function at 0x430cf0
Capabilities:
Get common file path
Get hostname
Get session user name
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48eab0
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov byte [ebp - 0x320], 0
call fcn.00444f70
push 0x104
test eax, eax
lea eax, [ebp - 0x320]
push eax
je 0x430d4f
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
jmp 0x430d55
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov byte [ebp - 0x118], 0
mov dword [ebp - 0x428], 0x104
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
cmp byte [ebp - 0x118], 0
jne 0x430d99
mov eax, dword [str.Unknown]
mov dword [ebp - 0x118], eax
mov eax, dword [0x4a246c]
mov dword [ebp - 0x114], eax
mov byte [ebp - 0x21c], 0
mov dword [ebp - 0x428], 0x104
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
cmp byte [ebp - 0x21c], 0
jne 0x430ddd
mov eax, dword [str.Default]
mov dword [ebp - 0x21c], eax
mov eax, dword [0x4a2e84]
mov dword [ebp - 0x218], eax
mov ecx, esi
call fcn.00444010
lea eax, [ebp - 0x320]
push eax
push str._systemroot_
mov ecx, esi
call fcn.00444030
push 0x104
push 0
lea eax, [ebp - 0x424]
push eax
call fcn.0045aa80
add esp, 0xc
push 0x104
lea eax, [ebp - 0x424]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x424]
push eax
mov ecx, esi
call fcn.00443330
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret
Function at 0x4337c0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ed30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4db434]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4338ef
cmp dword [ebp + 0xc], 0
je 0x4338ef
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
push str.secur32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x43384c
push str.GetUserNameExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43384c
lea ecx, [ebp + 0xc]
push ecx
push ebx
push 2
call eax
movzx edi, al
mov dword [ebp - 0x14], edi
test al, al
jne 0x43385c
lea eax, [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0xffffffff
jmp 0x433889
mov dword [ebp - 4], 2
test esi, esi
je 0x43389b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x438440
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f470
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4db434]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi]
test eax, eax
je 0x438483
push 1
push eax
call fcn.004584ea
add esp, 8
mov eax, dword [esi + 4]
test eax, eax
je 0x438495
push 1
push eax
call fcn.004584ea
add esp, 8
mov eax, dword [esi + 8]
test eax, eax
je 0x4384a7
push 1
push eax
call fcn.004584ea
add esp, 8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4384b9
push 1
push eax
call fcn.004584ea
add esp, 8
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4384cb
push 1
push eax
call fcn.004584ea
add esp, 8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4384dd
push 1
push eax
call fcn.004584ea
add esp, 8
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4384ef
push 1
push eax
call fcn.004584ea
add esp, 8
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x438501
push 1
push eax
call fcn.004584ea
add esp, 8
mov eax, dword [esi + 0x20]
test eax, eax
je 0x438513
push 1
push eax
call fcn.004584ea
add esp, 8
mov eax, dword [esi + 0x24]
test eax, eax
je 0x438525
push 1
push eax
call fcn.004584ea
add esp, 8
mov eax, dword [esi + 0x28]
test eax, eax
je 0x438537
push 1
push eax
call fcn.004584ea
add esp, 8
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x438549
push 1
push eax
call fcn.004584ea
add esp, 8
mov eax, dword [esi + 0x30]
test eax, eax
je 0x43855b
push 1
push eax
call fcn.004584ea
add esp, 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43dd40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490138
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 0
or esi, 0xffffffff
mov dword [ebp - 0x30], esi
mov ecx, 0x4dd2d0
call fcn.00441530
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x3c], edi
cmp edi, 0x32
jge 0x43ddd0
cmp esi, 0xffffffff
jne 0x43ddd9
test edi, edi
jle 0x43ddad
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
mov dword [ebp - 0x3c], edi
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push ebx
call fcn.0043e090
mov esi, eax
mov dword [ebp - 0x30], esi
jmp 0x43dd97
cmp esi, 0xffffffff
je 0x43de86
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor edi, edi
mov dword [ebp - 0x40], edi
cmp edi, 0xa
jae 0x43de19
mov eax, dword [ebx + 0x104]
push 0
lea ecx, [ebp - 0x44]
push ecx
push dword [eax - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43de65
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [ebp - 0x34], 1
cmp dword [ebp + 0xc], 0
je 0x43de26
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 1
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00401860
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
push eax
call fcn.00445520
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401c20
mov dword [ebp - 4], 0
jmp 0x43de86
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
jmp 0x43dde8
push 0x104
push 0
push ebx
call fcn.0045aa80
add esp, 0xc
lea ecx, [ebx + 0x104]
call fcn.00443740
lea ecx, [ebx + 0x108]
call fcn.00443740
mov ecx, 0x4dd2d0
call fcn.00441a30
mov edi, eax
test edi, edi
je 0x43deed
push edi
mov ecx, 0x4dd2d0
call fcn.00441ae0
mov dword [ebp - 0x38], eax
mov ecx, edi
call fcn.00441a20
test eax, eax
je 0x43df03
mov ecx, edi
call fcn.00441a20
cmp ebx, eax
jne 0x43df03
push 0
push edi
mov ecx, 0x4dd2d0
call fcn.00441d20
test ebx, ebx
je 0x43defa
push 1
mov ecx, ebx
call fcn.0043dcc0
mov dword [ebp - 4], 0xffffffff
jmp 0x43df29
mov edi, dword [ebp - 0x38]
jmp 0x43deb8
mov ecx, 0x4dd2d0
call fcn.00441cb0
cmp esi, 0xffffffff
je 0x43df3f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret
Function at 0x43f3d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x410], eax
test edi, edi
je 0x43f4e2
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43f4e2
test ebx, ebx
je 0x43f4e2
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0045aa80
lea ecx, [ebp - 0x404]
add esp, 0xc
sub ecx, esi
nop
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x43f430
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x40c], 0
push eax
push 0x20019
push 0
lea eax, [ebp - 0x404]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43f4e2
mov dword [ebp - 0x408], eax
mov eax, dword [ebp + 0x1c]
sub eax, 1
je 0x43f47f
sub eax, 3
je 0x43f4d6
sub eax, 3
jne 0x43f488
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x408], eax
lea eax, [ebp - 0x408]
push eax
push ebx
lea eax, [ebp + 0x1c]
push eax
push 0
push dword [ebp - 0x410]
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x40c]
test eax, eax
mov ecx, 1
mov ebx, 0
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x408], 4
jmp 0x43f488
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004584f8
mov esp, ebp
pop ebp
ret
Function at 0x440660
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4406aa
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x441630
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49062f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4db434]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov esi, dword [ecx + 8]
push 0x10
test esi, esi
je 0x4416a6
push 8
push esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
test edx, edx
jne 0x441691
push str.____DataEvent::_Failed_to_allocate_memory_n_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x4d5620
lea eax, [ebp + 8]
mov dword [ebp + 8], 1
push eax
call fcn.00459b3b
mov dword [edx + 4], esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [edx + 0xc], eax
jmp 0x4416cb
call fcn.00458f4d
mov edx, eax
add esp, 4
test edx, edx
je 0x44167c
mov dword [edx + 4], 0
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov dword [edx + 0xc], ecx
mov dword [edx], 0x4b2d60
mov dword [edx + 8], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x442540
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, ecx
push 0x40
push 0
lea eax, [esi + 8]
mov dword [esi + 0x4c], 0x67452301
push eax
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov dword [esi + 0x5c], 0xc3d2e1f0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0045aa80
xor eax, eax
add esp, 0xc
mov word [esi + 0x48], ax
xorps xmm0, xmm0
movups xmmword [esi + 0x60], xmm0
mov dword [esi + 0x70], eax
pop esi
ret
Function at 0x444a90
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x100
push 0
push eax
call fcn.0045aa80
add esp, 0xc
mov byte [esi], 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 0x80
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push esi
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004584f8
mov esp, ebp
pop ebp
ret

Function at 0x444b10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push 0x4c5414
call fcn.00443330
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x444be3
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0045aa80
add esp, 0xc
mov dword [ebp - 0x110], 0x104
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], 1
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.ProductID
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x444bd7
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.00443330
push 0x4c5414
push 0x4b365c
mov ecx, esi
call fcn.00444030
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004584f8
mov esp, ebp
pop ebp
ret