joyce8/EMBER2024-capa huggingface dataset:
Function at 0x479a25
Capabilities:
Terminate process

Disassembly:
mov eax, 0x6a16fc
call fcn.00640244
sub esp, 0x18
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.0047dfcb
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x479a4a
mov eax, dword [eax]
push eax
push 0x6c101c
push 0x10
call fcn.004954a5
add esp, 0xc
lea ecx, [ebp - 0x24]
push 0
push 1
call fcn.004281f2
push 1
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x47a017
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x80
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x47a04a
call fcn.004cba03
jmp 0x47a056
lea eax, [ebp - 0x84]
push eax
call fcn.004cb949
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x47a14e
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
cmp dword [ecx + 4], 0xffffffff
jne 0x47a162
or eax, 0xffffffff
jmp 0x47a195
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x80
push eax
lea eax, [ebp - 0x98]
push eax
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x47a15d
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x18]
call fcn.004cb949
movzx eax, word [eax + 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x47a21a
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov ebx, ecx
push 0
push 0
push 1
push ebp
call fcn.00466161
movzx eax, al
mov ecx, ebx
neg eax
sbb eax, eax
and eax, 0xffffffeb
add eax, 0x17
push eax
call fcn.0047a3d5
cmp dword [ebx + 4], 0xffffffff
jne 0x47a253
xor al, al
jmp 0x47a336
cmp byte [esp + 0x24], 0
push esi
push edi
mov dword [esp + 0x28], 1
je 0x47a2a8
push 4
lea eax, [esp + 0x2c]
push eax
push 4
push 0xffff
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x47a2a8
call fcn.00665a41
mov esi, eax
call fcn.00665a41
push dword [esi]
mov edi, eax
call fcn.0066f875
push eax
push dword [edi]
push dword [ebx + 4]
push str.Cant_set_SO_REUSEADDR_option_on_socket__d____d__s
call fcn.0047cc09
add esp, 0x14
push ebp
mov ecx, ebx
call fcn.0047895a
cmp eax, 0xffffffff
jne 0x47a2f8
cmp byte [esp + 0x2c], 0
mov edi, 0x2740
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
jne 0x47a2cd
call esi
cmp eax, edi
je 0x47a32a
call esi
cmp eax, edi
jne 0x47a32a
push 5
pop ecx
xor eax, eax
lea edi, [esp + 0x10]
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov word [esp + 0x20], ax
mov ecx, ebx
lea eax, [esp + 0x10]
push eax
call fcn.0047895a
cmp eax, 0xffffffff
je 0x47a32a
jmp 0x47a309
push ebp
push dword [ebx + 4]
push str.Bound_listening_socket__d_to_IP__A
call fcn.0047cc09
add esp, 0xc
push 0xa
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x47a32e
push ebp
push dword [ebx + 4]
push str.Cant_listen_on_socket__d_IP__A
call fcn.0047cc09
add esp, 0xc
xor al, al
jmp 0x47a334
mov byte [ebx + 0xe], 0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x47c482
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
mov eax, 0x6a1893
call fcn.00640244
sub esp, 0x40
push ebx
push edi
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
push 0x6c7ef8
push 1
push ebx
push 0x6c7ee8
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x47c5b8
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 2
call dword [ecx + 0x1c]
mov edi, eax
test edi, edi
js 0x47c5a7
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 5
call dword [ecx + 0x1c]
mov edi, eax
test edi, edi
js 0x47c596
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 9
call dword [ecx + 0x50]
mov edi, eax
mov eax, dword [ebp - 0x10]
test edi, edi
js 0x47c588
test eax, eax
jne 0x47c51e
mov edi, 0x80004005
jmp 0x47c588
push dword [ebp + 8]
lea ecx, [ebp - 0x4c]
call fcn.00429973
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x12
push eax
call fcn.0044087b
cmp dword [eax + 0x14], 8
jb 0x47c53f
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp + 8], esi
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.004281f2
push ebx
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x14
call fcn.004281f2
mov eax, dword [ebp - 0x10]
test esi, esi
jne 0x47c574
mov edi, 0x8007000e
jmp 0x47c587
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x24]
push esi
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
pop esi
mov byte [ebp - 4], 0x19
test eax, eax
je 0x47c596
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x47c5a7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x47c5b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0x1c
test eax, eax
je 0x47c5cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x47d87f
Capabilities:
Check if file exists
Get common file path
Get disk information

Disassembly:
mov eax, 0x6a1c79
call fcn.00640244
sub esp, 0x414
push ebx
push esi
push edi
push 0x104
xor ecx, ecx
lea eax, [ebp - 0x218]
push eax
push ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push 0x6c21d4
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.00429973
and dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x10], 1
jb 0x47d8f5
mov eax, dword [edi]
jmp 0x47d8f7
mov eax, edi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
setne al
test al, al
jne 0x47d9b1
push 0x6c21f0
call fcn.00428460
pop ecx
push eax
push 0x6c21f0
mov ecx, edi
call fcn.004282ce
cmp dword [edi + 0x14], 8
jb 0x47d92f
mov eax, dword [edi]
jmp 0x47d931
mov eax, edi
push eax
call esi
test eax, eax
setne al
test al, al
jne 0x47d9b1
push 1
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x47d9a9
call fcn.004947d1
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
mov esi, eax
push esi
call fcn.00428460
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00438cfb
cmp dword [edi + 0x14], 8
jb 0x47d986
mov eax, dword [edi]
jmp 0x47d988
mov eax, edi
push 0x6c21d4
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
mov esi, eax
push esi
call fcn.00428460
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00438cfb
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
jmp 0x47d9cf
cmp dword [edi + 0x14], 8
jb 0x47d9bb
mov eax, dword [edi]
jmp 0x47d9bd
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
mov ecx, dword [ebp + 0xc]
cmp eax, 2
sete dl
or byte [ecx], dl
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x481d12
Capabilities:
Reference l3 dns server

Disassembly:
mov eax, 0x6a1be7
call fcn.00640244
sub esp, 0x80
cmp byte [ebp + 8], 2
push esi
jne 0x481d85
mov eax, dword fs:[0x2c]
mov ecx, dword [0x7e15c8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7b0ef0]
cmp eax, dword [ecx + 4]
jle 0x481d71
mov esi, 0x7b0ef0
push esi
call fcn.006403ab
cmp dword [0x7b0ef0], 0xffffffff
pop ecx
jne 0x481d71
push str.4.2.2.1
call dword [sym.imp.WS2_32.dll_inet_addr]
push esi
mov dword [0x7b0eec], eax
call fcn.0064036c
pop ecx
push dword [ebp + 0xc]
push dword [0x7b0eec]
call dword [0x7b0ed4]
jmp 0x481e0a
cmp dword [0x7b0ed8], 0
jne 0x481d95
mov eax, 0x2741
jmp 0x481e0a
mov eax, dword fs:[0x2c]
xor esi, esi
mov ecx, dword [0x7e15c8]
push ebx
mov ebx, 0x7b0ef4
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7b0f08]
cmp eax, dword [ecx + 4]
jle 0x481dea
push edi
mov edi, 0x7b0f08
push edi
call fcn.006403ab
cmp dword [0x7b0f08], 0xffffffff
pop ecx
jne 0x481de9
push esi
push str.2001:db8::1428:57ab
push ebx
mov dword [ebp - 4], esi
call fcn.004cc175
or dword [ebp - 4], 0xffffffff
push edi
call fcn.0064036c
pop ecx
pop edi
push esi
lea eax, [ebp - 0x8c]
mov ecx, ebx
push eax
call fcn.0047a05f
push dword [ebp + 0xc]
lea eax, [ebp - 0x8c]
push eax
call dword [0x7b0ed8]
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x481f8a
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
call fcn.004822ad
test al, al
je 0x481fe6
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.00481d12
test eax, eax
jne 0x481fe6
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push dword [ebp + 0xc]
push eax
call fcn.00481e90
lea ecx, [ebp - 0x18]
call fcn.004683fc
test al, al
jne 0x481fe6
lea ecx, [ebp - 0x18]
call fcn.004cc105
test al, al
jne 0x481fe6
mov eax, dword [ebp + 8]
push esi
push edi
push 5
pop ecx
lea esi, [ebp - 0x18]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
jmp 0x482046
cmp byte [ebp + 0xc], 2
jne 0x48203b
push 0x100
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x48203b
cmp word [eax + 8], 2
jne 0x48203b
cmp word [eax + 0xa], 4
jne 0x48203b
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x48203b
push 0
push dword [eax]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [ebp + 8]
push eax
call fcn.004cb99d
jmp 0x482043
mov ecx, dword [ebp + 8]
call fcn.004cba03
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x4822ad
Capabilities:
Link many functions at runtime

Disassembly:
push ecx
cmp dword [0x7b0ec4], 0
push esi
jne 0x4823bc
push str.Iphlpapi.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [0x7b0ec4], eax
test eax, eax
jne 0x4822d7
xor al, al
jmp 0x4823be
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.GetAdaptersInfo
push eax
call esi
mov dword [0x7b0ec8], eax
test eax, eax
jne 0x482303
push dword [0x7b0ec4]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
and dword [0x7b0ec4], 0
jmp 0x4822d0
push str.GetIfTable
push dword [0x7b0ec4]
call esi
mov dword [0x7b0ecc], eax
test eax, eax
je 0x4822ee
push str.GetIfEntry
push dword [0x7b0ec4]
call esi
mov dword [0x7b0ed0], eax
test eax, eax
je 0x4822ee
push str.GetBestInterface
push dword [0x7b0ec4]
call esi
mov dword [0x7b0ed4], eax
test eax, eax
je 0x4822ee
push str.GetBestInterfaceEx
push dword [0x7b0ec4]
call esi
push str.GetIpAddrTable
push dword [0x7b0ec4]
mov dword [0x7b0ed8], eax
call esi
mov dword [0x7b0edc], eax
test eax, eax
je 0x4822ee
push str.GetAdaptersAddresses
push dword [0x7b0ec4]
call esi
push 0x6d2adc
push dword [0x7b0ec4]
mov dword [0x7b0ee0], eax
call esi
push str.NotifyIpInterfaceChange
push dword [0x7b0ec4]
mov dword [0x7b0ee4], eax
call esi
mov dword [0x7b0ee8], eax
test eax, eax
je 0x4823bc
lea ecx, [esp + 4]
push ecx
push 0
push 0x789818
push 0x4822a3
push 2
call eax
mov al, 1
pop esi
pop ecx
ret
Function at 0x482838
Capabilities:
Get process image filename
List tcp connections and listeners

Disassembly:
sub esp, 0x234
push ebp
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 4], ebp
call fcn.004822ad
test al, al
jne 0x48286d
mov eax, dword [esp + 0x23c]
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ebp
mov word [eax], cx
jmp 0x4829a8
push esi
push edi
push 0x1c
pop esi
push esi
call fcn.004600d6
push ebp
push 4
push 2
mov edi, eax
mov dword [esp + 0x18], esi
push 1
lea eax, [esp + 0x1c]
push eax
push edi
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
cmp eax, 0x7a
jne 0x4828a8
push 1
push edi
call fcn.004600c9
push dword [esp + 0xc]
call fcn.004600d6
mov edi, eax
push 0x208
lea eax, [esp + 0x3c]
push ebp
push eax
call fcn.0065ab80
add esp, 0xc
lea eax, [esp + 0xc]
push ebp
push 4
push 2
push 1
push eax
push edi
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
test eax, eax
jne 0x482986
push ebx
mov ebx, ebp
cmp dword [edi], ebp
jle 0x482985
lea ebp, [edi + 0xc]
movzx eax, word [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [esp + 0x14], eax
movzx eax, word [ebp]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esp + 0x24c]
movzx esi, ax
mov eax, dword [ebp + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push eax
call fcn.00479ed3
movzx eax, word [eax + 0x10]
cmp esi, eax
jne 0x48294d
mov ecx, dword [esp + 0x24c]
call fcn.0047a14e
cmp eax, dword [esp + 0x14]
jne 0x48294d
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x1c], eax
je 0x482957
inc ebx
add ebp, 0x18
cmp ebx, dword [edi]
jl 0x4828e3
jmp 0x482985
push dword [esp + 0x20]
push 0
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x482985
push 0x104
lea eax, [esp + 0x40]
push eax
push esi
call sub.KERNEL32.DLL_K32GetProcessImageFileNameW
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebx
push 1
push edi
call fcn.004600c9
mov ecx, dword [esp + 0x244]
lea eax, [esp + 0x38]
push eax
call fcn.00429973
mov eax, dword [esp + 0x244]
pop edi
pop esi
pop ebp
add esp, 0x234
ret 8
Function at 0x485dd7
Capabilities:
Delete file

Disassembly:
mov eax, 0x6baa5c
call fcn.00640244
sub esp, 0x30
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x68]
cmp dword [eax + 0x14], 8
jb 0x485df3
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0047354f
lea eax, [esi + 0xcc]
xor edi, edi
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00427b8e
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], edi
je 0x485e2d
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x485e26
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp dword [esi + 0x78], edi
je 0x485e44
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
jae 0x485e3e
lea eax, [ebp - 0x3c]
push eax
call fcn.00460e1e
push edi
push 1
lea ecx, [ebp - 0x24]
mov dword [esi + 0x64], 4
call fcn.004281f2
push edi
push 1
lea ecx, [ebp - 0x3c]
call fcn.004281f2
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x4860c1
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x7b0cce], 0
je 0x4860d1
mov eax, 0x80004005
jmp 0x486108
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov ecx, esi
sub ecx, 0
je 0x486105
dec ecx
sub ecx, 1
je 0x486105
push dword [esp + 0xc]
push esi
push str.RegKey::DeleteKey_fail___d_:__s_n
call fcn.0047cc80
add esp, 0xc
mov eax, esi
jmp 0x486107
xor eax, eax
pop esi
ret 8

Function at 0x48610b
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x7b0cce], 0
je 0x486118
xor al, al
jmp 0x486149
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, eax
sub ecx, 0
je 0x486147
dec ecx
sub ecx, 1
je 0x486147
push dword [esp + 8]
push eax
push str.RegKey::DeleteTree_fail___d_:__s_n
call fcn.0047cc80
add esp, 0xc
jmp 0x486114
mov al, 1
ret 8

Function at 0x48614c
Capabilities:
Delete registry value

Disassembly:
cmp byte [0x7b0cce], 0
je 0x486159
xor al, al
jmp 0x48618b
push esi
push dword [esp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test esi, esi
je 0x486183
cmp esi, 2
je 0x486183
push esi
push dword [esp + 0xc]
push str.RegKey:_Could_not_delete_value__s:__d_n
call fcn.0047cc80
add esp, 0xc
xor eax, eax
test esi, esi
pop esi
sete al
ret 4
Function at 0x48618e
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x6a2147
call fcn.00640244
sub esp, 0x218
and dword [ebp - 4], 0
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
mov ebx, 0x104
mov edi, ecx
push 0x208
mov dword [ebp - 0x14], ebx
call fcn.00640585
pop ecx
mov esi, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x10]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 0xc]
push dword [edi]
call ebx
mov dword [ebp - 0x18], eax
cmp eax, 0xea
jne 0x486231
push esi
call fcn.00640272
mov eax, dword [ebp - 0x10]
xor ecx, ecx
inc eax
push 2
pop edx
mov dword [ebp - 0x10], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00640585
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 0xc]
push dword [edi]
call ebx
mov dword [ebp - 0x18], eax
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x6c111c
call fcn.00429973
push 0x6c111c
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 1
call fcn.00429973
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 1
jne 0x486298
lea eax, [ebp - 0x224]
push eax
call fcn.00428460
pop ecx
push eax
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
call fcn.00438cfb
cmp dword [ebp - 0x10], 0
je 0x486298
push esi
call fcn.00428460
pop ecx
push eax
push esi
lea ecx, [edi + 0x18]
call fcn.00438cfb
push esi
call fcn.00640272
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x4863be
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 4], eax
xor esi, esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 0x14]
push eax
push esi
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov eax, dword [ebp + 0x10]
jne 0x4863ef
cmp dword [ebp + 0x14], eax
jne 0x4863ef
inc esi
cmp eax, 1
jne 0x4863ff
xor eax, eax
cmp dword [ebp + 0x14], 2
sete al
or esi, eax
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x48640b
mov eax, dword [ebp - 4]
mov dword [ecx], eax
test esi, esi
pop esi
setne al
mov esp, ebp
pop ebp
ret 0x14

Function at 0x486902
Capabilities:
Set registry value

Disassembly:
cmp byte [0x7b0cce], 0
je 0x48690f
xor al, al
jmp 0x48694b
push esi
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push dword [esp + 0x18]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x486943
push esi
push dword [esp + 0x10]
push dword [esp + 0x10]
push str.RegKey:_Could_not_write_DWORD_valuename__s_value__d__Error__d_n
call fcn.0047cc80
add esp, 0x10
xor eax, eax
test esi, esi
pop esi
sete al
ret 8
Function at 0x48694e
Capabilities:
Set registry value

Disassembly:
cmp byte [0x7b0cce], 0
je 0x48695c
or eax, 0xffffffff
jmp 0x486976
push dword [esp + 0x10]
push dword [esp + 0xc]
push dword [esp + 0x14]
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0x10

Function at 0x488908
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x6a25bb
call fcn.00640244
push ecx
cmp byte [0x7b0f75], 0
je 0x488923
mov al, 1
jmp 0x4889af
push esi
push edi
xor edi, edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp byte [0x7b0f75], 0
jne 0x4889ab
push 0x10
mov dword [0x7b0f70], esi
call fcn.0063ffa4
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x488965
mov ecx, eax
call fcn.00488288
jmp 0x488967
mov eax, edi
or dword [ebp - 4], 0xffffffff
cmp dword [0x7b0f68], 0
mov dword [0x7b0f64], eax
je 0x48897d
xor al, al
jmp 0x4889ad
add eax, 8
push eax
push edi
push edi
push 0x4882e0
push edi
push edi
push str.BenchThread::BenchThreadRunner
call fcn.0046b229
mov ecx, dword [0x7b0f64]
push esi
mov byte [0x7b0f75], 1
mov dword [ecx + 0xc], eax
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x48dcad
Capabilities:
Create directory

Disassembly:
mov eax, 0x6a299a
call fcn.00640244
sub esp, 0x20
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.0048465d
mov eax, dword [ebp - 0x2c]
xor ebx, ebx
cmp dword [ebp - 0x18], 8
mov dword [ebp - 4], ebx
jae 0x48dcd5
lea eax, [ebp - 0x2c]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
sub esp, 0x18
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00427b8e
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x7b1a24
call fcn.0042a5be
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0048983a
push 0x7b16cc
call fcn.0048f641
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004281f2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49586a
Capabilities:
Get disk information

Disassembly:
mov eax, 0x6a2ed2
call fcn.00640244
sub esp, 0x174
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
add esi, 4
xor ebx, ebx
mov edi, esi
mov dword [ebp - 0x10], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x49589a
mov byte [eax], bl
push 0x6caa34
push 0x6d59e4
call fcn.00463d8e
mov ecx, eax
or eax, 0xffffffff
test ecx, ecx
je 0x4958cb
lea eax, [ebp - 0x24]
push eax
call ecx
test eax, eax
jne 0x4958cb
mov eax, dword [ebp - 0x1a]
mov dword [esi], eax
mov ax, word [ebp - 0x16]
mov word [esi + 4], ax
jmp 0x4958d8
push eax
push str.Cant_create_UUID____d
call fcn.0047cc09
pop ecx
pop ecx
mov esi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push ebx
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 0xa]
push eax
push ebx
push ebx
push 0x6d5a08
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
lea ecx, [ebp - 0x180]
call fcn.0046a427
push 0xe
push esi
lea ecx, [ebp - 0x180]
mov dword [ebp - 4], ebx
call fcn.0046a3c3
lea ecx, [ebp - 0x10c]
mov esi, eax
call fcn.0046a427
push 0xa
push esi
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 1
call fcn.0046a3c3
mov edi, dword [ebp - 0x10]
cmp edi, eax
je 0x495942
push 5
pop ecx
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x98]
call fcn.0046a427
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x98]
push 4
push eax
mov byte [ebp - 4], 2
call fcn.0046a3c3
mov ecx, dword [ebx + eax]
add dword [edi + ebx], ecx
add ebx, 4
cmp ebx, 0x14
jne 0x495962
lea ecx, [ebp - 0x98]
call fcn.0040e2b4
lea ecx, [ebp - 0x10c]
call fcn.0040e2b4
lea ecx, [ebp - 0x180]
call fcn.0040e2b4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x49bdfa
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push 0x6c078965
push dword [esp + 0xc]
or dword [esi + 0x1384], 0xffffffff
call fcn.004bc593
mov eax, esi
pop esi
ret 4