Function at 0x10011070
Capabilities:
Authenticate hmac
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x32c
call fcn.10032340
mov eax, dword [0x1004fd40]
xor eax, esp
mov dword [esp + 0x328], eax
cmp dword [esp + 0x348], 0x100000
mov eax, dword [esp + 0x334]
mov ecx, dword [esp + 0x33c]
mov edx, dword [esp + 0x340]
push ebx
mov ebx, dword [esp + 0x334]
push ebp
push esi
mov esi, dword [esp + 0x344]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x358]
mov ebp, 8
push edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov edi, 0x40
mov dword [esp + 0x40], 0x28
mov dword [esp + 0x24], ebp
mov byte [esp + 0x12], 1
jb 0x1001110d
push str.data_plus_mac_plus_padding_size___1024__1024
push 0x1c7
push str.._ssl_s3_cbc.c
call sub.LIBEAY32.dll_Ordinal_3244
add esp, 0xc
push ebx
call sub.LIBEAY32.dll_Ordinal_3896
push eax
call sub.LIBEAY32.dll_Ordinal_3837
add esp, 8
cmp eax, 0x2a0
jg 0x100111e7
je 0x100111b2
cmp eax, 4
je 0x10011170
cmp eax, 0x40
jne 0x100111fc
lea ecx, [esp + 0x90]
push ecx
call sub.LIBEAY32.dll_Ordinal_503
add esp, 4
test eax, eax
jle 0x10011859
mov dword [esp + 0x28], 0x10010dc0
mov dword [esp + 0x14], 0x10031e6c
mov dword [esp + 0x18], 0x14
jmp 0x100112b7
lea edx, [esp + 0x90]
push edx
call sub.LIBEAY32.dll_Ordinal_341
add esp, 4
test eax, eax
jle 0x10011859
mov dword [esp + 0x28], 0x10010d10
mov dword [esp + 0x14], 0x10031e60
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x40], 0x30
mov byte [esp + 0x12], 0
jmp 0x100112b7
lea eax, [esp + 0x90]
push eax
call sub.LIBEAY32.dll_Ordinal_3479
add esp, 4
test eax, eax
jle 0x10011859
mov dword [esp + 0x28], 0x10010e90
mov dword [esp + 0x14], 0x10031e54
mov dword [esp + 0x18], 0x20
jmp 0x100112b7
sub eax, 0x2a1
je 0x10011276
sub eax, 1
je 0x10011258
sub eax, 1
je 0x10011226
push 0x100404f4
push 0x209
push str.._ssl_s3_cbc.c
call sub.LIBEAY32.dll_Ordinal_3244
add esp, 0xc
test esi, esi
je 0x10011859
mov dword [esi], 0
jmp 0x10011859
lea ecx, [esp + 0x90]
push ecx
call sub.LIBEAY32.dll_Ordinal_3631
add esp, 4
test eax, eax
jle 0x10011859
mov dword [esp + 0x28], 0x10010e90
mov dword [esp + 0x14], 0x10031e54
mov dword [esp + 0x18], 0x1c
jmp 0x100112b7
lea edx, [esp + 0x90]
push edx
call sub.LIBEAY32.dll_Ordinal_3633
add esp, 4
test eax, eax
jle 0x10011859
mov dword [esp + 0x18], edi
jmp 0x10011296
lea eax, [esp + 0x90]
push eax
call sub.LIBEAY32.dll_Ordinal_3737
add esp, 4
test eax, eax
jle 0x10011859
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x24], 0x10
mov ebp, dword [esp + 0x24]
mov edi, 0x80
mov dword [esp + 0x14], 0x10031e3c
mov dword [esp + 0x28], 0x10010fd0
mov bl, byte [esp + 0x364]
test bl, bl
mov dword [esp + 0x34], 0xd
je 0x100112dd
mov ecx, dword [esp + 0x360]
mov edx, dword [esp + 0x40]
lea eax, [edx + ecx + 0xb]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x358]
xor ecx, ecx
test bl, bl
sete cl
lea ecx, [ecx*4 + 2]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x18]
lea edx, [ecx + ebp]
add edx, edi
lea eax, [edx + eax - 1]
xor edx, edx
div edi
mov edx, dword [esp + 0x354]
add ecx, edx
xor edx, edx
mov esi, eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov eax, ecx
div edi
mov dword [esp + 0x38], edx
xor edx, edx
mov dword [esp + 0x54], eax
lea eax, [ecx + ebp]
div edi
xor edx, edx
test bl, bl
setne dl
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x30]
add edx, eax
cmp esi, edx
jbe 0x10011359
sub esi, eax
mov eax, esi
mov dword [esp + 0x20], eax
imul eax, edi
mov dword [esp + 0x2c], eax
cmp byte [esp + 0x364], 0
lea ebx, [ecx*8]
jne 0x100113fa
push edi
lea eax, [esp + 0x1bc]
push 0
push eax
lea ebx, [ebx + edi*8]
call fcn.10032820
mov esi, dword [esp + 0x36c]
add esp, 0xc
cmp esi, 0x80
jbe 0x100113aa
push str.mac_secret_length___sizeof_hmac_pad_
push 0x271
push str.._ssl_s3_cbc.c
call sub.LIBEAY32.dll_Ordinal_3244
add esp, 0xc
mov ecx, dword [esp + 0x4c]
push esi
push ecx
lea edx, [esp + 0x1c0]
push edx
call fcn.10032370
add esp, 0xc
xor eax, eax
test edi, edi
jbe 0x100113df
jmp 0x100113d0
xor byte [esp + eax + 0x1b8], 0x36
add eax, 1
cmp eax, edi
jb 0x100113d0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x1b8]
push eax
lea ecx, [esp + 0x94]
push ecx
call esi
add esp, 8
jmp 0x100113fe
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x12], 0
je 0x1001143f
lea edx, [ebp - 4]
push edx
lea eax, [esp + 0x16c]
push 0
push eax
call fcn.10032820
lea ebp, [esp + ebp + 0x174]
mov ecx, ebx
mov edx, ebx
shr ecx, 0x18
shr edx, 0x10
mov eax, ebx
add esp, 0xc
shr eax, 8
mov byte [ebp - 4], cl
mov byte [ebp - 3], dl
mov byte [ebp - 2], al
mov byte [ebp - 1], bl
jmp 0x10011474
push ebp
lea ecx, [esp + 0x16c]
push 0
push ecx
call fcn.10032820
lea ebp, [esp + ebp + 0x174]
mov edx, ebx
mov eax, ebx
shr edx, 0x18
shr eax, 0x10
mov ecx, ebx
add esp, 0xc
shr ecx, 8
mov byte [ebp - 5], dl
mov byte [ebp - 6], al
mov byte [ebp - 7], cl
mov byte [ebp - 8], bl
mov ebp, dword [esp + 0x2c]
test ebp, ebp
jbe 0x100115a5
cmp byte [esp + 0x364], 0
je 0x10011523
mov esi, dword [esp + 0x34]
cmp esi, edi
jbe 0x10011859
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x14]
lea edx, [esp + 0x90]
push ebx
push edx
sub esi, edi
call ebp
push esi
add ebx, edi
lea eax, [esp + 0x244]
push ebx
push eax
call fcn.10032370
mov ebx, dword [esp + 0x5c]
mov ecx, edi
sub ecx, esi
push ecx
lea edx, [esp + esi + 0x250]
push ebx
push edx
call fcn.10032370
lea eax, [esp + 0x258]
push eax
lea ecx, [esp + 0xb4]
push ecx
call ebp
mov eax, dword [esp + 0x54]
xor edx, edx
div edi
add esp, 0x28
sub eax, 1
cmp eax, 1
jbe 0x100115a5
sub ebx, esi
add ebx, edi
lea esi, [eax - 1]
lea edx, [esp + 0x90]
push ebx
push edx
call dword [esp + 0x1c]
add esp, 8
add ebx, edi
sub esi, 1
jne 0x10011507
jmp 0x100115a5
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x238], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x23c], edx
mov dl, byte [eax + 0xc]
lea eax, [edi - 0xd]
push eax
mov dword [esp + 0x244], ecx
lea ecx, [esp + 0x249]
push ebx
push ecx
mov byte [esp + 0x250], dl
call fcn.10032370
lea edx, [esp + 0x244]
push edx
lea eax, [esp + 0xa0]
push eax
call esi
xor edx, edx
mov eax, ebp
div edi
add esp, 0x14
cmp eax, 1
jbe 0x100115a5
lea ebx, [ebx + edi - 0xd]
lea ebp, [eax - 1]
jmp 0x10011590
lea ecx, [esp + 0x90]
push ebx
push ecx
call esi
add esp, 8
add ebx, edi
sub ebp, 1
jne 0x10011590
push 0x40
lea edx, [esp + 0x17c]
push 0
push edx
call fcn.10032820
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
mov ecx, esi
add eax, ecx
add esp, 0xc
cmp ecx, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x68], eax
ja 0x1001179c
jmp 0x100115e4
mov esi, dword [esp + 0x3c]
mov ecx, esi
xor ecx, dword [esp + 0x54]
xor esi, dword [esp + 0x64]
lea eax, [ecx - 1]
not ecx
shr ecx, 0x1f
shr eax, 0x1f
and al, cl
mov ecx, esi
lea ebx, [esi - 1]
shr ebx, 0x1f
not ecx
shr ecx, 0x1f
and bl, cl
neg al
neg bl
xor esi, esi
test edi, edi
mov byte [esp + 0x1f], al
mov byte [esp + 0x13], bl
jbe 0x10011738
mov ecx, dword [esp + 0x38]
movzx ebp, al
lea edx, [ecx + 1]
shr edx, 0x1f
not bl
or bl, al
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x24]
mov eax, edi
sub eax, dword [esp + 0x24]
shr ecx, 0x1f
neg ebp
sub edx, edi
mov dword [esp + 0x74], eax
lea eax, [esp + edx + 0x168]
mov dword [esp + 0x30], ecx
mov byte [esp + 0x1e], bl
mov dword [esp + 0x20], eax
jmp 0x10011674
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
cmp eax, edx
mov byte [esp + 0x12], 0
jae 0x1001168e
mov edx, dword [esp + 0x44]
mov dl, byte [edx + eax]
jmp 0x100116a4
mov ebx, dword [esp + 0x358]
add ebx, edx
cmp eax, ebx
jae 0x100116a8
mov ebx, dword [esp + 0x48]
sub ebx, edx
mov dl, byte [ebx + eax]
mov byte [esp + 0x12], dl
add eax, 1
mov dword [esp + 0x2c], eax
mov edx, esi
shr edx, 0x1f
mov bl, dl
xor bl, cl
mov eax, ebp
shr eax, 0x1f
xor al, cl
or al, bl
mov ebx, dword [esp + 0x38]
xor al, dl
sub al, 1
movzx ecx, al
and ecx, dword [esp + 0x5c]
add ebx, 1
mov eax, esi
sub eax, ebx
mov bl, byte [esp + 0x6c]
shr eax, 0x1f
xor al, bl
xor bl, dl
or al, bl
mov bl, byte [esp + 0x13]
xor al, dl
sub al, 1
and al, byte [esp + 0x1f]
mov dl, cl
not dl
and dl, byte [esp + 0x12]
and cl, 0x80
not al
or dl, cl
and al, dl
and al, byte [esp + 0x1e]
cmp esi, dword [esp + 0x74]
jb 0x1001171e
movzx ecx, bl
mov dl, cl
not dl
and dl, al
mov eax, dword [esp + 0x20]
mov al, byte [eax]
and al, cl
or al, dl
add dword [esp + 0x20], 1
mov byte [esp + esi + 0x2b8], al
add esi, 1
add ebp, 1
cmp esi, edi
jb 0x10011670
lea ecx, [esp + 0x2b8]
push ecx
lea edx, [esp + 0x94]
push edx
call dword [esp + 0x1c]
lea eax, [esp + 0x2c0]
push eax
lea ecx, [esp + 0x9c]
push ecx
call dword [esp + 0x38]
mov esi, dword [esp + 0x28]
add esp, 0x10
xor eax, eax
test esi, esi
jbe 0x10011787
lea ecx, [ecx]
mov dl, byte [esp + eax + 0x2b8]
and dl, bl
or byte [esp + eax + 0x178], dl
add eax, 1
cmp eax, esi
jb 0x10011770
mov eax, dword [esp + 0x3c]
add eax, 1
cmp eax, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
jbe 0x100115e0
lea eax, [esp + 0x78]
push eax
call sub.LIBEAY32.dll_Ordinal_2630
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
push 0
push edx
lea eax, [esp + 0x84]
push eax
call sub.LIBEAY32.dll_Ordinal_3109
add esp, 0x10
test eax, eax
jle 0x1001184c
cmp byte [esp + 0x364], 0
je 0x10011874
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x1bc]
push 0x5c
push ecx
call fcn.10032820
mov edx, dword [esp + 0x36c]
mov eax, dword [esp + 0x58]
push edx
push eax
lea ecx, [esp + 0x8c]
push ecx
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0x18
test eax, eax
jle 0x1001184c
push esi
lea edx, [esp + 0x1bc]
push edx
lea eax, [esp + 0x80]
push eax
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
jle 0x1001184c
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x17c]
push edx
lea eax, [esp + 0x80]
push eax
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
jg 0x100118d1
lea eax, [esp + 0x78]
push eax
call sub.LIBEAY32.dll_Ordinal_2821
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x338]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10032804
add esp, 0x32c
ret
xor eax, eax
test edi, edi
jbe 0x1001188f
lea ebx, [ebx]
xor byte [esp + eax + 0x1b8], 0x6a
add eax, 1
cmp eax, edi
jb 0x10011880
push edi
lea ecx, [esp + 0x1bc]
push ecx
lea edx, [esp + 0x80]
push edx
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
jle 0x1001184c
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x17c]
push ecx
lea edx, [esp + 0x80]
push edx
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
jle 0x1001184c
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x58]
push eax
push ecx
lea edx, [esp + 0x80]
push edx
call sub.LIBEAY32.dll_Ordinal_267
mov eax, dword [esp + 0x5c]
add esp, 0xc
test eax, eax
je 0x100118f9
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
lea edx, [esp + 0x78]
push edx
call sub.LIBEAY32.dll_Ordinal_2821
add esp, 4
mov eax, 1
jmp 0x1001185b