joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406dbe
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x480f33
call fcn.0048065f
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
je 0x406f88
cmp dword [ebp + 0xc], esi
je 0x406f88
push esi
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR80.dll__waccess]
test eax, eax
pop ecx
pop ecx
jne 0x406f83
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
push 0x80
push 3
push esi
push 1
push connect
push dword [ebp + 0xc]
call ebx
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
je 0x406f5b
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x406f5b
mov eax, dword [0x4b5140]
cmp eax, esi
je 0x406e45
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.MSVCR80.dll_malloc]
cmp eax, esi
pop ecx
mov dword [ebp - 0x24], eax
je 0x406f5b
push esi
lea ecx, [ebp - 0x28]
push ecx
push edi
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x28], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x4b5140]
cmp eax, esi
je 0x406e7b
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x20], 0x100000
mov dword [ebp - 4], esi
cmp dword [ebp - 0x14], esi
je 0x406e94
push dword [ebp - 0x14]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
mov eax, dword [ebp - 0x20]
push eax
mov dword [ebp - 0x2c], eax
call dword [sym.imp.MSVCR80.dll_malloc]
mov edx, eax
mov eax, dword [ebp - 0x24]
pop ecx
mov ecx, dword [ebp - 0x28]
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x14], edx
call fcn.004663e0
cmp eax, esi
jne 0x406f0a
push esi
push 0x80
push 2
push esi
push 1
push 0x40000000
push dword [ebp + 8]
mov dword [ebp - 0x30], esi
call ebx
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
je 0x406f3d
mov edi, dword [ebp - 0x2c]
push esi
lea ecx, [ebp - 0x30]
push ecx
push edi
push dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x30], edi
jne 0x406f3d
mov eax, dword [0x4b5140]
cmp eax, esi
je 0x406f01
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x34], 1
jmp 0x406f3d
mov edi, dword [ebp - 0x20]
cmp edi, 0x3200000
ja 0x406f3d
cmp eax, 0xfffffffb
jne 0x406f3d
mov eax, dword [0x4b5140]
cmp eax, esi
je 0x406f2a
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [edi + edi]
mov dword [ebp - 0x20], eax
jmp 0x406e85
cmp dword [ebp - 0x24], esi
je 0x406f4c
push dword [ebp - 0x24]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
cmp dword [ebp - 0x14], esi
je 0x406f5b
push dword [ebp - 0x14]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
cmp dword [ebp - 0x18], esi
je 0x406f6f
cmp dword [ebp - 0x18], 0xffffffff
je 0x406f6f
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], esi
je 0x406f83
cmp dword [ebp - 0x1c], 0xffffffff
je 0x406f83
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x34]
jmp 0x406f8a
xor eax, eax
call fcn.00480704
ret
Function at 0x407159
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x485fe9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4b2068]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x4b457c]
mov esi, 0x4b457c
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
push dword [ebp + 8]
and dword [esp + 0x3c], 0
lea eax, [esp + 0x20]
push eax
call fcn.00402357
mov byte [esp + 0x38], 1
mov eax, dword [0x4b457c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 2
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push eax
lea eax, [esp + 0x1c]
push str._cid_d
push eax
call fcn.00404e7f
mov ebx, dword [esp + 0x24]
add esp, 0xc
push dword [ebx - 0xc]
lea eax, [esp + 0x20]
push ebx
call fcn.0040217c
push dword [ebp + 0xc]
mov esi, 0x4b4d74
push dword [ebp + 8]
push str.KHelper::DownloadFile_url:_ws_file:_ws
call fcn.00411a60
add esp, 0xc
call edi
and dword [esp + 0x14], 0
mov dword [esp + 0x24], eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x14], 3
jge 0x4072b5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00407314
add esp, 0xc
test eax, eax
jne 0x4072fa
call edi
push dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov ebx, eax
sub ebx, dword [esp + 0x28]
call fcn.004036eb
mov ebx, dword [esp + 0x18]
and dword [esp + 0x20], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
sub eax, dword [esp + 0x2c]
push eax
push dword [esp + 0x2c]
push str.DownloadFile_return:_d__cost_time:_d__url:_ws__path:_ws
call fcn.00411a60
add esp, 0x14
lea eax, [ebx - 0x10]
call fcn.0040214e
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x14], 5
jge 0x4072cc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040742e
jmp 0x4072ef
cmp dword [esp + 0x14], 6
jge 0x4072e0
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.00407594
jmp 0x4072f2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x24]
call fcn.00407314
add esp, 0xc
test eax, eax
je 0x40725b
inc dword [esp + 0x14]
push 7
pop eax
cmp dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
jl 0x407217
jmp 0x407260

Function at 0x407902
Capabilities:
Delete file

Disassembly:
push ecx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00406dbe
pop ecx
pop ecx
pop ecx
ret
Function at 0x4083ed
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
mov dword [esi], eax
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x408476
push ebx
call fcn.0047e92c
pop ecx
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x408467
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x48ee24
push dword [ebp - 4]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x408467
cmp dword [ebp - 0xc], ebx
je 0x408467
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov eax, dword [eax + 0xc]
mov dword [esi], eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], 0
je 0x408476
push dword [ebp - 4]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret

Function at 0x40847c
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push 4
mov eax, 0x481f3f
call fcn.0048062c
mov ebx, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.00402357
xor esi, esi
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4084cf
test al, 0x10
je 0x4084c0
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, esi
call fcn.00480704
ret
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
call esi
test eax, eax
jne 0x4084aa
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0xb7
je 0x4084aa
lea ecx, [ebp - 0x10]
call fcn.0040813c
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x408501
xor esi, esi
jmp 0x4084ad
push eax
call fcn.0040847c
test eax, eax
pop ecx
je 0x4084fd
push 0
push ebx
call esi
test eax, eax
jne 0x4084aa
call edi
cmp eax, 0xb7
jne 0x4084fd
jmp 0x4084aa
Function at 0x40889f
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0xc8
lea ebp, [esp - 4]
mov eax, dword [0x4b2068]
xor eax, ebp
mov dword [ebp + 0xc8], eax
push 0x14
mov eax, 0x483ba5
call fcn.0048062c
mov eax, dword [0x4b457c]
mov esi, 0x4b457c
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x20], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0xc6
lea eax, [ebp + 2]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp], bx
call sub.MSVCR80.dll_memset
mov eax, dword [0x4b457c]
add esp, 0xc
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov eax, dword [0x4b457c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00420bd3
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004024a3
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, edi
call fcn.0040232d
push str.ressrcchskismain.ini
mov eax, edi
push eax
call fcn.004021d8
push dword [ebp - 0x14]
lea eax, [ebp]
push 0x64
push eax
mov esi, 0x48f268
push esi
push str.Version
push str.DisplayVersions
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
je 0x408a58
lea eax, [ebp]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea ecx, [ebp]
mov ebx, eax
push ecx
lea eax, [ebp - 0x10]
call fcn.004023bb
lea eax, [ebp - 0x10]
call fcn.0040232d
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
lea eax, [ebp - 0x1c]
push eax
push 2
pop edx
lea eax, [ebp - 0x10]
call fcn.00404d2d
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004024a3
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040214e
push esi
push 0x48f26c
mov eax, edi
push eax
call fcn.0040c207
push esi
push 0x48fc5c
mov eax, edi
push eax
call fcn.0040c207
push dword [ebp - 0x14]
lea eax, [ebp]
push 0x64
push eax
push esi
push 0x48ee28
push str.infos
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x408a58
lea eax, [ebp]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea ecx, [ebp]
mov ebx, eax
push ecx
lea eax, [ebp - 0x10]
call fcn.004023bb
lea eax, [ebp - 0x1c]
push eax
push 6
pop ecx
lea eax, [ebp - 0x10]
call fcn.0040f1a5
mov byte [ebp - 4], 5
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.0040217c
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040214e
push dword [ebp - 0x18]
call dword [sym.imp.MSVCR80.dll__wtoi]
pop ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc8]
xor ecx, ebp
call fcn.0047f7b2
add ebp, 0xcc
leave
ret
Function at 0x408a9f
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x48335f
call fcn.0048062c
mov eax, dword [0x4b457c]
mov ecx, 0x4b457c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea esi, [ebp - 0x14]
call fcn.00420bd3
push str.signs.ini
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x10]
push 0x48fc78
push eax
call fcn.00404e7f
mov eax, dword [ebp - 0x14]
add esp, 0x10
add eax, 0xfffffff0
call fcn.0040214e
mov esi, dword [ebp - 0x10]
push esi
push 0
push str.Version
push str.Sign
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea eax, [esi - 0x10]
call fcn.0040214e
mov eax, edi
call fcn.00480704
ret

Function at 0x408b19
Capabilities:
Read .ini file

Disassembly:
push 0xc
mov eax, 0x483b5a
call fcn.0048062c
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
mov eax, dword [0x4b457c]
mov esi, 0x4b457c
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov ecx, esi
mov esi, dword [ebp + 8]
call fcn.00402112
lea esi, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
call fcn.00420bd3
push str.signs.ini
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x10]
push 0x48fc78
push eax
call fcn.00404e7f
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add esp, 0x10
add eax, 0xfffffff0
call fcn.0040214e
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push str.Version
mov edi, str.Sign
push edi
call esi
mov ebx, eax
test ebx, ebx
je 0x408beb
push dword [ebp - 0x10]
push 0
push str.BuildNum
push edi
call esi
movzx eax, ax
test ax, ax
je 0x408beb
movzx eax, ax
push eax
movzx esi, bl
movzx dx, bh
movzx eax, si
push eax
movzx edx, dx
mov ecx, ebx
sar ecx, 0x10
movzx eax, dx
movzx ecx, cx
push eax
movzx eax, cx
push eax
push str._04d._02d._02d._02d
push dword [ebp + 8]
call fcn.00404e7f
add esp, 0x18
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp + 8]
call fcn.00480704
ret

Function at 0x408fff
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 7
push connect
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40903a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x10]
push esi
mov dword [ecx], eax
inc edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret
Function at 0x4090cb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4b2068]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
test byte [0x4b5278], 1
jne 0x409115
mov eax, dword [0x4b457c]
or dword [0x4b5278], 1
mov ecx, 0x4b457c
call dword [eax + 0xc]
add eax, 0x10
push 0x488d71
mov dword [0x4b5274], eax
call fcn.0047f866
pop ecx
mov eax, dword [0x4b5274]
cmp dword [eax - 0xc], 0
jne 0x409172
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x40916d
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea ecx, [ebp - 0x20c]
mov ebx, eax
mov esi, 0x4b5274
push ecx
mov eax, esi
call fcn.004023bb
call fcn.004080ff
push str.drivers_
push esi
call fcn.004021d8
pop esi
pop ebx
mov eax, dword [0x4b5274]
add eax, 0xfffffff0
call fcn.00402441
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [edi], eax
xor ecx, ebp
mov eax, edi
call fcn.0047f7b2
leave
ret
Function at 0x40918d
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x224
mov eax, 0x483a23
call fcn.00480695
lea edi, [ebp - 0x230]
call fcn.004081f7
lea ecx, [ebp - 0x224]
push str.ressrcchsupcfg.dat
push ecx
xor edi, edi
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.0040400d
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
call fcn.0040214e
push dword [ebp - 0x224]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4092d2
mov ebx, 0x206
push ebx
mov dword [ebp - 0x22c], edi
mov word [ebp - 0x21c], di
push edi
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [0x4b457c]
add esp, 0xc
mov ecx, 0x4b457c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
push dword [ebp - 0x22c]
lea eax, [ebp - 0x228]
push str.name_d
push eax
mov byte [ebp - 4], 3
call fcn.00404e7f
mov edi, dword [ebp - 0x228]
add esp, 0xc
push dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0x48f268
push edi
push str.rebootfilelist
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x4092c6
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00402357
lea eax, [ebp - 0x220]
push eax
mov edi, esi
mov byte [ebp - 4], 4
call fcn.0040c481
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.0040214e
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
call fcn.0040214e
inc dword [ebp - 0x22c]
and word [ebp - 0x21c], 0
push ebx
push 0
jmp 0x4091fb
lea eax, [edi - 0x10]
mov byte [ebp - 4], 2
call fcn.0040214e
mov eax, esi
call fcn.0041fe76
test eax, eax
jne 0x4093de
push str.kisfdpro64.dll
lea eax, [ebp - 0x220]
push eax
call fcn.00402357
lea eax, [ebp - 0x220]
push eax
mov edi, esi
mov byte [ebp - 4], 5
call fcn.0040c481
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.0040214e
push str.kavmenu64.dll
lea eax, [ebp - 0x220]
push eax
call fcn.00402357
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 6
call fcn.0040c481
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.0040214e
push str.kweatherband64.dll
lea eax, [ebp - 0x220]
push eax
call fcn.00402357
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 7
call fcn.0040c481
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.0040214e
push str.kcalendar64.dll
lea eax, [ebp - 0x220]
push eax
call fcn.00402357
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 8
call fcn.0040c481
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.0040214e
push str.knetmgrband64.dll
lea eax, [ebp - 0x220]
push eax
call fcn.00402357
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 9
call fcn.0040c481
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.0040214e
call fcn.00480718
ret
Function at 0x4093f2
Capabilities:
Copy file
Delete file
Move file
Set file attributes

Disassembly:
push 0x10
mov eax, 0x486831
call fcn.0048062c
mov eax, dword [0x4b457c]
or dword [ebp - 0x14], 0xffffffff
mov esi, 0x4b457c
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push ebx
lea edi, [ebp - 0x1c]
call fcn.00408185
pop ecx
mov byte [ebp - 4], 1
mov eax, dword [0x4b457c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push ebx
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.00402394
lea ecx, [ebp - 0x18]
call fcn.0040813c
mov esi, dword [ebp - 0x18]
push esi
call fcn.0040847c
mov edi, eax
pop ecx
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.0040214e
test edi, edi
mov esi, 0x4b4d74
je 0x409588
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push ebx
push dword [ebp + 8]
call edi
test eax, eax
je 0x409498
and dword [ebp - 0x14], 0
jmp 0x409554
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push ebx
lea eax, [ebp - 0x10]
push str._s_del__x
push eax
call fcn.00404e7f
add esp, 0x10
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.MSVCR80.dll__wrename]
test eax, eax
pop ecx
pop ecx
je 0x4094fa
push str.RenameUpdate__trename_failed__try_ksapi
call fcn.00411a60
pop ecx
push 4
push 1
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x1c]
call fcn.0040c081
add esp, 0x14
neg eax
sbb eax, eax
inc eax
je 0x4094fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
jmp 0x40954e
push 0
push ebx
push dword [ebp + 8]
call edi
test eax, eax
jne 0x40953d
push str.RenameUpdate_CopyFile_failed__try_ksapi
call fcn.00411a60
pop ecx
push 4
push ebx
push dword [ebp + 8]
push dword [ebp - 0x1c]
call fcn.0040bfd7
add esp, 0x10
test eax, eax
jne 0x40953d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
call dword [sym.imp.MSVCR80.dll__wrename]
pop ecx
pop ecx
jmp 0x40954e
push 4
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
jne 0x409588
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.00402357
push 0x490070
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 3
call fcn.004021d8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040214e
push ebx
push dword [ebp + 8]
push dword [ebp - 0x14]
push str.RenameUpdate_return:_d__src:_ws__dst:_ws
call fcn.00411a60
mov eax, dword [ebp - 0x1c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x14]
call fcn.00480704
ret
Function at 0x40982b
Capabilities:
Create process on windows

Disassembly:
push 0x68
mov eax, 0x4839a5
call fcn.0048062c
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x70]
push ebx
push eax
mov dword [ebp - 0x18], ebx
call sub.MSVCR80.dll_memset
xor eax, eax
mov dword [ebp - 0x28], ebx
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
stosd dword es:[edi], eax
mov eax, dword [0x4b457c]
inc esi
add esp, 0xc
mov ecx, 0x4b457c
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x48], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push str.__s___s
push eax
call fcn.00404e7f
mov edi, dword [ebp - 0x14]
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push ebx
mov word [ebp - 0x44], 0xa
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4098d8
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::RunApp_CreateProcessW_error:_d__wait:_d__show:_d__path:_ws__cmd:_ws
mov esi, 0x4b4d74
call fcn.00411a60
add esp, 0x18
jmp 0x4098ec
cmp dword [ebp + 0x10], ebx
je 0x4098e9
push dword [ebp + 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x28], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4098ff
push dword [ebp - 0x28]
call esi
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x24], ebx
je 0x40990c
push dword [ebp - 0x24]
call esi
mov dword [ebp - 0x24], ebx
lea eax, [edi - 0x10]
call fcn.0040214e
mov eax, dword [ebp - 0x18]
call fcn.00480704
ret