Function at 0x441880
Capabilities:
Authenticate hmac
Encode data using xor
Hash data using sha1

Disassembly:
sub esp, 0x120
mov eax, dword [0x5c6590]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push ebx
push ebp
push esi
mov esi, edx
xor ebx, ebx
cmp esi, 0x40
push edi
mov edi, dword [esp + 0x13c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov ebp, 0xc3d2e1f0
jle 0x44191f
xor edx, edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov word [esp + 0x34], dx
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
mov dword [esp + 0x28], ebp
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
cmp esi, ebx
je 0x44190a
push esi
mov eax, edi
lea esi, [esp + 0x1c]
call fcn.00441210
add esp, 4
lea edi, [esp + 0x84]
lea eax, [esp + 0x18]
call fcn.00441190
mov esi, 0x14
push 0x41
lea eax, [esp + 0xe4]
push ebx
push eax
call fcn.00540cb0
push 0x41
lea ecx, [esp + 0xa8]
push ebx
push ecx
call fcn.00540cb0
push esi
lea edx, [esp + 0xfc]
push edi
push edx
call fcn.00544200
push esi
lea eax, [esp + 0xc0]
push edi
push eax
call fcn.00544200
add esp, 0x30
xor eax, eax
jmp 0x441970
xor byte [esp + eax + 0xe0], 0x36
xor byte [esp + eax + 0x98], 0x5c
inc eax
cmp eax, 0x40
jl 0x441970
xor ecx, ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov word [esp + 0x34], cx
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
mov dword [esp + 0x28], ebp
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov edi, 0x40
lea esi, [esp + 0xe0]
mov eax, 1
sub edi, eax
cmp dword [esp + 0x7c], ebx
jne 0x441a1b
movzx edx, word [esp + 0x34]
mov cl, byte [esi]
mov byte [esp + edx + 0x36], cl
add word [esp + 0x34], ax
add dword [esp + 0x2c], 8
jne 0x4419fb
add dword [esp + 0x30], eax
jne 0x4419fb
mov dword [esp + 0x7c], eax
cmp word [esp + 0x34], 0x40
jne 0x441a15
lea edx, [esp + 0x18]
push edx
call fcn.00441290
add esp, 4
mov eax, 1
add esi, eax
cmp edi, ebx
jne 0x4419cd
mov eax, dword [esp + 0x138]
cmp eax, ebx
je 0x441a37
push eax
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x1c]
call fcn.00441210
add esp, 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
call fcn.00441190
xor eax, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov word [esp + 0x34], ax
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
mov dword [esp + 0x28], ebp
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov edi, 0x40
lea esi, [esp + 0x98]
mov eax, 1
sub edi, eax
cmp dword [esp + 0x7c], ebx
jne 0x441ad9
movzx ecx, word [esp + 0x34]
mov dl, byte [esi]
mov byte [esp + ecx + 0x36], dl
add word [esp + 0x34], ax
add dword [esp + 0x2c], 8
jne 0x441ab9
add dword [esp + 0x30], eax
jne 0x441ab9
mov dword [esp + 0x7c], eax
cmp word [esp + 0x34], 0x40
jne 0x441ad3
lea eax, [esp + 0x18]
push eax
call fcn.00441290
add esp, 4
mov eax, 1
add esi, eax
cmp edi, ebx
jne 0x441a8b
mov ebp, dword [esp + 0x10]
mov edi, 0x14
mov esi, ebp
cmp ebp, ebx
je 0x441b47
cmp dword [esp + 0x78], ebx
je 0x441af8
mov dword [esp + 0x7c], 3
jmp 0x441b47
cmp dword [esp + 0x7c], ebx
jne 0x441b47
sub edi, eax
cmp dword [esp + 0x7c], ebx
jne 0x441b47
movzx ecx, word [esp + 0x34]
mov dl, byte [esi]
mov byte [esp + ecx + 0x36], dl
add word [esp + 0x34], ax
add dword [esp + 0x2c], 8
jne 0x441b27
add dword [esp + 0x30], eax
jne 0x441b27
mov dword [esp + 0x7c], eax
cmp word [esp + 0x34], 0x40
jne 0x441b41
lea eax, [esp + 0x18]
push eax
call fcn.00441290
add esp, 4
mov eax, 1
add esi, eax
cmp edi, ebx
jne 0x441afe
mov edi, ebp
lea eax, [esp + 0x18]
call fcn.00441190
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0053e694
add esp, 0x120
ret