Function at 0x458be6
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x404836
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x4043f0
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
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], esi
call fcn.004055f8
push dword [ebp - 0x1c]
call fcn.004055c8
cmp eax, 0x40
jle 0x458ce7
lea eax, [ebp - 0x1c]
push eax
call fcn.0045a6f5
mov edx, eax
lea ecx, [ebp - 0x34]
call fcn.004055f2
lea eax, [ebp - 0x34]
push eax
call fcn.0045a795
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push 0x30
push eax
mov dword [ebp - 0x64], 8
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x44], 2
call fcn.004054de
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00405514
push eax
call fcn.004055ec
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.004055f2
lea ecx, [ebp - 0x34]
call fcn.0040557a
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
push 4
call fcn.004055b0
add esp, 0x14
jmp 0x458d69
push dword [ebp - 0x1c]
call fcn.004055c8
cmp eax, 0x40
jge 0x458d69
mov eax, dword [ebp - 0x1c]
push esi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x88], 8
call fcn.0040562e
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x1c]
call fcn.004055c8
push 0x40
pop ecx
sub ecx, eax
lea eax, [ebp - 0x54]
jo 0x459053
push ecx
push eax
call fcn.004054de
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00405514
push eax
call fcn.004055ec
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.004055f2
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 3
call fcn.004055b0
add esp, 0x10
lea eax, [ebp - 0x1c]
mov edi, pe_nt_image_headers32
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x88]
push edi
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x88], 0x4008
push eax
call fcn.004056c4
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004056b2
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004056b8
lea ecx, [ebp - 0x44]
call fcn.004055e0
push esi
push dword [ebp - 0x2c]
push 1
pop ebx
push ebx
call fcn.0040554a
push eax
push ebx
lea eax, [ebp - 0x20]
push esi
push eax
push ebx
push esi
call fcn.004054d8
add esp, 0x1c
push esi
push dword [ebp - 0x2c]
push ebx
call fcn.0040554a
push eax
push ebx
lea eax, [ebp - 0x30]
push esi
push eax
push ebx
push esi
call fcn.004054d8
add esp, 0x1c
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x18], esi
push 0x3f
pop eax
cmp dword [ebp - 0x18], eax
jg 0x458e5d
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
call fcn.0040553e
mov al, byte [eax]
xor al, 0x36
movzx cx, al
call fcn.0040568e
push dword [ebp - 0x18]
mov bl, al
push dword [ebp - 0x20]
call fcn.0040553e
push dword [ebp - 0x18]
mov byte [eax], bl
push dword [ebp - 0x2c]
call fcn.0040553e
mov al, byte [eax]
xor al, 0x5c
movzx cx, al
call fcn.0040568e
push dword [ebp - 0x18]
mov bl, al
push dword [ebp - 0x30]
call fcn.0040553e
mov byte [eax], bl
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x18]
jo 0x459053
mov dword [ebp - 0x18], eax
jmp 0x458df3
call fcn.004597ce
lea eax, [ebp - 0x20]
mov dword [ebp - 0x8c], 0x40
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0045a533
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x88]
push edi
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x80], ebx
push eax
mov dword [ebp - 0x88], 0x4008
call fcn.004056c4
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004056b2
push dword [ebx]
call fcn.004055c8
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0045a533
lea eax, [ebp - 0x78]
push eax
push esi
call fcn.004056be
lea ecx, [ebp - 0x44]
call fcn.004055e0
call fcn.00459633
call fcn.00458a0e
mov edx, eax
lea ecx, [ebp - 0x34]
call fcn.004055f2
lea eax, [ebp - 0x34]
push eax
call fcn.0045a795
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.004055f2
lea ecx, [ebp - 0x34]
call fcn.0040557a
call fcn.004597ce
lea eax, [ebp - 0x30]
mov dword [ebp - 0x8c], 0x40
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0045a533
lea eax, [ebp - 0x24]
push edi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x88], 0x4008
call fcn.004056c4
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004056b2
push dword [ebp - 0x24]
call fcn.004055c8
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0045a533
lea eax, [ebp - 0x78]
push eax
push esi
call fcn.004056be
lea ecx, [ebp - 0x44]
call fcn.004055e0
call fcn.00459633
call fcn.00458a0e
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x44], 8
call fcn.004056ca
lea eax, [ebp - 0x54]
push eax
call fcn.004055ec
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.004055f2
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
call fcn.004055b0
add esp, 0xc
push 0x45843f
jmp 0x45900e
lea ecx, [ebp - 0x1c]
call fcn.0040557a
lea eax, [ebp - 0x20]
xor esi, esi
push eax
push esi
call fcn.00405508
lea ecx, [ebp - 0x24]
call fcn.0040557a
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.00405508
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.00405508
ret
call fcn.00405574