Function at 0x10012fa0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
push ebx
push ebp
lea eax, [edx + 0x604]
mov dword [esp + 0x30], eax
lea ebx, [ecx - 0x619]
mov eax, dword [esp + 0x38]
lea ebp, [ecx + 0x28b]
add eax, 0xffffc37b
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x48]
add eax, 0xffffbe31
add esi, 0xfffff825
mov dword [esp + 0x3c], eax
lea eax, [edx + 0x92c]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x40], eax
push edi
mov edi, dword [esp + 0x30]
lea eax, [esi + 0x520]
mov dword [esp + 0x24], eax
cmp ebx, eax
jge 0x100131ad
mov eax, dword [esp + 0x3c]
add eax, 0x328
cmp esi, eax
je 0x10013037
mov eax, dword [edi + 0x174]
mov eax, dword [eax + 0xc]
add eax, 0x1ba6a
mov dword [edi + 0x9c], eax
jmp 0x100131ad
mov eax, dword [edi + 0x50]
mov edx, dword [edi + 0x1cc]
and eax, edx
cmp esi, eax
jae 0x1001316b
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x128]
mov eax, dword [esp + 0x4c]
and ecx, 0x4330
add eax, 0xfffff37c
mov ebx, dword [edi + 0xa0]
xor ecx, eax
xor ebx, dword [edi + 0x58]
mov dword [esp + 0x4c], ecx
xor ebx, esi
mov ecx, dword [edi + 0x70]
mov eax, ecx
xor eax, esi
sub ecx, dword [edi + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x14]
or eax, dword [esp + 0x14]
imul eax, ebp
mov ebp, dword [edi + 0x1c0]
mov dword [esp + 0x18], ecx
and ebp, 0x33a
mov ecx, dword [esp + 0x44]
or ebp, 0x3c85
and ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x164]
and eax, 0x3708
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x1cc]
mov edi, dword [esp + 0x38]
sub eax, esi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
sub edi, dword [eax + 0x104]
mov esi, dword [eax + 0x38]
mov edx, dword [eax + 0x1e8]
add ecx, dword [eax + 0x30]
or edx, 0x3e56
imul eax, dword [esp + 0x34], 0x4330
sub esi, dword [esp + 0x38]
imul esi, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x48]
push ecx
push edx
push esi
mov esi, dword [esp + 0x48]
imul eax, esi
add eax, 0x3a26
push eax
mov eax, dword [esp + 0x58]
push edi
mov edi, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x68]
push edi
push ebp
push dword [esp + 0x60]
imul eax, ebx
push dword [esp + 0x38]
push dword [esp + 0x44]
push dword [esp + 0x4c]
or eax, 0x43b5
push dword [esp + 0x54]
push eax
call fcn.1000fc00
mov ecx, dword [esp + 0x80]
and ebx, 0x3708
and ecx, dword [edi + 0x1cc]
add esp, 0x3c
or dword [esp + 0x40], ecx
xor esi, ebx
mov ebp, dword [esp + 0x34]
mov ebx, eax
mov dword [esp + 0x38], esi
jmp 0x100131ad
mov ecx, dword [edi + 0x1c0]
mov eax, ecx
xor eax, 0x3712
or eax, edx
cmp esi, eax
jbe 0x100131ad
lea ebx, [ebp + 0x3e56]
or ebx, dword [edi + 0x164]
nop word [eax + eax]
imul ecx, ebx
add esi, 2
mov eax, ecx
xor eax, 0x3712
or eax, edx
cmp esi, eax
ja 0x10013190
mov ebx, dword [esp + 0x10]
mov dword [edi + 0x1c0], ecx
push 0x3a26
push edi
call fcn.10014390
mov ecx, dword [esp + 0x40]
lea esi, [ebp - 0x792]
mov edx, dword [esp + 0x48]
mov dword [edi + 0x218], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x9c], 0x1fa00
mov eax, dword [eax + 0x158]
add eax, 0x3e1a
mov dword [edi + 0xdc], eax
lea eax, [ebx + 0x112]
push eax
lea eax, [ebp - 0x644]
push eax
lea eax, [ecx + 0x8c3]
add ecx, 0x5e9
push eax
push ebx
lea eax, [edx + 0x41cf]
push eax
mov eax, dword [esp + 0x60]
push edi
add eax, 0x59b
push eax
lea eax, [ebp - 0x2bb]
push eax
push esi
push dword [esp + 0x50]
push ecx
lea ecx, [edx + 0x3c04]
push ecx
mov ecx, dword [esp + 0x4c]
add ecx, 0x40db
push ecx
call sym.cqw762jh10.dll_BrQ652ENs
add esp, 0x3c
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret