joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ad6da
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0049ae3b
and dword [ebp - 4], 0
cmp dword [0x4f1240], 0
mov ebx, eax
jne 0x4ad78b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4ad83c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4ad83c
push eax
call fcn.0049adc9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4f1240], eax
call esi
push eax
call fcn.0049adc9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4f1244], eax
call esi
push eax
call fcn.0049adc9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4f1248], eax
call esi
push eax
call fcn.0049adc9
pop ecx
mov dword [0x4f1250], eax
test eax, eax
je 0x4ad78b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0049adc9
pop ecx
mov dword [0x4f124c], eax
mov eax, dword [0x4f124c]
cmp eax, ebx
je 0x4ad7e3
cmp dword [0x4f1250], ebx
je 0x4ad7e3
push eax
call fcn.0049ae44
push dword [0x4f1250]
mov esi, eax
call fcn.0049ae44
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4ad7e3
test edi, edi
je 0x4ad7e3
call esi
test eax, eax
je 0x4ad7da
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4ad7da
test byte [ebp - 0xc], 1
jne 0x4ad7e3
or dword [ebp + 0x10], 0x200000
jmp 0x4ad81c
mov eax, dword [0x4f1244]
cmp eax, ebx
je 0x4ad81c
push eax
call fcn.0049ae44
pop ecx
test eax, eax
je 0x4ad81c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4ad81c
mov eax, dword [0x4f1248]
cmp eax, ebx
je 0x4ad81c
push eax
call fcn.0049ae44
pop ecx
test eax, eax
je 0x4ad81c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4f1240]
call fcn.0049ae44
pop ecx
test eax, eax
je 0x4ad83c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4ad83e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4b1cd0
Capabilities:
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4b55f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4ea688]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0x4b15c0
push 0x4f1268
call fcn.004b17f0
mov eax, dword [0x4f1270]
add esp, 8
test eax, eax
je 0x4b1d2a
mov ecx, dword [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret
lea ecx, [esp + 4]
call fcn.00493343
mov dword [esp + 0x10], 0
mov dword [esp + 4], vtable.boost::thread_resource_error.0
lea edx, [esp + 4]
push edx
mov dword [esp + 0x20], 0
call fcn.00439ee0
int3
Function at 0x4b1d60
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4b5628
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ea688]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x4f1270]
test eax, eax
jne 0x4b1d92
xor esi, esi
jmp 0x4b1d9b
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x14], esi
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x20], 0
test esi, esi
je 0x4b1dc7
cmp dword [esi + 0x14], 0
jne 0x4b1e09
cmp dword [esi + 0x10], 0
jne 0x4b1e10
push 0
call fcn.004b1cd0
add esp, 4
mov dword [esp + 0x20], 0xffffffff
test esi, esi
je 0x4b1df5
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4b1df5
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp dword [esi + 0x10], 0
je 0x4b1e50
nop
mov ebx, dword [esi + 0x10]
mov eax, dword [ebx + 4]
mov dword [esi + 0x10], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x4b1e3e
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebx]
mov edx, dword [edi]
mov eax, dword [edx]
push 0
mov ecx, edi
call eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x10], 0
jne 0x4b1e10
cmp dword [esi + 0x14], 0
je 0x4b1db7
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x14], ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4b1e75
mov edx, dword [ecx]
mov eax, dword [edi + 0xc]
mov edx, dword [edx + 4]
push eax
call edx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x4b1ea6
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4b1ea6
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4b1ea6
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x14], 0
jne 0x4b1e5a
jmp 0x4b1db1
Function at 0x4b1f40
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x4b5678
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4ea688]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x1c]
push ecx
push 4
push eax
push 0x4b1ec0
push 0
push 0
call fcn.00492b82
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x4b1fab
lea ecx, [esp + 0x10]
call fcn.00493343
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], vtable.boost::thread_resource_error.0
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x2c], ebx
call fcn.00439ee0
mov eax, dword [edi]
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [edi]
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x4b1fd1
cmp eax, 0xffffffff
je 0x4b1fd1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
mov edx, dword [edi]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x4b2bd0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4ea688]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
test ebx, ebx
jne 0x4b2c08
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00491db1
add esp, 0x20c
ret
push esi
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004982c0
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x4b2cd3
mov ecx, ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4b2c40
sub ecx, esi
sar ecx, 1
mov edx, 0x103
sub edx, ecx
cmp eax, edx
jae 0x4b2cd3
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b2c62
mov eax, dword [0x4ce6b0]
mov dword [edi], eax
mov eax, ebx
mov edx, ebx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b2c80
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b2c94
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00491db1
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00491db1
add esp, 0x20c
ret
Function at 0x4b33b0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.004a87d0
mov eax, dword [0x4ea688]
xor eax, esp
mov dword [esp + 0x2c10], eax
mov eax, dword [esp + 0x2c18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x4b351b
cmp dword [esp + 0x2c20], edi
je 0x4b351b
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push 0x100
push eax
call fcn.00424230
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x4b34f4
xor eax, eax
push 0x2710
lea edx, [esp + 0x514]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.004982c0
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x51c]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4b34e7
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.004982c0
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.004b4cc0
mov edx, dword [esp + 0x2c48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
call fcn.004241f0
test eax, eax
jne 0x4b34e7
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x4b34fe
inc ebx
cmp ebx, 0x10
jl 0x4b3400
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.00491db1
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00491db1
add esp, 0x2c14
ret
Function at 0x4b37c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x4ea688]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x4b39c1
cmp dword [esp + 0x2f8], 0
je 0x4b39c1
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.004982c0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x4c43d4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4b3988
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4b397b
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4b3949
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b393e
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004982c0
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.004b36b0
add esp, 0x14
test eax, eax
je 0x4b393e
cmp byte [esp + 0x24], 0
je 0x4b3902
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x4b393e
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x4b3931
mov cl, byte [esi + eax]
test cl, cl
je 0x4b3931
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x4b3916
jmp 0x4b3935
test edx, edx
jne 0x4b3936
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4b3860
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x4b39c1
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.004241f0
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.00491db1
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00491db1
add esp, 0x2ec
ret
Function at 0x4b3d60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x4ea688]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x4b3edd
cmp ebp, 0x20
jb 0x4b3edd
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.004982c0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x4c4464
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4b3edd
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b3df0
sub eax, edx
cmp eax, 0x40
jne 0x4b3edd
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x4b3e2e
mov cl, byte [esi + eax]
test cl, cl
je 0x4b3e2e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x4b3e16
jmp 0x4b3e32
test edx, edx
jne 0x4b3e33
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x4b3e6b
mov cl, byte [edx + eax]
test cl, cl
je 0x4b3e6b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x4b3e50
jmp 0x4b3e6f
test esi, esi
jne 0x4b3e70
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.004982c0
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.004b2e30
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x4b3edd
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.004241f0
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.00491db1
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00491db1
add esp, 0x50c
ret
Function at 0x4b3f00
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x290
mov eax, dword [0x4ea688]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004982c0
push 0x80
lea ebx, [esp + 0x20]
mov ecx, edi
call fcn.004b2e30
lea eax, [esp + 0x1a0]
mov edx, edi
mov ecx, eax
add esp, 0x10
mov esi, 0x104
sub edx, ecx
lea esp, [esp]
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x4b3f6b
mov cl, byte [edx + eax]
test cl, cl
je 0x4b3f6b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x4b3f50
jmp 0x4b3f6f
test esi, esi
jne 0x4b3f70
dec eax
lea edx, [esp + 0x10]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x198]
push eax
call fcn.004b2d40
push 0xff
lea ecx, [esp + 0x95]
push 0
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 0
call fcn.004982c0
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x4c4464
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0x100
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x4b404b
mov ecx, edi
lea eax, [esp + 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b4013
test dl, dl
je 0x4b400f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b4013
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b3ff3
xor eax, eax
jmp 0x4b4018
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4b404b
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b4026
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
push 1
push str.mid_old
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [esp + 0x190]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b4055
sub eax, edx
push eax
lea eax, [esp + 0x194]
push eax
push 1
push 0x4c4464
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [esp + 0x294]
pop esi
pop ebx
xor ecx, esp
call fcn.00491db1
add esp, 0x290
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x10003a01
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push 0x2c
mov eax, 0x1004a08d
call fcn.10032dfa
xor ebx, ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], ebx
call fcn.10001f8d
xor esi, esi
inc esi
mov dword [ebp - 4], ebx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], esi
call fcn.100154b3
pop ecx
mov dword [ebp - 4], esi
cmp dword [eax + 0x18], 0x10
jb 0x10003a3b
mov eax, dword [eax + 4]
jmp 0x10003a3e
add eax, 4
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 0x30], ebx
call fcn.1002553d
test eax, eax
je 0x10003a5d
push ebx
push dword [ebp - 0x30]
call fcn.100276a8
pop ecx
pop ecx
mov edi, eax
jmp 0x10003a68
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
or edi, 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.10002245
cmp edi, 0xffffffff
je 0x10003aab
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
mov dword [ebp - 0x30], 0x10
call sub.WS2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x10003aa5
push dword [ebp - 0x1c]
call sub.WS2_32.dll_inet_ntoa
mov ecx, dword [ebp - 0x34]
push eax
call fcn.100021d7
push edi
call sub.WS2_32.dll_closesocket
mov eax, dword [ebp - 0x34]
call fcn.10032e7d
ret

Function at 0x10003ab4
Capabilities:
Get hostname

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x10061060]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x7c
mov eax, 0x10049328
call fcn.10032d91
and dword [ebp - 0x10], 0
xor eax, eax
push 0xfe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
mov edi, ecx
push eax
mov dword [ebp - 0x18], edi
call fcn.10033d90
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
push 3
pop ebx
mov esi, 0x80
push ebx
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x10003b42
lea eax, [ebp]
push eax
lea esi, [ebp - 0x34]
call fcn.10002018
and dword [ebp - 4], 0
mov eax, esi
push eax
push edi
call fcn.100011f4
pop ecx
pop ecx
push 0
push 1
call fcn.1000233d
mov eax, edi
jmp 0x10003be5
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor edi, edi
inc edi
test eax, eax
je 0x10003b85
lea eax, [ebp]
push eax
lea esi, [ebp - 0x50]
call fcn.10002018
push 2
pop esi
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x10], esi
call fcn.100011f4
pop ecx
pop ecx
mov dword [ebp - 4], esi
push 6
jmp 0x10003b9a
push 0x10050ccf
lea ecx, [ebp - 0x88]
call fcn.10001fa2
mov dword [ebp - 4], ebx
push 8
mov ecx, dword [ebp - 0x18]
pop ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.10001fc4
or ebx, edi
test bl, 8
je 0x10003bbf
push 0
push edi
lea ecx, [ebp - 0x88]
and ebx, 0xfffffff7
call fcn.10002245
test bl, 4
je 0x10003bd2
push 0
push edi
lea ecx, [ebp - 0x6c]
and ebx, 0xfffffffb
call fcn.10002245
test bl, 2
je 0x10003be2
push 0
push edi
lea esi, [ebp - 0x50]
call fcn.1000233d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.1003186a
add ebp, 0x104
leave
ret
Function at 0x10003f1c
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c93b
mov eax, dword fs:[0]
push eax
mov eax, 0x20090
call fcn.10040400
mov eax, dword [0x10061060]
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 eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
push str.clientCfg
lea ecx, [ebp - 0x20098]
mov dword [ebp - 0x20038], esi
mov dword [ebp - 0x20040], eax
mov dword [ebp - 0x2003c], ebx
call fcn.10001fa2
lea eax, [ebp - 0x20098]
push eax
xor edi, edi
lea eax, [ebp - 0x2007c]
inc edi
push eax
mov dword [ebp - 4], edi
call fcn.100032a4
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x20098]
mov byte [ebp - 4], 3
call fcn.10002245
push str.useCidMac
lea ecx, [ebp - 0x20060]
call fcn.10001fa2
lea eax, [ebp - 0x20060]
push eax
lea eax, [ebp - 0x2007c]
mov byte [ebp - 4], 4
call fcn.100031f3
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x20060]
mov dword [ebp - 0x20034], eax
mov byte [ebp - 4], 3
call fcn.10002245
cmp dword [ebp - 0x20034], ebx
je 0x10004019
push str.use_cid_dummy_mac
call fcn.10013ae0
pop ecx
lea eax, [ebp - 0x20060]
push eax
call fcn.10015491
pop ecx
push esi
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.10003e53
pop ecx
lea ecx, [ebp - 0x20060]
jmp 0x10004124
push ebx
lea ecx, [ebp - 0x20030]
mov dword [ebp - 0x20018], 0xf
call fcn.1000259c
lea eax, [ebp - 0x20044]
push eax
lea esi, [ebp - 0x20014]
mov eax, esi
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0x20044], 0x20000
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x1000410c
cmp dword [esi + 0x190], 6
jne 0x100040a1
lea eax, [esi + 0x1ac]
mov dword [ebp - 0x20034], eax
cmp eax, ebx
je 0x100040a1
jmp 0x1000407b
mov eax, dword [ebp - 0x20034]
add eax, 4
push eax
mov eax, dword [ebp - 0x20040]
call fcn.1000609a
pop ecx
test al, al
jne 0x100040a9
mov eax, dword [ebp - 0x20034]
mov eax, dword [eax]
mov dword [ebp - 0x20034], eax
cmp eax, ebx
jne 0x10004075
mov esi, dword [esi]
cmp esi, ebx
jne 0x1000405a
jmp 0x1000410c
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02x__02x__02x__02x__02x__02x
lea esi, [ebp - 0x20060]
call fcn.10026d0a
add esp, 0x1c
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x20030]
mov byte [ebp - 4], 7
call fcn.10002145
push ebx
push edi
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.10002245
mov ecx, dword [ebp - 0x20038]
lea eax, [ebp - 0x20030]
push eax
call fcn.10001fc4
lea ecx, [ebp - 0x20030]
push ebx
push edi
mov dword [ebp - 0x2003c], edi
call fcn.10002245
lea esi, [ebp - 0x2007c]
mov byte [ebp - 4], bl
call fcn.1001bc27
mov eax, dword [ebp - 0x20038]
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.1003186a
leave
ret