joyce8/EMBER2024-capa huggingface dataset:
Function at 0x659e30
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x7c6a18
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x50]
mov esi, ecx
test ebp, ebp
je 0x659ff8
mov ebx, dword [esp + 0x54]
cmp ebx, 7
jb 0x659ff8
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x659f49
test edi, edi
je 0x659ea2
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [esp + 0x20]
push eax
call fcn.0060c5c0
add esp, 4
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], 0
jae 0x659ec6
lea eax, [esp + 0x24]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x659ef4
lea ecx, [esp + 0x20]
call fcn.00403c30
jmp 0x659ff8
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebp
push edi
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x38], 8
mov esi, eax
mov eax, dword [esp + 0x24]
jae 0x659f32
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x20]
call fcn.00403c30
mov eax, esi
jmp 0x659ffa
push ebx
push ebp
push eax
call fcn.007248d0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esi + 0x10]
xor ebp, ebp
cmp ecx, ebp
je 0x659f6f
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x10], ebp
lea eax, [esp + 0x14]
push eax
push 1
push edi
mov dword [esp + 0x20], ebp
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [esp + 0x14]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
cmp edi, ebp
je 0x659fb5
lea ecx, [esp + 0x18]
push ecx
push ebx
mov dword [edi], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x20], ebp
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov edx, dword [esp + 0x18]
mov dword [edi + 8], eax
mov dword [edi + 4], edx
mov ecx, edi
jmp 0x659fb7
xor ecx, ecx
mov dword [esi + 0x10], ecx
cmp ecx, ebp
je 0x659fe8
call fcn.005134e0
mov ecx, dword [esi + 0x10]
mov dword [esi + 8], eax
call fcn.00513510
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x659fe1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
jmp 0x659ffa
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x659ff8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x38
ret 8
Function at 0x660610
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 8]
mov esi, eax
and esi, 7
je 0x660632
cmp eax, esi
jge 0x66062a
mov eax, edi
call fcn.0065fe20
mov ecx, esi
shr dword [edi + 0xc], cl
sub dword [edi + 8], esi
xor eax, eax
cmp dword [edi + 8], eax
jle 0x66065a
lea ecx, [eax - 8]
lea esp, [esp]
mov dl, byte [edi + 0xc]
shr dword [edi + 0xc], 8
add dword [edi + 8], ecx
mov byte [esp + eax + 8], dl
inc eax
cmp dword [edi + 8], 0
jg 0x660640
cmp eax, 4
jge 0x660679
mov esi, dword [edi + 4]
lea ecx, [ecx]
mov ecx, dword [edi]
cmp ecx, esi
jb 0x66066a
xor dl, dl
jmp 0x66066f
mov dl, byte [ecx]
inc ecx
mov dword [edi], ecx
mov byte [esp + eax + 8], dl
inc eax
cmp eax, 4
jl 0x660660
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 0xb]
movzx edx, byte [esp + 0xa]
movzx esi, ah
movzx eax, al
shl esi, 8
add esi, eax
shl ecx, 8
mov eax, esi
add ecx, edx
xor eax, 0xffff
cmp ecx, eax
je 0x6606b2
mov dword [0x8a0850], str.zlib_corrupt
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [edi]
add ecx, esi
cmp ecx, dword [edi + 4]
jbe 0x6606cb
pop edi
mov dword [0x8a0850], 0x8100cc
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [edi + 0x10]
lea edx, [eax + esi]
cmp edx, dword [edi + 0x18]
jbe 0x6606e3
push esi
call fcn.0065ff90
add esp, 4
test eax, eax
je 0x6606ac
mov eax, dword [edi]
mov ecx, dword [edi + 0x10]
push esi
push eax
push ecx
call fcn.007248d0
add dword [edi], esi
add esp, 0xc
add dword [edi + 0x10], esi
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x667550
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x7c6b13
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 8]
mov dword [esi], vtable.CSmartLogger.0
push eax
mov dword [esp + 0x10], esi
mov dword [esi + 4], vtable._BaseModule::CCriticalSection.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x20]
mov dword [esp + 0x224], 0
call fcn.00531d40
mov edx, dword [0x8a14f8]
mov eax, dword [edx + 0xc]
mov ecx, 0x8a14f8
mov byte [esp + 0x224], 1
call eax
add eax, 0x10
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 1
mov dword [esi + 0x40], 0x7d000
mov edx, dword [0x8a14f8]
mov eax, dword [edx + 0xc]
mov ecx, 0x8a14f8
mov byte [esp + 0x224], 2
call eax
add eax, 0x10
mov dword [esi + 0x44], eax
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x1a]
push edx
mov byte [esp + 0x230], 3
mov dword [esi + 0x40], 0x7d000
mov word [esp + 0x1c], cx
call fcn.007202b0
add esp, 0xc
push 0
push 0x1a
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x8095cc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.LogLDSGameCenter.log
lea edx, [esp + 0x14]
push edx
mov eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xc]
call fcn.004068d0
lea edx, [esp + 8]
push edx
mov ecx, esi
mov byte [esp + 0x228], 4
call fcn.006673d0
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x224], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6676a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x220
ret
Function at 0x668150
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x238
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x248]
xor ebx, ebx
push ebx
push 2
mov dword [esp + 0x14], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x66824c
push 0x22c
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.007202b0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push esi
mov dword [esp + 0x1c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x668229
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov edi, edi
push edi
lea edx, [esp + 0x40]
push edx
call ebx
test eax, eax
jne 0x6681ed
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
call ebp
test eax, eax
je 0x6681ed
mov edx, dword [esp + 0x250]
cmp dword [esp + 0x14], edx
je 0x668220
lea eax, [esp + 0x18]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x6681c0
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x238
ret
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x238
ret
mov ecx, dword [esp + 0x240]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0071fe0b
add esp, 0x238
ret

Function at 0x668340
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0xc]
push eax
push 4
lea ecx, [esp + 0xc]
push ecx
push 0x13
push esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x66837a
mov eax, dword [esp + 4]
pop esi
add esp, 0x14
ret
push edi
lea edx, [esp + 0x14]
push edx
xor eax, eax
push str.SeDebugPrivilege
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x6683b1
call edi
push eax
push esi
push str.ServiceUtils::DuplicateUserToken__LookupPrivilegeValue_failed__token_x__error_d
call fcn.00609060
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 1
push 1
push 0
push 0x2000000
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x6683de
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x14
ret
call edi
push eax
push esi
push str.ServiceUtils::DuplicateUserToken__DuplicateTokenEx_failed__token_x__error_d
call fcn.00609060
add esp, 0xc
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x6687e0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x7c6d18
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
call fcn.00668470
cmp dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
je 0x668865
lea eax, [esp + 0x10]
push eax
push 0x20006
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x668889
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ServiceUtils::WriteActiveConsoleUserReg__RegOpenCurrentUser_failed__error_d__subNode_s__key_s
call fcn.00609060
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x668865
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x668874
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push edi
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x6688d7
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.ServiceUtils::WriteActiveConsoleUserReg__SHSetValueW_failed__ret_d__error_d__subNode_s__key_s
call fcn.00609060
add esp, 0x14
jmp 0x668858
cmp dword [esp + 0x18], 0
je 0x6688e4
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6688f3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x668910
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x7c6d48
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
call fcn.00668470
cmp dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
je 0x668995
lea eax, [esp + 0x10]
push eax
push 0x20019
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x6689b9
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ServiceUtils::WriteActiveConsoleUserReg__RegOpenCurrentUser_failed__error_d__subNode_s__key_s
call fcn.00609060
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x668995
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6689a4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push edi
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x668a07
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.ServiceUtils::WriteActiveConsoleUserReg__SHSetValueW_failed__ret_d__error_d__subNode_s__key_s
call fcn.00609060
add esp, 0x14
jmp 0x668988
cmp dword [esp + 0x18], 0
je 0x668a14
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x668a23
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret

Function at 0x668a40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push edi
mov edi, dword [esp + 0x220]
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x16]
push ecx
mov dword [esp + 0x14], 0
mov word [esp + 0x18], ax
call fcn.007202b0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
je 0x668a99
push eax
call fcn.00668270
mov esi, eax
add esp, 4
test esi, esi
jne 0x668ab2
mov edx, dword [esp + 0x224]
push 0
push edx
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jmp 0x668ad1
mov eax, dword [esp + 0x224]
lea edx, [esp + 0xc]
push edx
push 0
push esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.004068d0
mov ecx, dword [esp + 0x218]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0071fe0b
add esp, 0x214
ret
Function at 0x66de00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x7c6ddb
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x430], eax
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov esi, dword [esp + 0x450]
xor edi, edi
xor eax, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], ax
push 0x206
lea edx, [esp + 0x23a]
xor ecx, ecx
push edi
push edx
mov dword [esp + 0x454], edi
mov word [esp + 0x240], cx
call fcn.007202b0
add esp, 0xc
lea eax, [esp + 0x234]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, edi
je 0x66defe
cmp eax, 0x104
ja 0x66defe
push 0x206
lea edx, [esp + 0x32]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x38], cx
call fcn.007202b0
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push edi
push 0x81381c
lea ecx, [esp + 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x66defe
lea eax, [esp + 0x2c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x66dee0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x18]
call fcn.00404850
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x18]
xor eax, eax
push ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov ecx, esi
mov word [esi + 4], ax
call fcn.00404750
cmp dword [esp + 0x28], 8
jb 0x66df31
mov edx, dword [esp + 0x14]
push edx
call fcn.00704960
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x440
ret
Function at 0x66f0d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x7c6ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
mov edi, dword [esp + 0x48]
lea ecx, [edi + 2]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx*4 + 1]
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x10]
test eax, eax
ja 0x66f14f
push 0xffffffffffffffff
push eax
call fcn.00406cd0
jmp 0x66f157
push 0
push eax
call fcn.00460c90
cmp dword [esp + 0x28], 0x10
mov eax, dword [esp + 0x14]
jae 0x66f166
lea eax, [esp + 0x14]
push edi
push esi
push eax
call fcn.0066ed90
add esp, 0xc
test eax, eax
jge 0x66f18d
cmp dword [esp + 0x28], 0x10
jb 0x66f189
mov edx, dword [esp + 0x14]
push edx
call fcn.00704960
add esp, 4
xor al, al
jmp 0x66f1d3
mov ecx, dword [esp + 0x24]
cmp eax, ecx
ja 0x66f1a3
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x18]
call fcn.00406cd0
jmp 0x66f1b1
sub eax, ecx
push 0
push eax
lea ecx, [esp + 0x18]
call fcn.00460c90
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
call fcn.0045fbb0
cmp dword [esp + 0x28], 0x10
jb 0x66f1d1
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00704960
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x2c
ret
Function at 0x66f200
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x7c6f18
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov ebp, dword [esp + 0x48]
mov edi, dword [esi + 0x14]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov eax, edi
cdq
and edx, 3
add eax, edx
sar eax, 2
lea eax, [eax + eax*2 + 2]
mov dword [esp + 0x40], ebx
lea ecx, [esp + 0x18]
cmp eax, ebx
ja 0x66f27c
push 0xffffffffffffffff
push eax
call fcn.00406cd0
jmp 0x66f283
push ebx
push eax
call fcn.00460c90
mov eax, 0x10
cmp dword [esi + 0x18], eax
jb 0x66f292
mov esi, dword [esi + 4]
jmp 0x66f295
add esi, 4
cmp dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
jae 0x66f2a3
lea eax, [esp + 0x1c]
push edi
push esi
push eax
call fcn.0066eeb0
mov esi, eax
add esp, 0xc
cmp esi, ebx
jge 0x66f2cc
cmp dword [esp + 0x30], 0x10
jb 0x66f2c8
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00704960
add esp, 4
xor al, al
jmp 0x66f321
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
cmp esi, eax
ja 0x66f2e2
push 0xffffffffffffffff
push esi
call fcn.00406cd0
jmp 0x66f2ed
mov edx, esi
push ebx
sub edx, eax
push edx
call fcn.00460c90
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x1c]
mov eax, ebx
cmp edi, 0x10
jae 0x66f300
lea eax, [esp + 0x1c]
push esi
push eax
push ebp
call fcn.007248d0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [eax], esi
cmp edi, 0x10
jb 0x66f31f
push ebx
call fcn.00704960
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x30
ret
Function at 0x674df0
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x7c75cb
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x414], eax
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov edi, dword [esp + 0x438]
push 0x208
lea eax, [esp + 0x18]
push 0
push eax
mov dword [esp + 0x1c], 0
call fcn.007202b0
add esp, 0xc
push 0
push 0x1a
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.MozillaFirefox
lea edx, [esp + 0x18]
push edx
call ebp
mov eax, dword [0x8a14f8]
mov edx, dword [eax + 0xc]
mov ecx, 0x8a14f8
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x430], 0
jge 0x674eb7
push 0x104
lea ecx, [esp + 0x14]
call fcn.004065a0
mov esi, dword [esp + 0x10]
mov eax, 0x104
cmp dword [esi - 8], eax
jge 0x674ecb
push 0x80070057
call fcn.004066b0
push str.profiles.ini
lea ecx, [esp + 0x18]
mov dword [esi - 0xc], eax
push ecx
xor eax, eax
push esi
mov word [esi + 0x208], ax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00725d7a
add esp, 8
test eax, eax
jl 0x674ec1
cmp eax, dword [esi - 8]
jg 0x674ec1
xor edx, edx
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], dx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x674fe8
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x674fe8
push 0x208
push eax
lea eax, [esp + 0x224]
push eax
call fcn.007202b0
add esp, 0xc
push esi
push 0x104
lea ecx, [esp + 0x224]
push ecx
push 0x830150
push str.Path
push str.Profile0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x21c], 0
jne 0x674f92
push 0x830150
mov ecx, edi
call fcn.004068d0
lea eax, [esi - 0x10]
mov dword [esp + 0x430], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x67500f
lea ecx, [esp + 0x21c]
push ecx
lea edx, [esp + 0x18]
push edx
call ebp
push str.places.sqlite
lea eax, [esp + 0x18]
push eax
call ebp
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, edi
test eax, eax
jne 0x674fd3
push 0x830150
call fcn.004068d0
lea ecx, [esp + 0x10]
call fcn.00405ef0
jmp 0x67501b
lea edx, [esp + 0x14]
push edx
call fcn.004068d0
lea ecx, [esp + 0x10]
call fcn.00405ef0
jmp 0x67501b
push 0x830150
mov ecx, edi
call fcn.004068d0
lea eax, [esi - 0x10]
mov dword [esp + 0x430], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x67501b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x424
ret 4
Function at 0x675650
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [esp + 0x218]
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.007202b0
add esp, 0xc
push 0
push 0x1a
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.SogouExploreruhistory3.db
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.004068d0
mov ecx, dword [esp + 0x210]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0071fe0b
add esp, 0x210
ret 4
Function at 0x676640
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [esp + 0x218]
push 0
push 0x1c
lea eax, [esp + 0x10]
push eax
push 0
mov dword [esp + 0x14], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.GoogleChromeUser_DataDefault
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.004068d0
mov ecx, dword [esp + 0x210]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0071fe0b
add esp, 0x210
ret 4