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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
or dword [ebp - 4], 0xffffffff
mov eax, edx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov dword [ebp - 0x18], ecx
push edi
mov dword [ebp - 0x24], edi
inc ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edi
call fcn.100fd870
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
je 0x100f8591
cmp dword [ebp + 0x14], edi
jne 0x100f7ef3
mov ecx, dword [esi + 0x10]
push 2
pop edx
call fcn.1010a79c
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100f8591
mov eax, dword [eax + 0x1c]
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
lea ecx, [eax - 1]
movzx edi, cx
neg edi
sbb edi, edi
and edi, ebx
cmp ax, 0x1c
je 0x100f7f1a
cmp ax, 7
je 0x100f7f1a
cmp ax, 0x16
je 0x100f7f1a
cmp ax, 0x1e
jne 0x100f7f29
mov ecx, esi
call fcn.100e0408
test eax, eax
je 0x100f8583
mov edx, dword [ebp - 0x10]
xor ebx, ebx
push edi
push ebx
push dword [ebp + 0x14]
mov ecx, esi
call fcn.100fd0e7
test eax, eax
je 0x100f8583
mov ecx, esi
call fcn.100fd2eb
test eax, eax
je 0x100f8583
push ebx
push ebx
xor edx, edx
mov ecx, esi
call fcn.100fd3d4
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x38]
push ebx
push 0x200
mov ecx, dword [ecx + 0x14]
call fcn.101098e2
push ecx
push 1
push ebx
xor edx, edx
mov ecx, esi
call fcn.100fa3c5
mov ecx, esi
call fcn.100e087a
test eax, eax
je 0x100f8583
mov edx, dword [esi + 0x2c]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
test ebx, ebx
je 0x100f8017
mov ecx, dword [ebp + 8]
call fcn.100d98e6
test eax, eax
je 0x100f8017
mov eax, dword [esi + 0x28]
mov ebx, dword [eax + 4]
lea edi, [eax + 0x14]
test ebx, ebx
je 0x100f8005
xor eax, eax
dec ebx
cmp dword [edi + 0x10], eax
je 0x100f7ffe
cmp dword [edi + 0x24], eax
je 0x100f7ffe
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
xor eax, eax
push dword [edi + 0x1c]
push edx
push eax
push ecx
push dword [ebp - 0x14]
mov edx, esi
mov ecx, edi
push dword [ebp - 0x18]
call fcn.100d723f
cmp eax, 0x80004001
je 0x100f7ff6
cmp eax, 0x4dc01
je 0x100f8053
test eax, eax
js 0x100f8574
mov edx, dword [ebp - 8]
xor eax, eax
mov ecx, dword [ebp + 8]
add edi, 0x78
test ebx, ebx
jne 0x100f7fb7
mov eax, dword [ebp - 0xc]
or dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x100f848c
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi + 0x24]
xor edx, edx
mov edi, edx
mov dword [ebp - 0x10], edi
cmp dword [eax + 0x128], edx
jne 0x100f803c
mov ecx, dword [esi + 0x10]
lea eax, [ebp - 0x10]
push edx
push edx
push eax
call fcn.1010aa1b
mov edi, dword [ebp - 0x10]
xor edx, edx
mov ecx, dword [ebp + 8]
movzx eax, cx
dec eax
cmp eax, 0x22
ja case.0x100f804c.19
jmp dword [eax*4 + 0x100f85a4]
xor eax, eax
inc eax
mov dword [ebp - 0xc], eax
jmp 0x100f8008
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x40]
mov dword [ebp - 4], eax
jmp 0x100f848c
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x42]
jmp 0x100f8062
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x44]
jmp 0x100f8062
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x46]
jmp 0x100f8062
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
jmp 0x100f8062
test ebx, ebx
je 0x100f8096
xor eax, eax
mov word [ebx], ax
mov dword [ebp - 4], edx
jmp 0x100f848c
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x3c]
mov edx, ecx
mov dword [ebp - 4], ecx
test edi, edi
je 0x100f80c7
mov eax, dword [esi + 0x30]
test dword [eax + 4], 0x2000
je 0x100f80c7
mov eax, 0x270f
cmp ecx, eax
jae 0x100f80c7
mov dword [ebp - 4], eax
mov edx, eax
mov edi, dword [ebp + 0xc]
mov eax, 0x7fff
cmp edx, eax
jb 0x100f848f
mov dword [ebp - 4], eax
jmp 0x100f848f
mov edi, dword [esi + 0x24]
push edx
mov edx, dword [esi + 0x38]
push 3
push ecx
mov ecx, edi
call fcn.10109972
test eax, eax
je 0x100f8116
mov ecx, dword [edi + 0xd4]
test ecx, ecx
je 0x100f8108
mov eax, dword [edi + 0x13c]
add eax, ecx
jmp 0x100f810a
xor eax, eax
test eax, eax
je 0x100f8116
xor eax, eax
inc eax
jmp 0x100f8062
xor eax, eax
jmp 0x100f8062
mov eax, dword [ebp - 8]
test dword [eax + 0x48], 0x4000
jne 0x100f8130
mov eax, edx
jmp 0x100f8062
mov ecx, dword [esi + 0x24]
cmp dword [ecx + 0x128], edx
jne 0x100f8143
push 6
pop eax
jmp 0x100f8062
xor edx, edx
inc edx
call fcn.10109f87
jmp 0x100f8062
mov ecx, dword [esi + 0x24]
cmp dword [ecx + 0x128], edx
je 0x100f8165
call fcn.10158d82
jmp 0x100f8062
mov edx, dword [ebp - 8]
movzx eax, word [edx + 0x44]
mov eax, dword [eax + edx + 4]
and eax, 0x200
test byte [ecx + 0x88], 4
je 0x100f818f
neg eax
sbb eax, eax
and eax, 0xb4
add eax, 0x5a
jmp 0x100f8062
neg eax
sbb eax, eax
and eax, 0xffffff4c
add eax, 0x10e
jmp 0x100f8062
push dword [ebp + 0x10]
push edx
push edx
push edx
mov edx, ebx
mov ecx, esi
call fcn.100f8630
jmp 0x100f8062
push dword [ebp + 0x10]
push edx
push edx
push ebx
xor edx, edx
jmp 0x100f81aa
push dword [ebp + 0x10]
push edx
push ebx
push edx
jmp 0x100f81bc
push ecx
mov ecx, esi
call fcn.100f8919
jmp 0x100f8062
mov edx, ebx
mov ecx, esi
call fcn.100f8a51
jmp 0x100f8062
mov edx, ebx
mov ecx, esi
call fcn.100da680
jmp 0x100f8062
mov edx, ebx
mov ecx, esi
call fcn.100da6de
jmp 0x100f8062
test edi, edi
je 0x100f820f
mov eax, dword [esi + 0x30]
test dword [eax + 4], 0x2000
jne 0x100f8246
mov edi, dword [esi + 0x24]
push edx
mov edx, dword [esi + 0x38]
push 0xa
push ecx
mov ecx, edi
call fcn.10109972
test eax, eax
je 0x100f8116
mov ecx, dword [edi + 0xf0]
test ecx, ecx
je 0x100f823c
mov eax, dword [edi + 0x13c]
add eax, ecx
jmp 0x100f823e
xor eax, eax
test eax, eax
je 0x100f8116
mov dword [ebp - 4], 1
jmp 0x100f848c
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x88]
shr eax, 3
and eax, 1
jmp 0x100f8062
mov edx, ebx
mov ecx, esi
call fcn.100da89c
jmp 0x100f8062
test ebx, ebx
je 0x100f8246
push 0x20
mov edx, 0x10029448
mov ecx, ebx
call fcn.1010a2fa
jmp 0x100f8246
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x74]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
test eax, eax
jne 0x100f848f
or dword [ebp - 4], 0xffffffff
jmp 0x100f848f
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x78]
jmp 0x100f828e
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x7c]
jmp 0x100f828e
mov eax, dword [esi + 0x34]
mov eax, dword [eax + 8]
shr eax, 0xa
jmp 0x100f8062
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x128], edx
je 0x100f82de
mov eax, dword [esi + 0x18]
test dword [eax + 0xc], 0x100000
je 0x100f8382
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x2c]
call fcn.10158756
mov ebx, eax
mov dword [ebp - 0x2c], ebx
test ebx, ebx
je 0x100f8380
mov ecx, ebx
call fcn.100da7a5
mov dword [ebp - 4], eax
test eax, eax
je 0x100f8374
cmp dword [ebp + 0xc], 0
je 0x100f8374
xor ecx, ecx
mov dword [ebp - 0x1c], ebx
mov eax, ecx
mov dword [ebp - 0x10], eax
cmp word [ebx], cx
je 0x100f8371
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
cmp edi, 0xffffffff
je 0x100f8329
cmp edi, 0x40
jl 0x100f8368
push 0x40
mov edx, ebx
mov ecx, esi
call fcn.1010a2fa
mov ecx, ebx
sub esi, 0xffffff80
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x24]
jne 0x100f833c
sub ecx, edx
sar ecx, 1
lea ebx, [ebx + ecx*2]
add ebx, 2
cmp edi, 0xffffffff
je 0x100f835a
sub edi, 0x40
mov eax, dword [ebp - 0x10]
xor ecx, ecx
inc eax
mov dword [ebp - 0x10], eax
cmp word [ebx], cx
jne 0x100f831f
mov ebx, dword [ebp - 0x2c]
mov dword [ebp + 0xc], esi
mov esi, dword [ebp - 0x28]
mov dword [ebp - 4], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x100f848c
xor edx, edx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 1
test edi, edi
je 0x100f848f
cmp dword [ebp + 0x10], 0xffffffff
je 0x100f83a8
cmp dword [ebp + 0x10], 0x40
jge 0x100f83a8
mov dword [ebp - 4], edx
jmp 0x100f848f
call fcn.1010bbbf
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + 0x88]
test eax, eax
je 0x100f83c9
test edx, 0x400
je 0x100f83e4
mov edx, 0x10025328
jmp 0x100f83d6
test edx, 0x200
je 0x100f83e4
mov edx, 0x10025330
push 0x40
mov ecx, edi
call fcn.1010a2fa
jmp 0x100f848f
mov eax, dword [ecx + 0xcc]
test eax, eax
je 0x100f83f8
mov edx, dword [ecx + 0x13c]
add edx, eax
jmp 0x100f83fc
xor eax, eax
mov edx, eax
test edx, edx
je 0x100f829c
push dword [edx + 0x14]
call fcn.10109ea2
test eax, eax
je 0x100f829c
push ecx
push edi
mov edx, eax
mov ecx, esi
call fcn.10106e83
jmp 0x100f8294
mov ebx, dword [esi + 0x24]
cmp dword [ebx + 0x128], edx
je 0x100f8462
lea eax, [ebp - 0x2c]
mov edi, edx
push eax
push 1
mov edx, 0x10029ee0
mov ecx, ebx
call fcn.10109de5
test eax, eax
jne 0x100f845d
lea eax, [ebp - 0x2c]
mov edx, 0x10029ef8
push eax
push 1
mov ecx, ebx
call fcn.10109de5
test eax, eax
je 0x100f846b
xor edi, edi
inc edi
jmp 0x100f846b
mov ecx, esi
call fcn.1010788f
mov edi, eax
mov dword [ebp - 4], edi
jmp 0x100f848c
push edx
mov edx, ebx
mov ecx, esi
call fcn.100f8af1
jmp 0x100f8062
push ebx
xor edx, edx
jmp 0x100f8473
push 0x32
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x28]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x2c], edx
mov ecx, dword [eax + 4]
lea ebx, [eax + 0x14]
test ecx, ecx
je 0x100f854f
xor eax, eax
dec ecx
mov dword [ebp - 0x10], ecx
cmp dword [ebx + 0x10], eax
je 0x100f8541
mov edi, dword [ebp - 4]
cmp dword [ebx + 0x24], eax
je 0x100f84f8
lea eax, [ebp - 4]
mov edx, esi
push eax
push edi
push dword [ebx + 0x1c]
mov edi, dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp - 8]
push edi
push dword [ebp + 8]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.100d723f
cmp eax, 0x80004001
je 0x100f84f3
cmp eax, 0x4dc01
jne 0x100f84f3
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 0x10]
jmp 0x100f853f
test byte [ebx + 0x3c], 0x40
je 0x100f8503
mov eax, dword [ebx + 0x58]
jmp 0x100f8510
push 6
pop edx
mov ecx, ebx
call fcn.1010e691
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100f853c
push edi
push dword [ebx + 0x1c]
mov edi, dword [ebp + 0xc]
mov ecx, eax
push dword [ebp - 8]
push edi
push dword [ebp + 8]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [0x101a27b8]
call dword [ebp - 0x1c]
mov dword [ebp - 4], eax
jmp 0x100f84f3
mov edi, dword [ebp + 0xc]
xor eax, eax
add ebx, 0x78
test ecx, ecx
jne 0x100f84a8
mov edx, dword [ebp - 0x2c]
test edi, edi
jne 0x100f8583
mov edi, dword [ebp - 4]
cmp edi, 0xffffffff
je 0x100f8583
cmp edx, 0xffffffff
je 0x100f8583
cmp edi, edx
jae 0x100f8583
mov ecx, dword [ebp + 8]
call fcn.100d98e6
test eax, eax
je 0x100f8583
test edi, edi
jne 0x100f857a
or dword [ebp - 4], 0xffffffff
jmp 0x100f8583
cmp dword [ebp - 0xc], 0
jne 0x100f8583
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100f8591
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call fcn.100fd810
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10