joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486fc0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, ecx
jne 0x48718b
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x4870c1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push dword [edi + 4]
mov dword [edi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x34]
mov esi, eax
test ecx, ecx
je 0x48701c
cmp ecx, esi
je 0x48701c
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [edi + 0x34], esi
lea esi, [edi + 0x24]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [edi + 0x34]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [edi + 0x60], eax
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x28]
mov eax, dword [esi + 8]
sub eax, dword [esi]
push ecx
push eax
push dword [edi + 0x34]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [edi + 0x60]
mov dword [edi + 0x5c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 8
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x4870a4
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
push dword [edi + 0x60]
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x50]
mov dword [esi], eax
mov eax, 1
mov dword [edi + 0x58], esi
pop edi
pop esi
mov dword [ebx], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret 0x18
xor esi, esi
mov dword [edi + 0x58], esi
pop edi
mov dword [ebx], esi
lea eax, [esi + 1]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0xf
jne 0x48718b
cmp dword [ebp + 0x10], 0
jne 0x48716d
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x44]
push ecx
push eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], eax
call dword [sym.imp.USER32.dll_BeginPaint]
cmp dword [edi + 0x64], 0
mov dword [ebp - 0x4c], eax
je 0x487160
mov eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x68]
mov dword [ebp - 0x50], 0
mov esi, dword [eax + ecx*4]
lea eax, [ebp - 0x50]
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x487118
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [edi + 0x68]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x54], 0
mov esi, dword [eax + ecx*4]
lea eax, [ebp - 0x54]
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x487141
mov dword [esi + 8], eax
push 0xcc0020
push 0
push 0
push dword [edi + 0x60]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push 0
push 0
push dword [edi + 0x34]
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00557e89
mov esp, ebp
pop ebp
ret 0x18
Function at 0x487210
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59fc4d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x48736d
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
push str.125_tKPacket4::ExtractPacket_tGetPacketData__d
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x63cbb0
mov dword [ebp - 4], 1
call fcn.0046bb20
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
add esp, 0x14
push eax
push edi
call fcn.00487380
mov edi, eax
push edi
push str.127_tKPacket4::ExtractPacket_tGetPacketData_return:_d
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x14
test edi, edi
je 0x487326
call fcn.0042e470
mov ebx, eax
test ebx, ebx
je 0x487326
push str.133_tKPacket4::ExtractPacket_tExtract...
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
mov eax, dword [ebx]
add esp, 0x10
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push edi
push ebx
call dword [eax]
xor ecx, ecx
mov edi, eax
test edi, edi
sete cl
push ecx
push str.135_tKPacket4::ExtractPacket_tExtract_return:_d
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x14
test edi, edi
je 0x48731f
xor edi, edi
jmp 0x48733f
mov edi, 1
jmp 0x487328
xor edi, edi
cmp dword [esi - 0xc], 0
je 0x487335
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
je 0x48733f
mov eax, dword [ebx]
push ebx
call dword [eax + 0x14]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x487357
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00429b00
int3
Function at 0x487420
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.0055c530
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4874c3
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.210_tKPacket4::LoadImageToMem_tLoadImageToMem_CreateFile_error:_d__path:_ws
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x18
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push eax
push 0
push 2
push 0
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi], eax
test edi, edi
jne 0x487528
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.219_tKPacket4::LoadImageToMem_tCreateFileByMem_CreateFileMapping_error:_d__path:_ws
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret
push dword [esi + 8]
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
test eax, eax
jne 0x487554
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.226_tKPacket4::LoadImageToMem_tCreateFileByMem_MapViewOfFile_error:_d__path:_ws
jmp 0x4874f8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax + edx + 8]
mov dword [esi + 0xc], ecx
cmp ecx, dword [esi + 8]
ja 0x487516
mov eax, dword [ecx + edx]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x210]
cmp dword [eax], 0x2e647a7a
jne 0x487516
lea eax, [ecx + 4]
mov ecx, dword [ebp - 4]
mov dword [esi + 0xc], eax
xor ecx, ebp
pop edi
mov eax, 1
pop esi
call fcn.00557e89
mov esp, ebp
pop ebp
ret
Function at 0x487680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 8], 0x1e00000
mov dword [esi + 0x14], eax
jbe 0x4876bd
push 0x5bdcd8
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x10
lea eax, [edi + 1]
pop edi
pop esi
pop ebp
ret 4
call fcn.0042e470
mov dword [esi + 0x18], eax
test eax, eax
je 0x487708
push 0
push 0
push esi
push 0x4875a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
push str.71_tKPacket4::StartLoadPacket_tLoadProductPacket_CreateThread_return:_d
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x63cbb0
mov dword [esi + 0x10], eax
call fcn.0046bb20
add esp, 0x14
mov eax, 1
cmp dword [esi + 0x10], edi
cmovne edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x489770
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ff16
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0055c530
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x4897ed
push eax
push str.2343_tKUninstall::CleanCloudSvrFolder_tcan_not_get_folder_path__error_code:__l
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._ERROR_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x14
jmp 0x489930
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x48994a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x48982f
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.00429d30
jmp 0x489862
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x489840
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x489840
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.0042a000
push 0x5be420
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004297b0
add esp, 0xc
mov edx, dword [ebp - 0x21c]
or esi, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4898a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x220]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4898e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x220]
push str.2351_tKUninstall::CleanCloudSvrFolder_tcan_not_find_path:__ws__error_code:__lu
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._ERROR_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x18
jmp 0x489915
push 1
push 0
push dword [ebp - 0x220]
call fcn.0047f220
add esp, 0xc
test eax, eax
jne 0x489915
push str.2357_tKUninstall::CleanCloudSvrFolder_tremove_cloudsvr_folder_failed
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._ERROR_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x10
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x489930
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b00
int3
Function at 0x48cf70
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x124c
call fcn.00558750
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.0055c530
add esp, 0xc
lea eax, [ebp - 0x61c]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0055c530
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0056b39c
push str.kingsoftwps
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0056b327
push 0
push 0
lea eax, [ebp - 0x414]
push 1
push eax
call fcn.0047a510
push 1
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0047f220
add esp, 0x40
lea eax, [ebp - 0x824]
push 0x208
push 0
push eax
call fcn.0055c530
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.0056b39c
push str.kingsoft
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.0056b327
push 1
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.0047f220
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0055c530
add esp, 0x3c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.ShellNew
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0056b327
push 0x208
push 0
lea eax, [ebp - 0xa2c]
push eax
call fcn.0055c530
push 0x208
lea eax, [ebp - 0xc34]
push 0
push eax
call fcn.0055c530
push 0x208
lea eax, [ebp - 0xe3c]
push 0
push eax
call fcn.0055c530
push 0x208
lea eax, [ebp - 0x1044]
push 0
push eax
call fcn.0055c530
push 0x208
lea eax, [ebp - 0x124c]
push 0
push eax
call fcn.0055c530
add esp, 0x48
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa2c]
push 0x104
push eax
call fcn.0056b39c
push str._newfile.wps
lea eax, [ebp - 0xa2c]
push 0x104
push eax
call fcn.0056b327
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xc34]
push 0x104
push eax
call fcn.0056b39c
push str._newfile.et
lea eax, [ebp - 0xc34]
push 0x104
push eax
call fcn.0056b327
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xe3c]
push 0x104
push eax
call fcn.0056b39c
push str._newfile.dps
lea eax, [ebp - 0xe3c]
push 0x104
push eax
call fcn.0056b327
add esp, 0x48
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x1044]
push 0x104
push eax
call fcn.0056b39c
push str._newfile.xlsx
lea eax, [ebp - 0x1044]
push 0x104
push eax
call fcn.0056b327
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x124c]
push 0x104
push eax
call fcn.0056b39c
push str._newfile.pptx
lea eax, [ebp - 0x124c]
push 0x104
push eax
call fcn.0056b327
add esp, 0x30
lea eax, [ebp - 0xa2c]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
lea eax, [ebp - 0xc34]
push eax
call esi
lea eax, [ebp - 0xe3c]
push eax
call esi
lea eax, [ebp - 0x1044]
push eax
call esi
lea eax, [ebp - 0x124c]
push eax
call esi
push 1
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0047f220
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.00557e89
mov esp, ebp
pop ebp
ret
Function at 0x48db30
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a064d
mov eax, dword fs:[0]
push eax
sub esp, 0xc34
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x628]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0055c530
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x628]
add esp, 0xc
push 0
push 0x17
push eax
push 0
call esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0055c530
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0056b39c
push 0x5b4804
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0056b327
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0056b327
push 0
push 1
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.0047a510
add esp, 0x40
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0056b39c
push 0x5c19e0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0056b327
push 0
push 1
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.0047a510
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0055c530
add esp, 0x34
lea eax, [ebp - 0x420]
push 0
push 0x19
push eax
push 0
call esi
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0055c530
push 0x208
push 0
lea eax, [ebp - 0xa38]
push eax
call fcn.0055c530
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.0055c530
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.0056b39c
push 0x5c1a08
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.0056b327
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xa38]
push 0x104
push eax
call fcn.0056b39c
add esp, 0x48
lea eax, [ebp - 0xa38]
push 0x5c1a20
push 0x104
push eax
call fcn.0056b327
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc40]
push 0x104
push eax
call fcn.0056b39c
push str.WPS
lea eax, [ebp - 0xc40]
push 0x104
push eax
call fcn.0056b327
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x830]
add esp, 0x24
push eax
call esi
lea eax, [ebp - 0xa38]
push eax
call esi
lea eax, [ebp - 0xc40]
push eax
call esi
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48dd62
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret 4
Function at 0x48eea0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0725
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
call fcn.004291f0
test eax, eax
je 0x48f090
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 2
call fcn.004291f0
test eax, eax
je 0x48f090
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
call fcn.004291f0
test eax, eax
je 0x48f090
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046c7a0
add esp, 0xc
or edi, 0xffffffff
test eax, eax
je 0x48f032
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046c4e0
add esp, 8
test eax, eax
je 0x48efc3
push 0x5c
push dword [ebp - 0x10]
call fcn.0055cf79
add esp, 8
test eax, eax
je 0x48efa2
sub eax, dword [ebp - 0x10]
sar eax, 1
cmp eax, edi
je 0x48efa2
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.00448c60
mov edx, dword [ebp - 0x20]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48efa2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00429b20
add esp, 4
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.0048b7a0
mov byte [ebp - 4], 6
call fcn.004291f0
test eax, eax
je 0x48f090
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push eax
call fcn.0046c570
add esp, 4
test eax, eax
je 0x48f013
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48f013
push 0
push 1
push 0
push dword [ebp - 0x14]
call fcn.0047a510
add esp, 0x10
call fcn.0046c420
mov edx, dword [ebp - 0x14]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48f032
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48f04c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48f066
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x48f07e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b00
int3
Function at 0x490fd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esi + 0x20], eax
mov al, byte [ebp + 0x18]
mov byte [esi + 0x59], al
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x54], eax
call fcn.004d0ff0
push 0
push 0
mov ecx, eax
call fcn.004cff40
cmp byte [0x63d0e4], 0
je 0x491040
push 0
push 0
push 0x5b5110
push str.StartUninstall
push 1
call fcn.004d44b0
add esp, 0x14
cmp byte [0x63d0e4], 0
je 0x491040
push 0xff
push str.StartUninstall
call fcn.004d4530
add esp, 8
mov eax, dword [esi + 0x10]
mov dword [esi + 4], 0
cmp dword [eax - 0xc], 0
je 0x491082
push str.7E3EDCB6_AA19_4598_A948_C59B6B02BF64
push 0
push 1
push 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x49d950
push 0
push 0
mov dword [esi + 0x48], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
cmp byte [0x63d0e4], 0
pop esi
je 0x4910bf
push 0
push 0
push 0x5b5110
push str.StartUninstall
push 1
call fcn.004d44f0
add esp, 0x14
cmp byte [0x63d0e4], 0
je 0x4910bf
push 0xff
push str.StartUninstall
call fcn.004d4550
add esp, 8
pop ebp
ret 0x14