Function at 0x180047420
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov dword [rsp + 0x60], 1
mov eax, dword [rsp + 0x60]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x180047460
xor r9d, r9d
lea r8, [0x180077b90]
lea rdx, [0x180077b98]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x48], 0x67452301
mov dword [rsp + 0x4c], 0xefcdab89
mov dword [rsp + 0x50], 0x98badcfe
mov dword [rsp + 0x54], 0x10325476
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x128]
call fcn.18004be10
test rax, rax
je 0x1800474ed
mov rax, qword [rsp + 0x38]
and rax, 0x3f
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x128]
call fcn.180044e80
mov rcx, qword [rsp + 0x68]
mov byte [rsp + rcx + 0x90], al
cmp qword [rsp + 0x68], 0x3f
jne 0x1800474eb
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x48]
call fcn.180049f40
jmp 0x180047489
mov rax, qword [rsp + 0x38]
and rax, 0x3f
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0x38
jae 0x180047514
mov eax, 0x38
sub rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
jmp 0x180047523
mov eax, 0x78
sub rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x38]
shl rax, 3
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x7c], 0
mov rax, qword [rsp + 0x30]
mov byte [rsp + rax + 0x90], 0x80
mov rax, qword [rsp + 0x30]
lea rax, [rsp + rax + 0x90]
add rax, qword [rsp + 0x58]
mov r8d, 8
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.180049dd0
mov dword [rsp + 0x40], 1
mov eax, dword [rsp + 0x40]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x1800475a3
xor r9d, r9d
lea r8, [0x180077b9c]
lea rdx, [0x180077ba4]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rax, qword [rsp + 0x58]
dec rax
mov rcx, qword [rsp + 0x30]
lea rcx, [rsp + rcx + 0x91]
mov r8, rax
xor edx, edx
call fcn.18004d3a0
mov eax, 1
mov word [rsp + 0x24], ax
movsx rax, word [rsp + 0x24]
lea rcx, [0x180087f80]
cmp dword [rcx + rax*4], 1
jne 0x180047601
movsx rax, word [rsp + 0x24]
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x24]
lea rdx, [0x180087f80]
mov dword [rdx + rcx*4], eax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x48]
call fcn.180049f40
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
and rax, 0x40
test rax, rax
je 0x180047641
lea rax, [rsp + 0xd0]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180049f40
mov eax, 4
mov word [rsp + 0x20], ax
movsx rax, word [rsp + 0x20]
lea rcx, [0x180087f80]
cmp dword [rcx + rax*4], 1
jne 0x180047680
movsx rax, word [rsp + 0x20]
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x20]
lea rdx, [0x180087f80]
mov dword [rdx + rcx*4], eax
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x80]
call fcn.180049dd0
mov dword [rsp + 0x28], 0
jmp 0x1800476ac
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x10
jge 0x1800477a5
mov rcx, qword [rsp + 0x120]
call fcn.18004c1a0
mov rcx, rax
call fcn.180005b90
mov rax, qword [rax]
and rax, 3
test rax, rax
je 0x180047747
movsxd rax, dword [rsp + 0x28]
movzx eax, byte [rsp + rax + 0x80]
sar eax, 4
cdqe
lea rcx, str.0123456789abcdef
movzx eax, byte [rcx + rax]
mov edx, eax
mov rcx, qword [rsp + 0x120]
call fcn.1800452b0
movzx eax, al
test eax, eax
je 0x18004773e
movsxd rax, dword [rsp + 0x28]
movzx eax, byte [rsp + rax + 0x80]
and eax, 0xf
cdqe
lea rcx, str.0123456789abcdef
movzx eax, byte [rcx + rax]
mov edx, eax
mov rcx, qword [rsp + 0x120]
call fcn.1800452b0
movzx eax, al
test eax, eax
jne 0x180047745
mov eax, 0xfffffffc
jmp 0x1800477c4
jmp 0x1800477a0
movsxd rax, dword [rsp + 0x28]
movzx eax, byte [rsp + rax + 0x80]
mov edx, eax
mov rcx, qword [rsp + 0x120]
call fcn.180044b50
movzx eax, al
test eax, eax
jne 0x180047771
mov eax, 0xfffffffc
jmp 0x1800477c4
mov dword [rsp + 0x64], 1
mov eax, dword [rsp + 0x64]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x1800477a0
xor r9d, r9d
lea r8, [0x180077ba8]
lea rdx, [0x180077bb0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1800476a2
xor edx, edx
mov rcx, qword [rsp + 0x120]
call fcn.18004be90
movzx eax, al
test eax, eax
je 0x1800477c2
mov eax, 0xfffffffc
jmp 0x1800477c4
xor eax, eax
add rsp, 0x118
ret