joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64c34cb0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], 0x653b2040
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.64c34d10

Function at 0x64c34d10
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x653b3378]
test esi, esi
jle 0x64c34dfd
mov edi, dword [0x653b337c]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x64c34d44
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x64c34df6
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x64c34d30
mov dword [esp], eax
mov esi, eax
call fcn.64c354b0
test eax, eax
mov edi, eax
je 0x64c34e3a
mov esi, dword [0x653b337c]
lea ebx, [ebx + ebx*2]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call fcn.64c355c0
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x653b337c]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x64c34e1a
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x64c34def
sub eax, 0x40
and eax, 0xffffffbf
je 0x64c34def
mov eax, dword [esp + 0x20]
add ebx, dword [0x653b337c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x64c34e04
add dword [0x653b3378], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor ebx, ebx
jmp 0x64c34d4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.64c34cb0
mov eax, dword [0x653b337c]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.64c34cb0
mov dword [esp + 4], esi
mov dword [esp], str.Address__p_has_no_image_section
call fcn.64c34cb0
lea esi, [esi]
Function at 0x64c35120
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x653b3388
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x653b3380]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x64c35175
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x64c3516e
test esi, esi
je 0x64c3516e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x64c35150
mov dword [esp], 0x653b3388
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x1005cfdb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1005cff1
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1005d002
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1005d043
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1005f3af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1005f2f8
add ebx, 0
push ecx
call 0x1005f30d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c2801fa
sub ebx, dword [0x6c29fa39]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c29fa29
call fcn.1005add7
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1005a2e5
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1005f46b
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1005f46b
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1005f422
mov eax, 1
lock xchg dword [0x6c29fa35], eax
push 0x3dd1fc71
call 0x1005f3af
push esi
add esp, 8
cmp eax, 0
jne 0x1005f398
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1005f3be
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1005f3d3
cmp ecx, edx
cmp eax, 0
je 0x1005f3f8
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1005f3e2
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1005f411
dec eax
loope 0x1005f414
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c29fa35], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1005f448
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1005f45d
jmp 0x1005f468
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1005f356
Function at 0x100664d0
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x100667a6
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c28c6ad
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c283673
push 0xffffffffffffffff
call fcn.1005d6d0
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1006653a
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10066552
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1006679a
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1006676e
Function at 0x404122
Capabilities:
Encode data using xor

Disassembly:
xchg byte [esi - 0x17], bl
cmp ebp, eax
rcr dword [ecx + 0x51], 1
call 0x874626b2
invalid
invalid

Function at 0x42a628
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ah, 0x59
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x42a664
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x42a65c
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x42a666
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x42a64c
xor eax, eax
les esi, [ebx + ecx*4 + 0x5d]
ret

Function at 0x430d85
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ah, 0x59
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.0042d75b
pop ecx
cmp eax, 0xffffffff
je 0x430de9
mov eax, dword [0x4c49e0]
cmp edi, 1
jne 0x430dac
test byte [eax + 0x84], 1
jne 0x430db7
cmp edi, 2
jne 0x430dcd
test byte [eax + 0x44], 1
je 0x430dcd
push 2
call fcn.0042d75b
push 1
mov esi, eax
call fcn.0042d75b
pop ecx
pop ecx
cmp eax, esi
je 0x430de9
push edi
call fcn.0042d75b
pop ecx
push eax
call dword [0x4c48f35c]
push ecx
push eax
jne 0x430de9
call dword [0x48f340]
mov esi, eax
jmp 0x430deb
xor esi, esi
push edi
call 0x51a2d6d5
pop ecx
mov ecx, edi
and edi, 0x1f
sar ecx, 5
shl edi, 6
mov ecx, dword [ecx*4 + 0x4c49e0]
mov byte [ecx + edi + 4], 0xf
test esi, esi
je 0x430e19
push esi
call fcn.00428d9f
pop ecx
or eax, 0xffffffff
jmp 0x430e1b
xor eax, dword [ebx - 0x3ca28b3c]
les esi, [ebp + ebx*2 - 0x3d]
Function at 0x401ee2
Capabilities:
Shutdown system

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x408004]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
xor edi, edi
test eax, eax
jne 0x401f23
mov edx, 0x4f5
push edi
push 0x10
push edi
push edi
xor ecx, ecx
call fcn.004044b9
xor eax, eax
jmp 0x401f81
push esi
lea eax, [ebp - 0x10]
push eax
push 0x4011c4
push edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push edi
push edi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push edi
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
pop esi
push edi
jne 0x401f6b
mov edx, 0x4f6
jmp 0x401f14
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x401f7e
mov edx, 0x4f7
jmp 0x401f13
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00406ce0
mov esp, ebp
pop ebp
ret

Function at 0x401f90
Capabilities:
Shutdown system

Disassembly:
mov edi, edi
push ebx
mov ebx, ecx
test bl, 2
jne 0x401fa4
call fcn.00401ea7
cmp eax, 2
jne 0x401fd9
test bl, 4
jne 0x401fc5
push 4
push 0x40
push 0
push 0x401140
mov edx, 0x522
xor ecx, ecx
call fcn.004044b9
cmp eax, 6
jne 0x401fd9
cmp word [0x409a40], 0
jne 0x401fdb
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop ebx
ret
pop ebx
jmp fcn.00401ee2

Function at 0x401fe1
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp byte [0x408530], 0
je 0x402026
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402026
push 0x408530
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x40681f
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x408004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [0x4081d8]
xor esi, esi
mov dword [ebp - 0xb0], 0xc
mov dword [ebp - 0xac], esi
cmp edi, 0xfffffffe
jne 0x406940
lea eax, [ebp - 0xa4]
mov dword [0x4081d8], esi
push eax
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40693a
xor edi, edi
inc edi
cmp dword [ebp - 0x94], edi
jne 0x40693a
cmp dword [ebp - 0xa0], 4
jne 0x40693a
cmp dword [ebp - 0x9c], 0xa
jae 0x40693a
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x40693a
lea eax, [ebp - 0xa8]
push eax
push 0x20019
push esi
push 0x4013e0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40693a
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xb4]
push eax
push esi
push 0x401140
push dword [ebp - 0xa8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xa8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40693a
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0x10]
call fcn.004066f9
test eax, eax
je 0x40693a
mov eax, dword [ebp - 0xac]
and eax, 0x3ff
cmp eax, edi
je 0x406932
cmp eax, 0xd
jne 0x40693a
mov dword [0x4081d8], edi
jmp 0x406940
mov edi, dword [0x4081d8]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00406ce0
mov esp, ebp
pop ebp
ret

Function at 0x406952
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
cmp byte [ecx], 0
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
je 0x4069a1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x4069a1
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
push 0x400
push dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x406f54
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x4072d8
call fcn.00407208
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x406fb4
cmp eax, 0xffffffff
je 0x406fb4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x406fad
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x406fad
cmp edx, 0x10000000
jae 0x406fad
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x406faa
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.0040724d
ret 4
Function at 0x453c10
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x158], 0
jne 0x453c97
push 0x3ea
lea eax, [ebp - 0x3f0]
push 0
push eax
call fcn.004e30c0
add esp, 0xc
mov dword [ebp - 0x3f4], 0x1f4
lea eax, [ebp - 0x3f4]
push eax
lea eax, [ebp - 0x3f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x453c97
lea ecx, [ebp - 0x3f0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453c75
sub ecx, edx
lea eax, [ebp - 0x3f0]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x148]
call fcn.0044e920
lea eax, [edi + 0x148]
cmp esi, eax
je 0x453cb6
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x453cab
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.0044e920
cmp dword [esi + 0x14], 8
jb 0x453cbe
mov esi, dword [esi]
push esi
push str.ComputerName_is:__s.
push str.kupdate::KClientInfoGetter::GetComputerNameW
push 0x8ad
push str.H:pub_9aqe_rc_2404Coding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 7
call fcn.0048ffd0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.004cb998
mov esp, ebp
pop ebp
ret 8

Function at 0x454560
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x669bb2
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
push 1
push eax
push edi
mov dword [ebp - 0x220], 1
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x45462e
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e30c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454610
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0044e920
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret
Function at 0x454b10
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x669c18
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x78]
push str.HDID
push eax
call fcn.00454560
add esp, 8
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 4], 0
test ecx, ecx
jne 0x454bb6
push 0x50
push ecx
lea eax, [ebp - 0x60]
push eax
call fcn.004e30c0
add esp, 0xc
lea eax, [ebp - 0x60]
push 0x28
push eax
call fcn.004be140
test eax, eax
je 0x454b9c
lea ecx, [ebp - 0x60]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454b80
sub ecx, edx
lea eax, [ebp - 0x60]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.0044e920
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
cmovae eax, dword [ebp - 0x78]
push eax
push str.HDID
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x78]
cmp esi, eax
je 0x454bce
cmp dword [ebp - 0x64], 8
push ecx
cmovae eax, dword [ebp - 0x78]
mov ecx, esi
push eax
call fcn.0044e920
cmp dword [esi + 0x14], 8
jb 0x454bd6
mov esi, dword [esi]
push esi
push str.OK__Result_is:__s.
push str.kupdate::KClientInfoGetter::GetInfoKeyHDID
push 0x627
push str.H:pub_9aqe_rc_2404Coding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 7
call fcn.0048ffd0
mov edx, dword [ebp - 0x64]
add esp, 0x18
cmp edx, 8
jb 0x454c2b
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x454c21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454c49
push edx
push ecx
call fcn.004cb4db
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret 8
call fcn.004e6589
int3
Function at 0x455430
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f0
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x140], 0
jne 0x4554b7
push 0x3e8
lea eax, [ebp - 0x3ec]
push 0
push eax
call fcn.004e30c0
add esp, 0xc
mov dword [ebp - 0x3f0], 0x1f3
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x3ec]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x4554b7
lea ecx, [ebp - 0x3ec]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x455495
sub ecx, edx
lea eax, [ebp - 0x3ec]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x130]
call fcn.0044e920
lea eax, [edi + 0x130]
cmp esi, eax
je 0x4554d6
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4554cb
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.0044e920
cmp dword [esi + 0x14], 8
jb 0x4554de
mov esi, dword [esi]
push esi
push str.UserName_is:__s.
push str.kupdate::KClientInfoGetter::GetInfoKeyUserName
push 0x729
push str.H:pub_9aqe_rc_2404Coding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 7
call fcn.0048ffd0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.004cb998
mov esp, ebp
pop ebp
ret 8
Function at 0x45a100
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x9c]
push 0x1b
push eax
call fcn.00463760
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.004e30c0
add esp, 0x14
lea eax, [ebp - 0x9c]
cmp dword [ebp - 0x88], 8
cmovae eax, dword [ebp - 0x9c]
push eax
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0x67495c
push str.InstallPerUser
push 0x679dac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x67494c
lea eax, [ebp - 0x84]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45a19b
test dx, dx
je 0x45a197
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45a19b
add eax, 4
add ecx, 4
test dx, dx
jne 0x45a175
xor eax, eax
jmp 0x45a1a0
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x88]
push ebx
xor ebx, ebx
test eax, eax
sete bl
cmp edx, 8
jb 0x45a1e4
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a1da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a1f7
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004cb998
mov esp, ebp
pop ebp
ret 4
call fcn.004e6589
int3

Function at 0x45a770
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x9c]
push 0x1b
push eax
call fcn.00463760
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.004e30c0
add esp, 0x14
lea eax, [ebp - 0x9c]
cmp dword [ebp - 0x88], 8
cmovae eax, dword [ebp - 0x9c]
push eax
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0x67495c
push str.Inactive
push 0x679dac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x67495c
lea eax, [ebp - 0x84]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45a80b
test dx, dx
je 0x45a807
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45a80b
add eax, 4
add ecx, 4
test dx, dx
jne 0x45a7e5
xor eax, eax
jmp 0x45a810
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x88]
push ebx
xor ebx, ebx
test eax, eax
sete bl
cmp edx, 8
jb 0x45a854
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a84a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a867
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004cb998
mov esp, ebp
pop ebp
ret 4
call fcn.004e6589
int3