joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10119620
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10195527
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101f62b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
lea edi, [ebx + 0x34]
mov byte [ebp - 4], 3
lea ecx, [edi + 4]
mov dword [ebp - 0x10], edi
call fcn.10148f20
mov dword [edi], vtable.CryptoPP::Integer.0
mov ecx, 8
mov dword [edi + 8], 2
call fcn.10150740
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
lea edi, [ebx + 0x48]
mov byte [ebp - 4], 5
lea ecx, [edi + 4]
mov dword [ebp - 0x10], edi
call fcn.10148f20
mov dword [edi], vtable.CryptoPP::Integer.0
mov ecx, 8
mov dword [edi + 8], 2
call fcn.10150740
mov dword [edi + 0xc], eax
mov ecx, eax
mov dword [edi + 0x10], 0
mov eax, ebx
mov dword [ecx + 4], 0
mov ecx, dword [edi + 0xc]
mov dword [ecx], 0
mov byte [ebx + 0x5c], 1
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 0x1011a160
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101955eb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x101f62b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0xcc], ecx
mov esi, dword [ebx + 0x10]
push 0x11
mov dword [esi], 0x10
call fcn.1015cb13
add esp, 4
mov dword [edi], eax
mov ecx, dword [esi]
inc ecx
push ecx
push 0
push eax
call fcn.10160390
add esp, 0xc
lea eax, [ebp - 0xc8]
push 0xb0
push 0
push eax
call fcn.10160390
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x6c], eax
add esp, 0xc
lea eax, [ebp - 0x68]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x70], 0x10
mov byte [ebp - 0x77], 1
mov dword [ebp - 0x20], 0x10
mov byte [ebp - 0x27], 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x68], 0x67452301
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov dword [ebp - 0xc8], vtable.CryptoPP::Weak1::MD5.0
push dword [ebx + 8]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc8]
push dword [ebp - 0xcc]
mov esi, dword [edi]
call fcn.101518b0
mov eax, dword [ebp - 0xc8]
push esi
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x1019a4f8]
lea ecx, [ebp - 0xc8]
call esi
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x68]
cmp edi, eax
jne 0x1011a28a
mov ecx, dword [ebp - 0x20]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x6c]
lea eax, [ebp - 0xb8]
cmp edi, eax
jne 0x1011a29e
mov ecx, dword [ebp - 0x70]
xor eax, eax
rep stosd dword es:[edi], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1015c7a5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x1011c090
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
call fcn.10119620
mov byte [esi + 0xb1], 1
lea eax, [esi + 0x70]
mov dword [eax + 0x48], 0x10
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [eax + 0x4c], eax
lea eax, [esi + 0xc0]
mov byte [eax + 0x41], 1
mov dword [eax + 0x48], 0x10
mov dword [eax + 0x4c], eax
mov eax, dword [esi + 0x10c]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov eax, esi
mov dword [esi + 0x60], vtable.CryptoPP::SHA1.0
mov dword [esi], vtable.CryptoPP::PK_MessageAccumulatorImpl_class_CryptoPP::SHA1_.0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1011dab0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10195a28
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x101f62b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [edi + 0x18]
mov dword [ebp - 4], eax
push 0x40
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.1015c7bb
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
xor eax, eax
mov word [edi + 0x20], ax
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1011db90
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x101f62b4]
xor eax, esp
mov dword [esp + 8], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [ebx + 0x8c], 1
jne 0x1011dc32
xor eax, eax
cmp dword [ebx + 0x60], 8
mov word [esp + 0xc], ax
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x4c]
jb 0x1011dbcb
mov eax, dword [eax]
push 0x101ddbfc
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1016da20
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x1011dc32
push eax
push 2
lea eax, [esp + 0x14]
push 1
push eax
call fcn.1016e3ac
push dword [esp + 0x20]
call fcn.1016d82f
mov ax, word [esp + 0x20]
add esp, 0x14
cmp al, 0xff
jne 0x1011dc0f
cmp ah, 0xfe
je 0x1011dc32
cmp ah, 0xff
jne 0x1011dc18
cmp al, 0xfe
je 0x1011dc32
mov eax, dword [edi]
test eax, eax
je 0x1011dc2b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
mov ecx, ebx
call fcn.10120110
lea esi, [ebx + 0x4c]
push ecx
mov ecx, esi
call fcn.10109e70
add esp, 4
test eax, eax
je 0x1011dc61
cmp eax, 1
jne 0x1011dcb3
push 0
mov dl, al
mov ecx, esi
call fcn.100ff240
add esp, 4
test al, al
je 0x1011dcb3
mov dword [edi], 0xffffffff
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1011dc6b
mov eax, dword [esi]
push 0
push 0x200080
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x1011dd0a
cmp dword [esi + 0x14], 8
jb 0x1011dc93
mov esi, dword [esi]
push 0
push 0x200080
push 1
push 0
push 3
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x1011dcc9
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.1015c7a5
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 0x8c], 1
push 0
jne 0x1011dceb
mov ecx, 0xfeff
mov word [esp + 0x10], cx
lea ecx, [esp + 0x14]
push ecx
push 2
lea ecx, [esp + 0x18]
jmp 0x1011dd02
lea ecx, [esp + 0x14]
mov word [esp + 0x10], 0xbbef
push ecx
mov byte [esp + 0x16], 0xbf
lea ecx, [esp + 0x14]
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x14]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1015c7a5
mov esp, ebp
pop ebp
ret 4
Function at 0x1011e2a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x101f62b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1011e2c0
push 2
push 0
push 0
push dword [ebx + 0x68]
sub esi, ecx
sar esi, 1
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
add esi, esi
push esi
push edi
push dword [ebx + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 4
push 0x101d2710
push dword [ebx + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1015c7a5
mov esp, ebp
pop ebp
ret 4

Function at 0x1011e330
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x101f62b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ebx
push edi
mov edi, ecx
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x1011e350
push 2
push 0
push 0
push dword [edi + 0x68]
sub esi, ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push esi
push ebx
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 2
push 0x101ddc24
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1015c7a5
mov esp, ebp
pop ebp
ret 4
Function at 0x10126900
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.1015def0
mov eax, dword [0x101f62b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, edx
mov edi, ecx
push ecx
mov ecx, esi
call fcn.10109e70
add esp, 4
test eax, eax
je 0x10126955
cmp eax, 2
je 0x10126943
push 0
mov dl, 1
mov ecx, esi
call fcn.100ff240
add esp, 4
test al, al
jne 0x10126955
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1015c7a5
mov esp, ebp
pop ebp
ret
push ebx
xor ebx, ebx
cmp dword [edi + 0x14], 8
jb 0x10126960
mov edi, dword [edi]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esi + 0x14], 8
mov edi, eax
jb 0x10126983
mov esi, dword [esi]
push 0
push 0x200080
push 4
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x101269c0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1015c7a5
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x2008]
push eax
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101269ff
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 0x2008]
lea eax, [ebp - 0x2004]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x10126a07
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [ebp - 0x2008], 0x1000
je 0x101269c0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
test ebx, ebx
pop ebx
sete al
xor ecx, ebp
pop edi
pop esi
call fcn.1015c7a5
mov esp, ebp
pop ebp
ret
Function at 0x10132860
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 8
mov edi, ecx
call fcn.1015c7bb
add esp, 4
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 4], esi
push 0
push 0
push esi
push 0x101553b0
push 0
movq qword [esi], xmm0
push 0
mov dword [esi], 0x10133460
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x101328b7
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.1015cb05
add esp, 8
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x29c], eax
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1013a8e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10197588
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101f62b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x1019a4f8]
mov ecx, ebx
call esi
mov esi, eax
mov dword [ebp - 0x10], esi
push dword [ebp + 0x14]
mov dword [ebp - 4], 0
mov edi, dword [ebx]
push dword [ebp + 0x10]
push esi
mov edi, dword [edi + 0x28]
mov ecx, edi
call dword [0x1019a4f8]
mov ecx, ebx
call edi
mov eax, dword [esi]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x1019a4f8]
mov ecx, esi
call edi
mov eax, dword [ebx]
push esi
mov edi, dword [eax + 0x30]
mov ecx, edi
call dword [0x1019a4f8]
mov ecx, ebx
call edi
mov bl, al
mov dword [ebp - 4], 1
mov ecx, dword [esi]
push 1
mov edi, dword [ecx]
mov ecx, edi
call dword [0x1019a4f8]
mov ecx, esi
call edi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10150360
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
mov ebx, edx
mov edx, esi
mov dword [esp + 0xc], ebx
shr edx, 2
xor ebp, ebp
mov dword [esp + 0x10], edx
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
test edx, edx
je 0x10150442
cmp edx, 0x10
jb 0x1015041a
lea eax, [ebx - 4]
lea eax, [eax + edx*4]
lea ecx, [edi - 4]
lea ecx, [ecx + edx*4]
cmp edi, eax
ja 0x101503a7
cmp ecx, ebx
jae 0x1015041a
mov eax, edx
lea ecx, [ebx + 0x30]
and eax, 0xfffffff0
mov esi, ebx
sub esi, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
lea eax, [edi + 0x10]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
movups xmm0, xmmword [eax - 0x10]
add ebp, 0x10
lea eax, [eax + 0x40]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [ecx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ebp, dword [esp + 0x20]
jb 0x101503c6
mov edx, dword [esp + 0x14]
cmp ebp, edx
jae 0x10150442
mov esi, ebx
lea ecx, [edi + ebp*4]
sub esi, edi
sub edx, ebp
mov ebp, dword [esp + 0x14]
nop dword [eax + eax]
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
sub edx, 1
jne 0x10150430
mov esi, dword [esp + 0x28]
shl ebp, 2
sub esi, ebp
mov dword [esp + 0x28], esi
je 0x10150502
add edi, ebp
add ebx, ebp
xor ecx, ecx
test esi, esi
je 0x10150502
cmp esi, 0x40
jb 0x101504e3
lea eax, [ebx - 1]
lea edx, [edi - 1]
add eax, esi
add edx, esi
cmp edi, eax
ja 0x10150476
cmp edx, ebx
jae 0x101504e3
mov ebp, esi
lea eax, [edi + 0x10]
mov esi, dword [esp + 0x10]
and ebp, 0xffffffc0
add ebx, 0x30
sub esi, dword [esp + 0x18]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
movups xmm0, xmmword [eax - 0x10]
add ecx, 0x40
lea ebx, [ebx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ebx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ebx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [ebx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ecx, ebp
jb 0x10150495
mov edx, dword [esp + 0x10]
cmp ecx, esi
jae 0x10150502
sub edx, dword [esp + 0x18]
lea eax, [ecx + edi]
sub esi, ecx
mov cl, byte [edx + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub esi, 1
jne 0x101504f4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x10150510
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ebp, edx
mov eax, esi
mov dword [esp + 0x10], ebp
shr eax, 2
xor ebx, ebx
xor edx, edx
mov dword [esp + 0xc], eax
push edi
mov edi, ecx
test eax, eax
je 0x101505ce
cmp eax, 8
jb 0x1015059f
mov ecx, eax
mov ebx, edi
and ecx, 0xfffffff8
lea eax, [ebp + 0x10]
xorps xmm3, xmm3
xorps xmm2, xmm2
sub ebx, ebp
nop
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [edi + edx*4]
add edx, 8
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [ebx + eax - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp edx, ecx
jb 0x10150550
mov eax, dword [esp + 0x10]
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd ebx, xmm2
cmp edx, eax
jae 0x101505ce
lea ecx, [edx*4]
mov esi, edi
add ecx, ebp
sub esi, ebp
mov ebp, eax
sub ebp, edx
mov edx, eax
mov eax, dword [ecx + esi]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
or ebx, eax
sub ebp, 1
jne 0x101505b6
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
shl edx, 2
sub esi, edx
mov dword [esp + 0x1c], esi
jne 0x101505e6
pop edi
pop esi
test ebx, ebx
pop ebp
sete al
pop ebx
add esp, 8
ret
add edi, edx
add ebp, edx
mov edx, ebx
mov eax, ebx
shr edx, 0x18
shr eax, 0x10
or dl, al
mov eax, ebx
shr eax, 8
or dl, al
or dl, bl
xor ebx, ebx
mov dword [esp + 0x14], edx
test esi, esi
je 0x101506c0
cmp esi, 0x20
jb 0x1015069d
mov ecx, esi
lea eax, [ebp + 0x10]
mov edx, edi
and ecx, 0xffffffe0
sub edx, ebp
xorps xmm3, xmm3
mov dword [esp + 0x10], edx
xorps xmm2, xmm2
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ebx + edi]
add ebx, 0x20
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [eax + esi - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp ebx, ecx
jb 0x10150634
por xmm2, xmm3
mov esi, dword [esp + 0x1c]
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd eax, xmm2
or dl, al
cmp ebx, esi
jae 0x101506c0
sub edi, ebp
lea ecx, [ebx + ebp]
sub esi, ebx
nop dword [eax + eax]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
or dl, al
sub esi, 1
jne 0x101506b0
pop edi
pop esi
test dl, dl
pop ebp
sete al
pop ebx
add esp, 8
ret
Function at 0x10152d60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10198209
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101f62b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0
lea esi, [eax + 4]
mov dword [ebp - 0x1c], eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
call fcn.10148f20
mov eax, dword [ebp - 0x10]
mov ecx, 8
mov dword [eax], vtable.CryptoPP::Integer.0
mov dword [esi + 4], 2
call fcn.10150740
mov ecx, dword [ebp - 0x10]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [ecx + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [ecx + 0xc]
mov dword [eax], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0
push 1
push edi
mov edx, dword [edx]
push ebx
push ecx
mov dword [ebp - 0x18], 1
mov esi, dword [edx + 0x30]
mov ecx, esi
call dword [0x1019a4f8]
mov ecx, dword [ebp - 0x14]
call esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1015905f
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x101590a6
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x101590a6
mov eax, dword [ebp + 0xc]
test eax, eax
js 0x101590a6
cmp eax, 3
jle 0x10159093
cmp eax, 4
jne 0x101590a6
push str.SELECT_DISTINCT_PayloadID_FROM_payloads_ORDER_BY_installTime
push edx
push dword [ecx]
call fcn.1015a283
add esp, 0xc
pop ebp
ret
push eax
push str.SELECT_DISTINCT_PayloadID_FROM_payloads_WHERE_installState___d_ORDER_BY_installTime
push edx
push dword [ecx]
call fcn.1015a283
add esp, 0x10
pop ebp
ret
push 0xa
pop eax
pop ebp
ret

Function at 0x1015944e
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x240
mov eax, 0x1019880b
call fcn.1015d2fd
mov esi, dword [ebp + 8]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x21c], 7
mov bl, cl
mov dword [ebp - 0x220], ecx
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], ecx
push eax
push ecx
push ecx
push 0x2b
push ecx
mov dword [ebp - 0x24c], ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
lea eax, [ebp - 0x218]
push eax
js 0x101594f3
push dword [ebp - 0x24c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x101594e3
cmp word [ebp - 0x218], 0
jne 0x101594c1
xor eax, eax
jmp 0x101594ce
lea eax, [ebp - 0x218]
push eax
call fcn.1016dbab
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.10158f59
mov bl, 1
push dword [ebp - 0x24c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor edi, edi
jmp 0x10159533
xor edi, edi
push edi
push edi
push 0x2b
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x10159533
cmp word [ebp - 0x218], di
jne 0x10159511
mov eax, edi
jmp 0x1015951e
lea eax, [ebp - 0x218]
push eax
call fcn.1016dbab
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.10158f59
mov bl, 1
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x101595a9
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x10159569
lea eax, [ecx - 1]
push edi
push eax
lea ecx, [ebp - 0x230]
call fcn.101007e0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.1015a6ba
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.10109840
push edi
push 1
lea ecx, [ebp - 0x248]
call fcn.10158c94
mov edi, 0x1019c2b8
push edi
call fcn.1016df70
pop ecx
push eax
push edi
mov ecx, esi
call fcn.10158e3c
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.10158ce9
mov al, bl
call fcn.1015d2b8
ret
Function at 0x101595c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x101f62b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1015a602
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
pop ecx
cmovae eax, dword [ebp - 0x1c]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x101595ff
test al, 0x10
jbe 0x101595ff
mov bl, 1
jmp 0x10159601
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.10158ce9
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.1015c7a5
mov esp, ebp
pop ebp
ret

Function at 0x101597b2
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x101f62b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1015a602
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
pop ecx
cmovae eax, dword [ebp - 0x1c]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
push 1
lea ecx, [ebp - 0x1c]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.10158ce9
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.1015c7a5
mov esp, ebp
pop ebp
ret
Function at 0x1017f30c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1017efbd

Function at 0x1017f317
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1017f147