Function at 0x4092c0
Capabilities:
Contain obfuscated stackstrings
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
push eax
mov eax, 0xfa078
call fcn.00421710
sub esp, eax
mov ebp, edx
mov eax, dword [esp + eax]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 7
mov dword [esp + 4], 0x80000000
mov dword [esp], eax
mov ebx, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x5f], 0x33323130
mov dword [esp + 0x63], 0x37363534
mov dword [esp + 0x67], 0x62613938
mov dword [esp + 0x6b], 0x66656463
mov byte [esp + 0x6f], 0
call sym._CreateFileA_28
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x409830
mov esi, eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x10], 0xf0000000
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._CryptAcquireContextA_20
sub esp, 0x14
test eax, eax
je 0x409495
lea eax, [esp + 0x40]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x8003
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sym._CryptCreateHash_20
sub esp, 0x14
test eax, eax
je 0x4094d0
mov dword [esp + 0x48], 0
lea edi, [esp + 0x48]
lea ebx, [esp + 0x70]
jmp 0x409413
mov eax, dword [esp + 0x48]
test eax, eax
je 0x409520
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._CryptHashData_16
sub esp, 0x10
test eax, eax
je 0x409810
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xfa000
mov dword [esp + 4], ebx
mov dword [esp], esi
call sym._ReadFile_20
sub esp, 0x14
test eax, eax
jne 0x4093e0
mov dword [esp + 0x2c], eax
call sym._GetLastError_0
mov dword [esp], str.ReadFile_failed_in_md5ChecksumOfFile__:__d_r_n
mov dword [esp + 4], eax
call dbg.logEvent
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._CryptReleaseContext_8
sub esp, 8
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sym._CryptDestroyHash_4
sub esp, 4
mov dword [esp], esi
call sym._CloseHandle_4
sub esp, 4
mov edx, dword [esp + 0x2c]
add esp, 0xfa07c
pop ebx
pop esi
mov eax, edx
pop edi
pop ebp
ret
mov dword [esp + 0x2c], eax
call sym._GetLastError_0
mov dword [esp], str.CryptAcquireContext_failed_in_md5ChecksumOfFile__:__d_r_n
mov dword [esp + 4], eax
call dbg.logEvent
mov dword [esp], esi
call sym._CloseHandle_4
sub esp, 4
mov edx, dword [esp + 0x2c]
add esp, 0xfa07c
pop ebx
pop esi
mov eax, edx
pop edi
pop ebp
ret
mov dword [esp + 0x2c], eax
call sym._GetLastError_0
mov dword [esp], str.CryptAcquireContext_failed_in_md5ChecksumOfFile__:__d_r_n
mov dword [esp + 4], eax
call dbg.logEvent
mov dword [esp], esi
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._CryptReleaseContext_8
sub esp, 8
mov edx, dword [esp + 0x2c]
add esp, 0xfa07c
pop ebx
pop esi
mov eax, edx
pop edi
pop ebp
ret
lea eax, [esp + 0x44]
mov dword [esp + 0x10], 0
mov dword [esp + 4], 2
mov dword [esp + 0x44], 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x4f]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sym._CryptGetHashParam_20
sub esp, 0x14
test eax, eax
je 0x409860
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4097e6
movzx edx, byte [esp + 0x4f]
mov ecx, edx
and edx, 0xf
shr cl, 4
movzx edx, byte [esp + edx + 0x5f]
cmp eax, 1
movzx ecx, cl
movzx ecx, byte [esp + ecx + 0x5f]
mov byte [ebp + 1], dl
mov byte [ebp], cl
jbe 0x4097e6
movzx edx, byte [esp + 0x50]
mov ecx, edx
and edx, 0xf
shr cl, 4
movzx edx, byte [esp + edx + 0x5f]
cmp eax, 2
movzx ecx, cl
movzx ecx, byte [esp + ecx + 0x5f]
mov byte [ebp + 3], dl
mov byte [ebp + 2], cl
je 0x4097e6
movzx edx, byte [esp + 0x51]
mov ecx, edx
and edx, 0xf
shr cl, 4
movzx edx, byte [esp + edx + 0x5f]
cmp eax, 3
movzx ecx, cl
movzx ecx, byte [esp + ecx + 0x5f]
mov byte [ebp + 5], dl
mov byte [ebp + 4], cl
je 0x4097e6
movzx edx, byte [esp + 0x52]
mov ecx, edx
and edx, 0xf
shr cl, 4
movzx edx, byte [esp + edx + 0x5f]
cmp eax, 4
movzx ecx, cl
movzx ecx, byte [esp + ecx + 0x5f]
mov byte [ebp + 7], dl
mov byte [ebp + 6], cl
je 0x4097e6
movzx edx, byte [esp + 0x53]
mov ecx, edx
and edx, 0xf
shr cl, 4
movzx edx, byte [esp + edx + 0x5f]
cmp eax, 5
movzx ecx, cl
movzx ecx, byte [esp + ecx + 0x5f]
mov byte [ebp + 9], dl
mov byte [ebp + 8], cl
je 0x4097e6
movzx edx, byte [esp + 0x54]
mov ecx, edx
and edx, 0xf
shr cl, 4
movzx edx, byte [esp + edx + 0x5f]
cmp eax, 6
movzx ecx, cl
movzx ecx, byte [esp + ecx + 0x5f]
mov byte [ebp + 0xb], dl
mov byte [ebp + 0xa], cl
je 0x4097e6
movzx edx, byte [esp + 0x55]
mov ecx, edx
and edx, 0xf
shr cl, 4
movzx edx, byte [esp + edx + 0x5f]
cmp eax, 7
movzx ecx, cl
movzx ecx, byte [esp + ecx + 0x5f]
mov byte [ebp + 0xd], dl
mov byte [ebp + 0xc], cl
je 0x4097e6
movzx edx, byte [esp + 0x56]
mov ecx, edx
and edx, 0xf
shr cl, 4
movzx edx, byte [esp + edx + 0x5f]
cmp eax, 8
movzx ecx, cl
movzx ecx, byte [esp + ecx + 0x5f]
mov byte [ebp + 0xf], dl
mov byte [ebp + 0xe], cl
je 0x4097e6
movzx edx, byte [esp + 0x57]
mov ecx, edx
and edx, 0xf
shr cl, 4
movzx edx, byte [esp + edx + 0x5f]
cmp eax, 9
movzx ecx, cl
movzx ecx, byte [esp + ecx + 0x5f]
mov byte [ebp + 0x11], dl
mov byte [ebp + 0x10], cl
je 0x4097e6
movzx edx, byte [esp + 0x58]
mov ecx, edx
and edx, 0xf
shr cl, 4
movzx edx, byte [esp + edx + 0x5f]
cmp eax, 0xa
movzx ecx, cl
movzx ecx, byte [esp + ecx + 0x5f]
mov byte [ebp + 0x13], dl
mov byte [ebp + 0x12], cl
je 0x4097e6
movzx edx, byte [esp + 0x59]
mov ecx, edx
and edx, 0xf
shr cl, 4
movzx edx, byte [esp + edx + 0x5f]
cmp eax, 0xb
movzx ecx, cl
movzx ecx, byte [esp + ecx + 0x5f]
mov byte [ebp + 0x15], dl
mov byte [ebp + 0x14], cl
je 0x4097e6
movzx edx, byte [esp + 0x5a]
mov ecx, edx
and edx, 0xf
shr cl, 4
movzx edx, byte [esp + edx + 0x5f]
cmp eax, 0xc
movzx ecx, cl
movzx ecx, byte [esp + ecx + 0x5f]
mov byte [ebp + 0x17], dl
mov byte [ebp + 0x16], cl
je 0x4097e6
movzx edx, byte [esp + 0x5b]
mov ecx, edx
and edx, 0xf
shr cl, 4
movzx edx, byte [esp + edx + 0x5f]
cmp eax, 0xd
movzx ecx, cl
movzx ecx, byte [esp + ecx + 0x5f]
mov byte [ebp + 0x19], dl
mov byte [ebp + 0x18], cl
je 0x4097e6
movzx edx, byte [esp + 0x5c]
mov ecx, edx
and edx, 0xf
shr cl, 4
movzx edx, byte [esp + edx + 0x5f]
cmp eax, 0xe
movzx ecx, cl
movzx ecx, byte [esp + ecx + 0x5f]
mov byte [ebp + 0x1b], dl
mov byte [ebp + 0x1a], cl
je 0x4097e6
movzx edx, byte [esp + 0x5d]
mov ecx, edx
and edx, 0xf
shr cl, 4
movzx edx, byte [esp + edx + 0x5f]
cmp eax, 0xf
movzx ecx, cl
movzx ecx, byte [esp + ecx + 0x5f]
mov byte [ebp + 0x1d], dl
mov byte [ebp + 0x1c], cl
je 0x4097e6
movzx eax, byte [esp + 0x5e]
mov edx, eax
and eax, 0xf
shr dl, 4
movzx eax, byte [esp + eax + 0x5f]
movzx edx, dl
movzx edx, byte [esp + edx + 0x5f]
mov byte [ebp + 0x1f], al
mov byte [ebp + 0x1e], dl
mov edx, 1
mov dword [esp], esi
mov dword [esp + 0x2c], edx
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sym._CryptDestroyHash_4
jmp 0x4094f1
mov dword [esp + 0x2c], eax
call sym._GetLastError_0
mov dword [esp], str.CryptHashData_failed_in_md5ChecksumOfFile__:__d_r_n
mov dword [esp + 4], eax
jmp 0x40944e
call sym._GetLastError_0
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], str.Error_opening_file__s_in_md5ChecksumOfFile__:__d_r_n
call dbg.logEvent
add esp, 0xfa07c
xor edx, edx
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
call sym._GetLastError_0
mov dword [esp], str.CryptGetHashParam_failed:__d_n
mov dword [esp + 4], eax
call dbg.logEvent
xor edx, edx
jmp 0x4097eb