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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
xor esi, esi
push 0x50edd8
lea eax, [ebp - 4]
xor ebx, ebx
mov dword [ebp - 8], esi
call fcn.004014ce
push 0x40
lea eax, [ebp - 0x5c]
push esi
push eax
mov dword [ebp - 0x60], esi
call sub.MSVCR80.dll_memset
mov dword [ebp - 0x18], esi
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
push dword [ebp + 8]
stosd dword es:[edi], eax
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 0x14
test eax, eax
jne 0x4542c8
push dword [ebp + 0xc]
xor edi, edi
lea eax, [ebp - 4]
push str.__weatherpanel:_s
inc edi
push eax
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], edi
mov word [ebp - 0x30], 0xa
call fcn.0042a016
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4542c8
push 0x2710
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 8], edi
jne 0x4542c8
mov ebx, edi
cmp dword [ebp - 0x18], esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4542db
push dword [ebp - 0x18]
call edi
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x14], esi
je 0x4542e8
push dword [ebp - 0x14]
call edi
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x454747
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov esi, eax
call fcn.004557a2
xor ebx, ebx
cmp dword [0x545300], ebx
je 0x454776
push dword [0x545304]
mov eax, dword [esi]
push str.floatwin
push esi
call dword [eax + 0xc]
mov dword [0x5452e4], 1
mov edi, esi
call fcn.0045581c
push 0xc
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
jne 0x45478d
xor eax, eax
jmp 0x4547ac
push ebx
push ebx
push eax
push 0x45681e
push ebx
push ebx
mov dword [eax], esi
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x454b07
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
pop edi
mov dword [esi + 8], eax
pop esi
xor eax, eax
pop ebx
ret

Function at 0x4547b5
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 8]
test eax, eax
je 0x4547eb
push 0x1388
push eax
mov dword [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4547de
push 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 8], 0
mov eax, esi
call fcn.004556c9
xor eax, eax
ret
Function at 0x455bd9
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebx + 4], 0
je 0x455be9
xor eax, eax
inc eax
leave
ret
mov eax, dword [0x5438cc]
push esi
push edi
mov ecx, 0x5438cc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
call fcn.0043b2e0
lea edi, [ebp - 4]
call fcn.0042a0a0
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
jne 0x455c81
push 0x104
push 0x10e
mov esi, edi
call fcn.004015aa
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
cmp dword [ebp - 4], eax
je 0x455c50
push dword [ebp - 4]
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 4]
call fcn.00401354
push 0x5c
lea esi, [ebp - 4]
call fcn.0042d702
mov ecx, eax
inc ecx
lea edx, [ebp - 8]
mov eax, esi
call fcn.0042a06a
mov edi, esi
call fcn.0042a0a0
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edi, str.kvipcore.dll
push edi
lea eax, [ebp - 4]
lea ecx, [ebp - 8]
call fcn.0042a029
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop ecx
push dword [eax]
call esi
mov dword [ebx + 4], eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
cmp dword [ebx + 4], 0
jne 0x455cc4
push edi
call esi
test eax, eax
mov dword [ebx + 4], eax
je 0x455d0c
push str.KVipGetClassObject
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x455d0c
lea esi, [ebx + 8]
and dword [esi], 0
push esi
push 0x5198e0
call eax
test eax, eax
jl 0x455d0c
cmp dword [esi], 0
je 0x455d0c
mov eax, ebx
call fcn.0044a573
test eax, eax
je 0x455d0c
xor esi, esi
inc esi
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
pop edi
mov eax, esi
pop esi
leave
ret
mov esi, ebx
call fcn.00455d17
xor esi, esi
jmp 0x455cfb
Function at 0x45673b
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x545600]
sub esp, 0x44
test eax, eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
mov edi, 0x545604
jne 0x456764
push edi
call ebx
mov dword [0x545600], 1
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5455f8]
test eax, eax
jne 0x4567fd
cmp byte [0x54561c], al
je 0x4567a8
push str.Dead_Reference_Detected
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x44]
call fcn.004569fa
push 0x5318fc
lea eax, [ebp - 0x44]
push eax
call sub.MSVCR80.dll__CxxThrowException
push esi
push 0x10
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
test esi, esi
pop ecx
je 0x4567e2
call fcn.004660cf
lea ecx, [esi + 4]
mov dword [ecx], eax
mov byte [eax + 0x2d], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
and dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 0xc], eax
jmp 0x4567e4
xor esi, esi
push 0x4568e2
mov dword [0x5455f8], esi
mov byte [0x54561c], 0
call fcn.004ce92b
pop ecx
pop esi
mov eax, dword [0x545600]
test eax, eax
jne 0x456813
push edi
call ebx
mov dword [0x545600], 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
leave
ret
Function at 0x456c04
Capabilities:
Get memory capacity
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50
test byte [0x545b48], 1
push ebx
push edi
jne 0x456c2f
or dword [0x545b48], 1
call fcn.0049948e
push 0x4d7ed6
call fcn.004ce92b
pop ecx
push dword [0x545a60]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x12c
push str.game_wait_1
mov ebx, 0x5190a4
push ebx
call edi
push dword [0x545a60]
mov dword [esp + 0x10], eax
push 0x12c
push str.game_wait_2
push ebx
call edi
push dword [0x545a60]
mov dword [esp + 0x14], eax
push 0x4b0
push str.game_wait_3
push ebx
call edi
mov dword [esp + 0x14], eax
lea eax, [esi + 0x2c]
push eax
mov dword [esp + 0xc], eax
call fcn.00456eb6
push 0x3c
lea eax, [esp + 0x20]
push 0
push eax
mov dword [esp + 0x24], 0x40
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x20]
lea edi, [esi + 0x40]
mov dword [edi], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc]
imul eax, eax, 0x3e8
lea ebx, [esi + 0x78]
push eax
mov eax, ebx
call fcn.00403ba5
test eax, eax
jne 0x456d92
call fcn.0045179a
test eax, eax
je 0x456d92
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 0x48]
push esi
call fcn.004570df
push 0
push dword [esp + 0xc]
call fcn.00457156
mov eax, dword [esp + 0x10]
imul eax, eax, 0x3e8
push eax
mov eax, ebx
call fcn.00403ba5
test eax, eax
jne 0x456d92
call fcn.0045179a
test eax, eax
je 0x456d92
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x58]
push esi
call fcn.004570df
push 1
push dword [esp + 0xc]
call fcn.00457156
mov eax, dword [esp + 0x14]
imul eax, eax, 0x3e8
push eax
mov eax, ebx
call fcn.00403ba5
test eax, eax
jne 0x456d92
call fcn.0045179a
test eax, eax
je 0x456d92
lea eax, [esi + 0x70]
push eax
lea eax, [esi + 0x68]
push esi
call fcn.004570df
push 2
push dword [esp + 0xc]
call fcn.00457156
call fcn.0045179a
test eax, eax
je 0x456d89
push 0x7d0
mov eax, ebx
call fcn.00403ba5
test eax, eax
je 0x456d70
push 0
mov eax, ebx
call fcn.00403ba5
and dword [esp + 0xc], 0
push 0x20006
push str.SOFTWAREkingsoftAntivirus_sysopt
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [esp + 0x18]
call fcn.004017a0
push 1
push str.GameModeReport3
lea eax, [esp + 0x14]
push eax
call fcn.004016cd
cmp dword [esp + 0xc], 0
je 0x456dd1
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esp + 8]
call fcn.004572f6
mov edi, dword [esp + 8]
call fcn.0045701c
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4570df
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push 0x3c
mov esi, eax
lea eax, [ebp - 0x6c]
push 0
push eax
mov dword [ebp - 0x70], 0x40
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
sbb ecx, dword [ebp - 0x5c]
mov dword [esi], eax
mov dword [esi + 4], ecx
lea esi, [ebp - 0x30]
call fcn.00492c5f
mov ebx, esi
call fcn.00492cf2
mov eax, dword [ebp + 8]
push 0x7d0
add eax, 0x78
call fcn.00403ba5
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, esi
call fcn.00492d90
mov ecx, esi
call fcn.00492cc7
pop esi
pop ebx
leave
ret 8

Function at 0x457156
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push ebx
push esi
push edi
xor esi, esi
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x45717d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x240], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4571a7
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x457176
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x238]
je 0x457296
mov edi, dword [ebp + 8]
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x4571d0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
jbe 0x4571e4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [ebp - 4], ebx
je 0x457296
lea esi, [ebp - 8]
call fcn.0043c64b
cmp dword [eax], 0
je 0x45721a
call fcn.0043c64b
mov eax, dword [eax]
add eax, 4
mov eax, dword [eax]
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x45722e
mov eax, dword [ebp - 4]
cmp eax, dword [edi + 8]
jb 0x457228
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add dword [ebp - 4], 4
jmp 0x4571e4
push dword [ebp - 0x238]
xor ebx, ebx
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
je 0x457252
push eax
call fcn.004572b5
mov edi, eax
mov ebx, edx
jmp 0x457254
xor edi, edi
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x457286
dec eax
je 0x457274
dec eax
jne 0x457296
lea esi, [ebp - 8]
call fcn.0043c64b
mov eax, dword [eax]
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], ebx
jmp 0x457296
lea esi, [ebp - 8]
call fcn.0043c64b
mov eax, dword [eax]
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], ebx
jmp 0x457296
lea esi, [ebp - 8]
call fcn.0043c64b
mov eax, dword [eax]
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0xc]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4571b0
xor esi, esi
inc esi
jmp 0x45719a
Function at 0x4578cb
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
and word [ebp - 0x20c], 0
push 0x208
lea eax, [ebp - 0x20a]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x45794e
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.dataksysoffusecfg.dat
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 0x45794e
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 8]
call fcn.0040127c
xor eax, eax
inc eax
jmp 0x457950
xor eax, eax
leave
ret 4

Function at 0x457954
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov esi, 0x200
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 4], ebx
je 0x457981
push dword [ebp - 4]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
add esi, esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ce6ea
mov edi, eax
cmp edi, ebx
pop ecx
mov dword [ebp - 4], edi
je 0x457a43
push esi
push ebx
push edi
call sub.MSVCR80.dll_memset
add esp, 0xc
push dword [ebp + 0xc]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
inc eax
inc eax
cmp eax, esi
jae 0x457973
mov esi, dword [sym.imp.MSVCR80.dll_wcslen]
mov ebx, edi
jmp 0x457a04
push ebx
push 0x50d38c
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x4579fc
push ebx
lea eax, [ebp + 0xc]
call fcn.004014ce
push eax
lea edi, [ebp - 0x18]
call fcn.0043553a
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00401239
push ebx
call esi
pop ecx
lea ebx, [ebx + eax*2 + 2]
push ebx
call esi
test eax, eax
pop ecx
jne 0x4579cd
cmp dword [ebp - 0x14], 0
je 0x457a3a
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x14]
sar eax, 2
cmp eax, 2
jb 0x457a3a
lea esi, [eax - 2]
lea edi, [ebp - 0x18]
call fcn.00438c92
mov edi, dword [ebp + 8]
call fcn.0042a0a0
mov dword [ebp - 8], 1
push dword [ebp - 4]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
lea esi, [ebp - 0x18]
call fcn.0043566d
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x457c96
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x544000]
test eax, eax
jne 0x457cb3
push 0x208
call fcn.004ce6ea
test eax, eax
pop ecx
mov dword [0x544000], eax
je 0x457cfb
and word [eax], 0
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x457cfb
mov ecx, dword [0x544000]
movzx edx, word [ecx + eax*2 - 2]
cmp dx, 0x2f
je 0x457cde
cmp dx, 0x5c
jne 0x457ce4
and word [ecx + eax*2 - 2], 0
mov edx, 0x103
sub edx, eax
push edx
push 0x519d0c
push ecx
call dword [sym.imp.MSVCR80.dll_wcsncat]
add esp, 0xc
ret
Function at 0x457cfc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
test byte [0x545980], 1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], vtable.CKANRegisterKey.0
jne 0x457d2a
or dword [0x545980], 1
call esi
mov dword [0x54597c], eax
cmp dword [0x544004], 0
jne 0x457d49
push 0x208
call fcn.004ce6ea
test eax, eax
pop ecx
mov dword [0x544004], eax
je 0x457d9c
jmp 0x457d65
call esi
mov ecx, eax
sub ecx, dword [0x54597c]
cmp ecx, 0x493e0
jb 0x457d9c
mov dword [0x54597c], eax
mov eax, dword [0x544004]
and word [eax], 0
push 1
push str.Control_PanelDesktop
push SysReAllocStringLen
lea eax, [ebp - 8]
call fcn.0049553d
test eax, eax
je 0x457d9c
push ebx
push dword [0x544004]
lea eax, [ebp - 8]
push str.SCRNSAVE.EXE
push eax
mov ebx, 0x104
call fcn.00495657
pop ebx
lea ecx, [ebp - 8]
call fcn.0049552d
pop esi
leave
ret

Function at 0x457da7
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0x11c]
push edi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x457dfa
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x11c], 0x114
call esi
test eax, eax
je 0x457e06
cmp dword [ebp - 0x118], 6
jb 0x457e06
xor edi, edi
inc edi
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x457e0c
Capabilities:
Create thread
Resume thread

Disassembly:
push edi
xor edi, edi
cmp dword [esi], edi
je 0x457e1f
mov eax, 0x4df
call fcn.00434fb7
jmp 0x457e6a
cmp dword [esp + 8], edi
jne 0x457e2c
mov eax, 0x80004003
jmp 0x457e6a
push edi
push 4
push dword [esp + 0x10]
push 0x457e6e
push edi
push edi
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
cmp eax, edi
mov dword [esi], eax
jne 0x457e61
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x457e5a
call fcn.00433cce
jmp 0x457e6a
mov eax, 0x80004005
jmp 0x457e6a
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop edi
ret 4
Function at 0x4582b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
mov esi, eax
push str.datalog_
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
call fcn.00496e16
pop ecx
lea ecx, [ebp - 4]
call fcn.0042a029
pop ecx
lea edi, [esi + 0x58]
call fcn.0042a0a0
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [0x5438cc]
mov ecx, 0x5438cc
call dword [eax + 0xc]
add eax, 0x10
push 0x206
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20e]
push ebx
push eax
mov word [ebp - 0x210], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040127c
lea eax, [ebp - 4]
push eax
call fcn.00496e9b
pop ecx
lea edi, [esi + 0x54]
lea eax, [ebp - 4]
call fcn.0042a0a0
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
mov eax, edi
call fcn.00407211
call fcn.00457f80
cmp eax, ebx
mov dword [esi + 0x5c], eax
je 0x458380
push esi
call fcn.00458a98
lea eax, [esi + 0x40]
call fcn.004c1e85
push ebx
add esi, 0xbc
push esi
push ebx
push 0x30
mov edi, eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45889e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x5438cc]
push ebx
push esi
mov ebx, 0x5438cc
push edi
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [0x5438cc]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
call fcn.00496f4f
lea edi, [esp + 0x10]
call fcn.0042a0a0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x458907
push 0x50d548
mov eax, edi
push eax
call fcn.00407371
lea eax, [esp + 0x10]
lea edi, [esp + 0xc]
call fcn.0042a0a0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
je 0x458942
mov eax, dword [ebp + 8]
push dword [eax + 0xb4]
add eax, 0xb0
push eax
mov ecx, edi
push ecx
push eax
call fcn.004367ed
mov eax, dword [0x5438cc]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea edi, [esp + 0x18]
mov dword [esp + 0x14], eax
call fcn.0045883a
lea edi, [esp + 0x10]
call fcn.0042a0a0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x4589aa
push str.AliIM.exe
mov eax, edi
push eax
call fcn.00407371
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4589a1
test al, 0x10
je 0x4589aa
lea esi, [esp + 0x10]
call fcn.00401314
lea eax, [esp + 0x10]
lea edi, [esp + 0xc]
call fcn.0042a0a0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
je 0x4589e5
mov eax, dword [ebp + 8]
push dword [eax + 0xb4]
add eax, 0xb0
push eax
mov ecx, edi
push ecx
push eax
call fcn.004367ed
mov eax, dword [0x5438cc]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall052CFB79_9D62_42E3_8A15_DE66C2C97C3E
lea edi, [esp + 0x18]
mov dword [esp + 0x14], eax
call fcn.0045883a
lea edi, [esp + 0x10]
call fcn.0042a0a0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
je 0x458a4c
push str.binqq.exe
mov eax, edi
push eax
call fcn.00407371
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x458a43
test al, 0x10
je 0x458a4c
lea esi, [esp + 0x10]
call fcn.00401314
lea eax, [esp + 0x10]
lea edi, [esp + 0xc]
call fcn.0042a0a0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00401239
mov esi, dword [esp + 0xc]
cmp dword [esi - 0xc], 0
je 0x458a87
mov eax, dword [ebp + 8]
push dword [eax + 0xb4]
add eax, 0xb0
push eax
mov ecx, edi
push ecx
push eax
call fcn.004367ed
lea eax, [esi - 0x10]
call fcn.00401239
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4