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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x101e4ac]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, ecx
mov edx, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
mov dword [esi], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 4], eax
push edi
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 0x30]
add ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x34]
adc eax, dword [edi + 0x2c]
cmp eax, edx
jg 0x100e19a
jl 0x100e18c
cmp ecx, ebx
jae 0x100e19a
or dword [esi + 8], 0xffffffff
mov eax, 0x80004005
jmp 0x100e6ab
mov dword [ebp - 0x214], eax
mov eax, ecx
sub eax, ebx
mov ebx, dword [ebp - 0x214]
sbb ebx, edx
mov edx, eax
or edx, ebx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], ebx
je 0x100e1d7
mov edx, dword [ebp - 0x214]
or dword [esi + 0x9c], 2
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
push 0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
push ebx
push eax
call fcn.0100b93d
mov eax, dword [esi + 8]
cmp eax, dword [edi + 0x44]
je 0x100e1fd
or byte [esi + 0x9d], 0x10
mov eax, dword [edi + 0x44]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
cmp eax, dword [edi + 0x50]
je 0x100e212
or byte [esi + 0x9d], 0x20
mov eax, dword [edi + 0x50]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x68]
cdq
mov ebx, 0x400
idiv ebx
mov ecx, dword [esi + 0x28]
sub eax, ecx
cmp dword [esi + 0x2c], eax
je 0x100e239
or dword [esi + 0x9c], 8
mov eax, dword [edi + 0x68]
cdq
idiv ebx
sub eax, ecx
mov dword [esi + 0x2c], eax
mov edx, dword [edi + 0x64]
lea eax, [esi + 0x98]
shr edx, 0xa
cmp dword [eax], edx
je 0x100e258
or byte [esi + 0x9e], 4
mov edx, dword [edi + 0x64]
shr edx, 0xa
mov dword [eax], edx
mov eax, dword [edi + 0x68]
shr eax, 0xa
cmp ecx, eax
je 0x100e272
or dword [esi + 0x9c], 4
mov eax, dword [edi + 0x68]
shr eax, 0xa
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [edi + 0x60]
sub ecx, eax
cmp dword [esi + 0x34], ecx
je 0x100e28e
or dword [esi + 0x9c], 0x20
mov ecx, dword [edi + 0x60]
sub ecx, eax
mov dword [esi + 0x34], ecx
cmp eax, dword [edi + 0x60]
je 0x100e2a0
or dword [esi + 0x9c], 0x10
mov eax, dword [edi + 0x60]
mov dword [esi + 0x30], eax
lea eax, [edi + 0x84]
mov ecx, dword [eax]
shr ecx, 0xa
cmp dword [esi + 0x38], ecx
je 0x100e2bf
or dword [esi + 0x9c], 0x40
mov eax, dword [eax]
shr eax, 0xa
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x70]
shr eax, 0xa
cmp dword [esi + 0x3c], eax
je 0x100e2da
or byte [esi + 0x9c], 0x80
mov eax, dword [edi + 0x70]
shr eax, 0xa
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x78]
shr eax, 0xa
cmp dword [esi + 0x40], eax
je 0x100e2f5
or byte [esi + 0x9d], 1
mov eax, dword [edi + 0x78]
shr eax, 0xa
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x44]
cmp eax, dword [edi + 0x40]
je 0x100e30a
or byte [esi + 0x9d], 2
mov eax, dword [edi + 0x40]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x48]
cmp eax, dword [edi + 0x4c]
mov eax, 0x400
je 0x100e323
or dword [esi + 0x9c], eax
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x48], ecx
mov ecx, dword [esi + 0x4c]
cmp ecx, dword [edi + 4]
je 0x100e337
or dword [esi + 0x9c], eax
mov ecx, dword [edi + 4]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esi + 0x58]
cmp ecx, dword [edi + 0x88]
jne 0x100e34d
mov ecx, dword [esi + 0x5c]
cmp ecx, dword [edi + 0x8c]
je 0x100e366
or byte [esi + 0x9e], 8
mov ecx, dword [edi + 0x88]
mov dword [esi + 0x58], ecx
mov ecx, dword [edi + 0x8c]
mov dword [esi + 0x5c], ecx
mov ecx, dword [esi + 0x60]
cmp ecx, dword [edi + 0x90]
jne 0x100e37c
mov ecx, dword [esi + 0x64]
cmp ecx, dword [edi + 0x94]
je 0x100e395
or byte [esi + 0x9e], 0x10
mov ecx, dword [edi + 0x90]
mov dword [esi + 0x60], ecx
mov ecx, dword [edi + 0x94]
mov dword [esi + 0x64], ecx
mov ecx, dword [esi + 0x68]
cmp ecx, dword [edi + 0x98]
jne 0x100e3ab
mov ecx, dword [esi + 0x6c]
cmp ecx, dword [edi + 0x9c]
je 0x100e3c4
or byte [esi + 0x9e], 0x20
mov ecx, dword [edi + 0x98]
mov dword [esi + 0x68], ecx
mov ecx, dword [edi + 0x9c]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0x70]
cmp ecx, dword [edi + 0xa0]
jne 0x100e3da
mov ecx, dword [esi + 0x74]
cmp ecx, dword [edi + 0xa4]
je 0x100e3f3
or byte [esi + 0x9e], 0x40
mov ecx, dword [edi + 0xa0]
mov dword [esi + 0x70], ecx
mov ecx, dword [edi + 0xa4]
mov dword [esi + 0x74], ecx
mov ecx, dword [esi + 0x78]
cmp ecx, dword [edi + 0xa8]
jne 0x100e409
mov ecx, dword [esi + 0x7c]
cmp ecx, dword [edi + 0xac]
je 0x100e422
or byte [esi + 0x9e], 0x80
mov ecx, dword [edi + 0xa8]
mov dword [esi + 0x78], ecx
mov ecx, dword [edi + 0xac]
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x80]
cmp ecx, dword [edi + 0xb0]
jne 0x100e43e
mov ecx, dword [esi + 0x84]
cmp ecx, dword [edi + 0xb4]
je 0x100e45d
or byte [esi + 0x9f], 1
mov ecx, dword [edi + 0xb0]
mov dword [esi + 0x80], ecx
mov ecx, dword [edi + 0xb4]
mov dword [esi + 0x84], ecx
push dword [esi + 8]
and dword [ebp - 0x214], 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
mov dword [ebp - 0x210], eax
je 0x100e4cc
mov ebx, dword [sym.imp.USER32.dll_GetGuiResources]
push 1
push eax
call ebx
cmp dword [esi + 0x54], eax
je 0x100e494
or byte [esi + 0x9e], 2
mov dword [esi + 0x54], eax
push 0
push dword [ebp - 0x210]
call ebx
cmp dword [esi + 0x50], eax
je 0x100e4ad
or byte [esi + 0x9e], 1
mov dword [esi + 0x50], eax
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp + 0x20], eax
jne 0x100e5bd
or byte [esi + 0x9d], 8
cmp dword [edi + 0x3c], eax
jne 0x100e52a
push 0x104
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push 0x2715
push dword [0x101f9f0]
call dword [sym.imp.USER32.dll_LoadStringW]
mov ebx, eax
inc ebx
lea eax, [ebx + ebx]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [esi + 0x88], eax
je 0x100e56f
lea ecx, [ebp - 0x20c]
push ecx
push ebx
jmp 0x100e5a3
movzx ebx, word [edi + 0x38]
and dword [ebp - 0x210], 0
shr ebx, 1
inc ebx
cmp dword [ebp - 0x214], 1
jne 0x100e552
push 0x10020b8
call fcn.010145c6
pop ecx
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x210]
add eax, ebx
shl eax, 1
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [esi + 0x88], eax
jne 0x100e579
mov eax, 0x8007000e
jmp 0x100e6ab
push dword [edi + 0x3c]
push ebx
push eax
call fcn.01004bb6
cmp dword [ebp - 0x214], 1
jne 0x100e5a9
mov eax, dword [ebp - 0x210]
inc eax
push 0x10020b8
push eax
mov eax, dword [esi + 0x88]
lea eax, [eax + ebx*2 - 2]
push eax
call fcn.01004bb6
cmp dword [0x101fa64], 0
je 0x100e5bd
add edi, 0x20
push edi
mov ecx, esi
call fcn.0100cd00
test byte [0x101fd04], 0x40
je 0x100e6a9
mov eax, dword [esi + 0x94]
test al, 1
jne 0x100e5dc
test al, 2
jne 0x100e6a9
mov eax, dword [esi + 0x88]
test eax, eax
je 0x100e6a2
push 0x10020a4
push eax
call fcn.01014512
test eax, eax
pop ecx
pop ecx
jne 0x100e6a2
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x244]
push eax
push 0x100e083
push dword [esi + 8]
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], edi
call sub.VDMDBG.dll_VDMEnumTaskWOWEx
test eax, eax
je 0x100e691
mov eax, dword [esi + 0x94]
test al, 1
jne 0x100e678
or eax, 3
mov dword [esi + 0x94], eax
push 1
push edi
push ebx
push dword [ebp - 0x228]
mov ecx, esi
push dword [ebp - 0x22c]
call fcn.0100b93d
jmp 0x100e6a9
cmp dword [esi + 0x1c], 0
jl 0x100e6a9
jg 0x100e6a2
cmp dword [esi + 0x18], 0x5f5e100
jbe 0x100e6a9
or dword [esi + 0x94], 2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01013809
leave
ret 0x1c