Function at 0x436b02
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x1c], ebx
push 0xc
call dword [sym.imp.tbbmalloc.dll_scalable_malloc]
mov edi, eax
mov dword [esp + 0x1c], edi
pop ecx
test edi, edi
je 0x49c5e7
and dword [edi], 0
xor eax, eax
inc eax
mov dword [edi + 4], 0x10275c4
and dword [esp + 0x28], 0
mov dword [edi + 8], eax
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x888]
mov dword [esp + 0x20], fcn.00435044
mov dword [esp + 0x24], 0x478d10
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.00435044
test al, al
je 0x436c03
mov eax, dword [esp + 0x28]
and dword [esp + 0x38], 0
mov dword [esp + 0x30], fcn.0043736c
mov dword [esp + 0x34], 0x478d10
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
call fcn.0043736c
test al, al
je 0x436bfa
mov eax, dword [esp + 0x38]
mov ebx, dword [eax + 0x78]
test ebx, 0xffff0000
je 0x436be7
mov eax, edi
test edi, edi
je 0x436bc0
cmp dword [eax + 4], ebx
jne 0x436bba
inc dword [eax + 8]
jmp 0x436b8d
mov eax, dword [eax]
test eax, eax
jne 0x436bb0
push 0xc
call dword [sym.imp.tbbmalloc.dll_scalable_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x49c5fe
inc dword [esp + 0x14]
mov dword [esi], edi
mov edi, esi
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
jmp 0x436b8d
test byte [eax + 0xcc], 0x40
je 0x436baa
mov eax, dword [0x5a30c4]
mov ebx, dword [eax + 0x78]
jmp 0x436baa
mov dword [esp + 0x18], edi
jmp 0x436b5e
mov eax, dword [esp + 0x1c]
xor edx, edx
mov esi, dword [eax + 0x8ac]
mov ebx, esi
mov dword [esp + 0x10], ebx
test esi, esi
je 0x436c37
mov edi, dword [eax + 0x8a8]
movzx eax, byte [edi + edx]
movzx ecx, dl
rol eax, cl
add ebx, eax
inc edx
cmp edx, esi
jb 0x436c1f
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
mov edx, edi
test edi, edi
je 0x436c52
movzx ecx, byte [edx + 8]
mov eax, dword [edx + 4]
mov edx, dword [edx]
rol eax, cl
add ebx, eax
test edx, edx
jne 0x436c3d
mov dword [esp + 0x10], ebx
xor edx, edx
mov eax, ebx
shr eax, 5
push 3
pop ecx
div ecx
inc edx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 0x42]
mov ecx, dword [edx + 0xaf0]
imul eax, eax, 5
shr ecx, 9
and ecx, 1
add eax, dword [esp + 0x14]
lea eax, [eax + ecx*2]
lea eax, [eax + 0x22]
lea esi, [esi + eax*8]
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
lea ecx, [esi - 1]
mov eax, ecx
xor edx, edx
div dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
sub eax, edx
sub eax, esi
add eax, ecx
mov ecx, dword [esp + 0x18]
shr eax, 3
cmp eax, ecx
jb 0x436cb0
mov eax, ecx
add eax, dword [esp + 0x14]
lea eax, [eax*8 + 0x18]
mov dword [esp + 0x14], eax
push eax
call dword [sym.imp.tbbmalloc.dll_scalable_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x49c615
cmp dword [0x5a2e48], 3
jl 0x49c630
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.0045be4b
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov dword [eax], esi
mov eax, ebx
mov dword [esi + 4], ebx
xor eax, 0x536e6144
lea ebx, [esi + 8]
mov dword [esi], eax
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
add ebx, 8
test edi, edi
je 0x436d33
mov eax, dword [edi + 4]
xor eax, ecx
mov dword [ebx], eax
mov eax, dword [edi + 8]
xor eax, ecx
mov dword [ebx + 4], eax
add ebx, 8
mov esi, dword [edi]
push edi
call dword [sym.imp.tbbmalloc.dll_scalable_free]
mov edi, esi
pop ecx
mov ecx, dword [esp + 0x10]
test esi, esi
jne 0x436d0d
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov dword [ebx], 0x68636952
mov dword [ebx + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004575aa
test al, al
jne 0x436b14
call fcn.004fd4dc
jmp 0x436b2b
call fcn.004575aa
test al, al
jne 0x436bc0
call fcn.004fd4dc
jmp 0x436bd3
call fcn.004575aa
test al, al
mov eax, dword [esp + 0x14]
jne 0x436cbf
call fcn.004fd4dc
jmp 0x436ce9
push dword [esp + 0x14]
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x436ce9