Function at 0x100a81a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x38
call fcn.10107480
mov eax, dword [0x101be8d0]
xor eax, esp
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push ebx
push ebp
shr ecx, 4
push esi
mov esi, dword [esp + 0x48]
push edi
mov edi, dword [esi + 0x48]
xor ebp, ebp
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x4c]
mov edx, ecx
add edx, edi
adc ebp, eax
add edi, 1
adc eax, 0
mov ebx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebp
cmp ebx, ebp
ja 0x100a82f3
jb 0x100a8200
cmp edi, edx
ja 0x100a82f3
mov eax, edi
and eax, 1
xor ebp, ebp
or eax, ebp
mov ecx, edi
mov edx, ebx
mov dword [esp + 0x10], 0
jne 0x100a8235
jmp 0x100a8220
inc dword [esp + 0x10]
shrd ecx, edx, 1
mov eax, ecx
and eax, 1
xor ebp, ebp
shr edx, 1
or eax, ebp
je 0x100a8220
mov ecx, dword [esp + 0x10]
push ecx
push esi
call fcn.100a7d70
add esp, 8
test eax, eax
je 0x100a83c7
mov edx, dword [eax]
xor dword [esi + 0x68], edx
mov ecx, dword [eax + 4]
xor dword [esi + 0x6c], ecx
mov edx, dword [eax + 8]
xor dword [esi + 0x70], edx
mov eax, dword [eax + 0xc]
xor dword [esi + 0x74], eax
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
mov eax, edi
sub eax, dword [esi + 0x48]
dec eax
shl eax, 4
add eax, dword [esp + 0x14]
xor ecx, dword [eax]
xor edx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
xor ecx, dword [esi + 0x70]
xor edx, dword [esi + 0x74]
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], edx
push ecx
lea edx, [esp + 0x2c]
push edx
call eax
mov ecx, dword [esp + 0x40]
xor dword [esi + 0x78], ecx
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
xor dword [esi + 0x7c], edx
xor dword [esi + 0x80], eax
xor dword [esi + 0x84], ecx
mov ebp, dword [esp + 0x28]
add esp, 0xc
add edi, 1
adc ebx, 0
cmp ebx, ebp
jb 0x100a8200
ja 0x100a82eb
cmp edi, dword [esp + 0x18]
jbe 0x100a8200
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x54]
and edi, 0xf
jbe 0x100a83a9
mov eax, dword [esi + 0x24]
xor dword [esi + 0x6c], eax
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x2c]
xor dword [esi + 0x68], edx
xor dword [esi + 0x74], eax
mov edx, dword [esi + 0x28]
xor dword [esi + 0x70], edx
shl ecx, 4
add ecx, dword [esp + 0x14]
push edi
xor eax, eax
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call fcn.10105350
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x6c]
mov byte [esp + edi + 0x30], 0x80
xor edx, dword [esp + 0x30]
xor eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
xor ecx, dword [esi + 0x70]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x3c]
xor edx, dword [esi + 0x74]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], edx
push ecx
lea edx, [esp + 0x48]
push edx
call eax
mov ecx, dword [esp + 0x3c]
xor dword [esi + 0x78], ecx
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
xor dword [esi + 0x7c], edx
mov ecx, dword [esp + 0x48]
xor dword [esi + 0x80], eax
mov edx, dword [esp + 0x30]
add esp, 0x18
xor dword [esi + 0x84], ecx
pop edi
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x48], edx
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.101044ca
add esp, 0x38
ret
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.101044ca
add esp, 0x38
ret