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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x101a4c2c]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 8], 0xffffffff
mov eax, edx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x20], eax
xor ebx, ebx
mov dword [ebp - 0x24], ecx
push edi
mov dword [ebp - 0x2c], edi
inc ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x28], edi
call fcn.100e26f0
mov esi, eax
mov dword [ebp - 0x30], esi
test esi, esi
je 0x100db7cf
cmp dword [ebp + 0x14], edi
jne 0x100db180
mov ecx, dword [esi + 0x10]
push 2
pop edx
call fcn.1010c57f
mov dword [ebp - 0x28], eax
test eax, eax
je 0x100db7cf
mov eax, dword [eax + 0x1c]
mov ebx, edi
mov dword [ebp - 0xc], 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 0x100db1a7
cmp ax, 7
je 0x100db1a7
cmp ax, 0x16
je 0x100db1a7
cmp ax, 0x1e
jne 0x100db1b6
mov ecx, esi
call fcn.100e1bc9
test eax, eax
je 0x100db7c1
mov edx, dword [ebp - 0xc]
xor ebx, ebx
push edi
push ebx
push dword [ebp + 0x14]
mov ecx, esi
call fcn.100e1842
test eax, eax
je 0x100db7c1
mov ecx, esi
call fcn.100e1cb4
test eax, eax
je 0x100db7c1
push ebx
push ebx
xor edx, edx
mov ecx, esi
call fcn.100e1f79
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x38]
push ebx
push 0x200
mov ecx, dword [ecx + 0x14]
call fcn.1010b697
push ebx
push 1
push ebx
xor edx, edx
mov ecx, esi
call fcn.100de460
mov ecx, esi
call fcn.100e203e
test eax, eax
je 0x100db7c1
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edx
test ebx, ebx
je 0x100db2a8
mov edx, dword [ebp + 8]
mov ecx, edx
call fcn.100db0d2
test eax, eax
je 0x100db2a6
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 4]
lea edi, [eax + 0x14]
test ecx, ecx
je 0x100db297
xor eax, eax
dec ecx
mov dword [ebp - 0xc], ecx
cmp dword [edi + 0x10], eax
je 0x100db290
cmp dword [edi + 0x24], eax
je 0x100db290
lea eax, [ebp - 8]
mov ecx, edi
push eax
push dword [ebp - 8]
xor eax, eax
push dword [edi + 0x1c]
push dword [ebp - 0x10]
push eax
push edx
push dword [ebp - 0x20]
mov edx, esi
push dword [ebp - 0x24]
call fcn.100d8924
cmp eax, 0x80004001
je 0x100db288
cmp eax, 0x4dc01
je 0x100db2ed
test eax, eax
js 0x100db2e4
mov edx, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
add edi, 0x78
test ecx, ecx
jne 0x100db248
mov eax, dword [ebp - 0x18]
or dword [ebp - 8], 0xffffffff
test eax, eax
jne 0x100db6d4
xor edx, edx
mov eax, dword [esi + 0x24]
mov edi, edx
mov dword [ebp - 0xc], edi
cmp dword [eax + 0x128], edx
jne 0x100db2cd
mov ecx, dword [esi + 0x10]
lea eax, [ebp - 0xc]
push edx
push edx
push eax
xor edx, edx
call fcn.1010c806
mov edi, dword [ebp - 0xc]
xor edx, edx
mov ecx, dword [ebp + 8]
movzx eax, cx
dec eax
cmp eax, 0x22
ja case.0x100db2dd.19
jmp dword [eax*4 + 0x100db7eb]
or dword [ebp - 8], 0xffffffff
jmp 0x100db7c1
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
jmp 0x100db29a
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x40]
mov dword [ebp - 8], eax
jmp 0x100db6d4
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x42]
jmp 0x100db2fc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x44]
jmp 0x100db2fc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x46]
jmp 0x100db2fc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x48]
jmp 0x100db2fc
test ebx, ebx
je 0x100db330
xor eax, eax
mov word [ebx], ax
mov dword [ebp - 8], edx
jmp 0x100db6d4
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x3c]
mov edx, ecx
mov dword [ebp - 8], ecx
test edi, edi
je 0x100db35e
mov eax, dword [esi + 0x30]
test byte [eax + 0x10], 0x10
jne 0x100db35e
mov eax, 0x270f
cmp ecx, eax
jae 0x100db35e
mov dword [ebp - 8], eax
mov edx, eax
mov eax, 0x7fff
cmp edx, eax
jb 0x100db6d4
jmp 0x100db2fc
mov edi, dword [esi + 0x24]
push edx
mov edx, dword [esi + 0x38]
push 3
push ecx
mov ecx, edi
call fcn.1010b72b
test eax, eax
je 0x100db3a4
mov ecx, dword [edi + 0xd4]
test ecx, ecx
je 0x100db396
mov eax, dword [edi + 0x13c]
add eax, ecx
jmp 0x100db398
xor eax, eax
test eax, eax
je 0x100db3a4
xor eax, eax
inc eax
jmp 0x100db2fc
xor eax, eax
jmp 0x100db2fc
mov eax, dword [ebp - 0x10]
test dword [eax + 0x48], 0x4000
jne 0x100db3be
mov eax, edx
jmp 0x100db2fc
mov ecx, dword [esi + 0x24]
cmp dword [ecx + 0x128], edx
jne 0x100db3da
mov eax, dword [ecx + 0x88]
and eax, 2
or eax, 1
jmp 0x100db2fc
xor edx, edx
call fcn.1010bd58
jmp 0x100db2fc
mov ecx, dword [esi + 0x24]
call fcn.100e98f8
jmp 0x100db2fc
push dword [ebp + 0x10]
push edx
push edx
push edx
mov edx, ebx
mov ecx, esi
call fcn.100db8f0
jmp 0x100db2fc
push dword [ebp + 0x10]
push edx
push edx
push ebx
xor edx, edx
jmp 0x100db3fb
push dword [ebp + 0x10]
push edx
push ebx
push edx
jmp 0x100db40d
push ecx
mov ecx, esi
call fcn.100dbc81
jmp 0x100db2fc
mov edx, ebx
mov ecx, esi
call fcn.100dbdfc
jmp 0x100db2fc
mov edx, ebx
mov ecx, esi
call fcn.100dbe9b
jmp 0x100db2fc
mov edx, ebx
mov ecx, esi
call fcn.100dbefb
jmp 0x100db2fc
test edi, edi
je 0x100db45d
mov eax, dword [esi + 0x30]
test byte [eax + 0x10], 0x10
je 0x100db494
mov edi, dword [esi + 0x24]
push edx
mov edx, dword [esi + 0x38]
push 0xa
push ecx
mov ecx, edi
call fcn.1010b72b
test eax, eax
je 0x100db3a4
mov ecx, dword [edi + 0xf0]
test ecx, ecx
je 0x100db48a
mov eax, dword [edi + 0x13c]
add eax, ecx
jmp 0x100db48c
xor eax, eax
test eax, eax
je 0x100db3a4
mov dword [ebp - 8], 1
jmp 0x100db6d4
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x88]
shr eax, 3
and eax, 1
jmp 0x100db2fc
mov edx, ebx
mov ecx, esi
call fcn.100dc0bc
jmp 0x100db2fc
mov eax, dword [esi + 0x24]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], edx
push ecx
mov ecx, esi
mov edx, dword [eax + 8]
call fcn.100f0f45
test eax, eax
je 0x100db3a4
test ebx, ebx
je 0x100db39c
push 0x20
mov edx, eax
mov ecx, ebx
call fcn.1010c0d1
jmp 0x100db39c
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x74]
mov dword [ebp - 8], eax
test eax, eax
jne 0x100db6d4
or dword [ebp - 8], 0xffffffff
jmp 0x100db6d4
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x78]
jmp 0x100db4fc
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x7c]
jmp 0x100db4fc
mov ecx, esi
call fcn.100dbf6a
jmp 0x100db2fc
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x128], edx
je 0x100db547
mov eax, dword [esi + 0x18]
test dword [eax + 0xc], 0x100000
je 0x100db5e9
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x1c]
call fcn.10128f5a
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x100db5e7
mov ecx, edi
call fcn.100dbfc2
mov dword [ebp - 8], eax
test eax, eax
je 0x100db5db
test ebx, ebx
je 0x100db5db
xor ecx, ecx
mov dword [ebp - 0x14], edi
mov eax, ecx
mov dword [ebp - 0xc], eax
cmp word [edi], cx
je 0x100db5d8
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 0x14]
cmp edi, 0xffffffff
je 0x100db590
cmp edi, 0x40
jl 0x100db5cf
push 0x40
mov edx, esi
mov ecx, ebx
call fcn.1010c0d1
mov ecx, esi
sub ebx, 0xffffff80
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2c]
jne 0x100db5a3
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
cmp edi, 0xffffffff
je 0x100db5c1
sub edi, 0x40
mov eax, dword [ebp - 0xc]
xor ecx, ecx
inc eax
mov dword [ebp - 0xc], eax
cmp word [esi], cx
jne 0x100db586
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x1c]
mov dword [ebp + 0xc], ebx
mov dword [ebp - 8], eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x100db6d4
xor edx, edx
mov dword [ebp - 8], 1
test ebx, ebx
je 0x100db6d4
cmp dword [ebp + 0x10], 0xffffffff
je 0x100db608
cmp dword [ebp + 0x10], 0x40
jl 0x100db330
call fcn.1010d9c5
mov ecx, dword [esi + 0x24]
test eax, eax
je 0x100db627
test dword [ecx + 0x88], 0x400
je 0x100db646
mov edx, 0x10024ed8
jmp 0x100db638
test dword [ecx + 0x88], 0x200
je 0x100db646
mov edx, 0x10024ee0
push 0x40
mov ecx, ebx
call fcn.1010c0d1
jmp 0x100db6d4
mov eax, dword [ecx + 0xcc]
test eax, eax
je 0x100db65a
mov edx, dword [ecx + 0x13c]
add edx, eax
jmp 0x100db65e
xor eax, eax
mov edx, eax
test edx, edx
je 0x100db507
push dword [edx + 0x14]
call fcn.1010bc73
test eax, eax
je 0x100db507
push 0x40
push ebx
mov edx, eax
mov ecx, esi
call fcn.100ee17f
jmp 0x100db4ff
mov ecx, dword [esi + 0x24]
lea eax, [ebp - 0x1c]
push eax
push edx
mov edx, 0x100213ac
call fcn.1010bbb4
test eax, eax
je 0x100db3a4
mov edx, dword [esi + 0x38]
push eax
push 0xffff
push ecx
mov ecx, dword [esi + 0x24]
call fcn.1010b72b
jmp 0x100db398
push edx
mov edx, ebx
mov ecx, esi
call fcn.100dc198
jmp 0x100db2fc
push ebx
xor edx, edx
jmp 0x100db6bb
push 0x32
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0x28]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], edx
mov ecx, dword [eax + 4]
lea ebx, [eax + 0x14]
test ecx, ecx
je 0x100db78d
xor eax, eax
dec ecx
mov dword [ebp - 0xc], ecx
cmp dword [ebx + 0x10], eax
je 0x100db77f
mov edi, dword [ebp - 8]
cmp dword [ebx + 0x24], eax
je 0x100db739
lea eax, [ebp - 8]
mov edx, esi
push eax
push edi
push dword [ebx + 0x1c]
mov ecx, ebx
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.100d8924
cmp eax, 0x80004001
je 0x100db77a
cmp eax, 0x4dc01
jne 0x100db77a
mov dword [ebp - 0x18], 1
jmp 0x100db77a
test byte [ebx + 0x3c], 0x40
je 0x100db744
mov eax, dword [ebx + 0x58]
jmp 0x100db751
push 6
pop edx
mov ecx, ebx
call fcn.10110711
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100db77d
push edi
push dword [ebx + 0x1c]
mov ecx, eax
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push esi
call dword [0x101a77c4]
call dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
xor eax, eax
add ebx, 0x78
test ecx, ecx
jne 0x100db6ed
mov edx, dword [ebp - 0x1c]
cmp dword [ebp + 0xc], 0
jne 0x100db7c1
mov edi, dword [ebp - 8]
cmp edi, 0xffffffff
je 0x100db7c1
cmp edx, 0xffffffff
je 0x100db7c1
cmp edi, edx
jae 0x100db7c1
mov ecx, dword [ebp + 8]
call fcn.100db0d2
test eax, eax
je 0x100db7c1
test edi, edi
je 0x100db2e4
cmp dword [ebp - 0x18], 0
jne 0x100db7c1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100db7cf
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call fcn.100e2690
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10166ce0
mov esp, ebp
pop ebp
ret 0x10