joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10037bc0
Capabilities:
Create thread
Initialize winsock library
Monitor local ipv4 address changes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.Start_Location_Monitor.
push 1
push 0xcb
push 0x101355c8
push 0x101355fc
mov esi, ecx
call fcn.1010d8f0
add esp, 0x14
lea eax, [ebp - 0x198]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10037c39
push str.WSAStartup_failed.
push 1
push 0xd2
push 0x10135630
push 0x10135664
call fcn.1010d8f0
add esp, 0x14
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x10037cb2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateEvent_failed:_d
push 1
push 0xda
push 0x1013569c
push 0x101356d0
call fcn.1010d8f0
mov eax, dword [esi + 0x14]
add esp, 0x18
test eax, eax
je 0x10037c88
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x14], 0
mov eax, dword [esi]
test eax, eax
je 0x10037c9b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret
lea eax, [esi + 4]
push eax
push 0
call dword [sym.imp.IPHLPAPI.DLL_NotifyAddrChange]
cmp eax, 0x3e5
je 0x10037cfc
push eax
push str.NotifyAddrChange_failed:__d
push 1
push 0xe3
push 0x1013570c
push 0x10135740
call fcn.1010d8f0
add esp, 0x18
mov ecx, esi
call fcn.10037240
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret
push 0
push 0
push esi
push 0x100376c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x10037d33
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateThread_failed:_d
push 1
push 0xec
push str..._srcMoniterHelperlocationLocationMonitor.cpp
push str.CLocationMonitor::StartMonitor
jmp 0x10037cdc
mov dword [esi], eax
call fcn.10037d50
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.101176fb
mov esp, ebp
pop ebp
ret

Function at 0x10039920
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x10039951
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10039940
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x10039a90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011ddbb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10165034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov byte [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x34], 0
mov dword [ebp - 4], 0
push dword [esi]
mov edx, dword [esi + 8]
push dword [esi + 0xc]
push dword [esi + 4]
push dword [esi]
call fcn.1003a990
add esp, 0x10
test al, al
mov eax, esi
jne 0x10039b52
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1003ad50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011defe
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10165034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [edi], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [ebp - 0x10], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.1003b010
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [edi + 0x20], 0
lea ecx, [edi + 0x24]
push eax
push 0
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.1003b010
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
je 0x1003ae78
test dl, 0x10
jne 0x1003ae78
mov eax, 1
jmp 0x1003ae7a
xor eax, eax
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [esi + 0x18]
call fcn.1003aea0
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 0x1c
Function at 0x1003bca0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011defe
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10165034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.1003b010
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
lea ecx, [edi + 0x24]
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.1003b010
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
je 0x1003bdb4
test dl, 0x10
jne 0x1003bdb4
mov eax, 1
jmp 0x1003bdb6
xor eax, eax
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [esi + 0x18]
call fcn.1003aea0
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 0x1c
Function at 0x10044710
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x2c
mov esi, eax
lea eax, [ebp - 0x30]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x34], 0x30
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0x10044700
mov dword [ebp - 0x20], esi
push eax
mov dword [ebp - 0xc], 0x10136728
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x100447a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10136758
push 3
push 0x33
push 0x10136798
push 0x10136744
call fcn.1010dc80
add esp, 0x18
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret
push 0
push esi
push 0
push 0
push 0x64
push 0x64
push 0x64
push 0x64
push 0xcf0000
push 0x101367e4
push 0x10136800
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
jne 0x10044800
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1013681c
push 3
push 0x39
push 0x10136870
push str.CreateWnd
call fcn.1010dc80
add esp, 0x18
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.101176fb
mov esp, ebp
pop ebp
ret
Function at 0x10046b30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011e886
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x24c], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test eax, eax
je 0x10046c93
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x264]
call fcn.10002200
push str.InjectUwp.exe
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.10007580
mov ebx, eax
add esp, 4
lea eax, [ebp - 0x230]
cmp eax, ebx
je 0x10046c4b
cmp dword [ebp - 0x21c], 8
jb 0x10046c22
push dword [ebp - 0x230]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
push ebx
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.10001be0
cmp dword [ebp - 0x234], 8
jb 0x10046c5f
push dword [ebp - 0x248]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x250], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x10046c93
push dword [ebp - 0x264]
call esi
add esp, 4
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10046cc4
push 0x3d
push str.C:Program_Files__x86_Windows_Assistant_AppMVInjectUwp.exe
lea ecx, [ebp - 0x230]
call fcn.10002100
lea edx, [ebp - 0x230]
mov ecx, edi
call fcn.1002ceb0
cmp dword [ebp - 0x21c], 8
jb 0x10046ce5
push dword [ebp - 0x230]
call esi
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret
Function at 0x100494a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100494b9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100494f4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100494f0
lea ebx, [ebx]
cmp esi, edx
jae 0x100494f4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x100494e0
cmp esi, edx
jb 0x100494fb
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1004ed30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011f1e8
mov eax, dword fs:[0]
push eax
push ebx
mov eax, dword [0x10165034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.1004eda0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
cmp dword [ebp + 0x1c], 8
jb 0x1004ed8b
push dword [ebp + 8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100545f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [edi], 0
cmp dword [0x10165ce8], 0
je 0x10054647
mov eax, dword [0x1016a548]
test eax, eax
je 0x10054620
push eax
call dword [0x10165d40]
add esp, 4
lea edx, [ebp - 4]
mov ecx, 0x14
call fcn.10051c80
mov eax, dword [0x1016a548]
test eax, eax
je 0x10054642
push eax
call dword [0x10165d48]
mov esi, dword [ebp - 4]
jmp 0x10054651
mov esi, dword [ebp - 4]
jmp 0x10054654
push 0x14
call dword [0x10165d10]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10054662
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x10165cec], 0
mov ebx, dword [ebp + 8]
je 0x100546ad
mov eax, dword [0x10165df0]
test eax, eax
je 0x10054685
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x100546ad
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x100545c0
push 0
push 0
mov dword [esi + 0xc], ebx
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x100546bb
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x100546d4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp - 8]
add esp, 4
mov dword [esi + 0x10], eax
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10075630
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
mov ecx, ebx
call fcn.100683b0
mov edi, dword [ebx + 0x18]
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x1c], eax
movsx eax, byte [ebx + 0x44]
mov dword [ebp - 0x14], esi
mov esi, dword [ebx + 0x1c]
mov eax, dword [ebx + eax*4 + 0x78]
mov ecx, dword [eax + 0x3c]
movzx eax, word [ebx + 0x20]
sub ecx, edi
cmp eax, ecx
cmovb ecx, eax
cmp esi, ecx
ja 0x10075681
mov eax, 0x1010
mov dword [ebp - 0x24], edi
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x28], esi
jmp 0x100756a0
lea eax, [ebp - 0x34]
xor edx, edx
push eax
push esi
mov ecx, ebx
call fcn.10070590
add esp, 8
test eax, eax
jne 0x10075761
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov al, byte [edi]
cmp al, 0x80
jae 0x100756ab
movzx ebx, al
jmp 0x100756b8
lea edx, [ebp - 8]
mov ecx, edi
call fcn.10055fe0
mov ebx, dword [ebp - 8]
cmp ebx, 3
jb 0x10075727
cmp ebx, esi
jg 0x10075727
lea ecx, [edi - 1]
add ecx, ebx
mov al, byte [ecx]
cmp al, 0x80
jae 0x100756d1
movzx edx, al
jmp 0x100756dc
lea edx, [ebp - 8]
call fcn.10055fe0
mov edx, dword [ebp - 8]
lea eax, [edx - 1]
cmp eax, 8
ja 0x10075727
cmp edx, 7
je 0x10075727
movzx ecx, byte [edx + 0x1013a940]
lea eax, [ecx + ebx]
cmp esi, eax
jb 0x10075727
sub esi, ecx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [edi + esi]
call fcn.10074450
mov ecx, dword [ebp + 8]
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x58]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x34]
call fcn.1006fc70
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [ebp - 0x2c], 0x2460
jne 0x10075736
cmp dword [ebp - 0x1c], 0
je 0x1007573e
lea ecx, [ebp - 0x34]
call fcn.1006fbd0
push 0x1014f644
push 0x12800
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100543e0
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1008f6b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ecx + 0x14]
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
jmp 0x1008f6d0
xor edi, edi
test eax, eax
jle 0x1008f75d
lea ebx, [ebx]
mov ecx, edi
cmp edi, 2
jge 0x1008f6ef
xor ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x1008f6f2
mov dword [ebp - 0xc], edi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1008f7a6
mov bl, byte [esi]
mov edx, ecx
mov ecx, dword [ebp - 8]
add edx, edx
mov eax, esi
mov ecx, dword [ecx + 0x10]
mov edx, dword [ecx + edx*8]
movzx ecx, bl
movzx esi, byte [ecx + 0x10139a20]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x10139a20]
sub esi, ecx
jne 0x1008f754
sub edx, eax
mov dword [ebp - 0x14], edx
jmp 0x1008f730
test bl, bl
je 0x1008f79f
movzx ecx, byte [edx + eax + 1]
inc eax
movzx edx, byte [ecx + 0x10139a20]
mov bl, byte [eax]
movzx ecx, bl
movzx esi, byte [ecx + 0x10139a20]
sub esi, edx
mov edx, dword [ebp - 0x14]
je 0x1008f730
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp - 0x10]
jl 0x1008f6e0
mov dl, byte [ebx]
movzx eax, dl
movzx eax, byte [eax + 0x10139a20]
sub eax, 0x73
jne 0x1008f796
mov esi, str.sqlite_master
sub esi, ebx
test dl, dl
je 0x1008f7d3
movzx eax, byte [esi + ebx + 1]
inc ebx
movzx ecx, byte [eax + 0x10139a20]
mov dl, byte [ebx]
movzx eax, dl
movzx eax, byte [eax + 0x10139a20]
sub eax, ecx
je 0x1008f775
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x1008f754
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
add ecx, ecx
mov edx, ebx
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 8
call fcn.10056900
add esp, 4
test eax, eax
je 0x1008f757
mov eax, dword [eax + 8]
test eax, eax
jne 0x1008f798
jmp 0x1008f757
mov eax, dword [ebp - 8]
mov edi, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x10]
test edi, edi
jne 0x1008f7e9
neg edx
sbb edx, edx
jmp 0x1008f833
test edx, edx
je 0x1008f796
movzx eax, byte [edx]
mov esi, edi
mov bl, byte [edi]
movzx ecx, byte [eax + 0x10139a20]
movzx eax, bl
movzx eax, byte [eax + 0x10139a20]
sub eax, ecx
jne 0x1008f831
sub edx, edi
jmp 0x1008f810
test bl, bl
je 0x1008f831
movzx eax, byte [edx + esi + 1]
inc esi
movzx ecx, byte [eax + 0x10139a20]
mov bl, byte [esi]
movzx eax, bl
movzx eax, byte [eax + 0x10139a20]
sub eax, ecx
je 0x1008f810
mov edx, eax
test edx, edx
jne 0x1008f796
mov eax, dword [ebp - 0x10]
mov ebx, str.sqlite_temp_master
mov dword [ebp - 4], ebx
jmp 0x1008f6d0
Function at 0x1008fa00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
mov dword [ebp - 0xc], edx
xor eax, eax
mov edx, dword [ecx + 0x14]
xor edi, edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], edx
test edx, edx
jle 0x1008fabb
mov edx, dword [ecx + 0x10]
push ebx
mov dword [ebp - 0x14], edx
push esi
mov eax, edi
cmp edi, 2
jge 0x1008fa31
xor eax, 1
shl eax, 4
mov ecx, dword [eax + edx + 0xc]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1008fa96
mov ebx, dword [eax + edx]
mov esi, ecx
mov al, byte [ecx]
movzx ecx, byte [ebx]
movzx edx, byte [ecx + 0x10139a20]
movzx ecx, al
movzx ecx, byte [ecx + 0x10139a20]
sub ecx, edx
jne 0x1008fa84
sub ebx, esi
test al, al
je 0x1008fa92
movzx ecx, byte [ebx + esi + 1]
inc esi
movzx edx, byte [ecx + 0x10139a20]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x10139a20]
sub ecx, edx
je 0x1008fa63
mov eax, dword [ebp - 4]
inc edi
cmp edi, dword [ebp - 0x10]
jge 0x1008fab9
mov edx, dword [ebp - 0x14]
jmp 0x1008fa27
test ecx, ecx
jne 0x1008fa84
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
add ecx, 0x18
push eax
call fcn.10056900
add esp, 4
test eax, eax
je 0x1008fac0
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
je 0x1008fa87
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x1008fa87
Function at 0x100cab20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, ecx
mov dword [ebp - 8], edx
test edi, edi
jne 0x100cab37
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push 2
push 0
push edi
call dword [sym.imp.MSVCR120.dll_fseek]
push edi
call dword [sym.imp.MSVCR120.dll_ftell]
push edi
mov ebx, eax
call dword [sym.imp.MSVCR120.dll_rewind]
add esp, 0x14
test ebx, ebx
jne 0x100cab6c
push edi
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push esi
lea esi, [ebx + 1]
push esi
call dword [sym.imp.MSVCR120.dll_malloc]
push esi
push 0
push eax
mov dword [ebp - 4], eax
call sub.MSVCR120.dll_memset
mov esi, dword [ebp - 4]
push edi
push ebx
push 1
push esi
call dword [sym.imp.MSVCR120.dll_fread]
push edi
call dword [sym.imp.MSVCR120.dll_fclose]
mov eax, dword [ebp - 8]
add esp, 0x24
test eax, eax
je 0x100caba4
mov dword [eax], ebx
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100ce0d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011f5c6
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x444], 0
push str.C:Program_Files__x86_Windows_Assistant_AppMVConfiguration.ini
lea ecx, [ebp - 0x428]
call fcn.10007fa0
mov dword [ebp - 4], 0
mov byte [ebp - 0x410], 0
push 0x3ff
push 0
lea eax, [ebp - 0x40f]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x428]
call fcn.10006d10
push eax
push 0x400
lea ecx, [ebp - 0x410]
push ecx
push 0
push str.UniquePC
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x410]
push edx
lea ecx, [ebp - 0x440]
call fcn.10007fa0
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44c], esp
lea eax, [ebp - 0x440]
push eax
call fcn.10007d30
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp + 8]
call fcn.1004e1b0
add esp, 0x18
mov dword [ebp - 0x448], eax
mov ecx, dword [ebp - 0x444]
or ecx, 1
mov dword [ebp - 0x444], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.10008000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.10008000
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret