Function at 0x100d8470
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 0x100d8682
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.100e00d0
test eax, eax
jne 0x100d868d
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x100d84f4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100d84cf
push eax
call dword [0x10165b88]
add esp, 4
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x100d84e1
xor ecx, ecx
cmp cx, word [ebx + 0x90]
jb 0x100d84f9
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022380
mov eax, 0x10150a48
push eax
call fcn.10048f10
add esp, 4
mov ebp, eax
test ebx, ebx
je 0x100d8536
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100d851b
test edx, edx
jne 0x100d851b
xor eax, eax
jmp 0x100d8520
call fcn.1001f020
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100d8536
push eax
call dword [0x10165b90]
add esp, 4
test ebp, ebp
je 0x100d8695
test ebx, ebx
je 0x100d857a
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100d8555
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100d8567
xor eax, eax
cmp ax, word [ebx + 0x90]
jb 0x100d857f
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022380
mov ecx, 0x10150a48
movzx eax, word [ecx + 0x10]
test al, 2
je 0x100d8592
cmp byte [ecx + 0x12], 1
jne 0x100d8592
mov esi, dword [ecx + 0xc]
jmp 0x100d85bb
test al, 0x10
je 0x100d85aa
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x100d85a6
mov esi, dword [ecx]
add esi, edx
jmp 0x100d85bb
mov esi, edx
jmp 0x100d85bb
test al, 1
je 0x100d85b2
xor esi, esi
jmp 0x100d85bb
mov dl, 1
call fcn.10043c80
mov esi, eax
test ebx, ebx
je 0x100d85ed
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100d85d2
test edx, edx
jne 0x100d85d2
xor eax, eax
jmp 0x100d85d7
call fcn.1001f020
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100d85ed
push eax
call dword [0x10165b90]
add esp, 4
lea eax, [esp + 0x28]
mov ecx, ebp
lea edi, [esi + ebp]
push eax
mov edx, edi
call fcn.100cf970
add esp, 4
lea esi, [eax + ebp]
cmp esi, edi
jae 0x100d861f
lea eax, [esp + 0x20]
mov edx, edi
push eax
mov ecx, esi
call fcn.100cf970
add esi, eax
add esp, 4
cmp esi, edi
jb 0x100d8608
mov ecx, dword [esp + 0x28]
mov eax, ecx
mov ebp, dword [esp + 0x2c]
or eax, ebp
je 0x100d8695
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x24]
je 0x100d8695
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.1013b040
add eax, edi
push esi
push edi
adc edx, esi
push edx
push eax
call fcn.1013b040
mov ecx, dword [esp + 0x10]
push ebx
mov dword [ecx + 0x3c], eax
call fcn.10048db0
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.10048db0
add esp, 4
mov eax, 0x10b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret