Function at 0x100d9670
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 0x100d9882
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.100e1330
test eax, eax
jne 0x100d988d
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x100d96f4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100d96cf
push eax
call dword [0x10165b48]
add esp, 4
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x100d96e1
xor ecx, ecx
cmp cx, word [ebx + 0x90]
jb 0x100d96f9
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100223b0
mov eax, 0x10151a48
push eax
call fcn.10049000
add esp, 4
mov ebp, eax
test ebx, ebx
je 0x100d9736
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100d971b
test edx, edx
jne 0x100d971b
xor eax, eax
jmp 0x100d9720
call fcn.1001f000
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100d9736
push eax
call dword [0x10165b50]
add esp, 4
test ebp, ebp
je 0x100d9895
test ebx, ebx
je 0x100d977a
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100d9755
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100d9767
xor eax, eax
cmp ax, word [ebx + 0x90]
jb 0x100d977f
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100223b0
mov ecx, 0x10151a48
movzx eax, word [ecx + 0x10]
test al, 2
je 0x100d9792
cmp byte [ecx + 0x12], 1
jne 0x100d9792
mov esi, dword [ecx + 0xc]
jmp 0x100d97bb
test al, 0x10
je 0x100d97aa
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x100d97a6
mov esi, dword [ecx]
add esi, edx
jmp 0x100d97bb
mov esi, edx
jmp 0x100d97bb
test al, 1
je 0x100d97b2
xor esi, esi
jmp 0x100d97bb
mov dl, 1
call fcn.10043de0
mov esi, eax
test ebx, ebx
je 0x100d97ed
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100d97d2
test edx, edx
jne 0x100d97d2
xor eax, eax
jmp 0x100d97d7
call fcn.1001f000
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100d97ed
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.100d0ad0
add esp, 4
lea esi, [eax + ebp]
cmp esi, edi
jae 0x100d981f
lea eax, [esp + 0x20]
mov edx, edi
push eax
mov ecx, esi
call fcn.100d0ad0
add esi, eax
add esp, 4
cmp esi, edi
jb 0x100d9808
mov ecx, dword [esp + 0x28]
mov eax, ecx
mov ebp, dword [esp + 0x2c]
or eax, ebp
je 0x100d9895
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x24]
je 0x100d9895
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.1013c030
add eax, edi
push esi
push edi
adc edx, esi
push edx
push eax
call fcn.1013c030
mov ecx, dword [esp + 0x10]
push ebx
mov dword [ecx + 0x3c], eax
call fcn.10048ea0
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.10048ea0
add esp, 4
mov eax, 0x10b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret