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

Disassembly:
mov eax, 0x28
call fcn.10112b60
mov eax, dword [0x1019f010]
xor eax, esp
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x34]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 0x48]
mov ebx, dword [esi + 0x4c]
mov ecx, edx
shr ecx, 4
xor ebp, ebp
add ecx, eax
adc ebp, ebx
add eax, 1
adc ebx, 0
push edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
cmp ebx, ebp
ja 0x1009db88
jb 0x1009daa0
cmp eax, ecx
ja 0x1009db88
lea ebx, [ebx]
mov ecx, eax
and eax, 1
xor ebp, ebp
or eax, ebp
mov edx, ebx
mov dword [esp + 0x10], 0
jne 0x1009daca
inc dword [esp + 0x10]
shrd ecx, edx, 1
mov eax, ecx
and eax, 1
xor ebp, ebp
shr edx, 1
or eax, ebp
je 0x1009dab5
mov edx, dword [esp + 0x10]
push edx
push esi
call fcn.1009d620
add esp, 8
test eax, eax
je 0x1009dc41
mov ecx, dword [eax]
xor dword [esi + 0x68], ecx
mov edx, dword [eax + 4]
xor dword [esi + 0x6c], edx
mov ecx, dword [eax + 8]
xor dword [esi + 0x70], ecx
mov edx, dword [eax + 0xc]
xor dword [esi + 0x74], edx
mov eax, dword [edi]
mov edx, dword [edi + 8]
xor eax, dword [esi + 0x68]
mov ecx, dword [edi + 4]
xor edx, dword [esi + 0x70]
xor ecx, dword [esi + 0x6c]
mov ebp, dword [edi + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x74]
push eax
mov eax, dword [esi]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], ebp
xor dword [esp + 0x34], edx
push ecx
mov edx, ecx
push edx
add edi, 0x10
call eax
mov ecx, dword [esp + 0x30]
xor dword [esi + 0x78], ecx
mov eax, dword [esp + 0x38]
xor dword [esi + 0x80], eax
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
xor dword [esi + 0x7c], edx
xor dword [esi + 0x84], ecx
mov ebp, dword [esp + 0x24]
add esp, 0xc
add eax, 1
adc ebx, 0
mov dword [esp + 0x1c], eax
cmp ebx, ebp
jb 0x1009daa0
ja 0x1009db80
cmp eax, dword [esp + 0x14]
jbe 0x1009daa0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
and edx, 0xf
mov ebx, edx
jbe 0x1009dc23
mov eax, dword [esi + 0x24]
xor dword [esi + 0x6c], eax
mov edx, dword [esi + 0x20]
xor dword [esi + 0x68], edx
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
xor dword [esi + 0x70], ecx
xor dword [esi + 0x74], edx
xor eax, eax
push ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push edi
push eax
call fcn.10112b90
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x70]
mov byte [esp + ebx + 0x30], 0x80
xor dword [esp + 0x34], edx
xor dword [esp + 0x30], ecx
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x74]
xor dword [esp + 0x38], eax
xor dword [esp + 0x3c], ecx
push edx
mov edx, dword [esi]
lea eax, [esp + 0x34]
push eax
mov ecx, eax
push ecx
call edx
mov eax, dword [esp + 0x3c]
xor dword [esi + 0x78], eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
xor dword [esi + 0x7c], ecx
mov eax, dword [esp + 0x48]
xor dword [esi + 0x80], edx
mov ecx, dword [esp + 0x2c]
add esp, 0x18
xor dword [esi + 0x84], eax
pop edi
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x48], ecx
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1010ee1f
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1010ee1f
add esp, 0x28
ret