joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423316
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
mov eax, dword [0x46f190]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
xor edi, edi
push 0x18
push edi
mov esi, 0x47314c
push esi
mov dword [0x473148], edi
call fcn.00438440
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, 0x104
push esi
mov ebx, 0x472d38
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push ebx
call fcn.00439b00
cmp eax, edi
pop ecx
pop ecx
je 0x423373
mov word [eax + 2], di
push str.log_
push esi
push ebx
call fcn.00438fed
add esp, 0xc
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423395
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [ebp - 0x1c], di
xor eax, eax
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor edi, edi
push 0x7e
lea eax, [ebp - 0xa]
push edi
push eax
mov word [ebp - 0xc], di
call fcn.00438440
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
push str._d__d__d__d__d__d_
lea eax, [ebp - 0xc]
push 0x40
push eax
call fcn.00437e11
lea eax, [ebp - 0xc]
push eax
push esi
push ebx
call fcn.00438fed
push str.old_upd.log
push esi
push ebx
call fcn.00438fed
add esp, 0x48
push esi
mov ebx, 0x472f40
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call edi
push 0x5c
push ebx
call fcn.00439b00
test eax, eax
pop ecx
pop ecx
je 0x42342a
and word [eax + 2], 0
push str.upd.log
push esi
push ebx
call fcn.00438fed
add esp, 0xc
push esi
mov ebx, 0x472b30
push ebx
push 0
call edi
push 0x5c
push ebx
call fcn.00439b00
test eax, eax
pop ecx
pop ecx
je 0x423457
and word [eax + 2], 0
push str.debug.log
push esi
push ebx
call fcn.00438fed
add esp, 0xc
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42347b
mov dword [0x473148], 1
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004372f9
add ebp, 0x78
leave
ret
Function at 0x4234b5
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, str.6D9D15F4_C3EF_4c4c_903A_FC2A53899C58
push edi
call fcn.00428d3b
pop ecx
xor esi, esi
test eax, eax
push edi
je 0x4234ff
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.00428d5e
test eax, eax
pop ecx
je 0x4234f7
push esi
push esi
push 0x7fe
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
inc eax
jmp 0x4235a4
push 0x104
push esi
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
call fcn.0042348f
lea edi, [eax + 0x410]
push esi
add eax, 0x208
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.RICHED20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
lea eax, [esp + 0x1c]
push eax
xor edi, edi
lea eax, [esp + 0x1c]
inc edi
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call sub.gdiplus.dll_GdiplusStartup
call fcn.0042867a
call fcn.00422ee2
cmp eax, 6
jle 0x423571
xor esi, esi
jmp 0x423574
push 2
pop esi
call fcn.00408a47
push 0xfffffffffffffff4
push eax
call fcn.0040a66a
mov ebx, eax
call fcn.0040b98b
call fcn.00423e65
call fcn.00423ada
call fcn.0042f805
call dword [sym.imp.USER32.dll_GetActiveWindow]
call fcn.004235ad
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4235ad
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
xor esi, esi
mov edi, eax
cmp edi, esi
mov dword [esp + 0x14], esi
jne 0x4235e0
mov eax, dword [0x472b10]
cmp eax, esi
je 0x4235ce
mov edi, dword [eax + 4]
jmp 0x4235d0
xor edi, edi
cmp edi, esi
jne 0x4235e0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
cmp edi, esi
je 0x423605
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x423605
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x423605
push esi
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x14], 1
push edi
mov eax, 0x4731b8
mov dword [0x473504], esi
call fcn.0040145d
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x10], ecx
jne 0x423630
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x42374a
mov eax, dword [0x472b10]
cmp eax, esi
mov dword [esp + 0x18], esi
je 0x423647
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov dword [eax + 4], ecx
push 0x4731bc
mov eax, edi
call fcn.00406bb9
cmp dword [0x4734f4], esi
je 0x4236e0
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov ebp, eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebx, ebp
je 0x4236a4
push 1
push ebx
push ebp
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebx, ebp
je 0x4236bb
push esi
push ebx
push ebp
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [0x4731bc]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x4236e0
push esi
push esi
push 0xf
push dword [0x4731bc]
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.00423752
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [0x4731bc]
mov dword [0x473504], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x14], esi
je 0x423729
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, esi
je 0x423729
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [0x4731bc]
jne 0x423729
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x472b10]
cmp eax, esi
je 0x423739
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
push dword [0x4731bc]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x473508]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x428dc7
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x928
mov eax, dword [0x46f190]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x61c]
xor esi, esi
mov dword [ebp - 0x87c], esi
mov dword [ebp - 0x884], eax
push eax
jmp 0x428e22
inc dword [ebp - 0x87c]
cmp dword [ebp - 0x87c], 0x3e8
jg 0x428ffa
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x884]
call ebx
test eax, eax
je 0x428dfe
cmp dword [edi + 0x618], esi
je 0x428fee
lea ebx, [edi + 0x410]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
push 0x80
je 0x428e6e
push 3
push esi
push esi
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x428fee
jmp 0x428eb9
push 2
push esi
push esi
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x428fee
push esi
lea eax, [ebp - 0x888]
push eax
push 2
lea eax, [ebp - 0x880]
push eax
push ebx
mov byte [ebp - 0x880], 0xff
mov byte [ebp - 0x87f], 0xfe
mov dword [ebp - 0x888], esi
call edi
test eax, eax
je 0x428fe7
push 2
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x81e
lea eax, [ebp - 0x876]
push esi
push eax
mov word [ebp - 0x878], si
call fcn.00438440
lea eax, [ebp + 0x80]
push eax
push dword [ebp + 0x7c]
lea eax, [ebp - 0x878]
push 0x207
push eax
call fcn.00439f03
add esp, 0x1c
cmp eax, esi
jl 0x428f0a
mov ecx, 0x207
cmp eax, ecx
ja 0x428f0a
jne 0x428f11
mov word [ebp - 0x46a], si
push 0xc6
lea eax, [ebp - 0x56]
push esi
push eax
mov word [ebp - 0x58], si
call fcn.00438440
push esi
call fcn.00439df5
mov dword [ebp - 0x890], eax
lea eax, [ebp - 0x890]
push eax
lea eax, [ebp - 0x8b4]
push eax
mov dword [ebp - 0x88c], edx
call fcn.00439b30
lea eax, [ebp - 0x8b4]
push eax
push 0x464734
lea eax, [ebp - 0x58]
push 0x64
push eax
call fcn.0043a126
add esp, 0x28
push esi
lea eax, [ebp - 0x87c]
push eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x87c], esi
call fcn.00436932
pop ecx
add eax, eax
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
call edi
push esi
lea eax, [ebp - 0x87c]
push eax
push 0x464758
call fcn.00436932
pop ecx
add eax, eax
push eax
push 0x464758
push ebx
call edi
push esi
lea eax, [ebp - 0x87c]
push eax
lea eax, [ebp - 0x878]
push eax
call fcn.00436932
pop ecx
add eax, eax
push eax
lea eax, [ebp - 0x878]
push eax
push ebx
call edi
push esi
lea eax, [ebp - 0x87c]
push eax
push 0x46475c
call fcn.00436932
pop ecx
add eax, eax
push eax
push 0x46475c
push ebx
call edi
cmp ebx, esi
je 0x428fee
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x884]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004372f9
add ebp, 0x74
leave
ret
Function at 0x42900c
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x46f190]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push 0x206
lea eax, [ebp - 0x20a]
push esi
push eax
mov word [ebp - 0x20c], si
call fcn.00438440
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4647a8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4290ba
cmp dword [ebp + 8], esi
mov eax, 0x46477c
jne 0x429090
mov eax, str._reupd
push esi
push esi
push eax
lea eax, [ebp - 0x20c]
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x4290ba
xor esi, esi
push str.NotifyMainAppDoReupd
inc esi
push str._s_sucessed
jmp 0x4290c4
push str.NotifyMainAppDoReupd
push str._s_failed
call fcn.0042348f
mov ecx, eax
call fcn.00428dc7
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004372f9
leave
ret

Function at 0x4290e1
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x46f190]
xor eax, ebp
mov dword [ebp + 0x18c], eax
mov eax, dword [ebp + 0x198]
push esi
push edi
xor esi, esi
push 0x206
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7a]
push esi
push eax
mov edi, 0x80004005
mov word [ebp - 0x7c], si
call fcn.00438440
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42916e
push 0x46481c
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
sub eax, esi
je 0x429160
sub eax, 0x50
je 0x429160
sub eax, 0x67
jne 0x42916e
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call fcn.004210ed
xor edi, edi
mov ecx, dword [ebp + 0x18c]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004372f9
add ebp, 0x190
leave
ret
Function at 0x42935c
Capabilities:
Check if file exists

Disassembly:
push 0x18
mov eax, 0x458104
call fcn.0043ddba
mov eax, dword [0x471fb4]
mov ecx, 0x471fb4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
lea edi, [ebp - 0x14]
call fcn.00429187
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
je 0x4293f7
push esi
lea eax, [ebp - 0x10]
push eax
call fcn.004210a8
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004291f4
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4293ec
lea eax, [ebp - 0x24]
push eax
call fcn.0042c2b5
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
call fcn.0042d047
test eax, eax
lea eax, [ebp - 0x24]
push eax
je 0x4293e3
call fcn.0042c9ee
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 1
call fcn.0042c2e1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405754
lea eax, [esi - 0x10]
call fcn.00405754
call fcn.0043de59
ret 4

Function at 0x42940c
Capabilities:
Get common file path

Disassembly:
push 0x41c
mov eax, 0x45642c
call fcn.0043de23
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp - 0x422]
push edi
push eax
mov ebx, ecx
mov word [ebp - 0x424], di
call fcn.00438440
push esi
lea eax, [ebp - 0x21a]
push edi
push eax
mov word [ebp - 0x21c], di
call fcn.00438440
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0043a141
pop ecx
call fcn.004349de
mov eax, dword [eax]
cmp eax, edi
je 0x429493
push 0x465cd4
call fcn.0043534b
cmp eax, edi
pop ecx
je 0x429493
push str.prob
call fcn.0043534b
cmp eax, edi
pop ecx
je 0x429493
cmp dword [eax + 0xc], 3
jne 0x429493
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x30], eax
call fcn.0043a14e
push 0x64
cdq
pop ecx
idiv ecx
cmp dword [ebx + 0x30], edx
jg 0x4294ab
xor eax, eax
call fcn.0043de6d
ret
lea eax, [ebp - 0x424]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4294a3
lea eax, [ebp - 0x21c]
push eax
push edi
push str.careueyes
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4294a3
mov eax, dword [0x471fb4]
mov ecx, 0x471fb4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], edi
cmp dword [ebx + 0x2c], edi
push edi
jne 0x42951a
call fcn.00439df5
push edx
push eax
push str.http:__care_eyes.com_careueyes_v1_upd_uplist.ini_tm_I64d
lea eax, [ebp - 0x428]
call fcn.004079af
add esp, 0x10
jmp 0x429537
call fcn.00439df5
push edx
push eax
push dword [ebx + 0x2c]
lea eax, [ebp - 0x428]
push str.http:__care_eyes.com_careueyes_v1_upd_uplist_d.ini_tm_I64d
call fcn.004079af
add esp, 0x14
cmp dword [0x4731ac], edi
mov esi, dword [ebp - 0x428]
je 0x429555
push esi
lea ecx, [ebp - 0x21c]
call fcn.00430403
cmp eax, edi
jne 0x429564
lea eax, [esi - 0x10]
call fcn.00405754
mov eax, edi
jmp 0x4294a5
lea eax, [ebp - 0x21c]
push eax
add ebx, 0xc
push ebx
call fcn.004210ed
xor edi, edi
inc edi
jmp 0x429555
Function at 0x42a1de
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x4577bf
call fcn.0043ddba
mov esi, edx
lea eax, [ebp - 0x14]
push 0x463fb4
add ecx, 0x10
push eax
call fcn.004089ec
lea ecx, [esi + 0x10]
push ecx
lea ecx, [ebp - 0x10]
push ecx
xor edi, edi
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.0040882a
add esp, 0x10
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405754
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42a243
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405754
xor eax, eax
call fcn.0043de59
ret
mov eax, dword [0x471fb4]
mov ecx, 0x471fb4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
lea ebx, [ebp - 0x14]
call fcn.004212d3
test eax, eax
jne 0x42a276
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405754
jmp 0x42a230
push dword [esi]
mov esi, dword [ebp - 0x14]
push esi
call fcn.0043b307
test eax, eax
pop ecx
pop ecx
je 0x42a29e
lea eax, [esi - 0x10]
call fcn.00405754
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405754
mov eax, edi
jmp 0x42a23d
xor edi, edi
inc edi
jmp 0x42a287

Function at 0x42a2a3
Capabilities:
Create directory

Disassembly:
push 4
mov eax, 0x456b84
call fcn.0043ddba
mov eax, dword [0x471fb4]
mov ecx, 0x471fb4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.004290e1
test eax, eax
pop ecx
je 0x42a2e3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405754
xor eax, eax
jmp 0x42a326
push str.update
lea eax, [ebp - 0x10]
push eax
call fcn.00422e6e
mov ebx, dword [ebp - 0x10]
push 0
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
sub eax, 0
je 0x42a313
sub eax, 0x50
je 0x42a313
sub eax, 0x67
je 0x42a313
lea eax, [ebx - 0x10]
jmp 0x42a2da
lea eax, [ebp - 0x10]
call fcn.0040877c
lea eax, [ebx - 0x10]
call fcn.00405754
xor eax, eax
inc eax
call fcn.0043de59
ret
Function at 0x42a6be
Capabilities:
Move file

Disassembly:
push 0x28
mov eax, 0x456b06
call fcn.0043ddba
mov esi, dword [ebp + 8]
cmp dword [esi + 0x1c], 0
jne 0x42a6f7
push str.update_completed
call fcn.0042348f
mov ecx, eax
call fcn.00428dc7
mov dword [esp], str.update_completed_
call fcn.0042a431
xor eax, eax
jmp 0x42a86a
mov eax, dword [0x471fb4]
mov edi, 0x471fb4
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
mov eax, dword [0x471fb4]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea eax, [esi + 0x14]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov ebx, 0x463fb4
cmp dword [ebp - 0x2c], 0
lea eax, [esi + 0x14]
mov edi, dword [eax + 4]
je 0x42a748
cmp dword [ebp - 0x2c], eax
je 0x42a74d
call fcn.00436922
cmp dword [ebp - 0x28], edi
je 0x42a834
lea eax, [ebp - 0x1c]
push ebx
lea ecx, [esi + 0x10]
push eax
call fcn.004089ec
pop ecx
pop ecx
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0042aaff
add eax, 0x10
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.0040882a
pop ecx
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0040877c
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405754
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405754
call fcn.0042aaff
lea ecx, [eax + 0xc]
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.004089ec
pop ecx
pop ecx
mov edi, eax
mov byte [ebp - 4], 4
call fcn.0042aaff
add eax, 0x10
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.0040882a
pop ecx
pop ecx
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0040877c
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405754
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00405754
push 4
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push dword [ebp - 0x10]
push str._s_replace_while_reboot_pc
call fcn.0042348f
mov ecx, eax
call fcn.00428dc7
pop ecx
pop ecx
lea edi, [ebp - 0x34]
call fcn.0042ab1f
mov esi, dword [ebp + 8]
jmp 0x42a737
push str.update_completed
call fcn.0042348f
mov ecx, eax
call fcn.00428dc7
mov dword [esp], str.update_completed_
call fcn.0042a431
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405754
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405754
xor eax, eax
inc eax
call fcn.0043de59
ret 4

Function at 0x42a872
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push str.CareUEyes.exe
add ecx, 4
push eax
call fcn.004089ec
pop ecx
pop ecx
push 5
xor esi, esi
push esi
push str._tray
push dword [ebp - 4]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x42a8cb
push str.Restart_Main_app_successed
call fcn.0042348f
mov ecx, eax
call fcn.00428dc7
inc esi
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00405754
mov eax, esi
pop esi
leave
ret
push str.Restart_Main_app_failed
call fcn.0042348f
mov ecx, eax
call fcn.00428dc7
jmp 0x42a8ba
Function at 0x42b3c5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c8
mov eax, dword [0x46f190]
xor eax, esp
mov dword [esp + 0x3c4], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [esp + 8], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42b4a1
push 0x3b4
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00438440
add esp, 0xc
test ebx, ebx
mov dword [esp + 8], 0x3b8
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0x6f
mov dword [esp + 0x14], 0x13
mov dword [esp + 0x18], 0xbd0
mov dword [esp + 0x1c], edi
je 0x42b44f
mov eax, 0x80
push eax
push ebx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0043a170
add esp, 0x10
or dword [esp + 0x14], 4
cmp dword [esp + 4], 0
je 0x42b474
push 0xff
push dword [esp + 8]
lea eax, [esp + 0x130]
push 0x100
push eax
call fcn.0043a170
add esp, 0x10
push 0
push esi
mov dword [esp + 0x330], 0x7530
mov dword [esp + 0x3b4], 0xf
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [esp + 0x3c4]
xor ecx, esp
call fcn.004372f9
mov esp, ebp
pop ebp
ret

Function at 0x42b4d6
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x455cf6
call fcn.0043ddba
mov esi, ecx
lea edi, [esi + 8]
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
call fcn.0042b52f
push 8
call fcn.00437d49
mov ecx, dword [ebp + 8]
and dword [eax + 4], 0
push eax
push 0
mov dword [eax], esi
push 0x42b55a
mov dword [esi + 0x20], ecx
call fcn.0043a337
add esp, 0x10
push edi
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0043de59
ret 4

Function at 0x42b52f
Capabilities:
Terminate thread

Disassembly:
push edi
lea edi, [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 4]
test eax, eax
je 0x42b551
push 0xabcd
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [esi + 4], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
ret