joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47dd40
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esi + 0x10]
push edi
push ebx
call fcn.00404460
add esp, 4
test eax, eax
jne 0x47dd62
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47dd6d
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop ebx
pop ecx
ret
mov edi, 0x624a88
call fcn.004041a0
int3

Function at 0x47ddd0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0xa5c
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0xa54], eax
push ebx
push esi
push 0x206
xor ebx, ebx
lea ecx, [esp + 0x56]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x5c], ax
call fcn.004fe380
add esp, 0xc
call fcn.0049c555
push 0x7fe
mov esi, eax
lea eax, [esp + 0x25e]
xor edx, edx
push ebx
push eax
mov word [esp + 0x264], dx
call fcn.004fe380
add esp, 0xc
lea ecx, [esp + 0x50]
cmp esi, ebx
je 0x47de59
push str.360MMSetupDrv64.exe
push 0x65e3a0
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x50]
push edx
push 0x5f3414
call fcn.0049d036
push edi
push 0x5f344c
jmp 0x47de7f
push 0x5d9588
push 0x65e3a0
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x50]
push edx
push str.Setup
call fcn.0049d036
push edi
push str._instdrv__s
lea eax, [esp + 0x268]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47deb9
or eax, 0xffffffff
pop esi
pop ebx
mov ecx, dword [esp + 0xa54]
xor ecx, esp
call fcn.004f673f
add esp, 0xa5c
ret
push 1
push ecx
mov edx, esp
mov dword [esp + 0x18], esp
push edx
lea ecx, [esp + 0x5c]
call fcn.004066b0
call fcn.0049da57
add esp, 8
cmp eax, ebx
je 0x47de9f
push 0x3c
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.004fe380
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x264]
add esp, 0xc
lea esi, [esp + 0x14]
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], str.open
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], 0x40
call fcn.0047dd40
test eax, eax
je 0x47de9f
mov eax, dword [esp + 0x4c]
push 0xffffffffffffffff
push eax
mov esi, eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x47df55
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x47df59
mov dword [esp + 0xc], ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xa5c]
mov eax, dword [esp + 0xc]
pop esi
pop ebx
xor ecx, esp
call fcn.004f673f
add esp, 0xa5c
ret
Function at 0x47f0e0
Capabilities:
Check os version
Set registry value

Disassembly:
sub esp, 0x12c
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x128], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0xc], 0x114
call fcn.004fe380
add esp, 0xc
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
jne 0x47f1ae
cmp dword [esp + 4], 6
jne 0x47f1ae
cmp dword [esp + 8], 2
jb 0x47f1ae
mov eax, dword [0x5f3680]
mov edx, dword [str._WIN7RTM]
mov ecx, dword [0x5f3684]
mov dword [esp + 0x118], eax
mov eax, dword [0x5f368c]
mov dword [esp + 0x114], edx
mov edx, dword [0x5f3688]
mov dword [esp + 0x124], eax
lea eax, [esp + 0x114]
mov dword [esp + 0x120], edx
mov dword [esp + 0x11c], ecx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47f180
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
push ecx
lea edx, [esp + 0x118]
push edx
push 1
push esi
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.004f673f
add esp, 0x12c
ret

Function at 0x47fed0
Capabilities:
Create thread

Disassembly:
test byte [0x660fc0], 1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x47ff13
mov eax, dword [0x627340]
or dword [0x660fc0], 1
mov ecx, eax
dec eax
mov dword [0x627340], eax
test ecx, ecx
jle 0x47ff13
push 0
push 0
push 0
push 0x47ff50
push 0
push 0
call esi
push eax
call edi
cmp dword [esp + 0xc], 0
je 0x47ff3f
mov eax, dword [0x627340]
mov edx, eax
dec eax
mov dword [0x627340], eax
test edx, edx
jle 0x47ff3f
push 0
push 0
push 0
push 0x47ff50
push 0
push 0
call esi
push eax
call edi
pop edi
pop esi
ret 4
Function at 0x4822a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x594990
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x482381
lea eax, [esp + 0x38]
call fcn.00490ab0
mov edi, eax
test edi, edi
je 0x482381
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, edi
lea esi, [esp + 0x14]
call fcn.0048f560
mov byte [esp + 0x30], 1
mov ecx, dword [ebx]
mov eax, edi
call fcn.00490b70
test eax, eax
je 0x482366
mov ecx, esi
push ecx
call fcn.0048f650
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48234c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 8
mov edi, dword [esp + 0x3c]
mov edx, str.INSTALL_FAILED_INVALID_APK
call fcn.00406780
lea ecx, [esp + 0x14]
push ecx
call fcn.0048f650
add esp, 4
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4823a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 8
Function at 0x490ab0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [eax]
sub esp, 0x10
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
mov edx, edi
lea esi, [esp + 0xc]
call fcn.0047d4c0
cmp edi, 0xffffffff
jne 0x490afb
mov ecx, esi
push ecx
call fcn.0047d4d0
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 4
push 0x1000
push eax
push 0
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x490b57
mov edx, dword [ebx]
push edx
push 0
push esi
call fcn.004fe380
mov ecx, dword [ebx]
add esp, 0xc
push 0
lea eax, [esp + 0xc]
push eax
push ecx
push esi
push edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x490b57
push 0x8000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor esi, esi
lea edx, [esp + 0xc]
push edx
call fcn.0047d4d0
add esp, 4
pop edi
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x493200
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5a4d40
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebp, ecx
mov esi, 1
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49336c
cmp dword [ebp + 0x30], 0
je 0x49336c
lea ecx, [esp + 0x1c]
push ecx
call fcn.0048dda0
lea ebx, [esp + 0x7c]
lea edi, [esp + 0x1c]
mov byte [esp + 0x70], 2
call fcn.0042d130
lea edx, [esp + 0x34]
push edx
call fcn.0048dda0
mov bl, 3
mov byte [esp + 0x70], bl
mov eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x6285c4
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x74], 4
call fcn.0042d770
mov byte [esp + 0x70], 5
mov eax, dword [esp + 0x7c]
cmp dword [eax - 4], esi
jle 0x4932bf
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [esp + 0x80]
push edx
call fcn.00407090
sub esp, 8
mov eax, esp
mov dword [esp + 0x20], esp
mov dword [eax], 0
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x28], esp
push eax
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x60]
push ecx
push ecx
add eax, 0xfffffff0
lea esi, [esp + 0x30]
mov dword [esp + 0x9c], esp
mov edi, esp
call fcn.004073f0
add eax, 0x10
lea edx, [esp + 0x38]
mov dword [edi], eax
mov eax, dword [ebp + 0x30]
push edx
push eax
mov edx, esi
lea ecx, [esp + 0x58]
call fcn.00484570
lea esi, [esp + 0x4c]
call fcn.00445420
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004f6734
mov byte [esp + 0x74], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49335a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x34]
call fcn.00406cb0
lea esi, [esp + 0x1c]
call fcn.00406cb0
mov byte [esp + 0x70], 0
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x493391
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4933b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0xc
Function at 0x4933e0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ecx
push ebx
push esi
push edi
mov esi, str.mobileadapt.ini
lea edi, [esp + 0xc]
mov ebx, 0x1e
call fcn.00407de0
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
je 0x493424
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x493424
mov eax, dword [esp + 0xc]
push eax
push ebx
push str.DayOnPhone
push str.FwInst
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov eax, ebx
imul eax, eax, 0x15180
cdq
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov edi, edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x493451
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, edi
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret

Function at 0x493c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5946b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x24], 1
mov eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x6285c4
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
push 0
mov byte [esp + 0x28], 2
call fcn.004f8fbf
push edx
push eax
push 0x5d7fe4
lea edi, [esp + 0x1c]
call fcn.00407710
mov edi, dword [esp + 0x1c]
add esp, 0xc
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x14], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x28], 3
mov eax, dword [esp + 0x38]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2c], 4
mov eax, dword [esp + 0x38]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov dword [esi], eax
mov esi, dword [esp + 0x38]
mov byte [esp + 0x30], 2
call fcn.004948d0
mov byte [esp + 0x24], 1
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x493cf1
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x493d16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x493d3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 0xc
Function at 0x493d60
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x424
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x420], eax
push esi
lea eax, [esp + 0xc]
push eax
push 1
xor esi, esi
push esi
push str.SoftwareiApple_Software
push reloc.WS2_32.dll_accept
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x493dbf
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop esi
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.004f673f
add esp, 0x424
ret
push edi
push 0x206
lea eax, [esp + 0x1e]
xor edx, edx
push esi
push eax
mov dword [esp + 0x18], 1
mov word [esp + 0x24], dx
call fcn.004fe380
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
push 0x5ce664
push str.SoftwareiOSZhuShouInstalled
push reloc.WS2_32.dll_accept
mov dword [esp + 0x20], 0x208
call edi
lea ecx, [esp + 0x18]
push ecx
mov esi, eax
call fcn.004f7d3f
add esp, 4
test esi, esi
jne 0x493e3f
cmp eax, 1
jne 0x493e3f
pop edi
pop esi
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.004f673f
add esp, 0x424
ret
push 0x208
lea edx, [esp + 0x224]
push 0
push edx
call fcn.004fe380
add esp, 0xc
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x224]
push ecx
lea edx, [esp + 0x14]
push edx
push str.InstallPath
push str.SOFTWAREYRTDkuaiyong
push reloc.WS2_32.dll_bind
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x208
call edi
cmp word [esp + 0x220], 0
je 0x493eab
lea eax, [esp + 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, 1
jne 0x493eaf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x428]
pop edi
pop esi
xor ecx, esp
call fcn.004f673f
add esp, 0x424
ret
Function at 0x493ed0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x41c
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x418], eax
push ebp
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.004fe380
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push ecx
push str.path
push str.SOFTWAREApple_Computer__Inc.iPodRegisteredApps4
push reloc.WS2_32.dll_bind
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x208
call esi
cmp word [esp + 0x10], 0
je 0x493fdc
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edx, [esp + 0x10]
push edx
call ebp
test eax, eax
je 0x493fdc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x222]
push ecx
mov word [esp + 0x224], ax
call fcn.004fe380
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x21c]
push eax
lea ecx, [esp + 0x10]
push ecx
push str.InstallDir
push str.SOFTWAREApple_Inc.Apple_Mobile_Device_Support
push reloc.WS2_32.dll_bind
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x208
call esi
cmp word [esp + 0x218], 0
je 0x493fdc
lea edx, [esp + 0x10]
push edx
call ebp
test eax, eax
je 0x493fdc
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.004f673f
add esp, 0x41c
ret
mov ecx, dword [esp + 0x420]
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004f673f
add esp, 0x41c
ret
Function at 0x494000
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x264
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x260], eax
push ebp
mov ebp, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push esi
push edi
mov edi, str.DisplayIcon
mov dword [esp + 0x24], str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallPP
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallThinkSky
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallTongbu2
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall657F323A_E812_4982_80BA_6E2A70E4D7AA_is1
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallXYClient
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallPPGhost
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], str.SOFTWAREClassesHaima
mov dword [esp + 0x58], str.URL_Protocol
mov dword [esp + 0x5c], str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsKuaiApp.exe
mov dword [esp + 0x60], 0x5d74e0
xor esi, esi
lea esp, [esp]
push 0x208
lea eax, [esp + 0x68]
push 0
push eax
call fcn.004fe380
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + esi*8 + 0x2c]
lea edx, [esp + 0x68]
push edx
mov edx, dword [esp + esi*8 + 0x2c]
lea eax, [esp + 0x18]
push eax
push ecx
push edx
push reloc.WS2_32.dll_bind
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x208
call ebp
cmp word [esp + 0x64], 0
je 0x4940ef
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4941bf
inc esi
cmp esi, 8
jb 0x494090
push ebx
mov dword [esp + 0x18], str.S_1_5_21_3942060436_2245087920_1392107244_6539SoftwareMicrosoftWindowsCurrentVersionUninstall_
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0x5f61b0
mov dword [esp + 0x24], edi
xor ebx, ebx
push 0x208
lea ecx, [esp + 0x6c]
push 0
push ecx
call fcn.004fe380
mov esi, dword [esp + ebx*8 + 0x28]
mov edi, dword [esp + ebx*8 + 0x24]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push esi
push edi
push reloc.WS2_32.dll_closesocket
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x208
call ebp
cmp word [esp + 0x68], 0
je 0x49416b
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4941dc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x1c]
push edx
push esi
push edi
push reloc.WS2_32.dll_accept
call ebp
cmp word [esp + 0x68], 0
je 0x49419a
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4941dc
inc ebx
cmp ebx, 2
jb 0x494110
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.004f673f
add esp, 0x264
ret
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.004f673f
add esp, 0x264
ret
mov eax, 1
jmp 0x4941a6
Function at 0x494540
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
mov ebp, dword [esp + 0x214]
test esi, esi
je 0x4945c7
test edi, edi
je 0x4945c7
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.004fe380
add esp, 0xc
push ebx
push 0x104
lea edx, [esp + 0xc]
push edx
push 0x5d74e0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4945c7
lea eax, [esp + 4]
push eax
call fcn.004f7d4a
add esp, 4
mov dword [ebp], eax
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004f673f
add esp, 0x20c
ret 4
mov ecx, dword [esp + 0x20c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004f673f
add esp, 0x20c
ret 4

Function at 0x4945f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
mov ebp, dword [esp + 0x214]
push edi
mov edi, ecx
test esi, esi
je 0x494666
test ebx, ebx
je 0x494666
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004fe380
add esp, 0xc
push ebp
push 0x104
lea edx, [esp + 0x10]
push edx
push 0x5d74e0
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x494666
lea eax, [esp + 8]
push eax
push 0x5d7fa8
call fcn.00407710
add esp, 8
mov eax, 1
jmp 0x494668
xor eax, eax
mov ecx, dword [esp + 0x210]
pop edi
pop ebp
xor ecx, esp
call fcn.004f673f
add esp, 0x20c
ret 4
Function at 0x494690
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x596810
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax - 0xc]
or ebp, 0xffffffff
test ecx, ecx
je 0x494760
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x494760
mov eax, dword [esi + 8]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, ebp
jne 0x494759
mov byte [esp + 0x18], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494721
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x494742
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esi + 8]
test esi, esi
je 0x49477b
mov ebx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x24]
mov ecx, edi
call fcn.004945f0
mov esi, eax
jmp 0x49477d
xor esi, esi
mov byte [esp + 0x18], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4947a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x4947c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8