joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429900
Capabilities:
Check os version

Disassembly:
sub esp, 0x56c
mov eax, dword [0x4f3bd0]
xor eax, esp
mov dword [esp + 0x568], eax
mov eax, dword [esp + 0x570]
push ebp
push esi
push edi
push 0x11c
lea ecx, [esp + 0x4c]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.00475410
push 0x11c
push 0
push ebx
mov dword [esp + 0x60], 0x11c
call fcn.00475410
add esp, 0x18
push ebx
mov dword [ebx], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebx + 4], 5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
jne 0x4299a4
push str.IsWow64Process
push 0x4d37a8
call ebp
push eax
call edi
mov esi, eax
mov dword [esp + 0x10], 0
test esi, esi
je 0x4299a4
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x4299a4
cmp dword [esp + 0x10], 0
jne 0x429a6b
push str.RtlGetVersion
push str.ntdll
call ebp
push eax
call edi
test eax, eax
je 0x4299be
lea ecx, [esp + 0x48]
push ecx
call eax
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea edi, [eax + edx*2]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
cmp eax, edi
jle 0x4299eb
mov ecx, 0x47
lea esi, [esp + 0x48]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, eax
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x16e]
push ecx
mov word [esp + 0x170], ax
call fcn.00475410
add esp, 0xc
lea esi, [esp + 0x164]
call fcn.00429840
test eax, eax
jl 0x429a6b
lea edx, [esp + 0x14]
push edx
mov eax, esi
call fcn.00429aa0
test eax, eax
je 0x429a6b
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x10
movzx ecx, cx
lea edx, [eax + eax*4]
lea edx, [ecx + edx*2]
cmp edi, edx
jge 0x429a5e
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0xc]
shr eax, 0x10
mov dword [ebx + 0xc], eax
mov dword [ecx + 4], 1
jmp 0x429a76
mov edx, dword [esp + 0xc]
mov dword [edx + 4], 0
jmp 0x429a76
mov eax, dword [esp + 0xc]
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x574]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.0047548a
add esp, 0x56c
ret 4
Function at 0x429aa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 2
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x429b1e
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x429b17
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x429b16
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x429b0f
push ebp
call fcn.0047758d
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x429b0f
mov ecx, dword [esp + 0x10]
push ebp
push ecx
push ebx
call fcn.00479950
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
cmp ebx, esi
je 0x429b62
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0x4d2f50
push ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x429b59
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov esi, 1
push ebx
call fcn.004770fc
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x42a020
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x80
mov eax, dword [0x4f3bd0]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.0042b170
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x94]
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
mov dword [esp + 0x2c], 0xc3d2e1f0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x78], ebx
call fcn.0042bf30
add esp, 4
lea eax, [esp + 0x18]
lea ecx, [esp + 0x78]
call fcn.0042c010
mov dword [esp + 0x10], ebx
jmp 0x42a0c0
movzx ebx, byte [esp + ebx + 0x78]
mov eax, ebx
shr eax, 4
movzx ecx, word [eax*2 + str.0123456789abcdef]
mov eax, dword [esi]
mov ebp, dword [eax - 0xc]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
lea edi, [ebp + 1]
sub eax, edi
or edx, eax
mov dword [esp + 0x14], ecx
jge 0x42a0f8
mov ecx, edi
mov eax, esi
call fcn.0042bac0
mov ecx, dword [esi]
mov dx, word [esp + 0x14]
mov word [ecx + ebp*2], dx
test edi, edi
jl 0x42a191
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x42a191
mov dword [eax - 0xc], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [esi]
and ebx, 0xf
movzx ebp, word [ebx*2 + str.0123456789abcdef]
mov ebx, dword [eax - 0xc]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
lea edi, [ebx + 1]
sub eax, edi
or edx, eax
jge 0x42a14a
mov ecx, edi
mov eax, esi
call fcn.0042bac0
mov ecx, dword [esi]
mov word [ecx + ebx*2], bp
test edi, edi
jl 0x42a191
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x42a191
mov ebx, dword [esp + 0x10]
mov dword [eax - 0xc], edi
mov edx, dword [esi]
inc ebx
xor eax, eax
mov word [edx + edi*2], ax
mov dword [esp + 0x10], ebx
cmp ebx, 0x14
jb 0x42a0c0
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047548a
add esp, 0x80
ret
push 0x80070057
call fcn.00402987
int3
Function at 0x42a4a0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4b3eb8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f3bd0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x14]
push eax
push 0x202
push ebx
push str.SOFTWARE360SafeLiveup
mov dword [esp + 0x38], ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x42a5ac
mov eax, dword [esi]
mov edi, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x200
je 0x42a55e
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x42a535
push 0x80004005
call fcn.00402987
push ecx
push eax
call fcn.004756c6
add esp, 8
test eax, eax
je 0x42a55e
mov esi, dword [esi]
test esi, esi
je 0x42a55e
push esi
call ebp
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push 0
push str.m2_old
push edi
call ebx
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
test esi, esi
jne 0x42a56d
lea eax, [esi + 0xd]
jmp 0x42a582
push esi
call ebp
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push 0x4d8070
push edi
call ebx
xor edx, edx
test eax, eax
sete dl
mov esi, edx
test edi, edi
je 0x42a596
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x42be50
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42bebe
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x42be8f
cmp eax, 2
jne 0x42beaa
mov eax, dword [esp]
test esi, esi
je 0x42beb8
test eax, eax
je 0x42beb3
test al, 1
jne 0x42beaa
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x42beb8
mov eax, 0xd
pop ecx
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8
Function at 0x42d890
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x454
mov eax, dword [0x4f3bd0]
xor eax, esp
mov dword [esp + 0x44c], eax
mov eax, dword [esp + 0x458]
push ebx
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x468]
push edi
mov dword [eax], ebp
mov dword [esp + 0x30], ecx
mov dword [ecx], ebp
lea ecx, [esp + 0x28]
push ecx
push 8
push ebp
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x42d8f8
mov edi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], eax
jmp 0x42d904
xor eax, eax
jmp 0x42da26
mov edi, dword [esp + 0x38]
lea edx, [esp + 0x40]
push edx
push ebp
push ebp
push ebp
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x264]
push edx
push eax
mov esi, 0x104
push edi
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42da12
lea eax, [esp + 0x20]
push eax
push 1
push ebp
lea ecx, [esp + 0x25c]
push ecx
push edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
jne 0x42d9a5
mov ebx, dword [esp + 0x20]
push str.NetCfgInstanceId
lea edx, [esp + 0x1c]
mov dword [esp + 0x18], esi
push edx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x50]
mov dword [esp + 0x20], ebx
call fcn.0042be50
test eax, eax
jne 0x42d992
mov eax, dword [esp + 0x34]
push eax
mov ecx, esi
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x42d9bb
cmp ebx, ebp
je 0x42d9a1
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 0x100
mov dword [esp + 0x24], eax
jl 0x42d900
jmp 0x42da12
push str.BusType
lea edx, [esp + 0x1c]
push edx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x50]
mov dword [esp + 0x1c], 0x104
call fcn.0042be50
test eax, eax
jne 0x42da07
mov eax, esi
push eax
call fcn.0047766d
add esp, 4
cmp eax, 5
jne 0x42da07
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [ecx], 1
push edx
mov ecx, ebx
call fcn.0042d760
add esp, 4
cmp ebx, ebp
je 0x42da12
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x42da21
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047548a
add esp, 0x454
ret
Function at 0x4305cf
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x430647
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x430634
lea eax, [ebp - 0x20c]
push str.360Tray.exe
push eax
call fcn.004756c6
pop ecx
pop ecx
test eax, eax
je 0x43063a
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x430610
jmp 0x430640
mov dword [esi], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047548a
leave
ret

Function at 0x430664
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x498
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.00430655
mov esi, eax
test esi, esi
jne 0x43068a
xor eax, eax
jmp 0x43070c
push 0x208
lea eax, [ebp - 0x498]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x498]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430683
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.00475410
mov eax, dword [esi]
add esp, 0xc
push 0x40
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x498]
push ecx
push esi
call dword [eax + 0x64]
test eax, eax
je 0x430683
push 0x80
lea eax, [ebp - 0x84]
push eax
push 1
push str.SetupVersion
push str.SOFTWARE360SafeCoop
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0047548a
leave
ret

Function at 0x4307d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
and dword [ebp - 0xc], 0
and dword [ebp - 0x10], 0
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 4
pop esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push str.NetCheck
push str.SOFTWARE360Safe360Scan
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push str.IsNotiryShowed
push str.SOFTWARE360Safe360Scan
push ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call edi
cmp dword [ebp - 0xc], 0
pop edi
pop esi
pop ebx
je 0x430841
cmp dword [ebp - 0x10], 0
je 0x430841
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret
Function at 0x4308ed
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x788], eax
push 0x800
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00475410
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x43094f
xor eax, eax
jmp 0x430960
cmp word [ebp - 0x78], 0
je 0x43094b
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp + 0x788]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x78c
leave
ret

Function at 0x430975
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xb0]
sub esp, 0x130
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0xac], eax
push esi
push edi
push 6
pop ecx
mov esi, 0x4d33e0
lea edi, [ebp + 0x90]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x104
lea ecx, [ebp + 0x90]
mov esi, 0xd3a
mov dword [ebp - 0x78], 0x1a
mov al, byte [ecx]
imul esi, esi, 0x343fd
add esi, 0x269ec3
mov edx, esi
shr edx, 0x10
and edx, 0x7fff
movzx edi, al
sub al, dl
mov byte [ecx], al
inc ecx
dec dword [ebp - 0x78]
jne 0x4309c4
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.ExeString
lea eax, [ebp + 0x90]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
pop edi
pop esi
test eax, eax
jne 0x430a26
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x430a26
xor eax, eax
inc eax
jmp 0x430a28
xor eax, eax
mov ecx, dword [ebp + 0xac]
xor ecx, ebp
call fcn.0047548a
add ebp, 0xb0
leave
ret
Function at 0x430cb5
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0x4c
mov eax, dword [0x4f3bd0]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
xor ebp, ebp
push edi
xor ebx, ebx
inc ebp
mov edi, 0x4f7b3c
jmp 0x430ce4
cmp eax, ebp
jne 0x430cf3
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push ebp
push edi
call esi
cmp eax, 2
jne 0x430cd9
jmp 0x430dee
cmp eax, ebx
jne 0x430dee
mov esi, 0x4f7a20
push esi
mov dword [0x4f7a20], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x430db2
push 0x3f
lea eax, [esp + 0x1d]
push ebx
push eax
mov byte [esp + 0x24], bl
call fcn.00475410
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push str.CurrentVersion
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 0x40
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x430d8a
movsx eax, byte [esp + 0x18]
sub eax, 0x30
mov dword [0x4f7a24], eax
lea eax, [esp + 0x1a]
push eax
mov dword [0x4f7a30], 2
call fcn.00476b71
pop ecx
mov dword [0x4f7a28], eax
jmp 0x430db2
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr eax, 8
movzx eax, al
mov dword [0x4f7a28], eax
xor eax, eax
cmp ecx, 4
seta al
mov dword [0x4f7a24], ecx
inc eax
mov dword [0x4f7a30], eax
mov eax, dword [0x4f7a24]
cmp eax, 6
ja 0x430dc7
jne 0x430de5
cmp dword [0x4f7a28], 2
jb 0x430de5
push str.RtlGetVersion
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x430de5
push esi
call eax
push 2
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 0x4f7a20
call fcn.0047548a
add esp, 0x4c
ret

Function at 0x430e36
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov ebx, 0x4f7b44
jmp 0x430e58
cmp eax, 1
jne 0x430e66
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 1
push ebx
call esi
cmp eax, 2
jne 0x430e4b
jmp 0x430ec2
test eax, eax
jne 0x430ec2
push edi
push 9
pop ecx
push str.GetNativeSystemInfo
lea edi, [ebp - 0x24]
push 0x4b7fd0
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop edi
test eax, eax
je 0x430e97
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x430ea1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x24], 9
je 0x430eaf
cmp word [ebp - 0x24], 6
jne 0x430eb9
mov dword [0x4f7b40], 1
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [0x4f7b40]
pop esi
pop ebx
leave
ret
Function at 0x430ecb
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x1fa4]
mov eax, 0x2024
call fcn.00476b30
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x1fa0], eax
push edi
mov edi, dword [ebp + 0x1fac]
test edi, edi
jne 0x430efc
xor eax, eax
jmp 0x430f81
push esi
push 0x1e
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00475410
mov esi, 0x2000
push esi
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.00475410
push esi
lea eax, [ebp - 0x60]
push 0
push eax
mov dword [ebp - 0x7c], 3
call fcn.00475410
mov eax, 0x1000
push eax
push edi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00476727
lea eax, [ebp - 0x60]
push eax
call fcn.00475eae
xor ecx, ecx
mov word [ebp + eax*2 - 0x60], cx
lea eax, [ebp - 0x60]
push eax
call fcn.00475eae
xor ecx, ecx
mov word [ebp + eax*2 - 0x5e], cx
lea eax, [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, 0x614
mov word [ebp - 0x70], ax
add esp, 0x3c
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
inc eax
pop esi
mov ecx, dword [ebp + 0x1fa0]
xor ecx, ebp
pop edi
call fcn.0047548a
add ebp, 0x1fa4
leave
ret

Function at 0x430f97
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4ea4f4]
sub esp, 0x64
push ebx
xor ebx, ebx
inc ebx
push edi
cmp eax, ebx
je 0x431059
test eax, eax
je 0x431059
call fcn.00430e36
test eax, eax
je 0x431051
call fcn.00430e06
test eax, eax
jne 0x431051
call fcn.00430e1e
test eax, eax
jne 0x431051
push 9
pop ecx
push str.GetNativeSystemInfo
lea edi, [ebp - 0x24]
push str.kernel32.dll
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x431005
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x43100f
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x10], 4
jbe 0x431051
push 0x40
xor edi, edi
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.00475410
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x431047
cmp dword [ebp - 0x58], ebx
ja 0x431047
jb 0x431051
cmp dword [ebp - 0x5c], edi
jbe 0x431051
mov dword [0x4ea4f4], edi
xor eax, eax
jmp 0x431059
mov eax, ebx
mov dword [0x4ea4f4], ebx
pop edi
pop ebx
leave
ret
Function at 0x431588
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10000000
push esi
push str.Administrators
push edi
call fcn.0043118b
push 0x208
mov ebx, eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00475410
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x210], 0x103
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00475eae
pop ecx
test eax, eax
jbe 0x43160c
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.0043118b
add esp, 0xc
and ebx, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0047548a
leave
ret

Function at 0x4316ea
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x10
mov eax, 0x4af28b
call fcn.004764b0
mov eax, dword [ebp + 0x814]
mov ebx, dword [ebp + 0x810]
mov edi, ecx
mov ecx, dword [ebp + 0x80c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x818]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x431814
test eax, eax
je 0x431814
test ecx, ecx
je 0x431814
cmp dword [edi + 8], 0
je 0x431814
mov ecx, edi
call fcn.00430655
mov esi, eax
test esi, esi
je 0x431814
cmp dword [ebp + 0x820], 0
je 0x431787
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431814
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x4317f8
push 0x4f9e00
lea ecx, [ebp - 0x14]
call fcn.0040293e
mov ecx, dword [edi + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.004600b7
push 0x800
lea eax, [ebp]
push 0
push eax
call fcn.00475410
add esp, 0xc
push ebx
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [ebp + 0x81c]
mov eax, dword [esi]
push dword [ebp - 0x10]
lea ecx, [ebp]
push dword [ebp - 0x18]
push ecx
push dword [ebp - 0x1c]
push esi
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402963
jmp 0x431810
push dword [ebp + 0x81c]
mov eax, dword [esi]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0x1c]
push esi
call dword [eax + 0x2c]
mov esi, eax
mov eax, esi
jmp 0x431816
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x804
leave
ret 0x18