joyce8/EMBER2024-capa huggingface dataset:
Function at 0x510711
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 0x51087a
cmp dword [esi + 0x7e4], ebx
je 0x510757
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 0x510766
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 0x510786
lea ecx, [ebp - 0x68]
call fcn.00403f80
test edi, edi
je 0x5107c7
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x5107c7
mov ecx, dword [ebp - 0x38]
lea eax, [eax*2 + 2]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp eax, 0x1000
jb 0x5107be
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.00541bf5
pop ecx
pop ecx
lea eax, [ebp - 0x50]
push eax
call fcn.005b6210
cmp dword [ebp - 0x10], 0
pop ecx
je 0x510820
cmp dword [ebp - 0x40], 0
je 0x510820
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 0x51080d
mov dword [esi + 0x758], 3
jmp 0x51082a
push 4
pop eax
push 2
test ecx, ecx
pop edi
cmovs eax, edi
mov dword [esi + 0x758], eax
jmp 0x51082d
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 0x510872
mov ecx, dword [ebp - 0x20]
lea eax, [eax*2 + 2]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
cmp eax, 0x1000
jb 0x510869
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.00541bf5
pop ecx
pop ecx
mov eax, dword [esi + 0x758]
xor ebx, ebx
cmp eax, 1
je 0x510928
push 0x5fef58
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 0x5f9b84
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 0x5108e1
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 0x5108eb
mov dword [esi + 0x758], 1
mov eax, dword [ebp - 0xc]
cmp eax, 8
jb 0x510928
mov ecx, dword [ebp - 0x20]
lea eax, [eax*2 + 2]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
cmp eax, 0x1000
jb 0x51091f
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.00541bf5
pop ecx
pop ecx
mov eax, dword [esi + 0x758]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5116e2
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 0x512632
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 0x51269a
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 0x5126d8
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.00510b0e
cmp dword [ebp - 0x80], 0
je 0x512788
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.00510b0e
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 0x512d9c
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 [0x62a324]
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 0x512e09
mov dword [esi], edi
cmp dword [ebp - 8], eax
je 0x512e53
mov eax, dword [ebp - 4]
test eax, eax
je 0x512e53
push dword [ebp - 0xc]
call eax
jmp 0x512e53
cmp dword [ebp - 8], 0
je 0x512e1b
mov eax, dword [ebp - 4]
test eax, eax
je 0x512e1b
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 0x512e53
cmp eax, 0xffffffff
je 0x512e53
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 0x513c1d
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 0x513cbc
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 0x513cb4
mov ecx, eax
call fcn.00403f80
push esi
lea ecx, [ebp - 0x1c]
call fcn.00444e92
lea ecx, [ebp - 0x64]
call fcn.00403f80
mov esi, 0x5f9b84
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.0050eebb
lea ecx, [ebp - 0x4c]
call fcn.00403f80
lea ecx, [ebp - 0x64]
call fcn.00403f80
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x513d49
mov ecx, dword [ebp - 0x1c]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
cmp eax, 0x1000
jb 0x513d40
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.00541bf5
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 0x515218
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 0x5153cb
push esi
push 0x5d34a4
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 0x515371
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 0x5152c0
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 0x51535b
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x5152f7
mov eax, dword [ebp - 0x4b0]
shr eax, 4
and eax, 1
jmp 0x5152f9
mov eax, ebx
test eax, eax
jne 0x515339
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 0x515371
test ecx, ecx
je 0x51535e
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 0x5152e9
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], ebx
test eax, eax
je 0x515371
cmp eax, 0xffffffff
je 0x515371
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, edi
call fcn.005121fe
cmp dword [edi + 0x75c], ebx
jne 0x5153ad
mov eax, dword [edi + 0x798]
test eax, eax
je 0x515397
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 0x5153a9
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 8
cmp esi, ebx
jne 0x51539f
push 0x5d34e4
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 0x515b20
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 0x515bd5
cmp eax, 3
je 0x515bd5
cmp eax, 2
je 0x515bd5
lea ecx, [esi + 0xd4]
call fcn.005058c4
test al, al
jne 0x515bd5
mov eax, dword [esi + 0x75c]
cmp eax, 0xb
jne 0x515b94
xor edi, edi
push edi
push edi
push edi
push 0x31
push 0x601588
call fcn.005b52d0
add esp, 0x14
cmp eax, 1
jne 0x515bd5
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 0x515bd5
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00510649
lea eax, [esi + 0x764]
cmp dword [eax + 0x14], 8
pop ecx
pop ecx
jb 0x515bae
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.0050ee7e
xor eax, eax
pop edi
inc eax
pop esi
leave
ret
Function at 0x516e19
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, 0x5ffb9c
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 0x516fdd
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.00507881
mov ecx, eax
call fcn.005078b1
push eax
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.005ad360
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x516f01
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.00507881
mov ecx, eax
call fcn.005078b1
push eax
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.005ad360
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x516f58
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 0x516f86
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, 0x606df8
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 0x516fec
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x517620
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x517680
push ebx
mov edx, 0x10000000
cmp eax, 0x7c
je 0x51767f
cmp eax, 0x29
jne 0x517684
cmp dword [esi + 0x10], 0
jne 0x51767f
test dword [esi + 0x50], edx
je 0x51777f
cmp eax, 0x5d
jne 0x51765a
test dword [esi + 0x50], edx
je 0x517773
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00517028
mov ecx, esi
call fcn.005196bd
mov ecx, esi
call fcn.005196fc
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x51762e
pop ebx
mov al, cl
pop esi
ret
cmp eax, 0x2e
jne 0x517695
push 5
lea ecx, [esi + 0x24]
call fcn.00519683
jmp 0x517667
cmp eax, 0x5c
jne 0x5176e4
mov ecx, esi
call fcn.005196bd
test byte [esi + 0x50], 0x80
je 0x5176db
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x5176c3
push 4
lea ecx, [esi + 0x24]
call fcn.00519683
mov ecx, esi
call fcn.005196bd
jmp 0x517675
cmp eax, 0x42
jne 0x5176db
push 4
lea ecx, [esi + 0x24]
call fcn.00519683
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x5176ba
mov ecx, esi
call fcn.00517789
jmp 0x51766e
cmp eax, 0x5b
jne 0x517707
mov ecx, esi
call fcn.005196bd
mov ecx, esi
call fcn.00517d94
push 4
push 0x5d
mov ecx, esi
call fcn.00518c77
jmp 0x51766e
cmp eax, 0x28
jne 0x517734
mov ecx, esi
call fcn.005196bd
mov ecx, esi
call fcn.00519a6d
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.00518c77
test bl, bl
je 0x517675
jmp 0x51766e
cmp eax, 0x5e
jne 0x517740
push 2
jmp 0x5176b2
cmp eax, 0x24
jne 0x51774c
push 3
jmp 0x5176b2
cmp eax, 0x2a
je 0x517777
cmp eax, 0x2b
je 0x517777
cmp eax, 0x3f
je 0x517777
cmp eax, 0x7b
je 0x517777
cmp eax, 0x7d
jne 0x51764c
test dword [esi + 0x50], edx
je 0x51777b
jmp 0x51765a
push 4
jmp 0x517781
push 0xa
jmp 0x517781
push 6
jmp 0x517781
push 5
mov ecx, esi
call fcn.00518c31
int3
Function at 0x51d8b0
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 0x51da55
cmp dword [ebp + 0xc], edi
je 0x51da55
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
cmp eax, dword [ebp + 0x14]
jge 0x51da55
inc eax
lea ecx, [ebp - 0x30]
push ebx
mov dword [esi], eax
call fcn.0040921d
push 0x5fe144
call fcn.00553a47
pop ecx
push eax
push 0x5fe144
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 0x51da47
test byte [ebp - 0x280], 0x10
lea eax, [ebp - 0x254]
je 0x51d9cb
push 0x5fe14c
push eax
call fcn.00577501
pop ecx
pop ecx
test eax, eax
je 0x51da26
lea eax, [ebp - 0x254]
push 0x5fe150
push eax
call fcn.00577501
pop ecx
pop ecx
test eax, eax
je 0x51da26
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 0x5fb124
call fcn.00553a47
pop ecx
push eax
push 0x5fb124
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.0051d8b0
add esp, 0x14
jmp 0x51da16
push dword [ebp + 0xc]
push eax
call fcn.00577501
pop ecx
pop ecx
test eax, eax
jne 0x51da26
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.0051dd8e
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 0x51d929
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 0x51da57
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x51da5c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00548bf0
add esp, 0xc
mov dword [ebp - 4], edi
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x1c
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x51da9a
xor eax, eax
jmp 0x51daf2
push esi
push str.TencentQQBrowserUser_DataDefault_
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00567315
push 1
push 2
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push str.preferences
push eax
call fcn.0051d8b0
push edi
mov esi, eax
lea eax, [ebp - 4]
push 2
push eax
lea eax, [ebp - 0x20c]
push str.bookmarks
push eax
call fcn.0051d8b0
sub esi, 2
add esp, 0x34
add eax, esi
neg eax
sbb eax, eax
inc eax
pop esi
pop edi
leave
ret

Function at 0x51dd8e
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x51dda3
xor eax, eax
jmp 0x51dee7
push ebx
push esi
push edi
lea ecx, [ebp - 0x24]
call fcn.0040921d
mov esi, 0x6015ec
push esi
call fcn.00553a47
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00409b94
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x51dedb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
test eax, eax
je 0x51de04
inc eax
push eax
mov dword [ebp + 8], eax
call fcn.0056728d
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x51de10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x51dedb
push dword [ebp + 8]
push esi
push ebx
call fcn.00548bf0
add esp, 0xc
mov dword [ebp - 4], esi
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x51de3d
push ebx
call fcn.00553d2a
pop ecx
jmp 0x51de04
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0044114c
push ebx
call fcn.00553d2a
cmp byte [ebp + 0xc], 0
pop ecx
je 0x51de64
lea eax, [ebp - 0x3c]
push eax
call fcn.0051cfab
pop ecx
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
push esi
cmovae eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004573b1
mov ecx, eax
call fcn.0045732b
test al, al
je 0x51ded3
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
push esi
cmovae eax, dword [ebp - 0x24]
push esi
push 2
push esi
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x51ded3
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0xc]
push esi
push eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
inc eax
push eax
push ecx
push edi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x3c]
call fcn.00404062
lea ecx, [ebp - 0x24]
call fcn.00403f80
mov eax, esi
pop esi
pop ebx
pop edi
leave
ret