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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x101ff982
push eax
mov dword fs:[0], esp
sub esp, 0x200
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x1c]
mov eax, 0xaaaaaaab
mul dword [edi + 0xd4]
mov ecx, edx
shr ecx, 1
xor edx, edx
mov eax, ecx
div dword [edi + 0xdc]
mov ebx, 1
test edx, edx
je 0x100d37cd
mov eax, edi
mov edi, dword [eax + 0xdc]
mov edi, edi
sub ecx, 1
xor edx, edx
mov eax, ecx
div edi
test edx, edx
jne 0x100d37c0
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0x38]
xor edx, edx
xor ecx, ecx
cmp eax, edx
mov byte [esp + 0x13], 1
je 0x100d37f2
mov ecx, dword [eax + 8]
cmp ecx, edx
je 0x100d37f0
cmp dword [eax + 0xc], edx
jbe 0x100d37f0
mov ecx, dword [ecx]
jmp 0x100d37f2
xor ecx, ecx
mov ebp, dword [ecx + 0x5c]
mov ecx, dword [ebp + 0x48]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], edx
xor edi, edi
jmp 0x100d3810
xor edx, edx
lea ebx, [ebx]
cmp edi, dword [esp + 0x18]
jae 0x100d38b0
lea ecx, [esp + 0x28]
call fcn.10058000
test bl, 1
mov dword [esp + 0x218], 0
je 0x100d3889
mov eax, dword [ebp + 0x44]
test eax, eax
je 0x100d3844
cmp edi, dword [ebp + 0x48]
jae 0x100d3844
mov eax, dword [eax + edi*4]
jmp 0x100d3846
xor eax, eax
test eax, eax
mov ecx, 1
je 0x100d3860
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x30]
call fcn.10058080
mov ecx, dword [eax]
mov ebx, ecx
test bl, 1
je 0x100d3889
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.100d1d10
mov ebx, dword [eax]
lea ecx, [esp + 0x28]
mov dword [esp + 0x218], 0xffffffff
call fcn.10058030
add edi, 1
cmp byte [esp + 0x13], 0
jne 0x100d3808
jmp 0x100d3998
cmp byte [esp + 0x13], 0
je 0x100d3998
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 8]
cmp byte [eax + 0x1c], 1
jne 0x100d38d6
mov ecx, dword [eax + 0x20]
add ecx, 1
cmp ecx, 0x10
jbe 0x100d3998
mov ecx, dword [esi + 0x5c]
push 0x10
mov byte [esp + 0x17], 0
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
call fcn.10107e10
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x64]
mov dword [edx + 0x1c], eax
mov ecx, dword [esi + 0x5c]
push 0
call fcn.100fc7d0
test bl, 1
je 0x100d3930
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x228]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x1b]
push eax
push 2
push 1
push 0x10
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.100d30c0
mov ebx, dword [eax]
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx]
call dword [eax + 8]
test bl, 1
je 0x100d3998
cmp byte [esp + 0x13], 0
je 0x100d394e
cmp byte [esp + 0x224], 0
je 0x100d3998
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x78], ecx
mov dword [esi + 0x90], edx
mov byte [esi + 0x70], 1
call fcn.10054450
test eax, eax
je 0x100d397c
mov eax, dword [esi + 0x78]
push 0
push eax
push 0x3e
call fcn.10054fa0
add esp, 0xc
call fcn.10054450
test eax, eax
je 0x100d3998
mov ecx, dword [esi + 0x90]
push 0
push ecx
push 0x41
call fcn.10054fa0
add esp, 0xc
mov eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x210]
pop edi
pop esi
mov dword [eax], ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20c
ret 8