joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005ab60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push 6
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1005abaf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ShowWindow_hwnd__SW_MINIMIZE__error___d
push 3
push 0xb4
push 0x10173858
push 0x10173888
call fcn.10145f00
add esp, 0x18
jmp 0x1005ac3b
push 1
call fcn.1005a9a0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1005abe9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetMinAnimateStyle_1__error___d
push 3
push 0xbb
push 0x101738d0
push 0x10173900
call fcn.10145f00
add esp, 0x18
jmp 0x1005ac3b
push 2
push 0xff
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1005ac2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetLayeredWindowAttributes_error___d
push 3
push 0xc2
push 0x1017394c
push str.CHwndShort::RestoreMininizeStyle
call fcn.10145f00
add esp, 0x18
jmp 0x1005ac3b
mov dword [ebp - 4], 1
xor edx, edx
jne 0x1005ab70
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x1005c150
Capabilities:
Create thread
Initialize winsock library
Monitor local ipv4 address changes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x198], ecx
push str.Start_Location_Monitor.
push 1
push 0xcb
push 0x1017429c
push 0x101742d0
call fcn.10145f00
add esp, 0x14
mov dword [ebp - 0x19c], 0
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1005c1cc
push str.WSAStartup_failed.
push 1
push 0xd2
push 0x10174304
push 0x10174338
call fcn.10145f00
add esp, 0x14
xor al, al
jmp 0x1005c2f6
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x198]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x198]
cmp dword [edx + 0x14], 0
jne 0x1005c226
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateEvent_failed:_d
push 1
push 0xda
push 0x10174370
push 0x101743a4
call fcn.10145f00
add esp, 0x18
mov ecx, dword [ebp - 0x198]
call fcn.1005b9e0
xor al, al
jmp 0x1005c2f6
mov eax, dword [ebp - 0x198]
add eax, 4
push eax
push 0
call dword [sym.imp.IPHLPAPI.DLL_NotifyAddrChange]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0x3e5
je 0x1005c27e
mov ecx, dword [ebp - 0x1a0]
push ecx
push str.NotifyAddrChange_failed:__d
push 1
push 0xe3
push 0x101743e0
push 0x10174414
call fcn.10145f00
add esp, 0x18
mov ecx, dword [ebp - 0x198]
call fcn.1005b9e0
xor al, al
jmp 0x1005c2f6
push 0
push 0
mov edx, dword [ebp - 0x198]
push edx
push 0x1005c010
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
jne 0x1005c2db
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
call fcn.10145f00
add esp, 0x18
mov ecx, dword [ebp - 0x198]
call fcn.1005b9e0
xor al, al
jmp 0x1005c2f6
mov eax, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x19c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x198]
call fcn.1005c310
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret
Function at 0x1006f500
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 0
push 0x2c
push 0
lea eax, [ebp - 0x30]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x34], 0x30
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0x1006f4e0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], 0x10175784
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExW]
movzx eax, ax
test eax, eax
jne 0x1006f592
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x101757a0
push 3
push 0x39
push 0x101757e0
push 0x1017582c
call fcn.10146290
add esp, 0x18
xor al, al
jmp 0x1006f5f8
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
push 0
push 0
push 0x64
push 0x64
push 0x64
push 0x64
push 0xcf0000
push 0x10175840
push 0x1017585c
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x1006f5ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10175878
push 3
push 0x3f
push 0x101758b8
push str.CreateWnd
call fcn.10146290
add esp, 0x18
xor al, al
jmp 0x1006f5f8
push 0
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret
Function at 0x100743b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10159456
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x230]
call fcn.10003f70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x100744b0
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x270]
call fcn.10003d50
mov dword [ebp - 0x23c], eax
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x240], edx
mov byte [ebp - 4], 1
push str.InjectUwp.exe
mov eax, dword [ebp - 0x240]
push eax
lea ecx, [ebp - 0x258]
push ecx
call fcn.1000bd90
add esp, 0xc
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
push edx
lea ecx, [ebp - 0x230]
call fcn.10003480
lea ecx, [ebp - 0x258]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x270]
call fcn.10003e00
lea ecx, [ebp - 0x230]
call fcn.10002bf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100744d6
push str.C:Program_Files__x86_Windows_Assistant_AppMVInjectUwp.exe
lea ecx, [ebp - 0x230]
call fcn.10007da0
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10048ea0
add esp, 8
mov edx, dword [ebp - 0x234]
or edx, 1
mov dword [ebp - 0x234], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10003e00
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.101506bb
mov esp, ebp
pop ebp
ret
Function at 0x10074c90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x10074980
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xc], eax
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret

Function at 0x10075700
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 8]
call fcn.10002bf0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x10075762
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileW_error_:_d
push 3
push 0x3d
push 0x10176dc4
push 0x10176de4
call fcn.10145f00
add esp, 0x18
xor eax, eax
xor edx, edx
jmp 0x100757af
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1007579f
push str.GetFileSizeEx_error
push 3
push 0x45
push 0x10176e08
push str.getFileSize
call fcn.10145f00
add esp, 0x14
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
xor edx, edx
jmp 0x100757af
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret
Function at 0x100791f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10159b49
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x248]
call fcn.10003f70
mov byte [ebp - 4], 1
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x100792f0
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x294]
call fcn.10003d50
mov dword [ebp - 0x258], eax
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x250], edx
mov byte [ebp - 4], 2
push str._ffmpeg.exe
mov eax, dword [ebp - 0x250]
push eax
lea ecx, [ebp - 0x27c]
push ecx
call fcn.1000bd90
add esp, 0xc
mov dword [ebp - 0x254], eax
mov edx, dword [ebp - 0x254]
push edx
lea ecx, [ebp - 0x248]
call fcn.10003480
lea ecx, [ebp - 0x27c]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x294]
call fcn.10003e00
lea ecx, [ebp - 0x248]
call fcn.10002bf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10079316
push str.C:Program_Files__x86_Windows_Assistant_AppMV_ffmpeg.exe
lea ecx, [ebp - 0x248]
call fcn.10007da0
lea ecx, [ebp + 8]
call fcn.10002bf0
push eax
lea ecx, [ebp - 0x248]
call fcn.10002bf0
push eax
push str.__s___f_gdigrab__framerate_1__i_desktop__vframes_1__t_5__y___s_
lea eax, [ebp - 0x230]
push eax
call fcn.1007cf90
add esp, 0x10
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov edx, dword [ebp - 0x230]
mov dword [ecx], edx
mov eax, dword [ebp - 0x22c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x228]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x224]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x220]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x21c]
mov dword [ecx + 0x14], eax
push str.CScreenshort_Command___s
push 0
push 0x1c
push 0x10178c68
push str.CScreenshort::Save
call fcn.10146290
add esp, 0x2c
push 0x2710
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x260], esp
lea edx, [ebp - 0x230]
push edx
call fcn.10004030
mov dword [ebp - 0x264], eax
call fcn.100ff510
add esp, 0x20
mov byte [ebp - 0x24a], al
mov al, byte [ebp - 0x24a]
mov byte [ebp - 0x24b], al
mov cl, byte [ebp - 0x24b]
mov byte [ebp - 0x249], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10003e00
mov al, byte [ebp - 0x249]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10083400
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 [0x101ad378], 0
je 0x10083457
mov eax, dword [0x101b24c8]
test eax, eax
je 0x10083430
push eax
call dword [0x101ad3d0]
add esp, 4
lea edx, [ebp - 4]
mov ecx, 0x14
call fcn.10080aa0
mov eax, dword [0x101b24c8]
test eax, eax
je 0x10083452
push eax
call dword [0x101ad3d8]
mov esi, dword [ebp - 4]
jmp 0x10083461
mov esi, dword [ebp - 4]
jmp 0x10083464
push 0x14
call dword [0x101ad3a0]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10083472
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x101ad37c], 0
mov ebx, dword [ebp + 8]
je 0x100834bd
mov eax, dword [0x101ad480]
test eax, eax
je 0x10083495
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x100834bd
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x100833d0
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 0x100834cb
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x100834e4
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 0x100a4460
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.100971e0
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 0x100a44b1
mov eax, 0x1010
mov dword [ebp - 0x24], edi
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x28], esi
jmp 0x100a44d0
lea eax, [ebp - 0x34]
xor edx, edx
push eax
push esi
mov ecx, ebx
call fcn.1009f3c0
add esp, 8
test eax, eax
jne 0x100a4591
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov al, byte [edi]
cmp al, 0x80
jae 0x100a44db
movzx ebx, al
jmp 0x100a44e8
lea edx, [ebp - 8]
mov ecx, edi
call fcn.10084df0
mov ebx, dword [ebp - 8]
cmp ebx, 3
jb 0x100a4557
cmp ebx, esi
jg 0x100a4557
lea ecx, [edi - 1]
add ecx, ebx
mov al, byte [ecx]
cmp al, 0x80
jae 0x100a4501
movzx edx, al
jmp 0x100a450c
lea edx, [ebp - 8]
call fcn.10084df0
mov edx, dword [ebp - 8]
lea eax, [edx - 1]
cmp eax, 8
ja 0x100a4557
cmp edx, 7
je 0x100a4557
movzx ecx, byte [edx + 0x1017ac20]
lea eax, [ecx + ebx]
cmp esi, eax
jb 0x100a4557
sub esi, ecx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [edi + esi]
call fcn.100a3280
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.1009eaa0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [ebp - 0x2c], 0x2460
jne 0x100a4566
cmp dword [ebp - 0x1c], 0
je 0x100a456e
lea ecx, [ebp - 0x34]
call fcn.1009ea00
push 0x10192844
push 0x12800
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100831f0
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100be4d0
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 0x100be4f0
xor edi, edi
test eax, eax
jle 0x100be57d
lea ebx, [ebx]
mov ecx, edi
cmp edi, 2
jge 0x100be50f
xor ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x100be512
mov dword [ebp - 0xc], edi
mov esi, dword [ebp + 8]
test esi, esi
je 0x100be5c6
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 + 0x10179d30]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x10179d30]
sub esi, ecx
jne 0x100be574
sub edx, eax
mov dword [ebp - 0x14], edx
jmp 0x100be550
test bl, bl
je 0x100be5bf
movzx ecx, byte [edx + eax + 1]
inc eax
movzx edx, byte [ecx + 0x10179d30]
mov bl, byte [eax]
movzx ecx, bl
movzx esi, byte [ecx + 0x10179d30]
sub esi, edx
mov edx, dword [ebp - 0x14]
je 0x100be550
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp - 0x10]
jl 0x100be500
mov dl, byte [ebx]
movzx eax, dl
movzx eax, byte [eax + 0x10179d30]
sub eax, 0x73
jne 0x100be5b6
mov esi, str.sqlite_master
sub esi, ebx
test dl, dl
je 0x100be5f3
movzx eax, byte [esi + ebx + 1]
inc ebx
movzx ecx, byte [eax + 0x10179d30]
mov dl, byte [ebx]
movzx eax, dl
movzx eax, byte [eax + 0x10179d30]
sub eax, ecx
je 0x100be595
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x100be574
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.10085710
add esp, 4
test eax, eax
je 0x100be577
mov eax, dword [eax + 8]
test eax, eax
jne 0x100be5b8
jmp 0x100be577
mov eax, dword [ebp - 8]
mov edi, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x10]
test edi, edi
jne 0x100be609
neg edx
sbb edx, edx
jmp 0x100be653
test edx, edx
je 0x100be5b6
movzx eax, byte [edx]
mov esi, edi
mov bl, byte [edi]
movzx ecx, byte [eax + 0x10179d30]
movzx eax, bl
movzx eax, byte [eax + 0x10179d30]
sub eax, ecx
jne 0x100be651
sub edx, edi
jmp 0x100be630
test bl, bl
je 0x100be651
movzx eax, byte [edx + esi + 1]
inc esi
movzx ecx, byte [eax + 0x10179d30]
mov bl, byte [esi]
movzx eax, bl
movzx eax, byte [eax + 0x10179d30]
sub eax, ecx
je 0x100be630
mov edx, eax
test edx, edx
jne 0x100be5b6
mov eax, dword [ebp - 0x10]
mov ebx, str.sqlite_temp_master
mov dword [ebp - 4], ebx
jmp 0x100be4f0
Function at 0x100be820
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 0x100be8db
mov edx, dword [ecx + 0x10]
push ebx
mov dword [ebp - 0x14], edx
push esi
mov eax, edi
cmp edi, 2
jge 0x100be851
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 0x100be8b6
mov ebx, dword [eax + edx]
mov esi, ecx
mov al, byte [ecx]
movzx ecx, byte [ebx]
movzx edx, byte [ecx + 0x10179d30]
movzx ecx, al
movzx ecx, byte [ecx + 0x10179d30]
sub ecx, edx
jne 0x100be8a4
sub ebx, esi
test al, al
je 0x100be8b2
movzx ecx, byte [ebx + esi + 1]
inc esi
movzx edx, byte [ecx + 0x10179d30]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x10179d30]
sub ecx, edx
je 0x100be883
mov eax, dword [ebp - 4]
inc edi
cmp edi, dword [ebp - 0x10]
jge 0x100be8d9
mov edx, dword [ebp - 0x14]
jmp 0x100be847
test ecx, ecx
jne 0x100be8a4
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
add ecx, 0x18
push eax
call fcn.10085710
add esp, 4
test eax, eax
je 0x100be8e0
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
je 0x100be8a7
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x100be8a7
Function at 0x100f96c0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015a428
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101ac034]
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
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.1007dd50
lea ecx, [ebp + 8]
call fcn.10002000
test eax, eax
jle 0x100f9871
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.10004030
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.1007dc20
lea ecx, [ebp - 0x40]
call fcn.10002bf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
setne bl
call fcn.10003e00
test bl, bl
jne 0x100f9868
push 0x1018dbb4
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000bcd0
add esp, 0xc
lea ecx, [ebp + 8]
push eax
call fcn.10003480
lea ecx, [ebp - 0x28]
call fcn.10003e00
lea ecx, [ebp + 8]
call fcn.1007dc20
lea ecx, [ebp + 8]
mov esi, 1
call fcn.10002000
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, esi
jbe 0x100f9823
lea ecx, [ebp + 8]
cmp dword [ebp + 0x18], esi
jbe 0x100f986c
call fcn.100037c0
cmp word [eax + esi*2], 0x5c
lea eax, [eax + esi*2]
jne 0x100f9812
push esi
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.10018a50
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x40]
call fcn.10004030
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.1007dc20
lea ecx, [ebp - 0x40]
call fcn.10002bf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp - 0x40]
setne bl
call fcn.10003e00
test bl, bl
jne 0x100f9806
push 0
lea ecx, [ebp - 0x28]
call fcn.10002bf0
push eax
call edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10003e00
lea ecx, [ebp + 8]
inc esi
call fcn.10002000
cmp esi, eax
jb 0x100f9793
push 0
lea ecx, [ebp + 8]
call fcn.10002bf0
push eax
call edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.10004030
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.1007dc20
lea ecx, [ebp - 0x28]
call fcn.10002bf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp - 0x28]
setne bl
call fcn.10003e00
test bl, bl
je 0x100f9871
mov bl, 1
jmp 0x100f9873
call fcn.10002050
xor bl, bl
lea ecx, [ebp + 8]
call fcn.10003e00
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 - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret
Function at 0x100f98a0
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 0x100f98b7
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 0x100f98ec
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 0x100f9924
mov dword [eax], ebx
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100fd8b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015a896
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x101ac034]
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.100029e0
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.10001f00
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.100029e0
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44c], esp
lea eax, [ebp - 0x440]
push eax
call fcn.1000d6d0
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp + 8]
call fcn.1007d170
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.10001f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.10001f50
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.101506bb
mov esp, ebp
pop ebp
ret