joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50ed17
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push edi
xor ebx, ebx
lea eax, [ebp - 0x68]
push ebx
push 2
push eax
call fcn.005ac890
mov ecx, eax
call fcn.005ac030
push 7
pop edi
push ebx
mov byte [ebp - 8], bl
lea ecx, [ebp - 0x20]
push dword [ebp - 8]
mov dword [ebp - 0x20], ebx
push 0x105
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edi
call fcn.004f763d
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
push 0x104
cmovae eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x50ee35
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
push esi
cmovae eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x38]
push eax
call fcn.0040921d
mov esi, str.icacls.exe
push esi
call fcn.00553a47
pop ecx
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00409b94
push 0x5ff8ec
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push 0x60084c
push eax
call fcn.0044a28b
add esp, 0xc
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0044a32b
add esp, 0xc
lea ecx, [ebp - 0x80]
call fcn.00403f80
push str.__inheritance:d__Q
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0044a2d9
push eax
lea eax, [ebp - 0x38]
push 0x1388
push eax
call fcn.005b3f90
add esp, 0x18
lea ecx, [ebp - 0x80]
call fcn.00403f80
push str.__remove:g__Authenticated_Users___Q
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0044a2d9
push eax
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.005b3f90
add esp, 0x18
lea ecx, [ebp - 0x80]
call fcn.00403f80
lea ecx, [ebp - 0x50]
call fcn.00403f80
lea ecx, [ebp - 0x38]
call fcn.00403f80
pop esi
mov eax, dword [ebp - 0xc]
cmp eax, 8
jb 0x50ee72
mov ecx, dword [ebp - 0x20]
lea eax, [eax*2 + 2]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp eax, 0x1000
jb 0x50ee69
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00403fef
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
push eax
push ecx
call fcn.00541c01
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xc], edi
mov word [ebp - 0x20], ax
call fcn.00403f80
pop edi
pop ebx
leave
ret

Function at 0x50ee8a
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x84]
test eax, eax
je 0x50eec5
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x50eec5
push 0
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x465
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
Function at 0x5100bd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
push esi
cmp dword [ebp + 0x1c], ebx
je 0x510138
push 1
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.005ad360
mov esi, eax
add esp, 0x10
lea eax, [ebp + 0xc]
cmp eax, esi
je 0x5100f8
mov ecx, eax
call fcn.00403f80
push esi
lea ecx, [ebp + 0xc]
call fcn.00444e92
lea ecx, [ebp - 0x18]
call fcn.00403f80
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x510138
mov esi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.00444e92
lea ecx, [ebp + 0xc]
call fcn.00403f80
mov eax, esi
jmp 0x51019f
mov eax, dword [ebp + 0x24]
cmp dword [eax + 0x10], ebx
je 0x510187
push 1
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.005ad360
mov esi, eax
add esp, 0x10
lea eax, [ebp + 0xc]
cmp eax, esi
je 0x510169
mov ecx, eax
call fcn.00403f80
push esi
lea ecx, [ebp + 0xc]
call fcn.00444e92
lea ecx, [ebp - 0x18]
call fcn.00403f80
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x510116
mov ecx, dword [ebp + 8]
push 0x5f9b70
call fcn.0040921d
lea ecx, [ebp + 0xc]
call fcn.00403f80
mov eax, dword [ebp + 8]
pop esi
pop ebx
leave
ret
Function at 0x51071d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push 2
pop edi
mov eax, dword [esi + 0x758]
test eax, eax
jne 0x510886
cmp dword [esi + 0x7e4], ebx
je 0x510763
lea eax, [esi + 0x7d4]
mov dword [ebp - 0x38], ebx
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.00408766
xor edi, edi
lea eax, [ebp - 0x38]
inc edi
jmp 0x510772
lea eax, [ebp - 0x68]
push eax
call fcn.005b7670
pop ecx
push 2
mov edi, ebx
pop ebx
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x20]
push eax
call fcn.00444e92
test ebx, ebx
je 0x510792
lea ecx, [ebp - 0x68]
call fcn.00403f80
test edi, edi
je 0x5107d3
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x5107d3
mov ecx, dword [ebp - 0x38]
lea eax, [eax*2 + 2]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp eax, 0x1000
jb 0x5107ca
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00403fef
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
push eax
push ecx
call fcn.00541c01
pop ecx
pop ecx
lea eax, [ebp - 0x50]
push eax
call fcn.005b6210
cmp dword [ebp - 0x10], 0
pop ecx
je 0x51082c
cmp dword [ebp - 0x40], 0
je 0x51082c
lea eax, [ebp - 0x50]
push eax
lea ecx, [esi + 0x7ec]
call fcn.004065d3
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0044922a
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x510819
mov dword [esi + 0x758], 3
jmp 0x510836
push 4
pop eax
push 2
test ecx, ecx
pop edi
cmovs eax, edi
mov dword [esi + 0x758], eax
jmp 0x510839
mov dword [esi + 0x758], 1
push 2
pop edi
lea ecx, [ebp - 0x50]
call fcn.00403f80
mov eax, dword [ebp - 0xc]
cmp eax, 8
jb 0x51087e
mov ecx, dword [ebp - 0x20]
lea eax, [eax*2 + 2]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
cmp eax, 0x1000
jb 0x510875
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403fef
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.00541c01
pop ecx
pop ecx
mov eax, dword [esi + 0x758]
xor ebx, ebx
cmp eax, 1
je 0x510934
push 0x5fef48
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 7
call fcn.0040921d
sub esp, 0x18
mov ecx, esp
push 0x5f9b70
call fcn.0040921d
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.005aabd0
add esp, 0x24
lea ecx, [ebp - 0x50]
call fcn.00403f80
cmp dword [ebp - 0x10], 0
je 0x5108ed
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5108f7
mov dword [esi + 0x758], 1
mov eax, dword [ebp - 0xc]
cmp eax, 8
jb 0x510934
mov ecx, dword [ebp - 0x20]
lea eax, [eax*2 + 2]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
cmp eax, 0x1000
jb 0x51092b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403fef
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.00541c01
pop ecx
pop ecx
mov eax, dword [esi + 0x758]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5116ee
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, ecx
lea ecx, [ebp - 0x30]
push str.User_DataDefaultPreferences
call fcn.0040921d
push 1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push 9
push eax
call fcn.005ad360
add esp, 0x10
lea ecx, [ebp - 0x30]
call fcn.00403f80
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x18]
mov byte [esi + 0x7b9], 0
call fcn.00403f80
pop esi
leave
ret
Function at 0x51263e
Capabilities:
Check if file exists
Delete file
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push esi
push edi
push str.SoftwareTencentQQBrowserModuleDll0508DF1F_2AB6_4fac_A99E_45BBBF24E1E6
push SysReAllocString
mov esi, ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.User_DataModuleDll0508DF1F_2AB6_4fac_A99E_45BBBF24E1E6
lea ecx, [ebp - 0x18]
call fcn.0040921d
xor edi, edi
lea eax, [ebp - 0x18]
inc edi
push edi
push eax
lea eax, [ebp - 0x48]
push 9
push eax
call fcn.005ad360
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.00403f80
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5126a6
lea eax, [ebp - 0x48]
push eax
call fcn.005b24d0
pop ecx
push str.0508DF1F_2AB6_4fac_A99E_45BBBF24E1E6.qrx
lea ecx, [ebp - 0x18]
call fcn.0040921d
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.005ad360
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.00403f80
push 0
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.005ad3a0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x5126e4
mov eax, dword [eax]
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x60]
push eax
cmovae ecx, dword [ebp - 0x60]
push ecx
call fcn.00455ca2
pop ecx
pop ecx
lea ecx, [ebp - 0x78]
call fcn.00403f80
push str.manifest.json
lea ecx, [ebp - 0x18]
call fcn.0040921d
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.005ad360
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.00403f80
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00510b1a
cmp dword [ebp - 0x80], 0
je 0x512794
push str.CurrentVersion
lea ecx, [ebp - 0x78]
call fcn.0040921d
push str.SoftwareTencentQQBrowserModuleDll0508DF1F_2AB6_4fac_A99E_45BBBF24E1E6
lea ecx, [ebp - 0x18]
call fcn.0040921d
push 0x20006
push SysReAllocString
sub esp, 0x18
lea ecx, [ebp - 0x30]
mov eax, esp
push ecx
push eax
mov ecx, esi
call fcn.00510b1a
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.005ab340
add esp, 0x28
lea ecx, [ebp - 0x18]
call fcn.00403f80
lea ecx, [ebp - 0x78]
call fcn.00403f80
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x90]
call fcn.00403f80
lea ecx, [ebp - 0x30]
call fcn.00403f80
lea ecx, [ebp - 0x60]
call fcn.00403f80
lea ecx, [ebp - 0x48]
call fcn.00403f80
pop edi
pop esi
leave
ret
Function at 0x512da8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push edi
push dword [0x62a320]
and dword [esi], 0
call fcn.0040921d
xor edi, edi
lea eax, [ebp - 0x18]
inc edi
push edi
push eax
lea eax, [ebp - 0x30]
push 0x13
push eax
call fcn.005ad360
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.00403f80
lea ecx, [ebp - 0xc]
call fcn.004fcf67
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x512e15
mov dword [esi], edi
cmp dword [ebp - 8], eax
je 0x512e5f
mov eax, dword [ebp - 4]
test eax, eax
je 0x512e5f
push dword [ebp - 0xc]
call eax
jmp 0x512e5f
cmp dword [ebp - 8], 0
je 0x512e27
mov eax, dword [ebp - 4]
test eax, eax
je 0x512e27
push dword [ebp - 0xc]
call eax
push 0
push 0x80
push 3
push 0
push edi
push 0xc0000000
push str..2E46F324_829A_4d67_A552_8FC694D6617E
mov dword [esi], 2
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
je 0x512e5f
cmp eax, 0xffffffff
je 0x512e5f
push eax
mov dword [esi], 3
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x30]
call fcn.00403f80
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x513c29
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
lea eax, [ebp - 0x64]
mov ebx, ecx
push 1
push eax
call fcn.00458ce4
pop ecx
push eax
xor esi, esi
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.005ad360
add esp, 0x10
lea ecx, [ebp - 0x64]
call fcn.00403f80
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
call fcn.00458b9f
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 7
test edi, edi
je 0x513cc8
sub esp, 0x18
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
mov dword [ecx], esi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], esi
call fcn.00408766
lea eax, [ebp - 0x64]
push eax
call fcn.005af880
mov esi, eax
add esp, 0x1c
lea eax, [ebp - 0x1c]
cmp eax, esi
je 0x513cc0
mov ecx, eax
call fcn.00403f80
push esi
lea ecx, [ebp - 0x1c]
call fcn.00444e92
lea ecx, [ebp - 0x64]
call fcn.00403f80
mov esi, 0x5f9b70
lea ecx, [ebp - 0x64]
push esi
call fcn.0040921d
push esi
lea ecx, [ebp - 0x4c]
call fcn.0040921d
lea eax, [ebp - 0x64]
mov ecx, ebx
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
movzx eax, byte [ebp + 8]
xor eax, 1
push edi
add eax, 0xd8
push eax
push 0x7d6
call fcn.0050eec7
lea ecx, [ebp - 0x4c]
call fcn.00403f80
lea ecx, [ebp - 0x64]
call fcn.00403f80
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x513d55
mov ecx, dword [ebp - 0x1c]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
cmp eax, 0x1000
jb 0x513d4c
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403fef
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.00541c01
pop ecx
pop ecx
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0x34]
xor eax, eax
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
call fcn.00403f80
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x515227
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b0
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x75c], ebx
jne 0x5153da
push esi
push 0x5d3494
push 2
call fcn.005bb560
push eax
call fcn.005bb420
add esp, 0xc
lea ecx, [ebp - 0x1c]
push str.gamesp
call fcn.0040921d
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.005ad360
add esp, 0x10
lea ecx, [ebp - 0x1c]
call fcn.00403f80
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x515380
push 0x5c
pop eax
push str..dll
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x58], ax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call fcn.0040921d
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.005ad1b0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x5152cf
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x4b0]
call fcn.004bdee0
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.00403f80
lea ecx, [ebp - 0x1c]
call fcn.00403f80
test esi, esi
je 0x51536a
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x515306
mov eax, dword [ebp - 0x4b0]
shr eax, 4
and eax, 1
jmp 0x515308
mov eax, ebx
test eax, eax
jne 0x515348
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x4b0]
call fcn.004c78f0
lea ecx, [ebp - 0x1c]
push dword [eax]
call fcn.0040921d
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.005b1ba0
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00403f80
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.0040c134
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x515380
test ecx, ecx
je 0x51536d
lea ecx, [ebp - 0x4b0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, eax
mov dword [ebp - 0x50], ecx
test ecx, ecx
jne 0x5152f8
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], ebx
test eax, eax
je 0x515380
cmp eax, 0xffffffff
je 0x515380
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, edi
call fcn.0051220a
cmp dword [edi + 0x75c], ebx
jne 0x5153bc
mov eax, dword [edi + 0x798]
test eax, eax
je 0x5153a6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x798], ebx
mov ebx, dword [edi + 0x4c]
mov esi, dword [edi + 0x48]
jmp 0x5153b8
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 8
cmp esi, ebx
jne 0x5153ae
push 0x5d34d4
push 2
call fcn.005bb560
push eax
call fcn.005bb420
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.00403f80
pop esi
pop edi
pop ebx
leave
ret
Function at 0x515b2f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x75c]
test eax, eax
je 0x515be4
cmp eax, 3
je 0x515be4
cmp eax, 2
je 0x515be4
lea ecx, [esi + 0xd4]
call fcn.005058c4
test al, al
jne 0x515be4
mov eax, dword [esi + 0x75c]
cmp eax, 0xb
jne 0x515ba3
xor edi, edi
push edi
push edi
push edi
push 0x31
push 0x601578
call fcn.005b52d0
add esp, 0x14
cmp eax, 1
jne 0x515be4
push 5
push edi
push edi
push str.http:__browser.qq.com_
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x515be4
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00510655
lea eax, [esi + 0x764]
cmp dword [eax + 0x14], 8
pop ecx
pop ecx
jb 0x515bbd
mov eax, dword [eax]
cmp dword [ebp - 4], 8
lea ecx, [ebp - 0x18]
push eax
push dword [esi + 0x760]
cmovae ecx, dword [ebp - 0x18]
push 0
push 0x10
push ecx
call fcn.005b52d0
add esp, 0x14
lea ecx, [ebp - 0x18]
call fcn.00403f80
mov ecx, esi
call fcn.0050ee8a
xor eax, eax
pop edi
inc eax
pop esi
leave
ret
Function at 0x516e28
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push ebx
push esi
push edi
push 0x1a
mov ebx, ecx
lea edi, [ebp - 0x244]
pop ecx
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea eax, [ebp - 0x1da]
rep movsd dword es:[edi], dword [esi]
push 0x19e
movsw word es:[edi], word [esi]
xor esi, esi
push esi
push eax
call fcn.00548bf0
mov edi, 0x5ffb8c
lea eax, [ebp - 0x244]
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push str._s_s
push 0x104
push eax
call fcn.0040bb95
add esp, 0x20
lea eax, [ebp - 0x244]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0xf003f
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push 3
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.005aace0
add esp, 0xc
test eax, eax
je 0x516fec
push edi
call fcn.00553a47
pop ecx
lea eax, [eax*2 + 2]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push esi
push str.DisplayName
push dword [ebp - 0xc]
call edi
push 1
sub esp, 0x18
mov ecx, esp
push str.uninst.exe
call fcn.0040921d
lea eax, [ebp - 0x3c]
push eax
call fcn.0050788d
mov ecx, eax
call fcn.005078bd
push eax
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.005ad360
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x516f10
mov eax, dword [eax]
push 1
push eax
push str.UninstallString
lea ecx, [ebp - 0xc]
call fcn.004b5be8
lea ecx, [ebp - 0x24]
call fcn.00403f80
lea ecx, [ebp - 0x3c]
call fcn.00403f80
push 1
sub esp, 0x18
mov ecx, esp
push str.app.ico
call fcn.0040921d
lea eax, [ebp - 0x24]
push eax
call fcn.0050788d
mov ecx, eax
call fcn.005078bd
push eax
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.005ad360
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x516f67
mov eax, dword [eax]
push 1
push eax
push str.DisplayIcon
lea ecx, [ebp - 0xc]
call fcn.004b5be8
lea ecx, [ebp - 0x3c]
call fcn.00403f80
lea ecx, [ebp - 0x24]
call fcn.00403f80
lea eax, [ebx + 0x7d4]
cmp dword [eax + 0x14], 8
jb 0x516f95
mov eax, dword [eax]
push 1
push eax
push str.DisplayVersion
lea ecx, [ebp - 0xc]
call fcn.004b5be8
mov ebx, str.https:__www.qq.com
push ebx
call fcn.00553a47
pop ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push esi
push str.URLInfoAbout
push dword [ebp - 0xc]
call edi
mov ebx, 0x606de8
push ebx
call fcn.00553a47
pop ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push esi
push str.Publisher
push dword [ebp - 0xc]
call edi
xor esi, esi
inc esi
cmp dword [ebp - 0xc], 0
je 0x516ffb
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x51762f
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x51768f
push ebx
mov edx, 0x10000000
cmp eax, 0x7c
je 0x51768e
cmp eax, 0x29
jne 0x517693
cmp dword [esi + 0x10], 0
jne 0x51768e
test dword [esi + 0x50], edx
je 0x51778e
cmp eax, 0x5d
jne 0x517669
test dword [esi + 0x50], edx
je 0x517782
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00517037
mov ecx, esi
call fcn.005196cc
mov ecx, esi
call fcn.0051970b
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x51763d
pop ebx
mov al, cl
pop esi
ret
cmp eax, 0x2e
jne 0x5176a4
push 5
lea ecx, [esi + 0x24]
call fcn.00519692
jmp 0x517676
cmp eax, 0x5c
jne 0x5176f3
mov ecx, esi
call fcn.005196cc
test byte [esi + 0x50], 0x80
je 0x5176ea
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x5176d2
push 4
lea ecx, [esi + 0x24]
call fcn.00519692
mov ecx, esi
call fcn.005196cc
jmp 0x517684
cmp eax, 0x42
jne 0x5176ea
push 4
lea ecx, [esi + 0x24]
call fcn.00519692
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x5176c9
mov ecx, esi
call fcn.00517798
jmp 0x51767d
cmp eax, 0x5b
jne 0x517716
mov ecx, esi
call fcn.005196cc
mov ecx, esi
call fcn.00517da3
push 4
push 0x5d
mov ecx, esi
call fcn.00518c86
jmp 0x51767d
cmp eax, 0x28
jne 0x517743
mov ecx, esi
call fcn.005196cc
mov ecx, esi
call fcn.00519a7c
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.00518c86
test bl, bl
je 0x517684
jmp 0x51767d
cmp eax, 0x5e
jne 0x51774f
push 2
jmp 0x5176c1
cmp eax, 0x24
jne 0x51775b
push 3
jmp 0x5176c1
cmp eax, 0x2a
je 0x517786
cmp eax, 0x2b
je 0x517786
cmp eax, 0x3f
je 0x517786
cmp eax, 0x7b
je 0x517786
cmp eax, 0x7d
jne 0x51765b
test dword [esi + 0x50], edx
je 0x51778a
jmp 0x517669
push 4
jmp 0x517790
push 0xa
jmp 0x517790
push 6
jmp 0x517790
push 5
mov ecx, esi
call fcn.00518c40
int3
Function at 0x51d8bf
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
test ebx, ebx
je 0x51da64
cmp dword [ebp + 0xc], edi
je 0x51da64
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
cmp eax, dword [ebp + 0x14]
jge 0x51da64
inc eax
lea ecx, [ebp - 0x30]
push ebx
mov dword [esi], eax
call fcn.0040921d
push 0x5fe134
call fcn.00553a47
pop ecx
push eax
push 0x5fe134
lea ecx, [ebp - 0x30]
call fcn.00409b94
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x280]
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp + 8], eax
test eax, eax
je 0x51da56
test byte [ebp - 0x280], 0x10
lea eax, [ebp - 0x254]
je 0x51d9da
push 0x5fe13c
push eax
call fcn.00577501
pop ecx
pop ecx
test eax, eax
je 0x51da35
lea eax, [ebp - 0x254]
push 0x5fe140
push eax
call fcn.00577501
pop ecx
pop ecx
test eax, eax
je 0x51da35
push ebx
lea ecx, [ebp - 0x18]
call fcn.0040921d
lea eax, [ebp - 0x254]
push eax
call fcn.00553a47
pop ecx
push eax
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x18]
call fcn.00409b94
push 0x5fb114
call fcn.00553a47
pop ecx
push eax
push 0x5fb114
lea ecx, [ebp - 0x18]
call fcn.00409b94
push dword [ebp + 0x18]
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
push dword [ebp + 0x14]
cmovae eax, dword [ebp - 0x18]
push esi
push dword [ebp + 0xc]
push eax
call fcn.0051d8bf
add esp, 0x14
jmp 0x51da25
push dword [ebp + 0xc]
push eax
call fcn.00577501
pop ecx
pop ecx
test eax, eax
jne 0x51da35
push ebx
lea ecx, [ebp - 0x18]
call fcn.0040921d
lea eax, [ebp - 0x254]
push eax
call fcn.00553a47
pop ecx
push eax
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x18]
call fcn.00409b94
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
push dword [ebp + 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call fcn.0051dd9d
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 0x18]
push 1
pop eax
cmovne edi, eax
call fcn.00403f80
lea eax, [ebp - 0x280]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x51d938
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
dec dword [esi]
lea ecx, [ebp - 0x30]
call fcn.00403f80
mov eax, edi
jmp 0x51da66
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret