Function at 0x100d8f80
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 0x100d9192
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.100e0c00
test eax, eax
jne 0x100d919d
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x100d9004
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100d8fdf
push eax
call dword [0x10165b48]
add esp, 4
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x100d8ff1
xor ecx, ecx
cmp cx, word [ebx + 0x90]
jb 0x100d9009
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100220a0
mov eax, 0x10151998
push eax
call fcn.10048d20
add esp, 4
mov ebp, eax
test ebx, ebx
je 0x100d9046
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100d902b
test edx, edx
jne 0x100d902b
xor eax, eax
jmp 0x100d9030
call fcn.1001ecd0
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100d9046
push eax
call dword [0x10165b50]
add esp, 4
test ebp, ebp
je 0x100d91a5
test ebx, ebx
je 0x100d908a
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100d9065
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100d9077
xor eax, eax
cmp ax, word [ebx + 0x90]
jb 0x100d908f
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100220a0
mov ecx, 0x10151998
movzx eax, word [ecx + 0x10]
test al, 2
je 0x100d90a2
cmp byte [ecx + 0x12], 1
jne 0x100d90a2
mov esi, dword [ecx + 0xc]
jmp 0x100d90cb
test al, 0x10
je 0x100d90ba
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x100d90b6
mov esi, dword [ecx]
add esi, edx
jmp 0x100d90cb
mov esi, edx
jmp 0x100d90cb
test al, 1
je 0x100d90c2
xor esi, esi
jmp 0x100d90cb
mov dl, 1
call fcn.10043b00
mov esi, eax
test ebx, ebx
je 0x100d90fd
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100d90e2
test edx, edx
jne 0x100d90e2
xor eax, eax
jmp 0x100d90e7
call fcn.1001ecd0
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100d90fd
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.100d0360
add esp, 4
lea esi, [eax + ebp]
cmp esi, edi
jae 0x100d912f
lea eax, [esp + 0x20]
mov edx, edi
push eax
mov ecx, esi
call fcn.100d0360
add esi, eax
add esp, 4
cmp esi, edi
jb 0x100d9118
mov ecx, dword [esp + 0x28]
mov eax, ecx
mov ebp, dword [esp + 0x2c]
or eax, ebp
je 0x100d91a5
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x24]
je 0x100d91a5
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.1013be40
add eax, edi
push esi
push edi
adc edx, esi
push edx
push eax
call fcn.1013be40
mov ecx, dword [esp + 0x10]
push ebx
mov dword [ecx + 0x3c], eax
call fcn.10048bc0
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.10048bc0
add esp, 4
mov eax, 0x10b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret