Function at 0x462f90
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x403506
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x403038
mov eax, dword [ebp + 0x18]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
jge 0x462fed
mov eax, dword [ebp + 0x10]
push eax
call fcn.0045add0
mov edi, dword [ebp + 0x14]
sub eax, edi
jo 0x4633ab
mov dword [ebp + 0x18], eax
jmp 0x462ff0
mov edi, dword [ebp + 0x14]
cmp dword [ebp + 0x18], esi
jle 0x463053
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x24]
mov edx, dword [ecx]
push edx
push eax
call dword [0x4012f4]
mov ecx, dword [ebp - 0x24]
cmp ecx, esi
je 0x46302b
cmp word [ecx], 1
jne 0x46302b
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
sub edi, edx
cmp edi, eax
jb 0x463027
call dword [fcn.0040117c]
mov ecx, dword [ebp - 0x24]
mov eax, edi
jmp 0x463034
call dword [fcn.0040117c]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 0xc]
add ecx, eax
push ecx
call dword [fcn.00401274]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x2c], eax
push edx
call dword [fcn.00401364]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov ecx, 0x36
mov edi, 0x479030
call dword [fcn.0040120c]
push eax
push 0x40
push 0x479174
call fcn.0040d168
call dword [fcn.004010ac]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
push ecx
push 1
call dword [fcn.0040125c]
mov dword [ebp - 0x44], eax
cmp esi, dword [ebp - 0x44]
jg 0x4630f4
mov eax, dword [ebx]
test eax, eax
je 0x4630ae
cmp word [eax], 1
jne 0x4630ae
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov edi, esi
sub edi, edx
cmp edi, ecx
jb 0x4630b6
call dword [fcn.0040117c]
jmp 0x4630b6
call dword [fcn.0040117c]
mov edi, eax
cmp esi, 0x80
jb 0x4630c4
call dword [fcn.0040117c]
mov edx, dword [ebx]
xor ecx, ecx
mov eax, dword [edx + 0xc]
mov cl, byte [eax + edi]
xor ecx, 0x36
call dword [fcn.0040120c]
mov edi, 0x479030
mov byte [edi + esi + 0x144], al
mov eax, 1
add eax, esi
jo 0x4633ab
mov esi, eax
jmp 0x463087
mov edx, dword [0x479234]
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0x8004
push edx
call fcn.0040d3d0
mov esi, dword [fcn.004010ac]
mov dword [ebp - 0x2c], eax
call esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x463369
lea eax, [edi + 0x144]
push 0
push 0x40
mov dword [ebp - 0x54], eax
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.0040d47c
mov dword [ebp - 0x2c], eax
call esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x463369
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push 0
push ecx
push edx
push eax
call fcn.0040d47c
mov dword [ebp - 0x2c], eax
call esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x463369
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
push 0
add edi, 0x1c4
push ecx
push edi
push 2
push edx
mov dword [ebp - 0x2c], 0x14
call fcn.0040d4c8
mov edi, eax
call esi
test edi, edi
je 0x463369
mov eax, dword [ebp - 0x18]
push eax
call fcn.0040d41c
call esi
mov ecx, 0x5c
mov dword [ebp - 0x18], 0
call dword [fcn.0040120c]
mov ecx, dword [ebp - 0x54]
push eax
push 0x40
push ecx
call fcn.0040d168
call esi
mov edx, dword [ebx]
push edx
push 1
call dword [fcn.0040125c]
mov dword [ebp - 0x4c], eax
xor esi, esi
cmp esi, dword [ebp - 0x4c]
jg 0x46323c
mov eax, dword [ebx]
test eax, eax
je 0x4631fa
cmp word [eax], 1
jne 0x4631fa
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov edi, esi
sub edi, edx
cmp edi, ecx
jb 0x463202
call dword [fcn.0040117c]
jmp 0x463202
call dword [fcn.0040117c]
mov edi, eax
cmp esi, 0x80
jb 0x463210
call dword [fcn.0040117c]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax + 0xc]
mov dl, byte [ecx + edi]
mov ecx, edx
xor ecx, 0x5c
call dword [fcn.0040120c]
mov ecx, dword [ebp - 0x54]
mov byte [ecx + esi], al
mov eax, 1
add eax, esi
jo 0x4633ab
mov esi, eax
jmp 0x4631d3
mov eax, dword [0x479234]
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0x8004
push eax
call fcn.0040d3d0
mov dword [ebp - 0x2c], eax
call dword [fcn.004010ac]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x463363
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x18]
push 0
push 0x40
push ecx
push edx
call fcn.0040d47c
mov dword [ebp - 0x2c], eax
call dword [fcn.004010ac]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x463363
mov eax, 0x479030
push 0
add eax, 0x1c4
push 0x14
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.0040d47c
mov dword [ebp - 0x2c], eax
call dword [fcn.004010ac]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x463363
push 0x4141ac
push 0x40efb4
call dword [fcn.004010a0]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [fcn.0040132c]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push ecx
push 0x14
push esi
call fcn.0045ac50
lea ecx, [ebp - 0x28]
call dword [fcn.00401380]
mov edx, dword [esi]
lea eax, [ebp - 0x24]
push edx
push eax
mov dword [ebp - 0x2c], 0x14
call dword [0x4012f4]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x463326
cmp word [ecx], 1
jne 0x463326
mov esi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
neg esi
cmp esi, eax
jb 0x463322
call dword [fcn.0040117c]
mov ecx, dword [ebp - 0x24]
mov eax, esi
jmp 0x46332f
call dword [fcn.0040117c]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 0xc]
lea edx, [ebp - 0x2c]
push 0
add ecx, eax
push edx
mov edx, dword [ebp - 0x18]
push ecx
push 2
push edx
call fcn.0040d4c8
mov esi, eax
call dword [fcn.004010ac]
lea eax, [ebp - 0x24]
push eax
call dword [fcn.00401364]
test esi, esi
je 0x463363
mov dword [ebp - 0x20], 0xffffffff
mov esi, dword [fcn.004010ac]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x463378
push eax
call fcn.0040d41c
call esi
push 0x463394
jmp 0x463393
ret
call dword [fcn.00401284]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop