Function at 0x405cd0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5a4
mov eax, dword [0x437070]
xor eax, esp
mov dword [esp + 0x5a0], eax
mov eax, dword [esp + 0x5b0]
push ebx
push ebp
mov ebp, dword [esp + 0x5b4]
mov ecx, dword [ebp]
push esi
mov esi, dword [esp + 0x5c0]
push edi
mov edi, dword [esp + 0x5b8]
push 0x40
lea edx, [esi + 0x200]
mov dword [esp + 0x20], eax
xor ebx, ebx
push edx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], 0x67452301
mov dword [esp + 0x30], 0xefcdab89
mov dword [esp + 0x34], 0x98badcfe
mov dword [esp + 0x38], 0x10325476
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x84], ebx
call fcn.004057b0
mov ecx, dword [ebp]
sub ecx, edi
push ecx
lea edx, [esp + 0x30]
push edi
push edx
call fcn.004057b0
lea eax, [esp + 0x94]
push 0x51c
push eax
call fcn.00410bf0
push ebx
push ebx
push 0x20
push ebx
push 0xfa
push ebx
lea ecx, [esp + 0xb4]
push ebx
push ecx
call fcn.004071b0
add esp, 0x40
add esi, 0x100
push esi
call fcn.00402430
movzx edx, ax
mov eax, dword [esp + 0x8c]
push edx
push eax
push esi
call fcn.00410b30
push esi
call fcn.00402430
movzx ecx, ax
push ecx
lea edx, [esp + 0x38]
push esi
push edx
call fcn.004057b0
mov eax, 0xff
push 2
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], al
mov word [esp + 0xb2], ax
mov ax, word [esp + 0x34]
push ecx
lea edx, [esp + 0x48]
push edx
mov word [esp + 0x3c], ax
call fcn.004057b0
push 4
lea eax, [esp + 0xc0]
mov dword [esp + 0xc0], ebx
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004057b0
push str._bhmac_md5_asig_alg
call fcn.00402430
movzx edx, ax
mov eax, dword [esp + 0xdc]
push edx
add eax, 4
push eax
push str._bhmac_md5_asig_alg
call fcn.00410b30
add esp, 0x48
push str._bhmac_md5_asig_alg
call fcn.00402430
mov ecx, dword [esp + 0xa4]
movzx eax, ax
push eax
lea edx, [esp + 0x28]
push str._bhmac_md5_asig_alg
push edx
lea esi, [eax + ecx + 4]
call fcn.004057b0
add esp, 0x10
call fcn.00410db0
cmp eax, 0xffffffff
jne 0x405e83
push str.ERROR:_DNSDigest_SignMessage___mDNSPlatformUTC_returned_bad_time__1
call fcn.00410870
add esp, 4
xor eax, eax
jmp 0x406047
mov ecx, eax
shr ecx, 0x18
mov edx, eax
shr edx, 0x10
mov byte [esp + 0x59a], cl
push 6
mov byte [esp + 0x59f], dl
mov ecx, eax
lea edx, [esp + 0x59c]
shr ecx, 8
push esi
push edx
mov byte [esp + 0x5a4], bl
mov byte [esp + 0x5a5], bl
mov byte [esp + 0x5a8], cl
mov byte [esp + 0x5a9], al
call fcn.00410b30
push 6
lea eax, [esp + 0x5a8]
push eax
lea ecx, [esp + 0x34]
push ecx
add esi, 6
call fcn.004057b0
mov al, 0x2c
mov byte [esp + 0x29], al
mov byte [esi + 1], al
push 2
lea eax, [esp + 0x2c]
mov byte [esp + 0x2c], 1
mov dx, word [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
mov byte [esi], 1
push ecx
mov word [esp + 0x34], dx
add esi, 2
call fcn.004057b0
push 2
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x4c]
push eax
mov word [esp + 0x40], bx
call fcn.004057b0
push 2
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.004057b0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x5e0]
push ecx
call fcn.00405a90
mov edx, dword [esp + 0x5c]
add esp, 0x44
push 0x40
add edx, 0x240
push edx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 0x67452301
mov dword [esp + 0x30], 0xefcdab89
mov dword [esp + 0x34], 0x98badcfe
mov dword [esp + 0x38], 0x10325476
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x84], ebx
call fcn.004057b0
push 0x10
lea ecx, [esp + 0x5b0]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.004057b0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x5bc]
push ecx
call fcn.00405a90
mov byte [esi], bl
mov byte [esi + 1], 0x10
push 0x10
add esi, 2
lea edx, [esp + 0x5c4]
push esi
push edx
call fcn.00410b30
mov al, byte [edi]
add esi, 0x10
mov byte [esi], al
mov cl, byte [edi + 1]
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x40]
mov byte [esi + 2], bl
mov byte [esi + 3], bl
mov byte [esi + 4], bl
mov byte [esi + 5], bl
sub esi, dword [esp + 0xcc]
lea edx, [edi + 0x22f8]
push edx
push ebx
add esi, 2
lea eax, [esp + 0xb4]
push eax
mov word [esp + 0xcc], si
mov esi, dword [esp + 0x54]
push esi
push ecx
push edi
call fcn.00403c40
add esp, 0x44
cmp eax, ebx
mov dword [ebp], eax
jne 0x406039
push str.ERROR:_DNSDigest_SignMessage___could_not_put_TSIG
call fcn.00410870
add esp, 4
xor eax, eax
jmp 0x406047
mov dl, byte [esi + 1]
mov byte [edi + 0xa], dl
mov al, byte [esi]
mov byte [edi + 0xb], al
mov eax, dword [ebp]
mov ecx, dword [esp + 0x5b0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00423888
add esp, 0x5a4
ret