Function at 0x6d1ed0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
mov eax, pe_nt_image_headers32
call fcn.006f5ae0
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
cmp dword [ebp + 0x14], 0
je 0x6d1f1e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [eax]
je 0x6d1f1e
cmp dword [ebp + 0xc], 0
je 0x6d1f17
cmp dword [ebp + 0x10], 0
jge 0x6d1f1e
xor eax, eax
jmp 0x6d2243
cmp dword [ebp + 0x14], 0
je 0x6d1f2e
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x6d1f47
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x6d1f40
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp + 0x14], eax
jmp 0x6d1f47
xor eax, eax
jmp 0x6d2243
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0056b6c0
add esp, 4
and eax, 2
je 0x6d1f5f
xor eax, eax
jmp 0x6d2243
cmp dword [ebp + 0xc], 0
je 0x6d21e6
mov dword [ebp - 0x13c], 1
mov edx, dword [ebp + 0x14]
push edx
call fcn.0056bd00
add esp, 4
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0x90
jg 0x6d1f9d
mov dword [ebp - 0x134], 1
jmp 0x6d1fa7
mov dword [ebp - 0x134], 0
cmp dword [ebp - 0x134], 0
je 0x6d1fbc
mov dword [ebp - 0x138], 1
jmp 0x6d1fc6
mov dword [ebp - 0x138], 0
push 0x38
push str.cryptohmachmac.c
push str.Assertion_failed:_j____int_sizeof_keytmp_
mov eax, dword [ebp - 0x138]
push eax
call fcn.0056cb20
add esp, 0x10
test eax, eax
jne 0x6d1fec
xor eax, eax
jmp 0x6d2243
cmp dword [ebp - 0x130], 0
jge 0x6d1ffc
xor eax, eax
jmp 0x6d2243
mov ecx, dword [ebp - 0x130]
cmp ecx, dword [ebp + 0x10]
jge 0x6d2067
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call fcn.0057a7d0
add esp, 0xc
test eax, eax
je 0x6d205e
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.0057a810
add esp, 0xc
test eax, eax
je 0x6d205e
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.0057a5e0
add esp, 0xc
test eax, eax
jne 0x6d2065
xor eax, eax
jmp 0x6d2243
jmp 0x6d209d
cmp dword [ebp + 0x10], 0
jl 0x6d2076
cmp dword [ebp + 0x10], 0x90
jle 0x6d207d
xor eax, eax
jmp 0x6d2243
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.006f6ff0
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x12c], edx
cmp dword [ebp - 0x12c], 0x90
je 0x6d20cd
mov eax, 0x90
sub eax, dword [ebp - 0x12c]
push eax
push 0
mov ecx, dword [ebp - 0x12c]
lea edx, [ebp + ecx - 0x94]
push edx
call fcn.006f7570
add esp, 0xc
mov dword [ebp - 0x128], 0
jmp 0x6d20e8
mov eax, dword [ebp - 0x128]
add eax, 1
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0x90
jge 0x6d2114
mov ecx, dword [ebp - 0x128]
movzx edx, byte [ebp + ecx - 0x94]
xor edx, 0x36
mov eax, dword [ebp - 0x128]
mov byte [ebp + eax - 0x124], dl
jmp 0x6d20d9
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call fcn.0057a7d0
add esp, 0xc
test eax, eax
je 0x6d2156
mov edx, dword [ebp + 0x14]
push edx
call fcn.0056bd00
add esp, 4
push eax
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call fcn.0057a810
add esp, 0xc
test eax, eax
jne 0x6d215b
jmp 0x6d220c
mov dword [ebp - 0x128], 0
jmp 0x6d2176
mov eax, dword [ebp - 0x128]
add eax, 1
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0x90
jge 0x6d21a2
mov ecx, dword [ebp - 0x128]
movzx edx, byte [ebp + ecx - 0x94]
xor edx, 0x5c
mov eax, dword [ebp - 0x128]
mov byte [ebp + eax - 0x124], dl
jmp 0x6d2167
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.0057a7d0
add esp, 0xc
test eax, eax
je 0x6d21e4
mov edx, dword [ebp + 0x14]
push edx
call fcn.0056bd00
add esp, 4
push eax
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
call fcn.0057a810
add esp, 0xc
test eax, eax
jne 0x6d21e6
jmp 0x6d220c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.0057a9d0
add esp, 8
test eax, eax
jne 0x6d2202
jmp 0x6d220c
mov dword [ebp - 0x140], 1
cmp dword [ebp - 0x13c], 0
je 0x6d223d
push 0x90
lea ecx, [ebp - 0x94]
push ecx
call fcn.00403ae0
add esp, 8
push 0x90
lea edx, [ebp - 0x124]
push edx
call fcn.00403ae0
add esp, 8
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret