Function at 0x40ce80
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x728
mov esi, esp
mov eax, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esi + 0x310], 0x440e6c
mov dword [esi + 4], 0
mov dword [esi + 0x1c], 0
mov eax, dword [0x447e90]
mov cl, byte [esi + 0x130]
mov byte [esi + 0x138], cl
mov byte [esi + 0x48], 0x21
mov byte [esi + 0x49], 0x6d
mov byte [esi + 0x4a], 0xc1
mov byte [esi + 0x4b], 0x73
mov byte [esi + 0x4c], 0xce
mov byte [esi + 0x4d], 0x71
mov byte [esi + 0x4e], 0xdf
mov byte [esi + 0x4f], 0x77
mov byte [esi + 0x50], 0xd8
mov byte [esi + 0x51], 0x75
mov byte [esi + 0x52], 0xd6
mov byte [esi + 0x53], 0x7b
mov byte [esi + 0x54], 0xd9
mov byte [esi + 0x55], 0x79
mov byte [esi + 0x56], 0xd
mov byte [esi + 0x57], 0x7f
mov byte [esi + 0x58], 9
mov byte [esi + 0x59], 0x7d
mov byte [esi + 0x5a], 0x30
mov byte [esi + 0x5b], 0x43
mov byte [esi + 0x5c], 0x30
mov byte [esi + 0x5d], 0x41
mov byte [esi + 0x5e], 0x26
mov byte [esi + 0x5f], 0x47
mov byte [esi + 0x60], 0x2c
mov byte [esi + 0x61], 0x45
mov byte [esi + 0x62], 0x11
mov byte [esi + 0x63], 0x4b
mov byte [esi + 0x64], 0xe1
mov byte [esi + 0x65], 0x49
mov byte [esi + 0x66], 0xfc
mov byte [esi + 0x67], 0x4f
mov byte [esi + 0x68], 0xe8
mov byte [esi + 0x69], 0x4d
mov byte [esi + 0x6a], 0xe1
mov byte [esi + 0x6b], 0x53
mov byte [esi + 0x6c], 0xeb
mov byte [esi + 0x6d], 0x51
mov byte [esi + 0x6e], 0xe1
mov byte [esi + 0x6f], 0x57
mov byte [esi + 0x70], 0x34
mov byte [esi + 0x71], 0x55
mov byte [esi + 0x72], 8
mov byte [esi + 0x73], 0x5b
mov byte [esi + 0x74], 0xc
mov byte [esi + 0x75], 0x59
mov byte [esi + 0x76], 0x3e
mov byte [esi + 0x77], 0x5f
mov byte [esi + 0x78], 0x2d
mov byte [esi + 0x79], 0x5d
mov byte [esi + 0x7a], 0xd2
mov byte [esi + 0x7b], 0xa3
mov byte [esi + 0x7c], 0xd2
mov byte [esi + 0x7d], 0xa1
mov byte [esi + 0x7e], 0xd6
mov byte [esi + 0x7f], 0xa7
mov byte [esi + 0x80], 0xdb
mov byte [esi + 0x81], 0xa5
mov byte [esi + 0x82], 0xca
mov byte [esi + 0x83], 0xab
mov byte [esi + 0x84], 0xf3
mov byte [esi + 0x85], 0xa9
mov byte [esi + 0x86], 7
mov byte [esi + 0x87], 0xaf
mov byte [esi + 0x88], 0x1e
mov byte [esi + 0x89], 0xad
mov byte [esi + 0x8a], 0xc8
mov byte [esi + 0x8b], 0xb3
mov byte [esi + 0x8c], 0xc4
mov byte [esi + 0x8d], 0xb1
mov byte [esi + 0x8e], 0xc9
mov byte [esi + 0x8f], 0xb7
mov byte [esi + 0x90], 0xd4
mov byte [esi + 0x91], 0xb5
mov byte [esi + 0x92], 2
mov byte [esi + 0x93], 0xbb
mov byte [esi + 0x94], 0xc2
mov byte [esi + 0x95], 0xb9
mov byte [esi + 0x96], 0xca
mov byte [esi + 0x97], 0xbf
mov byte [esi + 0x98], 0xd5
mov byte [esi + 0x99], 0xbd
mov byte [esi + 0x9a], 0xe2
mov byte [esi + 0x9b], 0x83
mov byte [esi + 0x9c], 0xc1
mov byte [esi + 0x9d], 0x81
mov byte [esi + 0x9e], 0x36
mov byte [esi + 0x9f], 0x87
mov byte [esi + 0xa0], 0x34
mov byte [esi + 0xa1], 0x85
mov byte [esi + 0xa2], 0x26
mov byte [esi + 0xa3], 0x8b
mov byte [esi + 0xa4], 0x2d
mov byte [esi + 0xa5], 0x89
mov byte [esi + 0xa6], 0xd5
mov byte [esi + 0xa7], 0x8f
mov byte [esi + 0xa8], 0x29
mov byte [esi + 0xa9], 0x8d
mov byte [esi + 0xaa], 0x34
mov byte [esi + 0xab], 0x93
mov byte [esi + 0xac], 0xdf
mov byte [esi + 0xad], 0x91
mov byte [esi + 0xae], 0x3f
mov byte [esi + 0xaf], 0x97
mov byte [esi + 0xb0], 0x20
mov byte [esi + 0xb1], 0x95
mov byte [esi + 0xb2], 0xe9
mov byte [esi + 0xb3], 0x9b
mov byte [esi + 0xb4], 0xed
mov byte [esi + 0xb5], 0x99
mov byte [esi + 0xb6], 0xe9
mov byte [esi + 0xb7], 0x9f
mov byte [esi + 0xb8], 0xe7
mov byte [esi + 0xb9], 0x9d
mov byte [esi + 0xba], 0x90
mov byte [esi + 0xbb], 0xe3
mov byte [esi + 0xbc], 0x97
mov byte [esi + 0xbd], 0xe1
mov byte [esi + 0xbe], 0x9c
mov byte [esi + 0xbf], 0xe7
mov byte [esi + 0xc0], 0x84
mov byte [esi + 0xc1], 0xe5
mov byte [esi + 0xc2], 0x82
mov byte [esi + 0xc3], 0xeb
mov byte [esi + 0xc4], 0xa7
mov byte [esi + 0xc5], 0xe9
mov byte [esi + 0xc6], 0xa6
mov byte [esi + 0xc7], 0xef
mov byte [esi + 0xc8], 0xb8
mov byte [esi + 0xc9], 0xed
mov byte [esi + 0xca], 0xbf
mov byte [esi + 0xcb], 0xf3
mov byte [esi + 0xcc], 0xbc
mov byte [esi + 0xcd], 0xf1
mov byte [esi + 0xce], 0x9a
mov byte [esi + 0xcf], 0xf7
mov byte [esi + 0xd0], 0x94
mov byte [esi + 0xd1], 0xf5
mov byte [esi + 0xd2], 0x56
mov byte [esi + 0xd3], 0xfb
mov byte [esi + 0xd4], 0x51
mov byte [esi + 0xd5], 0xf9
mov byte [esi + 0xd6], 0x51
mov byte [esi + 0xd7], 0xff
mov byte [esi + 0xd8], 0x59
mov byte [esi + 0xd9], 0xfd
mov byte [esi + 0xda], 0xa2
mov byte [esi + 0xdb], 0xc3
mov byte [esi + 0xdc], 0x8b
mov byte [esi + 0xdd], 0xc1
mov byte [esi + 0xde], 0x63
mov byte [esi + 0xdf], 0xc7
mov byte [esi + 0xe0], 0x63
mov byte [esi + 0xe1], 0xc5
mov byte [esi + 0xe2], 0x65
mov byte [esi + 0xe3], 0xcb
mov byte [esi + 0xe4], 0x7b
mov byte [esi + 0xe5], 0xc9
mov byte [esi + 0xe6], 0xa7
mov byte [esi + 0xe7], 0xcf
mov byte [esi + 0xe8], 0xac
mov byte [esi + 0xe9], 0xcd
mov byte [esi + 0xea], 0x95
mov byte [esi + 0xeb], 0xd3
mov byte [esi + 0xec], pe_nt_image_headers32
mov byte [esi + 0xed], 0xd1
mov byte [esi + 0xee], 0x60
mov byte [esi + 0xef], 0xd7
mov byte [esi + 0xf0], 0x67
mov byte [esi + 0xf1], 0xd5
mov byte [esi + 0xf2], 0x77
mov byte [esi + 0xf3], 0xdb
mov byte [esi + 0xf4], 0x7d
mov byte [esi + 0xf5], 0xd9
mov byte [esi + 0xf6], 0xad
mov byte [esi + 0xf7], 0xdf
mov byte [esi + 0xf8], 0xad
mov byte [esi + 0xf9], 0xdd
mov byte [esi + 0xfa], 0x53
mov byte [esi + 0xfb], 0x23
mov byte [esi + 0xfc], 0x59
mov byte [esi + 0xfd], 0x21
mov byte [esi + 0xfe], 0x54
mov byte [esi + 0xff], 0x27
mov byte [esi + 0x100], 0x54
mov byte [esi + 0x101], 0x25
mov byte [esi + 0x102], 0x58
mov byte [esi + 0x103], 0x2b
mov byte [esi + 0x104], 0x58
mov byte [esi + 0x105], 0x29
mov byte [esi + 0x106], 0x5c
mov byte [esi + 0x107], 0x2f
mov byte [esi + 0x108], 0x5c
mov byte [esi + 0x109], 0x2d
mov byte [esi + 0x10a], 0x52
mov byte [esi + 0x10b], 0x33
mov byte [esi + 0x10c], 0x67
mov byte [esi + 0x10d], 0x31
mov byte [esi + 0x10e], 0x97
mov byte [esi + 0x10f], 0x37
mov byte [esi + 0x110], 0x9e
mov byte [esi + 0x111], 0x35
mov byte [esi + 0x112], 0x9b
mov byte [esi + 0x113], 0x3b
mov byte [esi + 0x114], 0x8e
mov byte [esi + 0x115], 0x39
mov byte [esi + 0x116], 0x97
mov byte [esi + 0x117], 0x3f
mov byte [esi + 0x118], 0x4f
mov byte [esi + 0x119], 0x3d
mov byte [esi + 0x11a], 0x77
mov byte [esi + 0x11b], 3
mov byte [esi + 0x11c], 0x77
mov byte [esi + 0x11d], 1
mov byte [esi + 0x11e], 0x7d
mov byte [esi + 0x11f], 7
mov byte [esi + 0x120], 0x76
mov byte [esi + 0x121], 5
mov byte [esi + 0x122], 0x7d
mov byte [esi + 0x123], 0xb
mov byte [esi + 0x124], 0x72
mov byte [esi + 0x125], 9
mov byte [esi + 0x126], 0xe
mov byte [esi + 0x127], 0xf
mov dword [esi + 0xc], 0
mov ecx, dword [esi + 0xc]
cmp ecx, 0xe0
jae 0x40d4ac
jmp 0x40d45b
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0xc]
movzx edi, byte [esi + edx + 0x48]
mov edx, ecx
add edx, 0x4e
lea ecx, [ecx + edi - 0x7e442db2]
and edx, edi
add edx, edx
mov edi, edx
xor edi, ecx
not edx
and ecx, edx
add ecx, ecx
sub ecx, edi
mov dword [esi + 0x314], ecx
mov ecx, dword [esi + 0x314]
add cl, 0xde
mov edx, dword [esi + 0xc]
mov byte [esi + edx + 0x48], cl
mov ecx, dword [esi + 0xc]
inc ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0xc]
cmp ecx, 0xe0
jb 0x40d45b
jmp 0x40d4ac
sub esp, 0x14
lea ecx, [esi + 0x48]
mov dword [esp], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call eax
mov dword [esi + 0x134], eax
mov eax, dword [esi + 0x134]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x30c], ecx
mov eax, dword [esi + 0x310]
mov ecx, dword [esi + 0x30c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x440e74]
xor ecx, 0x6ce08ecc
sub eax, ecx
push eax
mov ecx, esp
mov dword [esi + 0x1a4], ecx
mov dword [ecx], 0x440e78
push eax
mov dword [esi + 0x19c], esp
push eax
mov ecx, esp
mov dword [esi + 0x1a8], ecx
mov dword [ecx], 0x440e84
push eax
mov dword [esi + 0x1a0], esp
push eax
mov ecx, esp
mov dword [esi + 0x1c0], ecx
mov dword [ecx], 0x440e90
push eax
mov dword [esi + 0x1b4], esp
push eax
mov ecx, esp
mov dword [esi + 0x1b8], ecx
mov dword [ecx], 0x440e9c
push eax
mov dword [esi + 0x1ac], esp
push eax
mov ecx, esp
mov dword [esi + 0x1bc], ecx
mov dword [ecx], 0x440ea8
push eax
mov dword [esi + 0x1b0], esp
push eax
mov ecx, esp
mov dword [esi + 0x1d0], ecx
mov dword [ecx], 0x440eb4
push eax
mov dword [esi + 0x1c8], esp
push eax
mov ecx, esp
mov dword [esi + 0x1cc], ecx
mov dword [ecx], 0x440ec0
push eax
mov dword [esi + 0x1c4], esp
push eax
mov ecx, esp
mov dword [esi + 0x1d8], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x440ecc]
mov dword [esi + 0x1d4], ecx
push eax
mov ecx, esp
mov dword [esi + 0x1e8], ecx
mov dword [ecx], 0x440ed4
push eax
mov dword [esi + 0x1e4], esp
push eax
mov ecx, esp
mov dword [esi + 0x1f4], ecx
mov dword [ecx], 0x440ee0
push eax
mov dword [esi + 0x1ec], esp
push eax
mov ecx, esp
mov dword [esi + 0x1f8], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x440eec]
mov dword [esi + 0x1f0], ecx
push eax
mov ecx, esp
mov dword [esi + 0x290], ecx
mov dword [ecx], 0x440ef4
push eax
mov dword [esi + 0x284], esp
push eax
mov ecx, esp
mov dword [esi + 0x278], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x440f00]
mov dword [esi + 0x270], ecx
push eax
mov ecx, esp
mov dword [esi + 0x264], ecx
mov dword [ecx], 0x440f08
push eax
mov dword [esi + 0x25c], esp
push eax
mov ecx, esp
mov dword [esi + 0x250], ecx
mov dword [ecx], 0x440f14
push eax
mov dword [esi + 0x24c], esp
push eax
mov ecx, esp
mov dword [esi + 0x248], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x440f20]
mov dword [esi + 0x244], ecx
push eax
mov ecx, esp
mov dword [esi + 0x240], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x440f28]
mov dword [esi + 0x23c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x238], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x440f30]
mov dword [esi + 0x230], ecx
push eax
mov ecx, esp
mov dword [esi + 0x22c], ecx
mov dword [ecx], 0x440f38
push eax
mov dword [esi + 0x218], esp
push eax
mov ecx, esp
mov dword [esi + 0x20c], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x440f44]
mov dword [esi + 0x204], ecx
push eax
mov ecx, esp
mov dword [esi + 0x210], ecx
mov dword [ecx], 0x440f4c
push eax
mov dword [esi + 0x208], esp
push eax
mov ecx, esp
mov dword [esi + 0x21c], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x440f58]
mov dword [esi + 0x214], ecx
push eax
mov ecx, esp
mov dword [esi + 0x224], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x440f60]
mov dword [esi + 0x220], ecx
push eax
mov ecx, esp
mov dword [esi + 0x234], ecx
mov dword [ecx], 0x440f68
push eax
mov dword [esi + 0x228], esp
push eax
mov ecx, esp
mov dword [esi + 0x268], ecx
mov dword [ecx], 0x440f74
push eax
mov dword [esi + 0x260], esp
push eax
mov ecx, esp
mov dword [esi + 0x258], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x440f80]
mov dword [esi + 0x254], ecx
push eax
mov ecx, esp
mov dword [esi + 0x274], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x440f88]
mov dword [esi + 0x26c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x28c], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x440f90]
mov dword [esi + 0x288], ecx
push eax
mov edi, esp
mov dword [edi], 0x440f98
push eax
mov dword [esi + 0x298], esp
push eax
mov edx, esp
mov dword [edx], case.0x40c546.0
mov ecx, dword [0x440fa4]
mov dword [esi + 0x2a8], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2a0], ecx
mov dword [ecx], 0x440fac
push eax
mov dword [esi + 0x294], esp
push eax
mov ecx, esp
mov dword [esi + 0x2a4], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x440fb8]
mov dword [esi + 0x29c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2b4], ecx
mov dword [ecx], 0x440fc0
push eax
mov dword [esi + 0x2ac], esp
push eax
mov ecx, esp
mov dword [esi + 0x2d0], ecx
mov dword [ecx], 0x440fcc
push eax
mov dword [esi + 0x2c4], esp
push eax
mov ecx, esp
mov dword [esi + 0x2bc], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x440fd8]
mov dword [esi + 0x2b8], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2c8], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x440fe0]
mov dword [esi + 0x2c0], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2d4], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x440fe8]
mov dword [esi + 0x2cc], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2dc], ecx
mov dword [ecx], 0x440ff0
push eax
mov dword [esi + 0x2d8], esp
push eax
mov ecx, esp
mov dword [esi + 0x2fc], ecx
mov dword [ecx], 0x440ffc
push eax
mov dword [esi + 0x2ec], esp
push eax
mov ecx, esp
mov dword [esi + 0x2f0], ecx
mov dword [ecx], 0x441008
push eax
mov dword [esi + 0x2e8], esp
push eax
mov ecx, esp
mov dword [esi + 0x2f8], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x441014]
mov dword [esi + 0x2f4], ecx
push eax
mov ecx, esp
mov dword [esi + 0x304], ecx
mov dword [ecx], 0x44101c
push eax
mov dword [esi + 0x300], esp
push eax
mov ebx, esp
mov dword [ebx], 0x441028
push eax
mov dword [esi + 0x308], esp
push eax
mov ecx, esp
mov dword [esi + 0x190], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x441034]
mov dword [esi + 0x18c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x198], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x44103c]
mov dword [esi + 0x194], ecx
push eax
mov ecx, esp
mov dword [esi + 0x1e0], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x441044]
mov dword [esi + 0x1dc], ecx
push eax
mov ecx, esp
mov dword [esi + 0x200], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x44104c]
mov dword [esi + 0x1fc], ecx
push eax
mov ecx, esp
mov dword [esi + 0x280], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x441054]
mov dword [esi + 0x27c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2e4], ecx
mov dword [ecx], case.0x40c546.0
mov ecx, dword [0x44105c]
mov dword [esi + 0x2e0], ecx
jmp eax