joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425442
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xc
mov eax, 0x4727e7
call fcn.0044ed4c
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0x8c], edi
je 0x42548d
call fcn.00425045
test eax, eax
je 0x425495
lea eax, [ebp - 0x18]
push eax
push 4
push esi
push 0x425337
push edi
push edi
call fcn.004547e8
add esp, 0x18
mov dword [esi + 0xa8], eax
cmp eax, edi
je 0x42548d
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
call fcn.0044edf1
ret
mov eax, dword [esi + 0xb0]
cmp eax, edi
je 0x42548d
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
push edi
mov edx, dword [ebp - 0x14]
neg edx
push edx
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push edi
push dword [esi + 0x68]
push dword [esi + 0x64]
push edi
push edi
push dword [esi + 0x90]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x42548d
push edi
mov ecx, esi
call fcn.0042495e
xor eax, eax
inc eax
jmp 0x42548f

Function at 0x425f49
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 8
mov eax, 0x472884
call fcn.0044ed4c
mov dword [ebp - 0x14], ecx
and dword [ebp - 4], 0
call fcn.0043a3b0
mov eax, dword [eax + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x425fb5
call fcn.0043a3b0
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x425fb5
call fcn.0043a3b0
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x425fbf
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
call fcn.0044edf1
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp + 0xc], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x42600c
cmp dword [ebp + 0xc], 0
je 0x42600c
push edi
push eax
push dword [ebp + 0xc]
call fcn.00451d20
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push esi
mov ecx, dword [ebp - 0x14]
call fcn.00425c2d
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x425fb7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x425fae
Function at 0x426a1a
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0x2c4
mov eax, 0x472beb
call fcn.0044edb8
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x22c], ebx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x220], esi
xor edi, edi
mov dword [ebp - 4], edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, edi
jne 0x426a51
xor eax, eax
inc eax
jmp 0x426a89
lea eax, [ebp - 0x224]
push eax
push 0x20019
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x426a8f
cmp eax, 2
jne 0x426a7c
push str.Key_not_found._n
call fcn.00454094
pop ecx
jmp 0x426a4c
push str.Error_opening_key._n
call fcn.00454094
pop ecx
xor eax, eax
call fcn.0044ee14
ret
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2]
mov dword [ebp - 0x234], esi
cmp word [esi - 2], 0x5c
je 0x426ab9
push 0x5c
pop eax
mov word [esi], ax
inc esi
inc esi
mov dword [ebp - 0x234], esi
xor eax, eax
mov word [esi], ax
mov dword [ebp - 0x228], 0x104
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x426afe
lea eax, [ebp - 0x21c]
push eax
push 0x208
push esi
call fcn.0042601f
push dword [ebp - 0x220]
push dword [ebp - 0x22c]
call fcn.00426a1a
pop ecx
pop ecx
test eax, eax
je 0x426b23
mov dword [ebp - 0x228], 0x104
lea eax, [ebp - 0x23c]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [ebp - 0x224]
call ebx
cmp eax, edi
je 0x426acb
dec esi
dec esi
mov dword [ebp - 0x234], esi
xor eax, eax
mov word [esi], ax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x220]
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, edi
je 0x426a4c
or dword [ebp - 4], 0xffffffff
jmp 0x426a87
Function at 0x4272c8
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x38
mov eax, 0x472dca
call fcn.0044ed4c
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004028a9
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call esi
test eax, eax
je 0x427361
lea eax, [ebp - 0x1c]
push eax
push 0x20119
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x427361
push 0x477c34
mov ecx, dword [ebp + 8]
call fcn.00403cf0
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004028d3
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.004028d3
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x14]
call fcn.004028d3
mov eax, dword [ebp + 8]
jmp 0x42752c
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
mov dword [ebp - 0x28], eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
call fcn.00402a51
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp - 0x1c]
call esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 4
jmp 0x4273ef
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00426087
mov ecx, dword [ebp + 8]
cmp dword [ebp - 0x28], ebx
je 0x427419
push 0x47c14c
call fcn.0040364f
jmp 0x42732f
lea eax, [ebp - 0x14]
push eax
call fcn.00402e10
jmp 0x42732f
call fcn.0044edf1
ret
Function at 0x42765a
Capabilities:
Set registry value

Disassembly:
push 0x2d0
mov eax, 0x472f9a
call fcn.0044edb8
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xc]
call fcn.004207d9
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
lea eax, [ebp + 8]
push eax
call fcn.00402e10
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
call fcn.00426186
pop ecx
push eax
call fcn.00426ef3
pop ecx
pop ecx
lea eax, [ebp - 0x238]
push eax
push 0x20019
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
lea eax, [ebp + 8]
push eax
call fcn.00402e10
mov byte [ebp - 4], 6
mov byte [ebp - 4], 4
call fcn.00426186
pop ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42774e
lea eax, [ebp - 0x238]
push eax
push dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
lea eax, [ebp + 8]
push eax
call fcn.00402e10
mov byte [ebp - 4], 7
mov byte [ebp - 4], 4
call fcn.00426186
pop ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x42774e
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004028d3
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004028d3
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10]
call fcn.004028d3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004028d3
push 0xfffffffffffffff6
pop eax
jmp 0x42791a
lea ecx, [ebp - 0x230]
call fcn.00405be1
mov byte [ebp - 4], 8
push dword [ebp + 0x14]
lea ecx, [ebp - 0x230]
call fcn.004061dd
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
jae 0x427780
lea eax, [ebp - 0x22c]
mov ecx, dword [ebp - 0x21c]
add ecx, ecx
push ecx
push eax
push 1
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [ebp + 0x14]
call fcn.00426087
mov byte [ebp - 4], 4
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.00405a7c
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004028d3
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004028d3
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10]
call fcn.004028d3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004028d3
mov eax, esi
jmp 0x42791a
call fcn.0044ee14
ret
Function at 0x429a25
Capabilities:
Reference wmi statements

Disassembly:
push 8
mov eax, 0x473556
call fcn.0044ed19
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
and dword [ebp - 0x10], 0
push str.Caption
push 0x477a5d
push str.SELECT__FROM_Win32_OperatingSystem
push str.ROOTcimv2
push esi
mov dword [ebp - 0x14], esi
call fcn.00428e1d
add esp, 0x14
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, esi
call fcn.0044edf1
ret

Function at 0x429a6f
Capabilities:
Get geographical location

Disassembly:
push 0x4bc
mov eax, 0x4736bc
call fcn.0044edb8
mov esi, dword [ebp + 8]
mov dword [ebp - 0x434], esi
and dword [ebp - 0x430], 0
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov word [ebp - 0x214], ax
push 0x1fc
push eax
lea eax, [ebp - 0x212]
push eax
call fcn.0044ef70
add esp, 0xc
push 0x1fe
lea eax, [ebp - 0x214]
push eax
push 0x59
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea ecx, [ebp - 0x418]
call fcn.004028a9
mov byte [ebp - 4], 2
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x418]
call fcn.004034da
lea eax, [ebp - 0x418]
push eax
mov ecx, esi
call fcn.00402e10
mov dword [ebp - 0x430], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x418]
call fcn.004028d3
mov eax, esi
jmp 0x429c1f
call fcn.0044ee14
ret
Function at 0x42b913
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x42b95b
call fcn.0043a3b0
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42b95b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x42b99e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x42b987
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x42b987
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42b99b
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x438e4d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x438e94
call fcn.0043a3b0
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x438e94
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x438eb0
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004389c5
mov esi, eax
test edi, edi
je 0x438eae
test ebx, ebx
je 0x438eae
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x439637
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x474223
call fcn.0044ed19
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x43965c
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4396a2
lea ecx, [ebp - 0x10]
call fcn.004028a9
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042ad92
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401109
mov eax, esi
call fcn.0044edf1
ret 8

Function at 0x441632
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x441656
cmp dword [edi + 0x54], 0
jne 0x441656
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0043a3b0
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004415f3
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x445985
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x4459b0
call fcn.0043a3b0
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x4459d3
push eax
push dword [esi + 4]
call fcn.0044590b
push esi
push eax
mov ecx, 0x49d840
call fcn.00445592
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x446453
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x474bc6
call fcn.0044ed19
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00446413
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.004028a9
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x4464b9
push eax
push dword [esi + 8]
call fcn.0044590b
push dword [esi + 0xc]
mov ecx, 0x49d840
push eax
call fcn.00445592
mov eax, esi
call fcn.0044edf1
ret 0x18

Function at 0x44ed0a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49a3a0]
jne 0x44ed14
repz ret
jmp fcn.0045a37c

Function at 0x462f97
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.004567f2
and dword [ebp - 4], 0
cmp dword [0x49e690], 0
mov ebx, eax
jne 0x463048
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4630f9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4630f9
push eax
call fcn.00456780
mov dword [esp], 0x4812b8
push edi
mov dword [0x49e690], eax
call esi
push eax
call fcn.00456780
mov dword [esp], 0x4812a4
push edi
mov dword [0x49e694], eax
call esi
push eax
call fcn.00456780
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x49e698], eax
call esi
push eax
call fcn.00456780
pop ecx
mov dword [0x49e6a0], eax
test eax, eax
je 0x463048
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00456780
pop ecx
mov dword [0x49e69c], eax
mov eax, dword [0x49e69c]
cmp eax, ebx
je 0x4630a0
cmp dword [0x49e6a0], ebx
je 0x4630a0
push eax
call fcn.004567fb
push dword [0x49e6a0]
mov esi, eax
call fcn.004567fb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4630a0
test edi, edi
je 0x4630a0
call esi
test eax, eax
je 0x463097
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x463097
test byte [ebp - 0xc], 1
jne 0x4630a0
or dword [ebp + 0x10], 0x200000
jmp 0x4630d9
mov eax, dword [0x49e694]
cmp eax, ebx
je 0x4630d9
push eax
call fcn.004567fb
pop ecx
test eax, eax
je 0x4630d9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4630d9
mov eax, dword [0x49e698]
cmp eax, ebx
je 0x4630d9
push eax
call fcn.004567fb
pop ecx
test eax, eax
je 0x4630d9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49e690]
call fcn.004567fb
pop ecx
test eax, eax
je 0x4630f9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4630fb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000350e
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push edx
push ecx
push edi
push esi
mov dword [ebp - 0x110], 0
push 0x104
lea eax, [ebp - 0x106]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
or eax, eax
je 0x100035b6
push 0x3a
push eax
lea eax, [ebp - 0x106]
push eax
call fcn.10002216
or eax, eax
je 0x100035b6
inc eax
mov byte [eax], 0x5c
inc eax
mov byte [eax], 0
push 0
pop dword [ebp - 0x10c]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
push 0
lea eax, [ebp - 0x106]
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, dword [ebp - 0x10c]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
add edx, dword [ebp + 8]
push 0x19
push edx
call fcn.100034d4
add al, 0x61
mov byte [esi], al
inc esi
loop 0x10003589
cmp dword [ebp + 0x14], 0
je 0x100035a9
push dword [ebp + 0x14]
pop dword [esi]
add esi, 4
mov byte [esi], 0
mov dword [ebp - 0x110], 1
mov eax, dword [ebp - 0x110]
pop esi
pop edi
pop ecx
pop edx
pop ebx
leave
ret 0x10

Function at 0x100035c5
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push edx
push ecx
push edi
push esi
push 0x104
lea eax, [ebp - 0x106]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
or eax, eax
je 0x100036de
push 0x3a
push eax
lea eax, [ebp - 0x106]
push eax
call fcn.10002216
or eax, eax
je 0x100036de
inc eax
mov byte [eax], 0x5c
inc eax
mov byte [eax], 0
push 0
pop dword [ebp - 0x10c]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
push 0
lea eax, [ebp - 0x106]
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, dword [ebp - 0x10c]
push 0xffffffffffffffff
push edx
call fcn.100034d4
add eax, dword [ebp + 8]
mov dword [ebp - 0x124], eax
push 0xffff
push edx
call fcn.100034d4
movzx eax, ax
mov dword [ebp - 0x120], eax
push 0xffff
push edx
call fcn.100034d4
movzx eax, ax
mov dword [ebp - 0x11c], eax
push 0xffff
push edx
call fcn.100034d4
movzx eax, ax
mov dword [ebp - 0x118], eax
push 0xffffffffffffffff
push edx
call fcn.100034d4
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
push 0xffff
push edx
call fcn.100034d4
movzx eax, ax
mov dword [ebp - 0x110], eax
push dword [ebp - 0x110]
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
push dword [ebp - 0x124]
push str._08X__04X__04X__04X__08X_04X
push dword [ebp + 0x10]
call sub.user32.dll_wsprintfA
add esp, 0x20
pop esi
pop edi
pop ecx
pop edx
pop ebx
leave
ret 0xc

Function at 0x1000372e
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push 1
push 0
call sub.kernel32.dll_CreateMutexA
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x1000375d
push dword [ebp + 0x10]
call fcn.1000370a
mov eax, 0
jmp 0x10003770
cmp dword [ebp + 0xc], 1
jne 0x1000376b
push dword [ebp + 0x10]
call fcn.1000370a
mov eax, 1
leave
ret 0xc
Function at 0x1000381b
Capabilities:
Get common file path
Get disk information
Get hostname
Get session user name
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push 0x800
push 0x40
call sub.kernel32.dll_GlobalAlloc
or eax, eax
je 0x1000397a
mov dword [ebp - 8], eax
mov edi, eax
push 0x104
lea eax, [ebp - 0x112]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
or eax, eax
je 0x10003889
push 0x3a
push eax
lea eax, [ebp - 0x112]
push eax
call fcn.10002216
or eax, eax
je 0x10003889
inc eax
mov byte [eax], 0x5c
inc eax
mov byte [eax], 0
push 0
push 0
push 0
push 0
push edi
push 0
push 0
lea eax, [ebp - 0x112]
push eax
call sub.kernel32.dll_GetVolumeInformationA
add edi, 4
mov dword [ebp - 0xc], 0x10
lea eax, [ebp - 0xc]
push eax
push edi
call sub.kernel32.dll_GetComputerNameA
cmp eax, 1
jne 0x100038a2
add edi, dword [ebp - 0xc]
mov dword [ebp - 0xc], 0x101
lea eax, [ebp - 0xc]
push eax
push edi
call sub.advapi32.dll_GetUserNameA
cmp eax, 1
jne 0x100038bc
add edi, dword [ebp - 0xc]
dec edi
push 0xff
push edi
push str.PROCESSOR_IDENTIFIER
call sub.kernel32.dll_GetEnvironmentVariableA
add edi, eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.HARDWAREDESCRIPTIONSystem
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
or eax, eax
jne 0x10003915
mov dword [ebp - 0xc], 0xff
lea eax, [ebp - 0xc]
push eax
push edi
push 0
push 0
push str.SystemBiosVersion
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA
or eax, eax
jne 0x1000390d
add edi, dword [ebp - 0xc]
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
or eax, eax
jne 0x1000395c
mov dword [ebp - 0xc], 0xff
lea eax, [ebp - 0xc]
push eax
push edi
push 0
push 0
push str.ProductId
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA
or eax, eax
jne 0x10003954
add edi, dword [ebp - 0xc]
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
mov edx, edi
sub edx, dword [ebp - 8]
mov edi, dword [ebp - 8]
push 0
push dword [ebp + 8]
push edx
push dword [ebp - 8]
call fcn.10001195
push dword [ebp - 8]
call sub.kernel32.dll_GlobalFree
leave
ret 4