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

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov eax, ecx
mov dword [esp + 0x14], edx
push esi
xor esi, esi
mov dword [esp + 0xc], eax
push edi
cmp dword [eax + 0x3c], esi
jne 0x100d90b2
mov eax, dword [eax]
lea edx, [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x18], eax
mov ecx, eax
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x20], xmm0
call fcn.100e0b00
test eax, eax
jne 0x100d90bd
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x100d8f24
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100d8eff
push eax
call dword [0x10165b48]
add esp, 4
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x100d8f11
xor ecx, ecx
cmp cx, word [ebx + 0x90]
jb 0x100d8f29
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022010
mov eax, 0x10151958
push eax
call fcn.10048ca0
add esp, 4
mov ebp, eax
test ebx, ebx
je 0x100d8f66
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100d8f4b
test edx, edx
jne 0x100d8f4b
xor eax, eax
jmp 0x100d8f50
call fcn.1001ec40
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100d8f66
push eax
call dword [0x10165b50]
add esp, 4
test ebp, ebp
je 0x100d90c5
test ebx, ebx
je 0x100d8faa
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100d8f85
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100d8f97
xor eax, eax
cmp ax, word [ebx + 0x90]
jb 0x100d8faf
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022010
mov ecx, 0x10151958
movzx eax, word [ecx + 0x10]
test al, 2
je 0x100d8fc2
cmp byte [ecx + 0x12], 1
jne 0x100d8fc2
mov esi, dword [ecx + 0xc]
jmp 0x100d8feb
test al, 0x10
je 0x100d8fda
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x100d8fd6
mov esi, dword [ecx]
add esi, edx
jmp 0x100d8feb
mov esi, edx
jmp 0x100d8feb
test al, 1
je 0x100d8fe2
xor esi, esi
jmp 0x100d8feb
mov dl, 1
call fcn.10043a90
mov esi, eax
test ebx, ebx
je 0x100d901d
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100d9002
test edx, edx
jne 0x100d9002
xor eax, eax
jmp 0x100d9007
call fcn.1001ec40
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100d901d
push eax
call dword [0x10165b50]
add esp, 4
lea eax, [esp + 0x28]
mov ecx, ebp
lea edi, [esi + ebp]
push eax
mov edx, edi
call fcn.100d0260
add esp, 4
lea esi, [eax + ebp]
cmp esi, edi
jae 0x100d904f
lea eax, [esp + 0x20]
mov edx, edi
push eax
mov ecx, esi
call fcn.100d0260
add esi, eax
add esp, 4
cmp esi, edi
jb 0x100d9038
mov ecx, dword [esp + 0x28]
mov eax, ecx
mov ebp, dword [esp + 0x2c]
or eax, ebp
je 0x100d90c5
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x24]
je 0x100d90c5
mov eax, dword [esp + 0x10]
push ebp
push ecx
push dword [esp + 0x2c]
mov dword [eax + 0x40], ecx
push dword [esp + 0x2c]
mov dword [eax + 0x44], ebp
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0xf4]
cdq
mov edi, eax
mov esi, edx
call fcn.1013b6e0
add eax, edi
push esi
push edi
adc edx, esi
push edx
push eax
call fcn.1013b6e0
mov ecx, dword [esp + 0x10]
push ebx
mov dword [ecx + 0x3c], eax
call fcn.10048b40
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x3c]
mov dword [ecx], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push ebx
call fcn.10048b40
add esp, 4
mov eax, 0x10b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret