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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x1c411108]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], eax
test edi, edi
jne 0x100099e2
mov eax, 0x80004003
jmp 0x10009d68
cmp dword [edi], 0x6c
je 0x100099f1
mov eax, 0x80070057
jmp 0x10009d68
lea eax, [ebx + 0x14]
mov byte [esp + 0x17], 0
push eax
mov dword [esp + 0x38], eax
call dword [0x1c4120dc]
mov ecx, dword [ebx + 0x94]
mov dword [esp + 0x20], 1
test ecx, ecx
je 0x10009b5f
cmp byte [ebp + 0x14], 0
jne 0x10009b5f
cmp byte [ebp + 0x10], 0
je 0x10009a38
test byte [ebx + 0x148], 6
je 0x10009a4d
jmp 0x10009b5f
cmp dword [esp + 0x18], 0
jne 0x10009b5f
cmp dword [edi + 0x54], 8
jne 0x10009b5f
mov eax, dword [ecx]
lea edx, [esp + 0x1c]
push edx
push ecx
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [0x1c41215c]
call esi
test eax, eax
js 0x10009b5f
mov byte [esp + 0xf], 0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
push ecx
mov esi, dword [eax]
push 1
push eax
mov ecx, dword [esi + 0xc]
call dword [0x1c41215c]
call dword [esi + 0xc]
test eax, eax
jne 0x10009b47
mov esi, dword [esp + 0x10]
mov edx, 0x1c4027f0
xor ecx, ecx
mov eax, dword [esi + ecx*4 + 0x2c]
cmp eax, dword [edx + ecx*4]
jne 0x10009b35
inc ecx
cmp ecx, 4
jne 0x10009aa1
cmp byte [ebp + 0x10], 0
mov edx, dword [esi + 0x44]
je 0x10009aee
push 0x1b
mov esi, edi
lea edi, [esp + 0xac]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx + 0x34]
mov dword [esp + 0xb4], eax
mov eax, dword [edx + 0x38]
test eax, eax
jns 0x10009ade
neg eax
mov dword [esp + 0xb0], eax
lea edi, [esp + 0xa8]
jmp 0x10009b2c
push 0x10
lea eax, [esi + 0x10]
push 0x1c402750
push eax
call fcn.10010a0c
add esp, 0xc
test eax, eax
jne 0x10009b35
mov edx, dword [ebx + 0x140]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.1000ded4
test eax, eax
js 0x10009b2c
cmp dword [esp + 0x18], 0
je 0x10009b2c
mov byte [esp + 0x17], 1
mov esi, dword [esp + 0x10]
mov byte [esp + 0xf], 1
mov ecx, esi
call fcn.1000db19
cmp byte [esp + 0xf], 0
je 0x10009a6f
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x28], edi
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1c41215c]
call esi
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.1000961a
mov ecx, dword [edi + 4]
xor esi, esi
mov eax, ecx
mov dword [esp + 0x28], ecx
and eax, 6
mov dword [esp + 0x3c], ecx
mov byte [esp + 0xf], 1
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], eax
je 0x10009bbb
mov edx, dword [edi + 8]
cmp dword [esp + 0x40], edx
jne 0x10009b9e
mov eax, dword [esp + 0x44]
cmp eax, dword [edi + 0xc]
je 0x10009bbb
mov esi, dword [ebx + 0x148]
mov eax, dword [edi + 0xc]
and esi, 2
mov byte [esp + 0x20], 0
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], esi
mov eax, ecx
and eax, 0x1000
mov dword [esp + 0x30], eax
je 0x10009c0f
lea edx, [edi + 0x48]
lea ecx, [esp + 0x80]
call fcn.1000e054
test al, al
jne 0x10009bf4
mov byte [esp + 0x20], al
mov byte [esp + 0xf], al
mov eax, dword [ebx + 0x148]
and eax, 0x1000
or esi, eax
mov dword [esp + 0x10], esi
lea esi, [edi + 0x48]
push 8
pop ecx
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x28], eax
cmp byte [esp + 0x20], 0
je 0x10009c21
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x10009cc1
cmp dword [esp + 0x10], 0
mov al, byte [ebp + 0x10]
je 0x10009c39
test al, al
je 0x10009c39
mov edi, 0x8004022a
jmp 0x10009d3c
xor ecx, ecx
cmp dword [ebx + 0x78], ecx
je 0x10009c4a
mov edi, 0x80040401
jmp 0x10009d3c
test al, al
jne 0x10009ca5
cmp byte [ebp + 0x14], cl
jne 0x10009ca5
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push ecx
push eax
push ecx
push ecx
mov ecx, edi
call fcn.1000dcdb
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
js 0x10009cbf
cmp dword [ebx + 0x94], 0
je 0x10009c94
push dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x1c]
push dword [esp + 0x2c]
call fcn.1000976d
mov edi, eax
mov dword [esp + 0x10], eax
jmp 0x10009c9a
xor edi, edi
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x1c]
call fcn.1000db19
jmp 0x10009cbd
cmp dword [ebx + 0x94], ecx
jne 0x10009cb7
cmp byte [esp + 0xf], cl
je 0x10009c2f
mov edi, ecx
mov dword [esp + 0x10], edi
test edi, edi
jne 0x10009d3c
cmp byte [ebp + 0x14], 0
jne 0x10009d3c
cmp dword [esp + 0x30], 0
mov dl, byte [ebp + 0x10]
je 0x10009cfb
test dl, dl
je 0x10009ce1
test dword [ebx + 0x148], 0x1000
jne 0x10009cfb
lea eax, [ebx + 0x154]
push 8
pop ecx
lea esi, [esp + 0x80]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov dword [eax], 0x20
test dl, dl
jne 0x10009d0e
mov eax, dword [esp + 0x28]
and eax, 0x1007
mov dword [ebx + 0x148], eax
mov edx, dword [esp + 0x18]
lea ecx, [ebx + 0x144]
call fcn.100047b7
cmp dword [esp + 0x2c], 0
mov edi, dword [esp + 0x10]
je 0x10009d3c
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x14c], eax
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x150], eax
cmp byte [esp + 0x17], 0
je 0x10009d5c
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1c41215c]
call esi
and dword [esp + 0x18], 0
push dword [esp + 0x34]
call dword [0x1c4120cc]
mov eax, edi
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100103f0
mov esp, ebp
pop ebp
ret 0x10