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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0xc]
push edi
push eax
push dword [ebp + 0x10]
mov edi, dword [esi - 0xa0]
push edi
mov dword [esp + 0x20], edi
call fcn.100a35f0
mov dword [esp + 0x24], eax
add esp, 0xc
mov eax, dword [edi]
mov edi, dword [ebp + 0x10]
shl edi, 4
add edi, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edi
mov edx, dword [edi]
mov ecx, edx
and ecx, 0xf0000000
cmp ecx, 0x80000000
jne 0x100d28b8
movzx esi, dx
shl esi, 4
add esi, eax
mov dword [esp + 0x1c], esi
mov edx, dword [esi]
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x80000000
mov eax, dword [esp + 0x28]
je 0x100d2891
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100d2d09
cmp eax, 0x80
ja 0x100d2d09
mov eax, dword [esp + 0x18]
test eax, 0x100000
jne 0x100d2d09
and eax, 0xf0000
cmp eax, 0x30000
ja 0x100d2d09
mov edx, dword [ebp + 0x10]
mov ecx, esi
call fcn.100aebb0
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov ecx, eax
shr ecx, 0x1c
cmp ecx, 2
je 0x100d2c81
test eax, 0xfc000000
jne 0x100d292b
cmp edx, 4
je 0x100d2c81
cmp edx, 8
je 0x100d2c81
mov ecx, dword [esp + 0x28]
mov word [esi + 0x74], cx
mov ecx, esi
mov dword [esi + 0x76], 0x508a7fff
call fcn.100cc5b0
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x18], eax
mov dword [ecx], eax
mov ecx, dword [esi + 0x60]
cmp dword [ecx + 4], 0
je 0x100d2977
cmp dword [ecx + 8], 0
jne 0x100d2977
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add eax, 8
push eax
push edi
push dword [esp + 0x1c]
call fcn.100c3b10
add esp, 0xc
test eax, eax
je 0x100d2bec
mov ecx, dword [edi]
mov eax, ecx
shr eax, 0x1c
cmp eax, 3
jne 0x100d2a9b
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
nop dword [eax]
movzx edi, cx
shl edi, 4
add edi, edx
mov ecx, dword [edi]
mov eax, ecx
shr eax, 0x1c
cmp eax, 8
je 0x100d2990
mov ecx, dword [edi + 4]
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], ecx
movlpd qword [esp + 0x30], xmm0
test eax, eax
je 0x100d29d1
cmp eax, 2
jne 0x100d2d09
xor eax, eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], eax
cmp dword [esp + 0x10], eax
jbe 0x100d2c58
nop dword [eax]
lea edx, [eax + 8]
mov ecx, esi
call fcn.100aebb0
mov ecx, 0x2805
movzx eax, ax
mov word [esi + 0x78], cx
mov ecx, dword [esp + 0x18]
mov word [esi + 0x74], cx
mov ecx, esi
mov word [esi + 0x76], ax
call fcn.100cc5b0
mov ecx, dword [esi + 0x60]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x100d2a42
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov ecx, dword [ecx]
lea ecx, [ecx + edx*8]
inc edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
jmp 0x100d2a6d
cmp edx, 2
je 0x100d2a69
cmp dword [edi], 0x10000000
jae 0x100d2a5e
xor edx, edx
mov ecx, esi
call fcn.100aebb0
mov dword [esp + 0xc], eax
jmp 0x100d2a6d
mov eax, 0x7fff
mov dword [esp + 0xc], eax
jmp 0x100d2a6d
mov eax, dword [esp + 0xc]
push dword [esp + 0x20]
push eax
push dword [esp + 0x30]
push edi
push esi
call fcn.100d4840
mov eax, dword [esp + 0x38]
add esp, 0x14
add eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x10]
jb 0x100d29f0
jmp 0x100d2c58
cmp eax, 1
jne 0x100d2bec
movzx eax, word [edi + 8]
test eax, eax
je 0x100d2c58
mov dword [esp + 0x20], 8
mov dword [esp + 0x24], 4
mov ecx, dword [esp + 0x14]
add eax, eax
mov edx, dword [ecx]
lea edi, [edx + eax*8]
movzx eax, word [edi + 8]
mov dword [esp + 0x30], eax
mov eax, dword [edi]
mov ecx, eax
shr ecx, 0x1c
mov dword [esp + 0x2c], edi
cmp ecx, 9
jne 0x100d2bd5
cmp dword [edi + 0xc], 0
lea ecx, [esp + 0x38]
xorps xmm0, xmm0
mov dword [esp + 0x28], ecx
movsd qword [esp + 0x38], xmm0
je 0x100d2bde
movzx edi, ax
shl edi, 4
add edi, edx
mov eax, dword [edi]
mov ecx, eax
shr ecx, 0x1c
cmp ecx, 8
je 0x100d2b02
test ecx, ecx
je 0x100d2b28
cmp ecx, 2
je 0x100d2b28
cmp ecx, 5
jne 0x100d2d09
mov eax, dword [esi + 0x60]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + eax]
mov dword [esp + 0xc], eax
test eax, eax
je 0x100d2b59
mov eax, dword [ebp + 0xc]
add edx, 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], edx
mov eax, dword [eax]
add eax, ecx
add ecx, 8
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
jmp 0x100d2b75
cmp ecx, 2
jne 0x100d2b68
mov dword [esp + 0xc], 0x7fff
jmp 0x100d2b75
xor edx, edx
mov ecx, esi
call fcn.100aebb0
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x2c]
mov ecx, esi
mov edx, dword [edx + 4]
add edx, 8
call fcn.100aebb0
movzx ecx, ax
mov eax, 0x2805
mov word [esi + 0x78], ax
mov eax, dword [esp + 0x18]
mov word [esi + 0x76], cx
mov ecx, esi
mov word [esi + 0x74], ax
call fcn.100cc5b0
push dword [esp + 0x28]
push dword [esp + 0x10]
push eax
push edi
push esi
call fcn.100d4840
mov eax, dword [esp + 0x30]
add esp, 0x14
test dword [eax], 0x800000
je 0x100d2bde
mov eax, dword [eax + 4]
cmp eax, dword [edi + 4]
jne 0x100d2d09
jmp 0x100d2c58
cmp ecx, 0xb
jne 0x100d2d09
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x100d2ac0
jmp 0x100d2c58
mov edx, 8
mov ecx, esi
call fcn.100aebb0
mov ecx, 0x2805
movzx eax, ax
mov word [esi + 0x78], cx
mov ecx, dword [esp + 0x18]
mov word [esi + 0x74], cx
mov ecx, esi
mov word [esi + 0x76], ax
call fcn.100cc5b0
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 4]
test edx, edx
je 0x100d2c32
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
add ecx, 8
push ecx
push edx
push eax
jmp 0x100d2c4e
lea eax, [esp + 0x38]
xorps xmm0, xmm0
push eax
xor edx, edx
movlpd qword [esp + 0x3c], xmm0
mov ecx, esi
call fcn.100aebb0
push eax
push dword [esp + 0x38]
push edi
push esi
call fcn.100d4840
add esp, 0x14
push 2
push dword [ebp + 0x10]
push dword [esp + 0x1c]
call fcn.100a38c0
add esp, 0xc
test eax, eax
je 0x100d2c7b
push eax
push dword [esp + 0x1c]
push esi
call fcn.100d4e60
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
test eax, eax
je 0x100d2caa
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add eax, 8
push eax
push dword [esp + 0x34]
push 0
push edi
push esi
call fcn.100d4840
add esp, 0x14
jmp 0x100d2ce2
cmp ecx, 2
jne 0x100d2cbb
push 0
push 0x18
push esi
call fcn.100af350
jmp 0x100d2cdf
cmp edx, 4
jne 0x100d2ccb
xor edx, edx
mov ecx, esi
call fcn.100aebb0
jmp 0x100d2ce2
push 0
push 0
push esi
mov dword [esi + 0xfc], 1
call fcn.100af0e0
add esp, 0xc
mov ecx, 0x518a
mov word [esi + 0x76], ax
mov word [esi + 0x78], cx
mov ecx, dword [esp + 0x28]
mov word [esi + 0x74], cx
mov ecx, esi
call fcn.100cc5b0
mov ecx, dword [esi + 0x60]
pop edi
pop esi
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
push 0x16
push esi
call fcn.10094c50
int3