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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov ebx, ecx
push 0x53cd60
push 0x446
push dword [ebx - 0x1c]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x434
push dword [ebx - 0x1c]
call edi
push 1
xor ecx, ecx
push ecx
push ecx
push 0x96
push 0x55
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x446
push dword [ebx - 0x1c]
call edi
push 1
xor edi, edi
push edi
push edi
push 0xa0
push 0x8c
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 4]
mov dword [ebx + 0x18], edi
push eax
push edi
lea ecx, [ebx - 0x20]
push ecx
push 0x4847ea
push edi
push edi
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebx + 0x10], eax
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret 8

Function at 0x485078
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 1
push 1
mov ebx, ecx
mov esi, 0x43c
push 0
push esi
push dword [ebx + 4]
call fcn.0041c6a2
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0x14
push esi
push dword [ebx + 4]
call edi
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll_wcslen
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebx + 0x50]
call fcn.00404550
push 0x405
push dword [ebx + 4]
call edi
push 0x64
push 0
lea ecx, [ebx + 0x30]
mov dword [ebx + 0x30], eax
call fcn.00429fde
add esi, 7
lea ecx, [ebx + 0x20]
push esi
push 1
push 0x405
push dword [ebx + 4]
call fcn.004b523a
push esi
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
xor ecx, ecx
push 0x42
push 0x14
push 0x29e
push ecx
push ecx
push ecx
push eax
call esi
push 0x405
push dword [ebx + 4]
call edi
push 0x42
push 0xe
push 0x312
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00522d04
leave
ret 8
Function at 0x48519b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 2
push ebx
push esi
push edi
mov ebx, ecx
jne 0x4851e2
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
push 0x408
push dword [ebx + 0x30]
call esi
push 0x5f
lea ecx, [eax + 1]
pop eax
mov dword [ebx + 0x34], ecx
cmp ecx, eax
jle 0x4851cf
mov dword [ebx + 0x34], eax
jmp 0x4851d1
mov eax, ecx
push edi
push eax
push 0x402
push dword [ebx + 0x30]
call esi
jmp 0x48527b
cmp dword [ebp + 8], 1
jne 0x48520c
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor edi, edi
push edi
push edi
push ebx
push 0x4852ac
push edi
push edi
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebx + 0x3c], eax
jmp 0x48527b
cmp dword [ebp + 8], 0xa
jne 0x48527b
xor edi, edi
mov esi, edi
mov dword [ebp + 8], edi
cmp dword [ebx + 0x3c], esi
je 0x48522c
push edi
push dword [ebx + 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x485233
mov dword [ebp + 8], 1
cmp dword [ebx + 0x40], esi
je 0x485246
push edi
push dword [ebx + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x485249
xor esi, esi
inc esi
cmp dword [ebp + 8], edi
je 0x48527b
test esi, esi
je 0x48527b
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 2
push dword [ebx + 4]
call esi
push 0xa
push dword [ebx + 4]
call esi
mov ecx, dword [ebx + 0x28]
push edi
push edi
push 0x1dd6
mov eax, dword [ecx]
call dword [eax]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4866ca
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx + 0xf4]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov dword [ebp - 8], eax
lea ecx, [ebx + 0x18]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00485be5
mov esi, dword [ebp - 0x10]
lea edi, [ebp - 0x14]
mov eax, dword [ebx + 0x14]
lea esi, [esi + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x14]
push 2
push 0x7c2
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0xf4]
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov eax, dword [ebp - 8]
cmp eax, 0xd
ja case.0x486732.1
jmp dword [eax*4 + 0x48687a]
mov ecx, ebx
call fcn.00487e31
mov ecx, ebx
call fcn.00487ea2
jmp case.0x486732.1
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x27b1
push eax
lea ecx, [ebx + 0x3c]
call fcn.0041e50c
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x27d4
push eax
lea ecx, [ebx + 0x3c]
call fcn.0041e50c
mov ecx, ebx
call fcn.0043b74e
test eax, eax
je 0x486784
mov ecx, ebx
call fcn.0048779c
mov ecx, ebx
call fcn.00486fcc
jmp case.0x486732.1
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x1c
push eax
lea ecx, [ebx + 0x30]
call fcn.0041e50c
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x27ae
lea esi, [ebx + 0x3c]
push eax
mov ecx, esi
call fcn.0041e50c
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x27ee
push eax
mov ecx, esi
call fcn.0041e50c
mov dword [ebp + 8], 0x27fb
mov ecx, esi
lea eax, [ebp + 8]
push eax
call fcn.0041e50c
jmp 0x486784
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x1c
push eax
lea ecx, [ebx + 0x30]
call fcn.0041e50c
mov ecx, ebx
call fcn.00486fcc
jmp 0x486740
mov dword [ebp + 8], 0x1a
lea ecx, [ebx + 0x30]
jmp 0x4867d3
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x1b
push eax
lea ecx, [ebx + 0x30]
call fcn.0041e50c
mov dword [ebp + 8], 0x1c
jmp 0x486804
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x27af
push eax
lea ecx, [ebx + 0x3c]
call fcn.0041e50c
mov dword [ebp + 8], 0x27fb
lea ecx, [ebx + 0x3c]
jmp 0x4867d3
mov dword [ebp + 8], 0x27b0
jmp 0x48683f
mov ecx, ebx
call fcn.00486a45
mov ecx, ebx
call fcn.00487c3f
jmp case.0x486732.1
push dword [ebp + 8]
mov ecx, ebx
call fcn.00487c80
jmp case.0x486732.1
push dword [ebp + 8]
mov ecx, ebx
call fcn.00486e0f
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x486934
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0xf8]
call fcn.0048bb58
sub esp, 0x18
mov ecx, esp
push str.Dnscache
call fcn.004108e3
mov ecx, esi
call fcn.00486c44
mov edi, 0x208
lea eax, [ebp - 0x20c]
push edi
xor ebx, ebx
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push str._windir_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push edi
lea eax, [ebp - 0x414]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push str.._system32ipconfig.exe
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
call fcn.004883d1
test eax, eax
je 0x4869f8
push ebx
push 0x527fb4
push str._flushdns
push str.ipconfig.exe
push str.open
push ebx
mov ecx, 0x576d98
call fcn.004dba26
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret
Function at 0x486e0f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x80]
call fcn.004425f8
lea eax, [ebp - 0x80]
push eax
push dword [esi + 0xf4]
push dword [esi + 0xf0]
call fcn.004a35b8
add esp, 0xc
cmp dword [ebp - 0x7c], 0x15
jne 0x486f74
push 0
push 0x20
lea ecx, [ebp - 0x70]
call fcn.004038a4
mov ebx, eax
cmp ebx, 0xffffffff
je 0x486fbe
push ebx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x70]
call fcn.00403edc
push eax
lea eax, [ebp - 4]
push 0x528004
push eax
call fcn.004db073
pop ecx
push eax
lea eax, [ebp + 8]
push eax
call fcn.00413428
add esp, 0xc
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004133f1
mov ecx, dword [ebp + 8]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov esi, dword [ebp - 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486f6f
push esi
call fcn.00410bb8
pop ecx
test eax, eax
je 0x486f6f
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x70]
push edi
mov eax, dword [eax - 0xc]
sub eax, ebx
dec eax
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040448b
push ebx
lea ecx, [ebp - 0x70]
mov edi, dword [eax]
lea eax, [ebp - 4]
push eax
call fcn.00403edc
push eax
lea eax, [ebp - 8]
push 0x528004
push eax
call fcn.004db073
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00413428
add esp, 0xc
push eax
lea eax, [ebp + 8]
push eax
call fcn.004133f1
push 0x1388
push 1
push 5
push edi
push dword [eax]
call fcn.004c1899
mov ecx, dword [ebp + 8]
add esp, 0x20
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004042e9
pop edi
lea ecx, [esi - 0x10]
jmp 0x486fb9
call fcn.00403a64
push eax
lea ecx, [ebp - 4]
call fcn.00402a6b
mov ecx, dword [0x5740b0]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0045cec1
test al, al
je 0x486fb3
mov eax, dword [ebp + 8]
mov ecx, dword [0x5740b0]
add eax, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.0045f70f
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004042e9
lea ecx, [ebp - 0x80]
call fcn.0044291d
pop esi
pop ebx
leave
ret 4
Function at 0x487f31
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.00522d80
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x400c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x487fc5
cmp eax, 0x3fff
ja 0x487fc5
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x487fc5
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x528004
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x487fc5
mov eax, dword [ebp - 0x4008]
mov eax, dword [eax + 8]
mov dword [edi], eax
xor eax, eax
inc eax
jmp 0x487fc7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00522d04
leave
ret

Function at 0x48852b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 8], 0x3c418940
push str.inetcpl.cpl
mov byte [ebp - 1], 0x48
mov dword [ebp - 0x10], edi
call fcn.00417087
test eax, eax
jne 0x488559
mov ebx, edi
jmp 0x4885e2
push str.ResetIEtoDefaults
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x488552
cmp dword [ebp + 8], edi
je 0x4885da
mov ebx, edi
mov dword [ebp - 0xc], edi
push 4
lea eax, [ebp - 8]
push eax
push esi
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x48859c
mov eax, dword [ebp - 0xc]
dec esi
inc eax
mov dword [ebp - 0xc], eax
cmp eax, 0x1000
jb 0x488578
jmp 0x4885e2
push 1
lea eax, [ebp - 1]
push eax
push esi
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x4885c0
dec esi
inc edi
cmp edi, 0x64
jb 0x48859c
cmp dword [0x575008], ebx
je 0x4885e2
jmp 0x4885da
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push 0x40
inc ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [esi], 0x90
mov dword [0x575008], ebx
push 0
call dword [ebp - 0x14]
xor ebx, ebx
inc ebx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x488616
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
mov ebx, ecx
push str.ExplorerExt64.dll
push eax
call fcn.00431b99
lea eax, [ebp - 0x1c]
push str.360DeskAna64.exe
push eax
call fcn.00431b99
add esp, 0x10
lea ecx, [ebp - 8]
push 0x531e2c
call fcn.00402af5
push 0x529bc8
lea ecx, [ebp - 4]
call fcn.00402af5
mov edi, dword [ebp - 0x1c]
push edi
call fcn.0041505c
mov esi, dword [ebp - 0x18]
pop ecx
test eax, eax
je 0x4886c4
push 0
push edi
call fcn.00425e47
pop ecx
pop ecx
test eax, eax
je 0x4886c4
push esi
call fcn.0041505c
pop ecx
test eax, eax
je 0x488692
push 0
push esi
call fcn.00425e47
pop ecx
pop ecx
test eax, eax
jne 0x4886c4
push str.files
call sub.msvcrt.dll_wcslen
pop ecx
push eax
push str.files
lea ecx, [ebp - 8]
call fcn.00404550
push str.ExplorerExt64.dll
call sub.msvcrt.dll_wcslen
pop ecx
push eax
push str.ExplorerExt64.dll
lea ecx, [ebp - 4]
call fcn.00404550
push esi
call fcn.0041505c
pop ecx
test eax, eax
je 0x488728
push 0
push esi
call fcn.00425e47
pop ecx
pop ecx
test eax, eax
je 0x488728
push edi
call fcn.0041505c
pop ecx
test eax, eax
je 0x4886f6
push 0
push edi
call fcn.00425e47
pop ecx
pop ecx
test eax, eax
jne 0x488728
push str.files
call sub.msvcrt.dll_wcslen
pop ecx
push eax
push str.files
lea ecx, [ebp - 8]
call fcn.00404550
push str.360DeskAna64.exe
call sub.msvcrt.dll_wcslen
pop ecx
push eax
push str.360DeskAna64.exe
lea ecx, [ebp - 4]
call fcn.00404550
lea eax, [ebp - 0x10]
push str.UtilsModuleUpdate.exe
push eax
call fcn.00431b99
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4887ef
push 0
push dword [ebp - 0x10]
call fcn.00425e47
pop ecx
pop ecx
test eax, eax
je 0x4887ef
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0x1c]
push 0x527fb4
call fcn.00402af5
push 0x529bc8
lea ecx, [ebp - 0x18]
call fcn.00402af5
push 0x529bc8
lea ecx, [ebp - 0x14]
call fcn.00402af5
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 0x14]
push dword [eax + 4]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
call fcn.0043d974
mov ecx, dword [ebp - 0x14]
mov ebx, eax
add ecx, 0xfffffff0
call fcn.004042e9
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004042e9
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004042e9
test ebx, ebx
je 0x488804
push 0x2710
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x488804
mov eax, dword [ebx + 0x14]
push 0
push 0
push 0x7bb
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004042e9
lea ecx, [edi - 0x10]
call fcn.004042e9
lea ecx, [esi - 0x10]
call fcn.004042e9
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48883a
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x14], esi
jne 0x488851
xor eax, eax
jmp 0x4888f6
mov dword [0x574bac], esi
mov ecx, dword [edi + 0xf4]
mov eax, dword [ecx]
call dword [eax + 0x68]
dec eax
mov dword [edi + 0x20], esi
push esi
neg eax
mov dword [edi + 0x118], esi
push 4
push edi
sbb eax, eax
neg eax
push 0x488954
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 8]
push esi
push esi
mov dword [edi + 0xf0], eax
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [edi + 4], eax
test eax, eax
je 0x4888e0
push ebx
mov ebx, 0x57500c
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], esi
call fcn.00476d30
push eax
add eax, 0x10
lea ecx, [edi + 8]
push eax
push 0
lea eax, [ebp - 8]
push eax
call fcn.00485b11
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
jmp 0x4888f3
mov eax, dword [edi + 0x14]
push esi
push esi
push 0x7ba
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 4
Function at 0x48a900
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x2bc]
push eax
call fcn.00402af5
push 1
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.0040448b
mov ebx, 0x528004
push ebx
push dword [eax]
call sub.msvcrt.dll_wcscmp
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c0]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004042e9
test esi, esi
je 0x48a972
push ebx
call sub.msvcrt.dll_wcslen
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2bc]
call fcn.00402d75
mov esi, dword [ebp - 0x2bc]
lea eax, [ebp - 0x2b8]
push 0x4101
push 0x2b4
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp dword [ebp - 0x2b8], 0
je 0x48a9b8
push dword [ebp - 0x2b8]
push 0xffffffffffffffff
push dword [edi + 0x60]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp - 0x2b8]
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [esi - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 4
Function at 0x48df50
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1c8]
push esi
push edi
push eax
xor esi, esi
push 0x20019
push esi
push 0x53e018
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1cc], esi
mov edi, esi
mov dword [ebp - 0x1c8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48dfc3
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x1cc]
push eax
push esi
push esi
push esi
push dword [ebp - 0x1c8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
push dword [ebp - 0x1c8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x40
lea eax, [ebp - 0x44]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x48dff1
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
shrd edi, eax, 0x14
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x1c4], esi
push eax
push 0x5321a8
push 0x17
push esi
push 0x532198
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x48e07d
mov ecx, dword [ebp - 0x1c4]
test ecx, ecx
je 0x48e07d
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x48]
test eax, eax
js 0x48e071
push 0x178
lea eax, [ebp - 0x1bc]
push esi
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x1c4]
lea edx, [ebp - 0x1c0]
add esp, 0xc
mov dword [ebp - 0x1c0], 0x17c
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x2c]
test eax, eax
js 0x48e071
mov esi, dword [ebp - 0x184]
shr esi, 0x14
mov eax, dword [ebp - 0x1c4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00403a64
push eax
mov ecx, ebx
call fcn.00402a6b
push esi
push edi
push dword [ebp - 0x1cc]
push str.CPU:_d_RAM:_d_VID:_d_
push ebx
call fcn.00415254
mov ecx, dword [ebp - 4]
add esp, 0x14
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00522d04
leave
ret
Function at 0x48e1f6
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2420
call fcn.00522d80
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
mov edi, 0x208
xor ebx, ebx
push edi
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
lea eax, [ebp - 0x414]
push ebx
push eax
call sub.msvcrt.dll_memset
push 0x2000
lea eax, [ebp - 0x2414]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
lea eax, [ebp - 0x241c]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x48e2f7
cmp eax, 0x1fff
ja 0x48e2f7
lea ecx, [ebp - 0x2414]
push ecx
push eax
push ebx
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x48e2f7
lea eax, [ebp - 0x2420]
push eax
lea eax, [ebp - 0x2418]
push eax
push 0x528004
lea eax, [ebp - 0x2414]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x48e2f7
mov ecx, dword [ebp - 0x2418]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0044b53c
add esp, 0x1c
lea eax, [ebp - 0x414]
push eax
jmp 0x48e2fc
push 0x527fb4
mov ecx, esi
call fcn.004108e3
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret
Function at 0x495bd7
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x527fb4
lea ecx, [ebp + 8]
call fcn.00419990
test al, al
je 0x495c03
xor esi, esi
jmp 0x495d82
xor eax, eax
cmp dword [ebp + 0x1c], 8
push ebx
push edi
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 8]
jb 0x495c1a
mov eax, dword [ebp + 8]
push 0x3200000
xor esi, esi
lea ecx, [ebp - 0x14]
push esi
push ecx
push eax
call fcn.00430113
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0043102d
xor eax, eax
mov dword [ebp - 0x224], esi
push 0x10000
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov edi, eax
xor eax, eax
mov word [edi], ax
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x264]
push str._AppData_360DiagnoseScan_
push eax
call fcn.0042ba61
add esp, 0x28
cmp dword [eax + 0x14], 8
jb 0x495c86
mov eax, dword [eax]
push 0x8000
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x264]
mov ebx, eax
call fcn.00410d88
test ebx, ebx
je 0x495d6a
cmp ebx, 0x8000
jae 0x495d6a
xor eax, eax
push edi
mov word [edi + ebx*2], ax
call sub.msvcrt.dll_wcslen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x234]
call fcn.00410dd4
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
pop ecx
jb 0x495cea
mov eax, dword [ebp - 0x234]
push eax
call fcn.0041505c
pop ecx
test eax, eax
je 0x495d6a
push 0x208
lea eax, [ebp - 0x21c]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
jb 0x495d1f
mov ecx, dword [ebp - 0x234]
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
jb 0x495d34
mov eax, dword [ebp - 0x24c]
push ecx
push 0x104
lea ecx, [ebp - 0x21c]
mov esi, 0x527fb4
push ecx
push esi
push 0x52f998
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
push esi
push eax
call sub.msvcrt.dll_wcscmp
mov esi, eax
neg esi
pop ecx
sbb esi, esi
pop ecx
neg esi
lea ecx, [ebp - 0x234]
call fcn.00410d88
lea ecx, [ebp - 0x24c]
call fcn.00410d88
pop edi
pop ebx
lea ecx, [ebp + 8]
call fcn.00410d88
lea ecx, [ebp + 0x20]
call fcn.00410d88
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00522d04
leave
ret