Function at 0x593860
Capabilities:
Authenticate hmac

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x593ae9
sub esp, 0x30
lea eax, [0x65ae80]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov edx, dword [esp + 0x28]
mov dword [edx + 0x18], ecx
mov ecx, dword [0xe996c0]
test ecx, ecx
jne 0x5938b4
mov dword [edx + 0x1c], eax
jmp 0x5938bc
lea edi, [edx + 0x1c]
call fcn.0045efc0
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov ebx, dword [esp + 0x28]
mov dword [ebx + 0x20], ecx
mov ecx, dword [0xe996c0]
test ecx, ecx
jne 0x5938e1
mov dword [ebx + 0x24], eax
jmp 0x5938e9
lea edi, [ebx + 0x24]
call fcn.0045efc0
mov byte [esp + 0x1f], 1
mov dword [esp], ebx
lea eax, [esp + 0x1f]
mov dword [esp + 4], eax
call fcn.00593b00
movzx eax, byte [esp + 0x1f]
test al, al
je 0x593ad0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
lea ecx, [0x63efa0]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00447490
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov ebx, dword [0xe996c0]
test ebx, ebx
jne 0x593958
mov dword [edx + 0xc], eax
jmp 0x593960
lea edi, [edx + 0xc]
call fcn.0045efc0
lea eax, [0x63efa0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00447490
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov edx, dword [0xe996c0]
test edx, edx
jne 0x593996
mov dword [edi], eax
jmp 0x59399b
call fcn.0045efc0
mov eax, dword [esp + 0x3c]
cmp eax, ecx
jg 0x5939a9
mov ecx, dword [esp + 0x38]
jmp 0x593a07
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
call ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov edx, eax
mov eax, ecx
mov ecx, edx
mov edx, dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
cmp eax, ebx
jge 0x593a15
mov ebx, eax
jmp 0x593a1b
mov ebp, ebx
mov ebx, eax
mov eax, ebp
cmp ecx, edx
je 0x593a43
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0045f7b0
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov eax, dword [edi]
mov edx, dword [edi + 4]
cmp ebx, edx
jl 0x593a4e
mov ebx, edx
cmp ecx, eax
je 0x593a66
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.0045f7b0
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x10]
xor ecx, ecx
jmp 0x593a7b
mov edx, dword [edi + 0xc]
movzx ebx, byte [ecx + edx]
xor ebx, 0x36
mov byte [edx + ecx], bl
inc ecx
cmp ecx, eax
jl 0x593a6d
mov eax, dword [edi + 4]
xor ecx, ecx
jmp 0x593a93
mov edx, dword [edi]
movzx ebx, byte [ecx + edx]
xor ebx, 0x5c
mov byte [edx + ecx], bl
inc ecx
cmp ecx, eax
jl 0x593a86
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov eax, dword [eax + 0x20]
mov edx, dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
mov ebp, dword [edi + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call eax
lea eax, [0x6d43b4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
add esp, 0x30
ret
lea eax, [0x63eda0]
mov dword [esp], eax
lea eax, [0x6d2828]
mov dword [esp + 4], eax
call fcn.00433470
nop
call fcn.0045dbb0
jmp fcn.00593860