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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x10154a4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, ecx
mov dword [ebx], eax
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x30]
add ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x34]
adc eax, dword [esi + 0x2c]
push edi
cmp eax, dword [ebx + 0x1c]
mov edi, dword [ebx + 0x18]
jg 0x100cbdc
jl 0x100cbce
cmp ecx, edi
jae 0x100cbdc
or dword [ebx + 8], 0xffffffff
mov eax, 0x80004005
jmp 0x100d156
mov edx, ecx
sub edx, edi
mov dword [ebp - 0x218], edx
mov edi, dword [ebp - 0x218]
mov edx, eax
sbb edx, dword [ebx + 0x1c]
or edi, edx
mov dword [ebp - 0x214], edx
je 0x100cc0e
or dword [ebx + 0xa4], 2
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], eax
push 0
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 8]
push edx
push dword [ebp - 0x218]
call fcn.0100a0ee
mov eax, dword [ebx + 8]
cmp eax, dword [esi + 0x44]
je 0x100cc3c
or dword [ebx + 0xa4], 0x1000
mov eax, dword [esi + 0x44]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x10]
cmp eax, dword [esi + 0x50]
je 0x100cc54
or dword [ebx + 0xa4], 0x2000
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x68]
cdq
mov edi, 0x400
idiv edi
mov ecx, dword [ebx + 0x28]
sub eax, ecx
cmp dword [ebx + 0x2c], eax
je 0x100cc7b
or dword [ebx + 0xa4], 8
mov eax, dword [esi + 0x68]
cdq
idiv edi
sub eax, ecx
mov dword [ebx + 0x2c], eax
mov edx, dword [esi + 0x64]
lea eax, [ebx + 0x98]
shr edx, 0xa
cmp dword [eax], edx
je 0x100cc9d
or dword [ebx + 0xa4], 0x40000
mov edx, dword [esi + 0x64]
shr edx, 0xa
mov dword [eax], edx
mov eax, dword [esi + 0x68]
shr eax, 0xa
cmp ecx, eax
je 0x100ccb7
or dword [ebx + 0xa4], 4
mov eax, dword [esi + 0x68]
shr eax, 0xa
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x30]
mov ecx, dword [esi + 0x60]
sub ecx, eax
cmp dword [ebx + 0x34], ecx
je 0x100ccd3
or dword [ebx + 0xa4], 0x20
mov ecx, dword [esi + 0x60]
sub ecx, eax
mov dword [ebx + 0x34], ecx
cmp eax, dword [esi + 0x60]
je 0x100cce5
or dword [ebx + 0xa4], 0x10
mov eax, dword [esi + 0x60]
mov dword [ebx + 0x30], eax
lea eax, [esi + 0x84]
mov ecx, dword [eax]
shr ecx, 0xa
cmp dword [ebx + 0x38], ecx
je 0x100cd04
or dword [ebx + 0xa4], 0x40
mov eax, dword [eax]
shr eax, 0xa
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x70]
shr eax, 0xa
cmp dword [ebx + 0x3c], eax
je 0x100cd22
or dword [ebx + 0xa4], 0x80
mov eax, dword [esi + 0x70]
shr eax, 0xa
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x78]
shr eax, 0xa
cmp dword [ebx + 0x40], eax
je 0x100cd40
or dword [ebx + 0xa4], 0x100
mov eax, dword [esi + 0x78]
shr eax, 0xa
mov dword [ebx + 0x40], eax
mov eax, dword [ebx + 0x44]
cmp eax, dword [esi + 0x40]
je 0x100cd58
or dword [ebx + 0xa4], 0x200
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x48]
cmp eax, dword [esi + 0x4c]
mov eax, 0x400
je 0x100cd71
or dword [ebx + 0xa4], eax
mov ecx, dword [esi + 0x4c]
mov dword [ebx + 0x48], ecx
mov ecx, dword [ebx + 0x4c]
cmp ecx, dword [esi + 4]
je 0x100cd85
or dword [ebx + 0xa4], eax
mov ecx, dword [esi + 4]
mov dword [ebx + 0x4c], ecx
mov ecx, dword [ebx + 0x58]
cmp ecx, dword [esi + 0x88]
jne 0x100cd9b
mov ecx, dword [ebx + 0x5c]
cmp ecx, dword [esi + 0x8c]
je 0x100cdb7
or dword [ebx + 0xa4], 0x80000
mov ecx, dword [esi + 0x88]
mov dword [ebx + 0x58], ecx
mov ecx, dword [esi + 0x8c]
mov dword [ebx + 0x5c], ecx
mov ecx, dword [ebx + 0x60]
cmp ecx, dword [esi + 0x90]
jne 0x100cdcd
mov ecx, dword [ebx + 0x64]
cmp ecx, dword [esi + 0x94]
je 0x100cde9
or dword [ebx + 0xa4], 0x100000
mov ecx, dword [esi + 0x90]
mov dword [ebx + 0x60], ecx
mov ecx, dword [esi + 0x94]
mov dword [ebx + 0x64], ecx
mov ecx, dword [ebx + 0x68]
cmp ecx, dword [esi + 0x98]
jne 0x100cdff
mov ecx, dword [ebx + 0x6c]
cmp ecx, dword [esi + 0x9c]
je 0x100ce1b
or dword [ebx + 0xa4], 0x200000
mov ecx, dword [esi + 0x98]
mov dword [ebx + 0x68], ecx
mov ecx, dword [esi + 0x9c]
mov dword [ebx + 0x6c], ecx
mov ecx, dword [ebx + 0x70]
cmp ecx, dword [esi + 0xa0]
jne 0x100ce31
mov ecx, dword [ebx + 0x74]
cmp ecx, dword [esi + 0xa4]
je 0x100ce4d
or dword [ebx + 0xa4], 0x400000
mov ecx, dword [esi + 0xa0]
mov dword [ebx + 0x70], ecx
mov ecx, dword [esi + 0xa4]
mov dword [ebx + 0x74], ecx
mov ecx, dword [ebx + 0x78]
cmp ecx, dword [esi + 0xa8]
jne 0x100ce63
mov ecx, dword [ebx + 0x7c]
cmp ecx, dword [esi + 0xac]
je 0x100ce7f
or dword [ebx + 0xa4], 0x800000
mov ecx, dword [esi + 0xa8]
mov dword [ebx + 0x78], ecx
mov ecx, dword [esi + 0xac]
mov dword [ebx + 0x7c], ecx
mov ecx, dword [ebx + 0x80]
cmp ecx, dword [esi + 0xb0]
jne 0x100ce9b
mov ecx, dword [ebx + 0x84]
cmp ecx, dword [esi + 0xb4]
je 0x100cebd
or dword [ebx + 0xa4], 0x1000000
mov ecx, dword [esi + 0xb0]
mov dword [ebx + 0x80], ecx
mov ecx, dword [esi + 0xb4]
mov dword [ebx + 0x84], ecx
push dword [ebx + 8]
push 0
push eax
call dword [sym.imp.kernel32.dll_OpenProcess]
test eax, eax
mov dword [ebp - 0x210], eax
je 0x100cf18
mov edi, dword [sym.imp.user32.dll_GetGuiResources]
push 1
push eax
call edi
cmp dword [ebx + 0x54], eax
je 0x100cef0
or dword [ebx + 0xa4], 0x20000
mov dword [ebx + 0x54], eax
push 0
push dword [ebp - 0x210]
call edi
cmp dword [ebx + 0x50], eax
je 0x100cf0c
or dword [ebx + 0xa4], 0x10000
mov dword [ebx + 0x50], eax
push dword [ebp - 0x210]
call dword [sym.imp.kernel32.dll_CloseHandle]
test byte [ebx + 0x94], 4
jne 0x100cff1
push dword [ebx + 8]
push 0
push 0x410
call dword [sym.imp.kernel32.dll_OpenProcess]
test eax, eax
mov dword [ebp - 0x210], eax
je 0x100cfea
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
push eax
call fcn.010125f6
test eax, eax
je 0x100cf8f
lea edi, [eax + eax]
lea eax, [edi + 2]
push eax
push 0x40
call dword [sym.imp.kernel32.dll_LocalAlloc]
test eax, eax
mov dword [ebx + 0xa0], eax
je 0x100cf8f
mov ecx, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
lea esi, [ebp - 0x20c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x10]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call fcn.01012648
test eax, eax
je 0x100cfde
lea edi, [eax + eax]
lea eax, [edi + 2]
push eax
push 0x40
call dword [sym.imp.kernel32.dll_LocalAlloc]
test eax, eax
mov dword [ebx + 0x9c], eax
je 0x100cfde
mov ecx, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
lea esi, [ebp - 0x20c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x10]
push dword [ebp - 0x210]
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebx + 0x94], 4
cmp dword [ebp + 0x20], 0
jne 0x100d06a
or dword [ebx + 0xa4], 0x800
cmp dword [esi + 0x3c], 0
jne 0x100d020
lea eax, [ebx + 0x88]
push eax
push 0x2715
push dword [0x1015d70]
call fcn.01012820
jmp 0x100d04e
movzx edi, word [esi + 0x38]
shr edi, 1
inc edi
lea eax, [edi + edi]
push eax
push 0x40
call dword [sym.imp.kernel32.dll_LocalAlloc]
test eax, eax
mov dword [ebx + 0x88], eax
je 0x100d049
push dword [esi + 0x3c]
push edi
push eax
call fcn.0100366f
jmp 0x100d04e
mov eax, 0x8007000e
test eax, eax
jl 0x100d156
cmp dword [0x1015ddc], 0
je 0x100d06a
add esi, 0x20
push esi
mov ecx, ebx
call fcn.0100b41a
test byte [0x1016090], 0x40
je 0x100d154
mov eax, dword [ebx + 0x94]
test al, 1
jne 0x100d089
test al, 2
jne 0x100d154
mov eax, dword [ebx + 0x88]
test eax, eax
je 0x100d14d
push 0x1001fcc
push eax
call dword [sym.imp.ntdll.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x100d14d
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x238]
push eax
push 0x100cad9
push dword [ebx + 8]
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], esi
call sub.vdmdbg.dll_VDMEnumTaskWOWEx
test eax, eax
je 0x100d13c
mov eax, dword [ebx + 0x94]
test al, 1
jne 0x100d123
or eax, 3
mov dword [ebx + 0x94], eax
push 1
push esi
push edi
push dword [ebp - 0x21c]
mov ecx, ebx
push dword [ebp - 0x220]
call fcn.0100a0ee
jmp 0x100d154
cmp dword [ebx + 0x1c], 0
jl 0x100d154
jg 0x100d14d
cmp dword [ebx + 0x18], 0x5f5e100
jbe 0x100d154
or dword [ebx + 0x94], 2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01011fd4
leave
ret 0x1c