joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f660
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542237
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x161d0
call fcn.004c70e0
mov eax, dword [0x57906c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0xec04], esi
mov dword [ebp - 0xec08], esi
mov dword [ebp - 0xec00], 0
push ecx
lea ecx, [ebp - 0x24]
call fcn.00407810
mov dword [ebp - 4], 1
push 0x75d0
lea eax, [ebp - 0x161e0]
push eax
call fcn.0040eec0
add esp, 4
push eax
lea eax, [ebp - 0x762c]
push eax
call fcn.00516430
push 0x75d0
lea eax, [ebp - 0x762c]
push eax
lea eax, [ebp - 0xebfc]
push eax
call fcn.00516430
add esp, 8
mov dword [ebp - 0xec04], esp
mov ecx, esp
mov byte [ecx], 0
xorps xmm0, xmm0
movq qword [ecx + 8], xmm0
mov edx, 1
call fcn.0040e8f0
mov byte [ebp - 4], 2
push str.ctip
lea ecx, [ebp - 0x24]
call fcn.0040ac00
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004077a0
sub esp, 0x10
mov dword [ebp - 0xec04], esp
mov ecx, esp
mov byte [ecx], 0
xorps xmm0, xmm0
movq qword [ecx + 8], xmm0
xor edx, edx
call fcn.0040e8f0
mov byte [ebp - 4], 3
push str.kave
lea ecx, [ebp - 0x24]
call fcn.0040ac00
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004077a0
sub esp, 0x10
mov dword [ebp - 0xec04], esp
mov ecx, esp
mov byte [ecx], 0
xorps xmm0, xmm0
movq qword [ecx + 8], xmm0
mov edx, 1
call fcn.0040e8f0
mov byte [ebp - 4], 4
push 0x567a30
lea ecx, [ebp - 0x24]
call fcn.0040ac00
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004077a0
lea eax, [ebp - 0xcd84]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f8fa
mov byte [ebp - 4], 5
push 0xb8
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.00516f30
lea eax, [ebp - 0xcd84]
push eax
lea ecx, [ebp - 0x114]
call fcn.00411e50
mov byte [ebp - 4], 6
mov byte [ebp - 4], 7
sub esp, 0x10
mov dword [ebp - 0xec04], esp
mov ecx, esp
sub esp, 0x28
mov dword [ebp - 0xec0c], esp
mov eax, esp
mov dword [ebp - 0xec10], eax
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 8
mov byte [ebp - 4], 9
push 0
push 1
mov byte [ebp - 4], 7
lea edx, [ebp - 0x114]
call fcn.00413b10
add esp, 0x30
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.004077a0
mov dword [ebp - 4], 6
jmp 0x40f886
lea ecx, [ebp - 0x114]
call fcn.00411de0
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.00409c10
mov dword [ebp - 0xec00], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x114]
call fcn.0040f940
jmp 0x40f90f
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.00409c10
mov dword [ebp - 0xec00], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00407760
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
Function at 0x412340
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x41236b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00412cb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x41238d
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x41238f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x41242e
jg 0x4123ac
test esi, esi
je 0x41242e
test ecx, ecx
jl 0x4123f9
jg 0x4123b6
test eax, eax
je 0x4123f9
cmp ebx, ecx
jg 0x4123ca
jl 0x4123c0
cmp esi, eax
jae 0x4123ca
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.004043d0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x412400
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x41242e
jg 0x41240a
test esi, esi
je 0x41242e
cmp dword [edi + 0x4c], 0
je 0x41242e
mov ecx, edi
call fcn.00413440
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.005249fc
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
pop edi
pop esi
sbb edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x415090
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542f6f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x57906c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 1
lea esi, [edi + 0x10]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 2
mov dword [esi + 0xc], 0
mov byte [ebp - 4], 4
lea eax, [edi + 0x20]
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 5
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 7
lea ebx, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x24], 0
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x415162
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov byte [ebp - 4], 9
lea ecx, [edi + 0x70]
mov al, byte [ebp + 0xc]
mov byte [edi + 0x60], al
push 9
mov byte [edi + 0x68], 9
call fcn.00408390
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xd]
push eax
mov ecx, esi
mov byte [ebp - 0xd], 1
call fcn.00415f10
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x4151b3
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov dword [ebp + 0x34], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x421080
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543da9
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x57906c]
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 esi, edx
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], edi
lea ecx, [ebp - 0x2c]
push 0x55faaf
mov dword [ebp - 0x38], 0
call fcn.00407c10
mov dword [ebp - 4], 1
push 0
push 0x80
push 3
push 0
push 7
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x30], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0xffffffff
je 0x4211bd
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xa00000
ja 0x4211b0
lea esi, [ebx + 1]
mov dword [ebp - 0x14], 0
push esi
call fcn.004c6794
add esp, 4
mov dword [ebp - 0x34], eax
push esi
push 0
push eax
call fcn.00516f30
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x14]
add esp, 0xc
push 0
push eax
push ebx
push dword [ebp - 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42119e
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x54]
push 1
push ebx
call fcn.004214e0
add esp, 8
mov ebx, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
cmp eax, ebx
je 0x421192
mov ecx, eax
call fcn.00407b50
push ebx
call fcn.0040b230
add esp, 4
mov byte [ebp - 0x30], 0
push dword [ebp - 0x30]
push eax
call fcn.0040b230
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
call fcn.004094d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00407b50
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x34]
call fcn.004c61be
add esp, 4
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00407ba0
jmp 0x4211c8
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00407ba0
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00407b50
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.004c61ad
mov esp, ebp
pop ebp
ret
Function at 0x421200
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543da9
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x57906c]
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 esi, edx
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], edi
lea ecx, [ebp - 0x2c]
push 0x55faaf
mov dword [ebp - 0x38], 0
call fcn.00407c10
mov dword [ebp - 4], 1
push 0
push 0x82
push 3
push 0
push 7
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x421334
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0x6400000
ja 0x421327
lea esi, [ebx + 1]
mov dword [ebp - 0x14], 0
push esi
call fcn.004c6794
add esp, 4
mov dword [ebp - 0x34], eax
push esi
push 0
push eax
call fcn.00516f30
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x14]
add esp, 0xc
push 0
push eax
push ebx
push dword [ebp - 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x421315
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x54]
push 2
push ebx
call fcn.004214e0
add esp, 8
mov ebx, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
cmp eax, ebx
je 0x421309
mov ecx, eax
call fcn.00407b50
push ebx
call fcn.0040b230
add esp, 4
mov byte [ebp - 0x30], 0
push dword [ebp - 0x30]
push eax
call fcn.0040b230
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
call fcn.004094d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00407b50
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x34]
call fcn.004c61be
add esp, 4
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00407ba0
jmp 0x42133f
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00407ba0
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00407b50
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.004c61ad
mov esp, ebp
pop ebp
ret
Function at 0x421370
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543da9
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x57906c]
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 esi, edx
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], edi
lea ecx, [ebp - 0x2c]
push 0x55faaf
mov dword [ebp - 0x38], 0
call fcn.00407c10
mov dword [ebp - 4], 1
push 0
push 0x82
push 3
push 0
push 7
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4214a4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0x6400000
ja 0x421497
lea esi, [ebx + 1]
mov dword [ebp - 0x14], 0
push esi
call fcn.004c6794
add esp, 4
mov dword [ebp - 0x34], eax
push esi
push 0
push eax
call fcn.00516f30
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x14]
add esp, 0xc
push 0
push eax
push ebx
push dword [ebp - 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x421485
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x54]
push 0
push ebx
call fcn.004214e0
add esp, 8
mov ebx, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
cmp eax, ebx
je 0x421479
mov ecx, eax
call fcn.00407b50
push ebx
call fcn.0040b230
add esp, 4
mov byte [ebp - 0x30], 0
push dword [ebp - 0x30]
push eax
call fcn.0040b230
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
call fcn.004094d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00407b50
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x34]
call fcn.004c61be
add esp, 4
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00407ba0
jmp 0x4214af
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00407ba0
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00407b50
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.004c61ad
mov esp, ebp
pop ebp
ret
Function at 0x426a40
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x57906c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
call edi
test eax, eax
jne 0x426ad9
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
push eax
push str.CryptAcquireContextW:__8x_n
call fcn.00403ee0
add esp, 8
push 8
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push esi
call edi
test eax, eax
jne 0x426ad6
call ebx
push eax
push str.CRYPT_NEWKEYSET:__8x_n
call fcn.00403ee0
add esp, 8
push 0x20
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push esi
call edi
test eax, eax
jne 0x426ad6
call ebx
push eax
push str.CRYPT_MACHINE_KEYSET:__8x_n
call fcn.00403ee0
add esp, 8
jmp 0x426b2b
mov ebx, dword [ebp - 8]
mov edi, dword [esi]
test edi, edi
je 0x426b1c
test ebx, ebx
je 0x426b1c
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8004
push edi
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x426b1c
mov eax, dword [ebp - 8]
test eax, eax
je 0x426b1c
push 0
push dword [ebp + 0x14]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x426b40
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esi]
test eax, eax
je 0x426b2b
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp - 0xc]
push 1
push dword [ebp - 8]
push 0x6801
push edi
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
push dword [ebp - 8]
test eax, eax
je 0x426b16
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c61ad
mov esp, ebp
pop ebp
ret 0x10
Function at 0x426b80
Capabilities:
Decode data using base64 via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x57906c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
test ebx, ebx
je 0x426c0f
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 1
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x426c0f
mov eax, dword [ebp - 0xc]
inc eax
push eax
call fcn.00524e05
mov edi, eax
add esp, 4
test edi, edi
je 0x426c0f
mov edx, dword [ebp - 0xc]
mov ecx, edi
add edx, 1
je 0x426bed
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub edx, 1
jne 0x426be2
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push edi
push 1
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x426c32
push edi
call fcn.0051f38c
add esp, 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x426c1d
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp - 0xc]
call fcn.00524e05
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x426c0f
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x426c60
nop word [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub edx, 1
jne 0x426c50
mov eax, dword [esi]
mov edx, dword [ebp - 0xc]
push edx
push edi
mov ecx, eax
call fcn.004265f0
push edi
call fcn.0051f38c
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edi, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [esi]
push 0
push 1
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x426cb5
mov eax, dword [esi]
test eax, eax
je 0x426ca7
push eax
call fcn.0051f38c
add esp, 4
mov dword [esi], 0
test edi, edi
je 0x426c1d
push edi
jmp 0x426c17
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c61ad
mov esp, ebp
pop ebp
ret 0x10
Function at 0x428430
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544971
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x57906c]
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, dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x54], edi
push 0x55faaf
mov dword [ebp - 0x48], 0
call fcn.00407c10
mov dword [ebp - 4], 1
push 0x408
call fcn.00524e05
add esp, 4
mov ebx, eax
mov dword [ebp - 0x50], ebx
call fcn.00428790
mov edx, eax
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4284a0
sub ecx, dword [ebp - 0x14]
push ecx
push edx
push ebx
call fcn.004288d0
push 0
push 1
push 3
push 0
push 0
push accept
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x14], 0
cmp eax, 0xffffffff
jne 0x4284df
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42852d
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
mov esi, eax
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.00524e05
add esp, 4
mov ebx, eax
lea eax, [esi + 1]
push eax
push 0
push ebx
call fcn.00516f30
add esp, 0xc
lea eax, [ebp - 0x14]
push 0
push eax
push esi
mov esi, dword [ebp - 0x4c]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x428541
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.00407ba0
mov dword [ebp - 0x48], 1
jmp 0x4285b4
push ebx
lea ecx, [ebp - 0x6c]
call fcn.00407c10
mov byte [ebp - 4], 2
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
call fcn.00428150
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6c]
call fcn.00407b50
lea ecx, [ebp - 0x2c]
call fcn.00407880
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407a60
mov esi, dword [ebp - 0x50]
push eax
push esi
call fcn.004289a0
push ebx
call fcn.0051f38c
add esp, 4
test esi, esi
je 0x428596
push esi
call fcn.0051f38c
add esp, 4
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00407ba0
mov dword [ebp - 0x48], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00407b50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00407b50
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.004c61ad
mov esp, ebp
pop ebp
ret 8
Function at 0x428790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544a2f
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x57906c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x58da68]
test eax, eax
jne 0x4288bd
push 0x21
call fcn.004c63be
mov edx, eax
add esp, 4
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0
lea esi, [ebp - 0x31]
xor ecx, ecx
mov dword [ebp - 0x50], 0x52cb76b1
mov dword [ebp - 0x4c], 0x5867cc1c
lea eax, [edx + 0x1f]
mov dword [ebp - 0x48], 0x51517f8e
mov dword [ebp - 0x44], 0x6eb622fb
mov dword [ebp - 0x40], 0x6d3b827
mov dword [ebp - 0x3c], 0x89f0e24
mov dword [ebp - 0x38], 0x56d9f14f
mov dword [ebp - 0x34], 0xd717be78
mov dword [ebp - 0x30], 0xa1e05723
mov dword [ebp - 0x2c], 0xbfbcb441
mov dword [ebp - 0x28], 0xf42a9f66
mov dword [ebp - 0x24], 0x329686a1
mov dword [ebp - 0x20], 0x5d9afc68
mov dword [ebp - 0x1c], 0xa2f2807a
mov dword [ebp - 0x18], 0x9a00416c
mov dword [ebp - 0x14], 0x554aaabe
cmp edx, esi
ja 0x42885c
lea esi, [ebp - 0x50]
cmp eax, esi
jae 0x428870
lea esi, [ebp - 0x11]
cmp edx, esi
ja 0x428890
lea esi, [ebp - 0x30]
cmp eax, esi
jb 0x428890
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x30]
xor al, byte [ebp + ecx - 0x50]
mov byte [ecx + edx], al
inc ecx
cmp ecx, 0x20
jl 0x428870
jmp 0x4288aa
movups xmm1, xmmword [ebp + ecx - 0x30]
movups xmm0, xmmword [ebp + ecx - 0x50]
pxor xmm1, xmm0
movups xmmword [ecx + edx], xmm1
add ecx, 0x10
cmp ecx, 0x20
jl 0x428890
mov byte [edx + 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov dword [0x58da68], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4289a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
push edi
lea edi, [eax + 8]
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x10], esi
jle 0x4289f4
mov eax, ecx
nop
inc bl
movzx ebx, bl
mov edx, dword [edi + ebx*4]
lea ecx, [eax + edx]
movzx eax, cl
mov ecx, dword [edi + eax*4]
mov dword [edi + ebx*4], ecx
mov dword [edi + eax*4], edx
add dl, cl
movzx ecx, dl
mov edx, dword [ebp + 0xc]
mov cl, byte [edi + ecx*4]
xor byte [esi + edx], cl
inc esi
cmp esi, dword [ebp + 0x10]
jl 0x4289c0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax], ebx
mov dword [eax + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45e710
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
push 0
push 0x14
mov dword [ebx], 0
call fcn.0042bfc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x45e740
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x589ff4], 0
mov edi, dword [ebp + 8]
je 0x45e78a
mov eax, dword [0x58a0f0]
test eax, eax
je 0x45e763
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x45e78a
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x42f110
push 0
push 0
mov dword [esi + 0xc], edi
call fcn.005272f9
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x45e797
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x45e7b0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebx], esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46cd20
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 0x10]
mov edi, edx
mov ebx, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov byte [ebx + 0x10], 1
push edi
push edi
push str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
push ebx
call fcn.00473080
add esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x46cd61
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
push ebx
call fcn.00473080
add esp, 0x14
pop edi
pop ebx
pop ebp
ret