joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44950d
Capabilities:
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, 0x424
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, eax
push 0xf0000000
push 1
push eax
push eax
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], eax
mov byte [edi], al
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x449575
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetURLHashString
push str._s_:_CryptAcquireContext_failed__Error0x_.8x
call fcn.00449974
add esp, 0xc
xor eax, eax
jmp 0x44968f
lea eax, [ebp - 0x41c]
push eax
push 0
push 0
push 0x8004
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4495b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetURLHashString
push str._s_:_CryptCreateHash_failed__Error0x_.8x
call fcn.00449974
add esp, 0xc
xor esi, esi
jmp 0x44967f
push 0
push ebx
call fcn.00630ba0
pop ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x44967f
push 0
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0x14
push eax
lea eax, [ebp - 0x18]
push eax
push 2
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x449673
xor bl, bl
xor esi, esi
mov al, byte [ebp + esi - 0x18]
add bl, al
movzx eax, al
push eax
push edi
push str._s_2.2X
lea eax, [ebp - 0x418]
push 0x400
push eax
call fcn.00445d6d
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 0x10]
push edi
call fcn.006311ec
add esp, 0x20
inc esi
cmp esi, 0x14
jl 0x449608
movzx eax, bl
push eax
push edi
push str._s_2.2X
lea eax, [ebp - 0x418]
push 0x400
push eax
call fcn.00445d6d
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 0x10]
push edi
call fcn.006311ec
xor esi, esi
add esp, 0x20
inc esi
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret

Function at 0x44975e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x449778
test al, 0x10
je 0x449778
xor eax, eax
inc eax
pop ebp
ret
push dword [ebp + 8]
push str.IsDirectoryExists
push str._s_:_Specified_directory___s__does_not_exist
call fcn.00449974
add esp, 0xc
xor eax, eax
pop ebp
ret

Function at 0x449791
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4497ab
test al, 0x10
jne 0x4497ab
xor eax, eax
inc eax
pop ebp
ret
push dword [ebp + 8]
push str.IsFileExists
push str._s_:_Specified_file___s__does_not_exist
call fcn.00449974
add esp, 0xc
xor eax, eax
pop ebp
ret
Function at 0x44987a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x4498c7
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x39
pop eax
mov dl, byte [esi + edi]
mov cl, byte [esi + edi + 1]
cmp al, dl
push 0x39
sbb al, al
and al, 7
add al, 0x30
sub dl, al
pop eax
shl dl, 4
cmp al, cl
push 0x39
sbb al, al
and al, 7
add al, 0x30
sub cl, al
mov eax, esi
shr eax, 1
xor dl, cl
add esi, 2
mov byte [eax + ebx], dl
pop eax
cmp esi, dword [ebp + 0xc]
jb 0x449890
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x449974
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0xc]
mov esi, 0x730f28
push eax
push 0
push dword [ebp + 8]
push 0xc350
push esi
call fcn.0044505f
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
pop ebp
ret

Function at 0x44999e
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3fc
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x3f8], eax
mov eax, dword [ebp + 0x10]
push str._n_RC4_Decrypting_data_of_size__d
mov dword [ebp - 0x3f4], eax
mov dword [ebp - 0x3fc], esi
mov byte [ebp - 0x3ed], 0
call fcn.00449974
pop ecx
pop ecx
mov byte [esi], 0
xor eax, eax
mov byte [ebp + eax - 0x3ec], al
inc eax
cmp eax, 0x100
jl 0x4499e9
push ebx
xor edi, edi
xor ebx, ebx
mov eax, dword [ebp - 0x3f4]
mov dl, byte [ebp + edi - 0x3ec]
mov cl, byte [ebp - 0x3ed]
mov al, byte [eax + ebx]
add al, dl
add cl, al
mov byte [ebp - 0x3ed], cl
movzx ecx, cl
mov al, byte [ebp + ecx - 0x3ec]
mov byte [ebp + edi - 0x3ec], al
lea eax, [ebx + 1]
inc edi
mov byte [ebp + ecx - 0x3ec], dl
cmp eax, dword [ebp + 0x14]
sbb ebx, ebx
and ebx, eax
cmp edi, 0x100
jl 0x4499fd
push str.RC4DecryptPassword
push str._n__s___Now_decrypting_the_password_using_the_new_hash
call fcn.00449974
mov esi, dword [ebp - 0x3f8]
xor bh, bh
pop ecx
pop ecx
mov dh, 1
xor edi, edi
movzx ecx, dh
mov bl, byte [ebp + ecx - 0x3ec]
add bh, bl
inc dh
movzx eax, bh
mov dl, byte [ebp + eax - 0x3ec]
mov byte [ebp + ecx - 0x3ec], dl
add dl, bl
mov byte [ebp + eax - 0x3ec], bl
movzx eax, dl
mov al, byte [ebp + eax - 0x3ec]
xor byte [esi + edi], al
inc edi
sub dword [ebp + 0xc], 1
jne 0x449a65
pop ebx
push esi
push dword [ebp + 0x1c]
mov byte [esi + edi], 0
mov esi, dword [ebp - 0x3fc]
push esi
call fcn.006311ec
push esi
push str._n_Final_RC4_Decrypted_password_is__s
call fcn.00449974
mov ecx, dword [ebp - 4]
add esp, 0x14
xor eax, eax
xor ecx, ebp
inc eax
pop edi
pop esi
call fcn.005fe955
leave
ret
Function at 0x44a0cb
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, edi
shr eax, 4
xor eax, ecx
mov dword [ebp - 4], 8
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor edi, eax
mov eax, edi
shr eax, 0x10
xor eax, ecx
movzx eax, ax
xor ecx, eax
shl eax, 0x10
xor edi, eax
mov eax, ecx
shr eax, 2
xor eax, edi
and eax, 0x33333333
xor edi, eax
shl eax, 2
xor ecx, eax
mov eax, ecx
shr eax, 8
xor eax, edi
and eax, 0xff00ff
xor edi, eax
shl eax, 8
xor ecx, eax
mov ebx, ecx
shr ebx, 0x1f
lea eax, [ecx + ecx]
or ebx, eax
mov eax, ebx
xor eax, edi
and eax, 0xaaaaaaaa
xor edi, eax
xor ebx, eax
ror edi, 0x1f
mov eax, dword [ebp + 0xc]
mov edx, ebx
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x705598]
or esi, dword [eax*4 + 0x705798]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x705998]
or esi, dword [edx*4 + 0x705b98]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
xor edx, ebx
mov ecx, edx
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
and eax, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x705698]
or ecx, dword [eax*4 + 0x705898]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x705a98]
or ecx, dword [edx*4 + 0x705c98]
mov eax, dword [ebp + 0xc]
or ecx, esi
xor edi, ecx
mov edx, edi
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x705598]
or esi, dword [eax*4 + 0x705798]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x705998]
mov eax, dword [ebp + 0xc]
or esi, dword [edx*4 + 0x705b98]
mov edx, dword [eax]
add eax, 4
xor edx, edi
mov dword [ebp + 0xc], eax
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x705698]
or ecx, dword [eax*4 + 0x705898]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x705a98]
or ecx, dword [edx*4 + 0x705c98]
or ecx, esi
xor ebx, ecx
sub dword [ebp - 4], 1
jne 0x44a145
mov esi, ebx
shr ebx, 1
shl esi, 0x1f
or esi, ebx
mov eax, esi
xor eax, edi
and eax, 0xaaaaaaaa
xor edi, eax
xor esi, eax
mov edx, edi
shr edi, 1
shl edx, 0x1f
or edx, edi
mov eax, edx
shr eax, 8
xor eax, esi
and eax, 0xff00ff
xor esi, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, esi
and eax, 0x33333333
xor esi, eax
shl eax, 2
xor edx, eax
mov eax, esi
shr eax, 0x10
xor eax, edx
movzx eax, ax
xor edx, eax
shl eax, 0x10
xor esi, eax
mov ecx, esi
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov eax, ecx
shl eax, 4
xor eax, esi
mov esi, dword [ebp + 8]
xor ecx, edx
pop edi
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
pop ebx
leave
ret
Function at 0x44a2e6
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0xf8], eax
movzx ecx, byte [edx + str.80_]
mov eax, ecx
and ecx, 7
shr eax, 3
mov al, byte [eax + esi]
test byte [ecx*2 + 0x7054b0], al
setne al
mov byte [ebp + edx - 0x3c], al
inc edx
cmp edx, 0x38
jl 0x44a30b
push 0x1e
xor edi, edi
pop esi
cmp word [ebp - 0xf8], 1
lea eax, [edi + edi]
mov ebx, esi
cmovne ebx, eax
movzx eax, byte [edi + 0x705558]
and dword [ebp + ebx*4 - 0xf0], 0
and dword [ebp + ebx*4 - 0xf4], 0
xor ecx, ecx
cmp eax, 0x1c
jge 0x44a36a
mov dl, byte [ebp + eax - 0x3c]
jmp 0x44a36e
mov dl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], dl
inc ecx
inc eax
cmp ecx, 0x1c
jl 0x44a35f
movzx eax, byte [edi + 0x705558]
push 0x1c
pop ecx
add eax, ecx
cmp eax, 0x38
jge 0x44a390
mov dl, byte [ebp + eax - 0x3c]
jmp 0x44a394
mov dl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], dl
inc ecx
inc eax
cmp ecx, 0x38
jl 0x44a385
xor ecx, ecx
movzx eax, byte [ecx + 0x705568]
mov edx, ecx
cmp byte [ebp + eax - 0x74], 0
je 0x44a3bf
mov eax, dword [edx*4 + 0x7054c0]
or dword [ebp + ebx*4 - 0xf4], eax
movzx eax, byte [ecx + 0x705580]
cmp byte [ebp + eax - 0x74], 0
je 0x44a3db
mov eax, dword [edx*4 + 0x7054c0]
or dword [ebp + ebx*4 - 0xf0], eax
inc ecx
cmp ecx, 0x18
jl 0x44a3a1
sub esi, 2
inc edi
cmp esi, 0xfffffffe
jg 0x44a336
pop edi
pop esi
lea eax, [ebp - 0xf4]
pop ebx
push eax
call fcn.00449f81
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005fe955
leave
ret
Function at 0x44a516
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 0x107]
push 0x103
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.00626f50
cmp dword [ebp + 8], 8
mov ecx, str.MozillaSeaMonkey
mov eax, str.MozillaFirefox
mov byte [0x73dcd8], bl
cmove eax, ecx
mov esi, ebx
push eax
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.006311ec
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x44a59f
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x108]
push eax
push str._s_sprofiles.ini
lea eax, [ebp - 0x810]
push 0x208
push eax
call fcn.00445d6d
push 0x66ca20
lea eax, [ebp - 0x810]
mov dword [ebp - 0x814], ebx
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.00632119
add esp, 0x20
test eax, eax
jne 0x44a58f
cmp dword [ebp - 0x814], ebx
je 0x44a58f
push edi
mov edi, 0x400
jmp 0x44a6f4
lea eax, [ebp - 0x608]
push eax
call fcn.00631510
inc eax
push eax
lea eax, [ebp - 0x608]
push eax
call fcn.00631711
push str._profile
call fcn.00631510
push eax
lea eax, [ebp - 0x608]
push str._profile
push eax
call fcn.00631760
add esp, 0x1c
test eax, eax
jne 0x44a645
mov esi, ebx
mov byte [0x73dcd8], bl
jmp 0x44a6f4
lea eax, [ebp - 0x608]
push str.default1
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
jne 0x44a66a
xor esi, esi
inc esi
cmp byte [0x73dcd8], bl
jmp 0x44a6f2
lea eax, [ebp - 0x608]
push str.path
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
je 0x44a6f4
lea eax, [ebp - 0x608]
push 0x2f
push eax
call fcn.006270b0
pop ecx
pop ecx
test eax, eax
je 0x44a698
mov byte [eax], 0x5c
lea eax, [ebp - 0x608]
push eax
call fcn.00631510
dec eax
pop ecx
cmp eax, edi
jae 0x44a735
mov byte [ebp + eax - 0x608], bl
lea eax, [ebp - 0x608]
push 0x3d
push eax
call fcn.006270b0
pop ecx
pop ecx
test eax, eax
je 0x44a6f4
inc eax
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x66d710
push 0x3e8
push 0x73dcd8
call fcn.00445d6d
add esp, 0x18
test esi, esi
jne 0x44a712
push dword [ebp - 0x814]
lea eax, [ebp - 0x608]
push edi
push eax
call fcn.00631f4f
add esp, 0xc
test eax, eax
jne 0x44a5fb
push dword [ebp - 0x814]
call fcn.00637603
pop ecx
pop edi
cmp byte [0x73dcd8], bl
je 0x44a58f
mov eax, 0x73dcd8
jmp 0x44a591
call fcn.005fe87a
int3
Function at 0x44a73b
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x40
push ebx
push dword [edi + 0x148]
call fcn.00626f50
push 0x40
lea esi, [edi + 0xc4]
push 0x36
push esi
call fcn.00626f50
push 0x40
lea eax, [edi + 0x104]
push 0x5c
push eax
call fcn.00626f50
add esp, 0x24
cmp dword [ebp + 0x14], 0x40
jle 0x44a7a6
mov ecx, edi
call fcn.0044c8f2
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
call fcn.0044e6da
mov ecx, edi
call fcn.0044c7f9
push dword [edi + 0x148]
mov ecx, edi
call fcn.0044c8da
jmp 0x44a7ba
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [edi + 0x148]
call fcn.006269d0
add esp, 0xc
mov ecx, ebx
mov eax, dword [edi + 0x148]
mov al, byte [eax + ecx]
xor byte [esi + ecx], al
inc ecx
cmp ecx, 0x40
jb 0x44a7bc
push 0x40
push esi
push dword [edi + 0x14c]
call fcn.006269d0
mov esi, dword [ebp + 0xc]
mov eax, dword [edi + 0x14c]
push esi
push dword [ebp + 8]
add eax, 0x40
push eax
call fcn.006269d0
add esp, 0x18
mov ecx, edi
call fcn.0044c8f2
lea eax, [esi + 0x40]
mov ecx, edi
push eax
push dword [edi + 0x14c]
call fcn.0044e6da
mov ecx, edi
call fcn.0044c7f9
push dword [edi + 0x144]
mov ecx, edi
call fcn.0044c8da
lea ecx, [edi + 0x104]
mov eax, dword [edi + 0x148]
mov al, byte [eax + ebx]
xor byte [ecx + ebx], al
inc ebx
cmp ebx, 0x40
jb 0x44a827
push 0x40
push ecx
push dword [edi + 0x150]
call fcn.006269d0
mov eax, dword [edi + 0x150]
push 0x14
push dword [edi + 0x144]
add eax, 0x40
push eax
call fcn.006269d0
add esp, 0x18
mov ecx, edi
call fcn.0044c8f2
push 0x54
push dword [edi + 0x150]
mov ecx, edi
call fcn.0044e6da
mov ecx, edi
call fcn.0044c7f9
push dword [ebp + 0x18]
mov ecx, edi
call fcn.0044c8da
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x44c466
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, str._signons.sqlite
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x24]
push ebx
lea eax, [ebp - 0x40c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, str.logins.json
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x3e8
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x40c]
push esi
push eax
call fcn.00631246
mov esi, dword [ebp + 0x14]
add esp, 0x18
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 1
je 0x44c4d1
cmp esi, 2
jne 0x44c4fd
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x44c4f6
push dword [ebp + 0x10]
lea eax, [ebp - 0x40c]
push eax
call fcn.0044be9c
pop ecx
pop ecx
jmp 0x44c555
call edi
cmp esi, 1
je 0x44c502
cmp esi, 3
jne 0x44c555
push ebx
mov esi, 0x3e8
lea eax, [ebp - 0x40c]
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x40c]
push esi
push eax
call fcn.00631246
add esp, 0x18
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x44c553
push dword [ebp + 0x10]
lea eax, [ebp - 0x40c]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.0044c42f
add esp, 0x10
jmp 0x44c555
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret

Function at 0x44c8f2
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x18], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
ret
Function at 0x45bd0f
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
call fcn.004b4bd9
test eax, eax
jne 0x45be77
push ebx
xor ebx, ebx
push esi
cmp byte [0x705e84], bl
jne 0x45bd2f
mov esi, ebx
jmp 0x45bd46
push 5
call dword [0x705ec8]
mov esi, eax
pop ecx
test esi, esi
je 0x45bd46
push esi
call dword [0x705ed0]
pop ecx
mov ecx, dword [ebp + 8]
push edi
test ecx, ecx
jle 0x45be62
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x45be62
cmp dword [0x73e618], ebx
jne 0x45bdec
push ebx
call fcn.0044fe03
push 0x10
push str.expand_32_byte_k
push 0x73e618
mov edi, eax
call fcn.006269d0
add esp, 0x10
test edi, edi
jne 0x45bd98
push 0x2c
push ebx
push 0x73e628
call fcn.00626f50
jmp 0x45bdcb
cmp dword [0x705f94], ebx
je 0x45bdc0
push 0x2c
push ebx
mov edi, 0x73e628
push edi
call fcn.00626f50
push 4
push 0x705f94
push edi
call fcn.006269d0
add esp, 0x18
jmp 0x45bdce
push 0x73e628
push 0x2c
push edi
call dword [edi + 0x38]
add esp, 0xc
mov eax, dword [0x73e648]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [0x73e654], eax
mov dword [0x73e648], ebx
mov byte [0x73e698], bl
jmp 0x45bdf2
mov bl, byte [0x73e698]
movzx eax, bl
cmp ecx, eax
jle 0x45be42
test bl, bl
je 0x45be1b
movzx eax, bl
push eax
push 0x73e658
push edi
call fcn.006269d0
movzx eax, byte [0x73e698]
add esp, 0xc
sub dword [ebp + 8], eax
add edi, eax
inc dword [0x73e648]
push 0x73e618
push 0x73e658
call fcn.0046391c
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
mov bl, 0x40
mov byte [0x73e698], bl
cmp ecx, 0x40
jg 0x45bdf9
movzx eax, bl
sub eax, ecx
push ecx
add eax, 0x73e658
push eax
push edi
call fcn.006269d0
mov ecx, dword [ebp + 8]
add esp, 0xc
sub byte [0x73e698], cl
jmp 0x45be68
mov dword [0x73e618], ebx
test esi, esi
je 0x45be74
push esi
call dword [0x705ed8]
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x45c0d6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00477266
Function at 0x47db5c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x18]
mov esi, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov byte [esi + 0x10], 1
push dword [ebp + 0xc]
push dword [ebp + 0xc]
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 esi
call fcn.00496b6b
add esp, 0x1c
cmp dword [ebp + 0x10], 0
jne 0x47dba1
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
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 esi
call fcn.00496b6b
add esp, 0x14
pop esi
pop ebp
ret
Function at 0x48be29
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
test edx, edx
je 0x48be58
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [edx + 0x98]
lea ecx, [esi + 1]
xor ecx, eax
and ecx, 3
xor ecx, eax
mov dword [edx + 0x98], ecx
mov edx, dword [edx + 8]
test edx, edx
jne 0x48be3a
pop esi
pop ebp
ret
Function at 0x4a1af7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push ebx
push 0x14
mov dword [eax], ebx
call fcn.00496499
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4a1b1b
push 7
pop eax
jmp 0x4a1ba0
push edi
cmp byte [0x705e84], bl
je 0x4a1b6f
mov eax, dword [0x705f80]
test eax, eax
je 0x4a1b39
push 0xc8
call eax
pop ecx
test eax, eax
jne 0x4a1b6f
mov eax, dword [ebp + 0xc]
lea edi, [esi + 8]
mov dword [edi], eax
lea ebx, [esi + 4]
mov eax, dword [ebp + 0x10]
push ebx
mov dword [esi + 0xc], eax
xor eax, eax
push eax
push esi
push 0x4a1bfb
push eax
push eax
call fcn.0063ee93
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x4a1b81
push 0x14
push eax
push esi
call fcn.00626f50
jmp 0x4a1b7e
push 0x14
push ebx
push esi
call fcn.00626f50
lea edi, [esi + 8]
lea ebx, [esi + 4]
add esp, 0xc
cmp dword [edi], 0
pop edi
jne 0x4a1b99
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push dword [ebp + 0x10]
mov dword [ebx], eax
call dword [ebp + 0xc]
pop ecx
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
pop ebp
ret
Function at 0x4c31ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov edx, dword [esi + 8]
test edi, edi
jle 0x4c31dc
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi]
mov al, byte [ebx + eax]
xor byte [ecx + edx], al
lea eax, [edx + 1]
xor edx, edx
cmp eax, dword [esi + 4]
cmovl edx, eax
inc ebx
cmp ebx, edi
jl 0x4c31c1
add dword [esi + 0xc], edi
pop edi
mov dword [esi + 8], edx
pop esi
pop ebx
pop ebp
ret

Function at 0x4c58e3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x410], 0x3e8
mov byte [edi], bl
cmp dword [0x73e7bc], ebx
je 0x4c5a0f
lea eax, [ebp - 0x414]
push eax
push 0x20019
push ebx
push str.SECURITYPolicyPolEKList
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c5a0f
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x41c]
push eax
push ebx
push 0x66ae5d
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x414]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4c5a0f
sub dword [ebp - 0x410], 0x1c
lea eax, [ebp - 0x24]
push eax
push 0x20
pop esi
push esi
lea eax, [ebp - 0x3f0]
push eax
push 0x10
push 0x73e7c0
call fcn.004c5e3e
add esp, 0x14
test eax, eax
je 0x4c5a0f
mov eax, dword [ebp - 0x410]
add eax, 0xffffffe0
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x3d0]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
push 2
push 0x6610
call fcn.004c64dc
add esp, 0x24
test eax, eax
je 0x4c5a0f
cmp dword [ebp - 0x418], 0x64
jb 0x4c5a0f
push esi
lea eax, [ebp - 0x38c]
mov dword [0x73e7e4], esi
push eax
mov esi, 0x73e7e8
push esi
call fcn.006269d0
push dword [ebp + 0xc]
push edi
push 0x20
push esi
call fcn.0044969e
xor eax, eax
add esp, 0x1c
inc eax
jmp 0x4c5a11
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret