joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fa10
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
cmp eax, 0x5f5e100
push ebx
push esi
push edi
mov esi, ecx
jne 0x45face
fld dword [esi + 0x508]
xor edi, edi
fadd qword [0x4cfce8]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esi + 0x508]
fld dword [esi + 0x504]
fcompp
fnstsw ax
test ah, 5
jp 0x45fa5f
fld dword [esi + 0x504]
mov edi, 1
fstp dword [esi + 0x508]
call fcn.00461ad0
test edi, edi
je 0x45fbc4
mov eax, dword [esi + 4]
push 0x5f5e100
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 4]
push 5
push ecx
mov dword [esi + 0x4d8], 2
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 0
push 0
push 0xf
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
fld dword [0x4cfcf8]
xor eax, eax
push eax
push 0x14
mov dword [esi + 0x520], eax
fstp dword [esi + 0x51c]
mov eax, dword [esi + 4]
push 0x5f5e101
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp eax, 0x5f5e101
jne 0x45fb37
fld dword [esi + 0x520]
fadd qword [0x4cfce8]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esi + 0x520]
fld dword [esi + 0x51c]
fcompp
fnstsw ax
test ah, 0x41
jp 0x45fbc4
mov ecx, dword [esi + 4]
fld dword [esi + 0x51c]
push 0x5f5e101
fstp dword [esi + 0x520]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 4]
push 0
push 1
push 0x7e8
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp eax, 0x5f5e103
jne 0x45fbc4
fld dword [esi + 0x508]
xor ebx, ebx
fadd qword [0x4cfce8]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esi + 0x508]
fld dword [esi + 0x504]
fcompp
fnstsw ax
test ah, 0x41
jp 0x45fb7e
fld dword [esi + 0x504]
mov ebx, 1
fstp dword [esi + 0x508]
mov edi, esi
call fcn.00461f90
test ebx, ebx
je 0x45fbc4
mov eax, dword [esi + 4]
push 0x5f5e103
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x528]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
mov dword [esi + 0x42c], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x460bd0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebx + 0x28]
mov edx, dword [eax + 0x30]
sub esp, 0x18
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x28]
push edi
push 1
lea ecx, [ebx + 0x28]
push ebp
push esi
call edx
mov edi, eax
test edi, edi
jne 0x460c25
mov eax, dword [ebx + 0x14c]
mov edx, dword [eax + 0x30]
push 1
lea ecx, [ebx + 0x14c]
push ebp
push esi
call edx
mov edi, eax
test edi, edi
jne 0x460c25
mov eax, dword [ebx + 0x270]
mov edx, dword [eax + 0x30]
push 1
lea ecx, [ebx + 0x270]
push ebp
push esi
call edx
mov edi, eax
cmp dword [ebx + 0x3b0], 0
je 0x460cc5
cmp dword [ebx + 0x3c0], 0
je 0x460c4b
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebx + 0x3c0], 0
cmp dword [ebx + 0x3b0], edi
jne 0x460cbb
call fcn.00436870
movzx edi, word [esp + 0x2c]
lea ecx, [esp + 0xc]
push ecx
movzx ecx, bp
shl ecx, 0x10
or ecx, edi
push ecx
mov ecx, dword [esp + 0x30]
mov esi, eax
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
push ecx
xor eax, eax
push 0x205
push eax
mov ecx, esi
mov dword [esp + 0x20], eax
mov dword [esi + 0xfc], eax
call edx
mov eax, dword [ebx + 4]
lea edx, [esp + 0x10]
push edx
push 0xffffffffffffffff
mov dword [esp + 0x20], 0xd
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [esi + 0x14]
push 0x4e
push eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 0x3b0], 0
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x461e20
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
fld dword [0x4cfd78]
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
mov dword [edi + 0x50c], eax
mov dword [edi + 0x510], eax
mov dword [edi + 0x514], eax
mov dword [edi + 0x518], eax
fstp dword [edi + 0x504]
mov eax, dword [edi + 4]
fldz
lea ebx, [edi + 0x50c]
fstp dword [edi + 0x508]
push ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x14], edx
mov edx, ecx
sub edx, dword [ebx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
fld qword [0x4cfd70]
fmul st(1), st(0)
fxch st(1)
call fcn.0049b880
push eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmulp st(1)
call fcn.0049b880
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0
sub edx, eax
push edx
mov edx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 0x528]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
sub edx, dword [ebx]
push ecx
lea esi, [edi + 0x4dc]
push edx
call fcn.00434f70
mov ecx, edi
call fcn.00462230
test eax, eax
je 0x461f32
test esi, esi
lea ecx, [eax + 4]
je 0x461f18
lea eax, [edi + 0x4e0]
jmp 0x461f1a
xor eax, eax
mov edx, dword [edi + 0x4e4]
push ecx
mov ecx, dword [edi + 0x4e8]
push ecx
push edx
push eax
call fcn.004350e0
add esp, 0x10
call fcn.00461f90
mov eax, dword [edi + 4]
push 0
push 0x14
push 0x5f5e103
push eax
mov dword [edi + 0x4d8], 3
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [edi + 0x528]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call esi
mov edx, dword [edi + 0x528]
push 0
push 0
push 0xf
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 4]
push 0
push eax
call esi
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x464ea0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov ebx, ecx
call esi
push 0
push 0
push 7
mov ecx, 0x4e1fe4
mov dword [esp + 0x1c], eax
call fcn.00433060
call esi
cmp dword [0x4e4b24], 0
mov ebp, eax
je 0x464eee
push str.KCMUpdate::ProcessCs3:_is_force_skip_cs3
mov ecx, 0x4e49b4
call fcn.00419ab0
add esp, 4
xor esi, esi
jmp 0x464ef7
mov edi, ebx
call fcn.004656f0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
push esi
push str.KCMUpdate::ProcessCs3:_return__d
mov ecx, 0x4e49b4
mov dword [0x4e48e0], eax
call fcn.00419ab0
add esp, 8
test esi, esi
jne 0x464fe4
mov dword [0x4e4900], 2
call fcn.004657a0
mov esi, eax
test esi, esi
jne 0x464fe4
lea edi, [ebx + 0x4c]
push edi
mov dword [0x4e4900], 3
lea esi, [eax + 0xe]
call fcn.0046ba80
test eax, eax
jne 0x464f6c
mov eax, dword [edi + 0x14]
test eax, eax
je 0x464f63
mov ecx, dword [edi + 0x18]
sub ecx, eax
sar ecx, 2
jne 0x464f6a
mov esi, 1
jmp 0x464f6c
xor esi, esi
push esi
push str.KUpdateInst::Create_return:_d
mov ecx, 0x4e49b4
call fcn.00419ab0
add esp, 8
test esi, esi
jne 0x464fe4
mov dword [0x4e4900], 4
call fcn.0046a160
mov esi, eax
test esi, esi
jne 0x464fe4
push edi
mov dword [0x4e4900], 5
call fcn.0046a340
mov esi, eax
test esi, esi
jne 0x464fe4
mov eax, edi
mov dword [0x4e4900], 6
call fcn.0046a3e0
mov dword [ebx + 0x78], eax
mov eax, edi
call fcn.0046a460
mov dword [ebx + 0x7c], eax
mov ebx, dword [ebx + 0x78]
test ebx, ebx
je 0x464fdf
test eax, eax
je 0x464fdf
mov dword [0x4e48f4], ebx
jmp 0x464fe4
mov esi, 1
push 0
push esi
push 9
mov ecx, 0x4e1fe4
call fcn.00433060
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x10]
pop edi
mov dword [0x4e48e4], eax
mov eax, esi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x465210
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4b6e18
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e02dc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
lea esi, [esp + 8]
call fcn.0042dbd0
mov dword [esp + 0x14], 0
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465289
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x465296
mov eax, dword [esp + 8]
push 0
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x465296
mov edx, dword [esp + 8]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.KCMUpdate::FixUpdateFolder
mov ecx, 0x4e49b4
call fcn.00419ab0
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4652d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4657a0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4b68c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e02dc]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea esi, [esp + 0x14]
xor edi, edi
xor ebp, ebp
call fcn.0042d3c0
mov edx, eax
lea eax, [edi + 3]
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], edi
call fcn.0040a5d0
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46580e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x24]
push eax
push esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x465853
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
shrd ebp, edi, 0x14
shr edi, 0x14
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46586f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
push ecx
mov dword [0x4e48f8], ebp
call fcn.004743c0
add esp, 4
push eax
mov ecx, 0x4c4f98
call fcn.00473be0
mov eax, dword [eax]
push eax
call fcn.004957b9
cdq
add esp, 4
cmp edi, edx
ja 0x4658a8
jb 0x4658a4
cmp ebp, eax
jae 0x4658a8
mov bl, 1
jmp 0x4658aa
xor bl, bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4658ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4658fb
push edi
push ebp
push str.KDubaUpdate::CheckDiskSize_size_not_enough__free:_I64d_MB
mov ecx, 0x4e49b4
call fcn.00419ab0
add esp, 0xc
mov eax, 0x18
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret

Function at 0x466b30
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, 0x1f40
mov eax, dword [edi]
push 0
push 0x80
push 3
push 0
push 7
push 0x40000000
push eax
call esi
cmp eax, 0xffffffff
jne 0x466b82
call ebx
xor ecx, ecx
cmp eax, 2
sete cl
mov eax, ecx
test eax, eax
jne 0x466b89
cmp ebp, 0x64
jb 0x466b92
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebp, 0x64
jmp 0x466b44
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
mov eax, 1
pop ebx
ret
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x466fd0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b64a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4e02dc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea esi, [esp + 0x14]
call fcn.0042dcf0
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x24], 0
call fcn.0042dd80
add esp, 4
mov byte [esp + 0x20], 1
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push 0
push str.forcereboot
push 0x4c9d4c
call esi
mov edx, dword [esp + 0x10]
push edx
push 0
push str.forcereboot
push 0x4c9d4c
mov edi, eax
call esi
mov esi, eax
push esi
push edi
push str.KReupdate::IsNeedGroupUpdate:_old_forcereboot:_d__new_forcereboot:_d
mov ecx, 0x4e49b4
call fcn.00419ab0
add esp, 0xc
test esi, esi
je 0x46706b
cmp edi, esi
je 0x46706b
mov esi, 1
jmp 0x46706d
xor esi, esi
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467092
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4670ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x4675f0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4b7cd8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e02dc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x10]
add esi, 0xc
cmp edi, dword [esi + 8]
mov dword [esp + 0x14], esi
jbe 0x46762d
call fcn.0049445b
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, esi
mov esi, dword [esi + 8]
mov eax, dword [esp + 0x14]
cmp dword [eax + 4], esi
jbe 0x467646
call fcn.0049445b
test ebp, ebp
je 0x467650
cmp ebp, dword [esp + 0x14]
je 0x467655
call fcn.0049445b
cmp edi, esi
je 0x467759
test ebp, ebp
jne 0x467666
call fcn.0049445b
cmp edi, dword [ebp + 8]
jb 0x467670
call fcn.0049445b
mov eax, dword [edi]
push 0
push 0x80
push 3
push 0
push 7
push 0x40000000
push eax
call ebx
cmp eax, 0xffffffff
je 0x467695
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4676f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
sete cl
mov eax, ecx
test eax, eax
jne 0x4676f0
mov ecx, dword [edi]
lea esi, [esp + 0x18]
call fcn.00427210
mov edx, esi
push edx
mov dword [esp + 0x28], 0
call fcn.00467580
test eax, eax
je 0x467706
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4676f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, dword [ebp + 8]
jb 0x4676fa
call fcn.0049445b
mov esi, dword [esp + 0x14]
add edi, 8
jmp 0x467635
mov ecx, dword [edi]
push ecx
push str.KReupdate::IsAllReupdateFileWritable_file_is_not_writable:_ws
mov ecx, 0x4e49b4
call fcn.00419ab0
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x467743
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push str.KReupdate::IsAllReupdateFileWritable_return_TRUE
mov ecx, 0x4e49b4
call fcn.00419ab0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4680c0
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebx, eax
call fcn.0042e770
test eax, eax
je 0x468120
push str.KReupdate::ExitActiveProductProcess_main_process_is_running
mov ecx, 0x4e49b4
call fcn.00419ab0
add esp, 4
call fcn.0042e7d0
test eax, eax
jne 0x468113
push str.KReupdate::ExitActiveProductProcess_exit_main_process_fail
mov ecx, 0x4e49b4
mov dword [0x4e4c64], 2
call fcn.00419ab0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, 1
mov dword [ebx + 4], eax
mov dword [0x4e4c64], eax
mov eax, dword [ebx + 0x20]
mov edi, dword [eax]
add ebx, 0x1c
mov esi, ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
test esi, esi
mov ebp, dword [ebx + 4]
je 0x46813d
cmp esi, ebx
je 0x468142
call fcn.0049445b
cmp edi, ebp
je 0x4681aa
test esi, esi
jne 0x46814f
call fcn.0049445b
cmp edi, dword [esi + 4]
jne 0x468159
call fcn.0049445b
mov eax, dword [edi + 0x10]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x46817d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x10]
push ecx
push edx
push str.KReupdate::ExitActiveProductProcess_kill_process__d___ws
mov ecx, 0x4e49b4
call fcn.00419ab0
add esp, 0xc
lea esi, [esp + 0x10]
call fcn.00468b40
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
jmp 0x468132
mov eax, dword [ebx + 4]
mov ebp, dword [eax]
mov esi, ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebp
lea esp, [esp]
test esi, esi
mov edi, dword [ebx + 4]
je 0x4681cb
cmp esi, ebx
je 0x4681d0
call fcn.0049445b
cmp ebp, edi
je 0x46822a
test esi, esi
jne 0x4681dd
call fcn.0049445b
cmp ebp, dword [esi + 4]
jne 0x4681e7
call fcn.0049445b
lea edi, [ebp + 0x18]
call fcn.00466b30
test eax, eax
je 0x468206
lea esi, [esp + 0x10]
call fcn.00468b40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
jmp 0x4681c0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
push ecx
push edx
push str.KReupdate::ExitActiveProductProcess_fail_to_exit_process__d___ws
mov ecx, 0x4e49b4
call fcn.00419ab0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push str.KReupdate::ExitActiveProductProcess_success
mov ecx, 0x4e49b4
call fcn.00419ab0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x468250
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4b8a58
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e02dc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46828d
test al, 0x10
je 0x4682aa
mov eax, dword [ebp]
push eax
push str.KReupdate::UpdateFile_src_file_is_not_exsist__file:_ws
mov ecx, 0x4e49b4
call fcn.00419ab0
add esp, 8
xor eax, eax
jmp 0x468343
mov eax, dword [edi]
sub eax, 0x10
call fcn.00401270
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0
call fcn.0041c8e0
mov ebx, dword [esp + 0x24]
push ebx
call fcn.0041c990
mov eax, dword [ebp]
mov esi, dword [edi]
add esp, 4
push eax
call fcn.00413d00
add esp, 4
test eax, eax
je 0x468313
add ebx, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46830f
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
xor eax, eax
jmp 0x468343
mov edi, dword [edi]
call fcn.00432870
lea eax, [ebx - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46833e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x46a160
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4b57d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
mov eax, dword [0x4e02dc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor esi, esi
push str.KUpdateInst::DownloadIndex_...
mov ecx, 0x4e49b4
mov dword [esp + 0x1c], 0xd
mov dword [esp + 0x14], 0xffffffff
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], esi
call fcn.00419ab0
mov eax, dword [edi + 0x14]
add esp, 4
cmp eax, esi
je 0x46a2f5
mov ecx, dword [edi + 0x18]
sub ecx, eax
sar ecx, 2
je 0x46a2f5
cmp dword [0x4e4ae4], esi
jne 0x46a2f5
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x14], 3
mov ebp, fcn.0046c800
jmp 0x46a1f6
xor esi, esi
push 0xc
call fcn.00493965
add esp, 4
cmp eax, esi
jne 0x46a208
xor eax, eax
jmp 0x46a226
push esi
push esi
push eax
push 0x431cd0
lea edx, [esp + 0x20]
push esi
push esi
mov dword [eax], edi
mov dword [eax + 8], edx
mov dword [eax + 4], ebp
call fcn.004962a1
add esp, 0x18
lea ebx, [esp + 0x1c]
lea esi, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.00429890
sub dword [esp + 0x14], 1
jne 0x46a1f4
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.0046c800
mov eax, dword [esp + 0x24]
xor ebp, ebp
cmp eax, ebp
je 0x46a261
mov ecx, dword [esp + 0x28]
mov edx, ecx
sub edx, eax
sar edx, 2
jne 0x46a26e
call fcn.0049445b
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x46a276
xor ecx, ecx
jmp 0x46a27b
sub ecx, eax
sar ecx, 2
push 0xffffffffffffffff
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
nop
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x46a2b0
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x46a2b0
mov eax, dword [ecx + esi*4]
push eax
call ebx
add esi, 1
jmp 0x46a290
mov dword [esp + 0x38], 0xffffffff
cmp dword [edi + 0x28], ebp
je 0x46a2d8
cmp ecx, ebp
je 0x46a2ca
push ecx
call fcn.004935b1
add esp, 4
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
jmp 0x46a309
cmp ecx, ebp
je 0x46a2e5
push ecx
call fcn.004935b1
add esp, 4
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
xor esi, esi
jmp 0x46a305
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.0046c800
test eax, eax
jne 0x46a309
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x18]
push esi
push str.KUpdateInst::DownloadIndex_return:_d
mov ecx, 0x4e49b4
call fcn.00419ab0
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret