Function at 0x10125e00
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x3f8
mov eax, dword [0x101c3584]
xor eax, esp
mov dword [esp + 0x3f4], eax
push ebx
push ebp
mov ebp, dword [esp + 0x40c]
push esi
mov esi, dword [esp + 0x40c]
mov eax, dword [esi]
push edi
mov edi, dword [esp + 0x40c]
movzx cx, byte [edi + 0xa]
movzx dx, byte [edi + 0xb]
shl cx, 8
or cx, dx
mov dword [esp + 0x20], eax
movzx eax, cx
push 0x40
lea ecx, [ebp + 0x17f2]
xor ebx, ebx
push ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0x67452301
mov dword [esp + 0x34], 0xefcdab89
mov dword [esp + 0x38], 0x98badcfe
mov dword [esp + 0x3c], 0x10325476
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x88], ebx
call fcn.10125a20
mov eax, dword [esi]
sub eax, edi
push eax
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.10125a20
push ebx
push ebx
push ebx
push 0x20
push ebx
push 0xfa
push ebx
lea edx, [esp + 0xb4]
push ebx
push edx
call fcn.101194c0
lea eax, [ebp + 0x16d0]
push eax
lea esi, [ebp + 0x15d0]
push esi
call fcn.101188e0
movzx eax, ax
mov ecx, 0x100
add esp, 0x44
cmp ax, cx
ja 0x10125ef7
movzx edx, ax
push edx
lea eax, [esp + 0x1e4]
push esi
push eax
call fcn.10118460
add esp, 0xc
jmp 0x10125efe
mov byte [esp + 0x1e0], bl
lea eax, [ebp + 0x16d0]
push eax
push esi
call fcn.101188e0
movzx ecx, ax
push ecx
lea edx, [esp + 0x30]
push esi
push edx
call fcn.10125a20
mov eax, 0xff
mov byte [esp + 0x25], al
push 2
lea edx, [esp + 0x28]
mov word [esp + 0xa0], ax
mov byte [esp + 0x28], bl
mov cx, word [esp + 0x28]
push edx
lea eax, [esp + 0x40]
push eax
mov word [esp + 0x30], cx
call fcn.10125a20
push 4
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0xb8], ebx
call fcn.10125a20
push 0x1019f81c
push str._bhmac_md5_asig_alg
call fcn.101188e0
movzx eax, ax
mov ecx, 0x100
add esp, 0x34
cmp ax, cx
ja 0x10125fa2
movzx edx, ax
mov eax, dword [esp + 0xa4]
push edx
add eax, 4
push str._bhmac_md5_asig_alg
push eax
call fcn.10118460
add esp, 0xc
jmp 0x10125fac
mov ecx, dword [esp + 0xa4]
mov byte [ecx + 4], bl
push 0x1019f81c
push str._bhmac_md5_asig_alg
call fcn.101188e0
mov edx, dword [esp + 0xac]
movzx eax, ax
push eax
lea esi, [eax + edx + 4]
lea eax, [esp + 0x30]
push str._bhmac_md5_asig_alg
push eax
call fcn.10125a20
add esp, 0x14
call fcn.101185a0
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x10126002
push str.ERROR:_DNSDigest_SignMessage___mDNSPlatformUTC_returned_bad_time__1
push ebx
call fcn.1011dd40
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add esp, 8
mov dword [ecx], ebx
mov edx, eax
shr edx, 0x18
mov byte [esp + 0x3ee], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x3f1], al
push 6
lea eax, [esp + 0x3f0]
push eax
shr ecx, 0x10
shr edx, 8
push esi
mov byte [esp + 0x3f8], bl
mov byte [esp + 0x3f9], bl
mov byte [esp + 0x3fb], cl
mov byte [esp + 0x3fc], dl
call fcn.10118460
push 6
lea ecx, [esp + 0x3fc]
push ecx
lea edx, [esp + 0x38]
push edx
add esi, 6
call fcn.10125a20
push 2
lea eax, [esp + 0x40]
push esi
push eax
mov byte [esi], 1
mov byte [esi + 1], 0x2c
call fcn.10125a20
mov cx, word [esp + 0x43c]
mov ax, cx
mov byte [esp + 0x35], cl
push 2
lea ecx, [esp + 0x38]
shr ax, 8
push ecx
lea edx, [esp + 0x50]
push edx
add esi, 2
mov word [esp + 0x44], ax
mov byte [esp + 0x40], al
call fcn.10125a20
push 2
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x5c]
xor eax, eax
push edx
mov word [esp + 0x4c], ax
call fcn.10125a20
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x434]
push ecx
call fcn.10125cc0
add esp, 0x44
push 0x40
add ebp, 0x1832
lea edx, [esp + 0x28]
push ebp
push edx
mov dword [esp + 0x30], 0x67452301
mov dword [esp + 0x34], 0xefcdab89
mov dword [esp + 0x38], 0x98badcfe
mov dword [esp + 0x3c], 0x10325476
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x88], ebx
call fcn.10125a20
push 0x10
lea eax, [esp + 0x404]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.10125a20
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x410]
push eax
call fcn.10125cc0
push 0x10
lea ecx, [esp + 0x418]
mov byte [esi], bl
mov byte [esi + 1], 0x10
push ecx
add esi, 2
push esi
call fcn.10118460
movzx edx, byte [edi]
mov cl, byte [esp + 0x40]
add esi, 0x10
mov byte [esi], dl
mov al, byte [edi + 1]
mov dl, byte [esp + 0x444]
mov byte [esi + 1], al
mov byte [esi + 2], cl
lea eax, [edi + 0x22f8]
push eax
mov eax, dword [esp + 0x50]
mov byte [esi + 3], dl
push ebx
lea ecx, [esp + 0xb8]
push ecx
mov byte [esi + 4], bl
mov byte [esi + 5], bl
sub esi, dword [esp + 0xdc]
lea edx, [esp + 0x54]
push edx
push eax
add esi, 2
push edi
mov word [esp + 0xd4], si
call fcn.1011c5c0
mov esi, dword [esp + 0x5c]
add esp, 0x44
mov dword [esi], eax
cmp eax, ebx
jne 0x101261ca
push str.ERROR:_DNSDigest_SignMessage___could_not_put_TSIG
push ebx
call fcn.1011dd40
add esp, 8
mov dword [esi], ebx
jmp 0x101261d9
mov eax, dword [esp + 0x1c]
mov ecx, eax
shr ecx, 8
mov byte [edi + 0xa], cl
mov byte [edi + 0xb], al
mov ecx, dword [esp + 0x404]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1013d581
add esp, 0x3f8
ret