joyce8/EMBER2024-capa huggingface dataset:
Function at 0x509290
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x729140]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push 0x110
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi], 0
call fcn.0064d010
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x509327
cmp dword [esp + 8], 6
jb 0x509327
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.00634bf3
add esp, 0x118
ret

Function at 0x509340
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69bf30
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x729140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.wintrust.dll
lea ecx, [ebp - 0x28]
call fcn.00405880
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.004f08f0
mov ecx, eax
call fcn.004f09b0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405870
push str.crypt32.dll
lea ecx, [ebp - 0x40]
call fcn.00405880
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.004f08f0
mov ecx, eax
call fcn.004f09b0
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405870
test ebx, ebx
je 0x509455
test esi, esi
je 0x509455
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push ebx
call esi
push str.CryptCATAdminAcquireContext
push ebx
mov dword [edi + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push ebx
mov dword [edi + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push ebx
mov dword [edi + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push ebx
mov dword [edi + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push ebx
mov dword [edi + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push ebx
mov dword [edi + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push ebx
mov dword [edi + 0x1c], eax
call esi
push str.WinVerifyTrust
push ebx
mov dword [edi + 0x20], eax
call esi
push str.CertNameToStrW
push dword [ebp - 0x10]
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51a58d
Capabilities:
Terminate thread

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
mov edi, ecx
cmp dword [edi + 0x64], 0
je 0x51a5a4
push dword [edi + 0x64]
call esi
cmp dword [edi + 0x70], 0
je 0x51a5af
push dword [edi + 0x70]
call esi
xor ebp, ebp
cmp dword [edi + 0x78], ebp
je 0x51a69e
push 0x7343d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x78]
test al, 1
je 0x51a5d8
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov eax, dword [edi + 0x78]
test al, 2
je 0x51a5eb
push dword [edi + 0x80]
call fcn.00655fb4
mov eax, dword [edi + 0x78]
pop ecx
test al, 4
je 0x51a5fb
push dword [edi + 0x84]
call fcn.0064c181
pop ecx
mov ebx, dword [0x7343f8]
mov eax, dword [ebx + 4]
add eax, 0xfffffffc
cmp dword [eax], edi
jne 0x51a610
mov dword [ebx + 4], eax
jmp 0x51a660
push str.warning:_removing_Breakpad_handler_out_of_order_n
push 2
call fcn.006565f4
pop ecx
push eax
call fcn.00512ed0
mov ebx, dword [0x7343f8]
pop ecx
pop ecx
mov esi, dword [ebx]
mov eax, dword [ebx + 4]
cmp esi, eax
je 0x51a660
lea ebp, [esi + 4]
cmp dword [esi], edi
jne 0x51a651
mov eax, dword [ebx + 4]
sub eax, ebp
push eax
push ebp
push esi
call fcn.0064ca90
add esp, 0xc
add dword [ebx + 4], 0xfffffffc
jmp 0x51a657
add esi, 4
add ebp, 4
mov eax, dword [ebx + 4]
cmp esi, eax
jne 0x51a637
xor ebp, ebp
cmp dword [ebx], eax
jne 0x51a693
cmp dword [ebx], 0
je 0x51a683
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
and eax, 0xfffffffc
push eax
push dword [ebx]
call fcn.00405f60
pop ecx
pop ecx
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
push 0xc
push ebx
call fcn.00634ee5
pop ecx
pop ecx
mov dword [0x7343f8], ebp
push 0x7343d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp dword [edi + 0xc], ebp
jne 0x51a6e4
push 1
push dword [edi + 0x88]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x88]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [edi + 0x90]
mov dword [edi + 0x88], ebp
push eax
call ebx
push dword [edi + 0xa8]
call esi
push dword [edi + 0xac]
call esi
or eax, 0xffffffff
lock xadd dword [0x7343f0], eax
jne 0x51a6f8
push 0x7343d8
call ebx
lea ecx, [edi + 0xc0]
call fcn.0051b033
lea ecx, [edi + 0x40]
call fcn.00405870
lea ecx, [edi + 0x28]
call fcn.00405870
lea ecx, [edi + 0x10]
call fcn.00405870
mov ecx, dword [edi + 0xc]
pop edi
pop esi
pop ebp
pop ebx
test ecx, ecx
je 0x51a72c
push ecx
call fcn.0051b06d
ret
Function at 0x51b36c
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov ebx, dword [ebp + 0x360]
lea ecx, [ebp + 0x348]
call fcn.00405860
mov esi, dword [ebp + 0x24]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x4c], eax
lea ecx, [ebp + 0x38]
lea eax, [ebp + 0x3c]
mov dword [esp + 0x50], esi
mov dword [esp + 0x58], eax
xor esi, esi
lea eax, [ebp + 0x40]
mov dword [esp + 0x48], 1
mov dword [esp + 0x5c], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x20]
push esi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x14]
push eax
push 0x34
lea eax, [esp + 0x20]
mov dword [esp + 0x60], ecx
push eax
push 0x34
lea eax, [esp + 0x5c]
mov dword [esp + 0x7c], esi
push eax
push dword [esp + 0xcc]
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x51b4e1
cmp dword [esp + 0x14], 2
jne 0x51b4e1
cmp dword [esp + 0x18], esi
je 0x51b4e1
cmp dword [esp + 0x34], esi
je 0x51b4e1
cmp dword [esp + 0x38], esi
je 0x51b4e1
cmp dword [esp + 0x3c], esi
je 0x51b4e1
push esi
lea eax, [esp + 0x14]
mov dword [esp + 0x84], esi
push eax
push 0x34
lea eax, [esp + 0x88]
mov dword [esp + 0x90], esi
push eax
push dword [esp + 0xc4]
xorps xmm0, xmm0
mov dword [esp + 0x9c], esi
movups xmmword [esp + 0xa0], xmm0
mov dword [esp + 0xc0], esi
movups xmmword [esp + 0xb0], xmm0
mov dword [esp + 0x90], 3
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x51b4e1
mov ecx, dword [esp + 0x34]
mov al, 1
mov dword [ebp + 0x28], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0x2c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 0x30], ecx
mov ecx, dword [esp + 0x18]
mov dword [ebp + 0x34], ecx
jmp 0x51b4e3
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret 4
Function at 0x520060
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69ead0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x729140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x44]
call fcn.004058d0
mov dword [ebp - 4], 0
cmp byte [esi + 0x120], 0
je 0x5200e7
mov eax, dword [esi + 0xcc]
cmp eax, 5
je 0x5200bd
cmp eax, 6
je 0x5200bd
cmp eax, 7
jne 0x5200e7
lea ecx, [esi + 0x58]
call fcn.004028e0
lea edx, [ebp - 0x44]
cmp edx, eax
je 0x5200e7
call fcn.004028e0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x5200db
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00405b20
lea eax, [edi + 0x70]
push eax
lea ecx, [ebp - 0x74]
call fcn.00414330
mov byte [ebp - 4], 1
lea edx, [ebp - 0x74]
push dword [esi]
lea ecx, [ebp - 0x2c]
call fcn.00521970
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0040cdb0
test al, al
jne 0x5201a6
lea ecx, [ebp - 0x2c]
call fcn.004de0d0
test al, al
je 0x5201a6
lea ecx, [esi + 0x70]
mov bl, 1
call fcn.004ddfc0
test al, al
je 0x520143
lea ecx, [esi + 0x70]
call fcn.004f7bc0
neg al
sbb al, al
and bl, al
lea ecx, [ebp - 0x44]
call fcn.0040cdb0
test al, al
jne 0x52015d
lea ecx, [ebp - 0x44]
call fcn.004f7bc0
neg al
sbb al, al
and bl, al
lea ecx, [ebp - 0x2c]
call fcn.00405860
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push eax
call esi
test eax, eax
jne 0x5201a8
lea ecx, [ebp - 0x5c]
call fcn.004058d0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
call fcn.004f8010
test al, al
je 0x520198
lea ecx, [ebp - 0x5c]
call fcn.00405860
push eax
call esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00405870
jmp 0x5201a8
mov bl, 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00405870
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00405870
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00405870
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00634bf3
mov esp, ebp
pop ebp
ret 4
Function at 0x52c020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a08c6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x729140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x18
mov dword [edi], 0xbb8
mov dword [edi + 4], 0x3e80
mov dword [edi + 8], 0xafc8
mov dword [edi + 0xc], 0x3e8
mov word [edi + 0x10], 0
call fcn.00634eb5
mov dword [edi + 0x14], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0x14]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov eax, dword [edi + 0x14]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x30]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
push 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00521430
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x52c1d0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ecx
push ebx
push edi
mov edi, ecx
mov ecx, dword [edi + 0x14]
mov word [edi + 0x10], 0
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x52c1f6
lea ecx, [edi + 0x14]
call fcn.0052c730
add dword [edi + 0x18], eax
mov ecx, dword [edi + 0x14]
adc dword [edi + 0x1c], edx
lea eax, [ecx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov word [edi + 0x10], 1
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov eax, dword [edi + 0x14]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [edi + 0x14]
mov ecx, edi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.0052c250
pop edi
pop ebx
pop ecx
ret
Function at 0x531070
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x53107b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00531090
Function at 0x563e70
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov ebp, edx
push 0
push 0x14
mov dword [ebx], 0
call fcn.005356a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x563e98
lea eax, [esi + 7]
pop edi
pop esi
pop ebp
pop ebx
ret
cmp byte [0x729b94], 0
mov edi, dword [esp + 0x14]
je 0x563ee0
mov eax, dword [0x729c84]
test eax, eax
je 0x563ebc
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x563ee0
lea eax, [esi + 4]
mov dword [esi + 8], ebp
push eax
push 0
push esi
push 0x538530
push 0
push 0
mov dword [esi + 0xc], edi
call fcn.00662401
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x563eed
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x563f05
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebx], esi
xor eax, eax
pop esi
pop ebp
pop ebx
ret
Function at 0x570aa0
Capabilities:
Reference sql statements

Disassembly:
push ebx
push edi
push dword [esp + 0xc]
mov edi, edx
mov ebx, ecx
push edi
push str.sqlite_master
push edi
push str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
push ebx
call fcn.005756e0
add esp, 0x18
cmp dword [esp + 0xc], 0
jne 0x570ada
push edi
push str.sqlite_master
push str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
push ebx
call fcn.005756e0
add esp, 0x10
pop edi
pop ebx
ret

Function at 0x5757f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebx, ecx
mov ebp, edx
mov ecx, dword [esp + 0x14]
push esi
push edi
mov dword [esp + 0x10], ebx
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x57588b
nop
mov edi, esi
xor edi, 1
cmp esi, 2
cmovge edi, esi
test ecx, ecx
je 0x575843
mov edx, edi
mov eax, ecx
mov ecx, dword [ebx + 0x10]
add edx, edx
mov ebx, dword [ecx + edx*8]
sub ebx, dword [esp + 0x1c]
nop
movzx edx, byte [eax]
movzx ecx, byte [ebx + eax]
cmp edx, ecx
jne 0x575868
test edx, edx
jne 0x57587a
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
add edi, edi
push 0
mov edx, ebp
mov ecx, dword [eax + edi*8 + 0xc]
add ecx, 8
call fcn.0053a2c0
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x5758ea
jmp 0x575881
movzx ecx, byte [ecx + 0x6c8638]
movzx edx, byte [edx + 0x6c8638]
sub edx, ecx
jne 0x57587d
inc eax
jmp 0x575830
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc esi
cmp esi, dword [ebx + 0x14]
jl 0x575810
mov edx, str.sqlite_master
sub edx, ebp
movzx ecx, byte [ebp]
movzx eax, byte [edx + ebp]
cmp ecx, eax
jne 0x5758b6
test ecx, ecx
jne 0x5758c8
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
test ecx, ecx
jne 0x5758cb
neg eax
sbb eax, eax
jmp 0x5758da
movzx eax, byte [eax + 0x6c8638]
movzx ecx, byte [ecx + 0x6c8638]
sub ecx, eax
jne 0x5758e8
inc ebp
jmp 0x575892
test eax, eax
je 0x5758e8
mov edx, eax
call fcn.00538e50
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x5758e8
mov ebp, str.sqlite_temp_master
jmp 0x575803
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x575c30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov eax, ecx
mov dword [esp + 4], edx
push ebx
push edi
xor ebx, ebx
mov dword [esp + 0x10], eax
xor edi, edi
cmp dword [eax + 0x14], ebx
jle 0x575cca
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov eax, dword [eax + 0x10]
mov esi, edi
xor esi, 1
cmp edi, 2
cmovge esi, edi
shl esi, 4
add esi, eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x575c89
mov esi, dword [esi]
mov eax, ebp
sub esi, ebp
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x575cb5
test edx, edx
jne 0x575cc7
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ecx, [eax + 0x18]
push 0
call fcn.0053a2c0
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x575cab
mov eax, dword [esp + 0x18]
inc edi
cmp edi, dword [eax + 0x14]
jl 0x575c52
pop esi
pop ebp
pop edi
mov eax, ebx
pop ebx
add esp, 0x10
ret
movzx ecx, byte [ecx + 0x6c8638]
movzx edx, byte [edx + 0x6c8638]
sub edx, ecx
jne 0x575ca1
inc eax
jmp 0x575c76
pop edi
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x5cb580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
push 0x38
xorps xmm0, xmm0
lea eax, [esp + 0x4c]
mov ebp, edx
movlpd qword [esp + 0x2c], xmm0
mov ebx, ecx
mov dword [esp + 0x20], ebp
push 0
movups xmmword [esp + 0x40], xmm0
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], 0x13
call fcn.0064d010
add esp, 0xc
lea eax, [esp + 0x48]
mov edx, ebp
mov ecx, ebx
push eax
push 1
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esp + 0xa0]
call fcn.005bbea0
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x5cb75e
push dword [esp + 0x3c]
lea eax, [esp + 0x3c]
mov ecx, ebx
push dword [esp + 0x3c]
lea edx, [esp + 0x50]
mov dword [esp + 0x5c], eax
call fcn.005c72c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x5cb75e
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.005c7380
mov esi, eax
cmp esi, 0x64
jne 0x5cb75e
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x20]
mov ebp, dword [esp + 0x7c]
xorps xmm0, xmm0
mov ecx, edi
movlpd qword [esp + 0x20], xmm0
add ebp, edi
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x28], xmm0
call fcn.005b8150
lea esi, [edi + eax]
cmp esi, ebp
jae 0x5cb73e
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, esi
movlpd qword [esp + 0x20], xmm0
call fcn.005b8150
add esi, eax
cmp esi, ebp
jae 0x5cb73a
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov edx, dword [esp + 0x24]
or eax, edx
je 0x5cb6e6
cmp ecx, 1
jne 0x5cb6a6
test edx, edx
je 0x5cb6e6
mov eax, dword [esp + 0x28]
add ecx, 0xfffffffe
adc edx, 0xffffffff
add eax, ecx
mov ecx, dword [esp + 0x70]
adc dword [esp + 0x2c], edx
mov edx, dword [esp + 0x74]
push eax
push dword [esp + 0x34]
mov dword [esp + 0x30], eax
push edi
push ebx
push dword [esp + 0x98]
push dword [esp + 0x30]
call fcn.005cb4d0
xor dword [esp + 0x2c], eax
add esp, 0x18
xor dword [esp + 0x10], edx
jmp 0x5cb732
xorps xmm0, xmm0
or ecx, edx
movlpd qword [esp + 0x30], xmm0
mov ecx, esi
movlpd qword [esp + 0x28], xmm0
je 0x5cb708
lea edx, [esp + 0x30]
call fcn.005b8150
add esi, eax
jmp 0x5cb732
lea edx, [esp + 0x20]
call fcn.005b8150
add esi, eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xef], 0
je 0x5cb72a
sub ebx, dword [esp + 0x20]
sbb edi, dword [esp + 0x24]
jmp 0x5cb732
add ebx, dword [esp + 0x20]
adc edi, dword [esp + 0x24]
cmp esi, ebp
jb 0x5cb671
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.005c7380
mov esi, eax
cmp esi, 0x64
je 0x5cb634
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
jmp 0x5cb766
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x48]
call fcn.005c7a20
mov ecx, dword [esp + 0x8c]
mov edx, edi
pop edi
mov eax, ebp
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x5d5a70
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, edx
mov dword [esp + 0x10], str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov esi, ecx
mov dword [esp + 0x14], str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
push edi
mov edi, dword [esi + ebx*4 + 0x18]
test edi, edi
jne 0x5d5aac
push dword [esi + 8]
push dword [esi + 4]
push dword [esp + ebx*4 + 0x1c]
push esi
call fcn.005d5990
mov edi, eax
add esp, 0x10
mov dword [esi + ebx*4 + 0x18], edi
cmp dword [esi + 0x28], 0
jne 0x5d5b6c
mov ebp, dword [esp + 0x24]
push ebp
push dword [esp + 0x24]
push 1
push edi
call fcn.0055b370
push edi
call fcn.0055a0e0
add esp, 0x14
cmp eax, 0x65
jne 0x5d5b03
mov ecx, str.__parent
test ebx, ebx
mov eax, str.__rowid
cmove eax, ecx
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebp
push ecx
push str.Mapping___lld_____lld__missing_from__s_table
push esi
call fcn.005d5a10
add esp, 0x1c
jmp 0x5d5b5a
cmp eax, 0x64
jne 0x5d5b5a
push 0
push edi
call fcn.0055a9e0
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jne 0x5d5b25
cmp edx, ecx
je 0x5d5b5a
push ecx
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
test ebx, ebx
push ebp
push ecx
mov eax, str.__rowid
mov dword [esp + 0x20], str.__parent
cmove eax, dword [esp + 0x20]
push eax
push edx
push dword [esp + 0x2c]
push ebp
push ecx
push str.Found___lld_____lld__in__s_table__expected___lld_____lld_
push esi
call fcn.005d5a10
add esp, 0x2c
push edi
call fcn.005592c0
add esp, 4
cmp dword [esi + 0x28], 0
jne 0x5d5b6c
mov dword [esi + 0x28], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x5d6380
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x729140]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov esi, ecx
push 4
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x5d63c5
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x5d63d7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00634bf3
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [ebp - 0x14], esi
jne 0x5d6408
push dword [ebp - 0x18]
push 0
push 0x100002
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x5d6405
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push esi
call ebx
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x5d63e0
push edi
call ebx
mov ecx, dword [ebp - 4]
mov eax, 1
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00634bf3
mov esp, ebp
pop ebp
ret
Function at 0x5d70c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x729140]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x2bc], 0
push eax
push 0x6c1830
push 2
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetImageList]
test eax, eax
jne 0x5d717c
cmp dword [ebp - 0x2bc], eax
je 0x5d717c
push 0x2b4
push eax
lea eax, [ebp - 0x2b8]
push eax
call fcn.0064d010
add esp, 0xc
lea eax, [ebp - 0x2b8]
mov ecx, esi
push 0x4010
push 0x2b4
push eax
push 0
call fcn.00405860
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x5d717c
mov eax, dword [ebp - 0x2bc]
lea edx, [ebp - 0x2c0]
push edx
push 0
push dword [ebp - 0x2b4]
mov dword [ebp - 0x2c0], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
test eax, eax
jne 0x5d717c
mov eax, dword [ebp - 0x2c0]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00634bf3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00634bf3
mov esp, ebp
pop ebp
ret