joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4326d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
push ebx
push esi
push 0x3c
lea eax, [ebp - 0x6c]
push 0
push eax
xor bl, bl
call sub.MSVCR100.dll_memset
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, reloc.NETAPI32.dll_NetApiBufferFree
push edx
mov word [ebp - 0x274], cx
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
add esp, 0xc
push 0
call esi
test eax, eax
je 0x43285f
push 0x104
lea ecx, reloc.NETAPI32.dll_NetApiBufferFree
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x43285f
push 0
push 0
call esi
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x90000000
push 0
push str.STATIC
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x4327e3
push 2
push esi
call dword [sym.imp.USER32.dll_MonitorFromWindow]
test eax, eax
je 0x4327da
xor ecx, ecx
lea edx, [ebp - 0x30]
push edx
push eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x30], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
sub eax, ecx
cdq
sub eax, edx
push 0
sar eax, 1
add eax, ecx
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push eax
mov eax, dword [ebp - 0x14]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push eax
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x4327e3
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
xor esi, esi
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x68], 0x40
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], str.open
mov dword [ebp - 0x5c], eax
test edi, edi
je 0x43280b
mov dword [ebp - 0x58], edi
lea ecx, [ebp - 0x6c]
push ecx
mov dword [ebp - 0x50], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
jne 0x432854
mov edx, dword [ebp - 0x34]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 8]
push eax
push ecx
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x432854
mov eax, dword [ebp + 8]
mov bl, 1
test eax, eax
je 0x432854
mov edx, dword [ebp - 8]
mov dword [eax], edx
test esi, esi
je 0x43285f
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
movzx eax, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433060
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.00492d40
push ebx
xor ebx, ebx
push 0xfff
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
push ebx
push eax
mov byte [ebp - 0x1018], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
push 0x20008
mov dword [ebp - 8], ebx
mov word [ebp - 4], 0x500
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4330b6
lea eax, [ebx + 1]
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
push esi
lea edx, [ebp - 0x18]
push edx
push 0x1000
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
push eax
push 2
push ecx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov edx, dword [ebp - 0x14]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
je 0x433104
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x43310f
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
mov dword [ebp - 0xc], ebx
cmp dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], ebx
jbe 0x433165
mov ebx, dword [sym.imp.ADVAPI32.dll_EqualSid]
push edi
lea edi, reloc.NETAPI32.dll_NetApiBufferFree
lea esp, [esp]
mov edx, dword [edi]
mov eax, dword [ebp - 0x10]
push edx
push eax
call ebx
test eax, eax
jne 0x43315d
inc esi
add edi, 8
cmp esi, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
jb 0x433130
mov ecx, dword [ebp - 0x10]
pop edi
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0xc], 1
pop edi
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433420
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
xor eax, eax
push ebx
xor ebx, ebx
mov word [ebp - 0x30], ax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
cmp dword [ebp + 8], eax
je 0x4334d5
cmp dword [ebp + 0xc], eax
je 0x4334d5
push edi
push 1
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x4334d2
push esi
push 0x14
push str.BaiduUpdater
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x4334ca
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0xa
push 0x10
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.MSVCR100.dll__itow_s]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x30]
add esp, 0x10
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x10]
push edx
push 4
push esi
mov dword [ebp - 0x10], str.elevate
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x4334c3
mov ebx, 1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
mov eax, ebx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4334e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000002
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x433561
mov eax, dword [ebp - 4]
test eax, eax
je 0x433561
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 0x10]
push ecx
push 0
push str.ConsentPromptBehaviorAdmin
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x433557
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x433910
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
push esi
push edi
xor edi, edi
mov eax, fcn.0041bb40
mov dword [ebp - 0xc], edi
test eax, eax
jne 0x433943
push 0x49aa44
push str.Work_ptr_is_null.Cmdline:_s_
push str.elevate_call_
lea esi, [edi + 0x25]
call fcn.0040b830
add esp, 0xc
push ebx
push 0x206
lea edx, reloc.NETAPI32.dll_NetApiBufferFree
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x250], cx
call sub.MSVCR100.dll_memset
push 0x206
lea ecx, reloc.NETAPI32.dll_NetApiBufferFree
xor eax, eax
push edi
push ecx
mov word [ebp - 0x458], ax
call sub.MSVCR100.dll_memset
add esp, 0x18
push 0x104
lea edx, reloc.NETAPI32.dll_NetApiBufferFree
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, reloc.NETAPI32.dll_NetApiBufferFree
push ecx
lea edx, reloc.NETAPI32.dll_NetApiBufferFree
push str._s_bdUtil.exe
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call fcn.00431f60
mov ebx, eax
call fcn.00433060
mov esi, eax
xor eax, eax
cmp ebx, 6
jb 0x433a14
mov dword [ebp - 8], 1
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x4339fe
lea edi, [ebp - 0xc]
call fcn.00432ff0
test eax, eax
je 0x4339fe
cmp dword [ebp - 0xc], 0
je 0x4339fe
mov edi, 1
jmp 0x433a00
xor edi, edi
call fcn.004334e0
test esi, esi
je 0x433a14
test edi, edi
jne 0x433a14
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
push 0x49aa44
push ecx
push edx
push eax
push edi
push esi
push str.bUserAdminGroup_d_bAdminExe_d_nUacClose_d_bServiceCall_d_bRunAs_d_lpCmdLine:_s
push str.elevate_call_
mov esi, 0x25
call fcn.0040b830
add esp, 0x20
cmp ebx, 6
pop ebx
jb 0x433b26
test edi, edi
jne 0x433b26
cmp dword [ebp - 4], edi
je 0x433a80
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
push eax
call fcn.00433180
mov edi, eax
push edi
push 0x49aa44
push str.StartGAU__s_bStartGAU_d
push str.elevate_call_
call fcn.0040b830
add esp, 0x14
test edi, edi
jne 0x433b3d
push 0x49aa44
push str.UAC__s
push str.elevate_call_
mov esi, 0x25
call fcn.0040b830
push 0x38
lea ecx, [ebp - 0x44]
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0x18
cmp dword [ebp - 8], 0
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x40
mov dword [ebp - 0x3c], str.runas
jne 0x433acb
mov dword [ebp - 0x3c], str.open
lea eax, [ebp - 0x48]
lea edx, reloc.NETAPI32.dll_NetApiBufferFree
push eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], 0x49aa44
mov dword [ebp - 0x2c], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x433af6
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push 0x49aa44
push str._s__d
push str.elevate_call_
call fcn.0040b830
add esp, 0x10
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push str.Call_work_function_directly_
push str.elevate_call_
call fcn.0040b830
add esp, 8
call fcn.0041bb40
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4897f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4939c2
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4ae248]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x3c]
call fcn.004055c0
mov dword [ebp - 4], 0
movsx eax, byte [ebp + 0xc]
push eax
push 0x49582c
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00417920
add esp, 0xc
push 0x20
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.00405680
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp eax, 1
jne 0x4898c1
lea ecx, [ebp - 0x40]
call fcn.004055c0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x38]
push edx
push 0x495834
lea eax, [ebp - 0x40]
push eax
call fcn.00417920
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.00405680
push eax
mov ecx, dword [ebp + 8]
call fcn.00415840
mov dword [ebp - 0x48], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00405660
mov dword [ebp - 4], reloc.NETAPI32.dll_NetApiBufferFree
lea ecx, [ebp - 0x3c]
call fcn.00405660
mov eax, dword [ebp - 0x48]
jmp 0x489971
movsx ecx, byte [ebp + 0xc]
push ecx
push 0x49583c
lea edx, [ebp - 0x3c]
push edx
call fcn.00417920
add esp, 0xc
push 0x20
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
lea edx, [ebp - 0x38]
push edx
push 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.00405680
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp eax, 1
jne 0x489958
lea ecx, [ebp - 0x44]
call fcn.004055c0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x38]
push eax
push 0x495844
lea ecx, [ebp - 0x44]
push ecx
call fcn.00417920
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.00405680
push eax
mov ecx, dword [ebp + 8]
call fcn.00415840
mov dword [ebp - 0x4c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00405660
mov dword [ebp - 4], reloc.NETAPI32.dll_NetApiBufferFree
lea ecx, [ebp - 0x3c]
call fcn.00405660
mov eax, dword [ebp - 0x4c]
jmp 0x489971
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], reloc.NETAPI32.dll_NetApiBufferFree
lea ecx, [ebp - 0x3c]
call fcn.00405660
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00492cee
mov esp, ebp
pop ebp
ret
Function at 0x48bb80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x48bba4
xor eax, eax
jmp 0x48bba9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x48c020
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4ae248]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], ecx
push str.SOFTWAREHintsoft
push 0x80000002
mov ecx, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
call fcn.0048c580
test eax, eax
je 0x48c068
mov eax, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
mov ecx, dword [eax]
or ecx, 0x80
mov edx, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
mov dword [edx], ecx
push str.SOFTWARESicent
push 0x80000002
mov ecx, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
call fcn.0048c580
test eax, eax
je 0x48c094
mov eax, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
mov ecx, dword [eax]
or ecx, 0x40
mov edx, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
mov dword [edx], ecx
push str.SOFTWAREGoyoo
push 0x80000002
mov ecx, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
call fcn.0048c580
test eax, eax
je 0x48c0c0
mov eax, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
mov ecx, dword [eax]
or ecx, 0x20
mov edx, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
mov dword [edx], ecx
push str.SOFTWARE_
push 0x80000002
mov ecx, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
call fcn.0048c580
test eax, eax
je 0x48c0ec
mov eax, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
mov ecx, dword [eax]
or ecx, 0x10
mov edx, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
mov dword [edx], ecx
xor eax, eax
mov word [ebp - 0x410], ax
push 0x3fe
push 0
lea ecx, reloc.NETAPI32.dll_NetApiBufferFree
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 8], 0x200
mov edx, dword [ebp - 8]
push edx
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
push eax
push str._windir__
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x48c15f
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 8]
ja 0x48c15f
lea edx, reloc.NETAPI32.dll_NetApiBufferFree
push edx
call fcn.0048bb80
add esp, 4
test eax, eax
je 0x48c15f
mov eax, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
mov ecx, dword [eax]
or ecx, 8
mov edx, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
mov dword [edx], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00492cee
mov esp, ebp
pop ebp
ret
Function at 0x48c170
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4ae248]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x496aa8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48c2a2
mov dword [ebp - 0x94], 0x80
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x90]
push edx
push 0
push 0
push 0x496af4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48c298
movzx ecx, word [ebp - 0x90]
cmp ecx, 0x36
jne 0x48c1fb
mov dword [ebp - 8], 1
jmp 0x48c298
movzx edx, word [ebp - 0x90]
cmp edx, 0x37
jne 0x48c213
mov dword [ebp - 8], 2
jmp 0x48c298
movzx eax, word [ebp - 0x90]
cmp eax, 0x38
jne 0x48c228
mov dword [ebp - 8], 3
jmp 0x48c298
movzx ecx, word [ebp - 0x90]
cmp ecx, 0x31
jne 0x48c240
movzx edx, word [ebp - 0x8e]
cmp edx, 0x30
je 0x48c27c
movzx eax, word [ebp - 0x90]
cmp eax, 0x39
jne 0x48c285
movzx ecx, word [ebp - 0x8e]
cmp ecx, 0x2e
jne 0x48c285
movzx edx, word [ebp - 0x8c]
cmp edx, 0x31
jne 0x48c285
movzx eax, word [ebp - 0x8a]
cmp eax, 0x30
jne 0x48c285
movzx ecx, word [ebp - 0x88]
cmp ecx, 0x2e
jne 0x48c285
mov dword [ebp - 8], 5
jmp 0x48c298
movzx edx, word [ebp - 0x90]
cmp edx, 0x39
jne 0x48c298
mov dword [ebp - 8], 4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00492cee
mov esp, ebp
pop ebp
ret
Function at 0x48c2c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4ae248]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], ecx
mov dword [ebp - 4], 0
push 0x11c
push 0
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], 0x11c
lea ecx, reloc.NETAPI32.dll_NetApiBufferFree
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x48c3e1
cmp dword [ebp - 0x118], 2
jne 0x48c3e1
cmp dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], 4
jbe 0x48c3e1
cmp dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], 6
jne 0x48c39b
cmp dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], 0
jne 0x48c35c
movzx edx, byte [ebp - 0xe]
cmp edx, 1
jne 0x48c353
mov dword [ebp - 4], 0x6e
jmp 0x48c35a
mov dword [ebp - 4], 0x78
jmp 0x48c399
cmp dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], 1
jne 0x48c380
movzx eax, byte [ebp - 0xe]
cmp eax, 1
jne 0x48c377
mov dword [ebp - 4], 0x82
jmp 0x48c37e
mov dword [ebp - 4], 0x7b
jmp 0x48c399
cmp dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], 2
jne 0x48c399
movzx ecx, byte [ebp - 0xe]
cmp ecx, 1
jne 0x48c399
mov dword [ebp - 4], 0x8c
jmp 0x48c3e1
cmp dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], 5
jne 0x48c3d1
cmp dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], 2
jne 0x48c3bf
movzx edx, byte [ebp - 0xe]
cmp edx, 1
je 0x48c3bd
mov dword [ebp - 4], 0x68
jmp 0x48c3cf
cmp dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], 1
jne 0x48c3cf
mov dword [ebp - 4], 0x64
jmp 0x48c3e1
cmp dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], 7
jne 0x48c3e1
mov dword [ebp - 4], 0x8c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00492cee
mov esp, ebp
pop ebp
ret
Function at 0x48c400
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493cfa
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x4ae248]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], ecx
mov dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], 0
push 0x49672c
lea ecx, reloc.NETAPI32.dll_NetApiBufferFree
call fcn.0041f270
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], 0x400
xor eax, eax
mov word [ebp - 0x81c], ax
push 0x3fe
push 0
lea ecx, reloc.NETAPI32.dll_NetApiBufferFree
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
xor edx, edx
mov word [ebp - 0x41c], dx
push 0x3fe
push 0
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48c4c2
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], 0
je 0x48c52b
mov dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], 1
lea ecx, reloc.NETAPI32.dll_NetApiBufferFree
push ecx
lea edx, reloc.NETAPI32.dll_NetApiBufferFree
push edx
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
push eax
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48c521
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
push eax
call dword [sym.imp.MSVCR100.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x48c521
lea ecx, reloc.NETAPI32.dll_NetApiBufferFree
push ecx
lea ecx, reloc.NETAPI32.dll_NetApiBufferFree
call fcn.00430080
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
push eax
mov ecx, dword [ebp + 8]
call fcn.00432c00
mov ecx, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
or ecx, 1
mov dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], ecx
mov byte [ebp - 4], 0
lea ecx, reloc.NETAPI32.dll_NetApiBufferFree
call fcn.0041ec10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00492cee
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48e660
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494084
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4ae248]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], 0
lea ecx, [ebp - 0x48]
call fcn.0041ebf0
mov dword [ebp - 4], 1
mov byte [ebp - 0x49], 0
push 0x208
push 0
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 1
movzx ecx, byte [ebp + 0xc]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff7
add ecx, 0x23
push ecx
lea edx, reloc.NETAPI32.dll_NetApiBufferFree
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48e77f
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f270
mov dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], eax
mov ecx, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
mov dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
push edx
lea ecx, [ebp - 0x48]
call fcn.00487870
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0041ec10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x48e73d
push 0x49701c
lea ecx, [ebp - 0x48]
call fcn.00432c30
jmp 0x48e74a
push str.BaiduCommon
lea ecx, [ebp - 0x48]
call fcn.00432c30
lea ecx, [ebp - 0x48]
push ecx
call fcn.0048e7d0
add esp, 4
movzx edx, al
test edx, edx
jne 0x48e76e
lea eax, [ebp - 0x48]
push eax
call fcn.0048e930
add esp, 4
mov byte [ebp - 0x49], al
jmp 0x48e772
mov byte [ebp - 0x49], 1
push str.Global.db
lea ecx, [ebp - 0x48]
call fcn.00432c30
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00432c00
mov edx, dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree]
or edx, 1
mov dword [ebp - reloc.NETAPI32.dll_NetApiBufferFree], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0041ec10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00492cee
mov esp, ebp
pop ebp
ret