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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x1015494]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov dword [ebp - 0x220], 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 0x100c57d
jl 0x100c56f
cmp ecx, ebx
jae 0x100c57d
or dword [esi + 8], 0xffffffff
mov eax, 0x80004005
jmp 0x100ca40
mov dword [ebp - 0x210], eax
mov eax, ecx
sub eax, ebx
mov ebx, dword [ebp - 0x210]
sbb ebx, edx
mov edx, eax
or edx, ebx
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], ebx
je 0x100c5ba
mov edx, dword [ebp - 0x210]
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.0100a63c
mov eax, dword [esi + 8]
cmp eax, dword [edi + 0x44]
je 0x100c5e0
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 0x100c5f5
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 0x100c61c
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 0x100c63b
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 0x100c655
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 0x100c671
or dword [esi + 0x9c], 0x20
mov ecx, dword [edi + 0x60]
sub ecx, eax
mov dword [esi + 0x34], ecx
cmp eax, dword [edi + 0x60]
je 0x100c683
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 0x100c6a2
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 0x100c6bd
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 0x100c6d8
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 0x100c6ed
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 0x100c706
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 0x100c71a
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 0x100c730
mov ecx, dword [esi + 0x5c]
cmp ecx, dword [edi + 0x8c]
je 0x100c749
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 0x100c75f
mov ecx, dword [esi + 0x64]
cmp ecx, dword [edi + 0x94]
je 0x100c778
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 0x100c78e
mov ecx, dword [esi + 0x6c]
cmp ecx, dword [edi + 0x9c]
je 0x100c7a7
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 0x100c7bd
mov ecx, dword [esi + 0x74]
cmp ecx, dword [edi + 0xa4]
je 0x100c7d6
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 0x100c7ec
mov ecx, dword [esi + 0x7c]
cmp ecx, dword [edi + 0xac]
je 0x100c805
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 0x100c821
mov ecx, dword [esi + 0x84]
cmp ecx, dword [edi + 0xb4]
je 0x100c840
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]
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
mov dword [ebp - 0x210], eax
je 0x100c898
mov ebx, dword [sym.imp.USER32.dll_GetGuiResources]
push 1
push eax
call ebx
cmp dword [esi + 0x54], eax
je 0x100c871
or byte [esi + 0x9e], 2
mov dword [esi + 0x54], eax
push 0
push dword [ebp - 0x210]
call ebx
cmp dword [esi + 0x50], eax
je 0x100c88a
or byte [esi + 0x9e], 1
mov dword [esi + 0x50], eax
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
cmp dword [ebp + 0x20], ebx
jne 0x100c950
or byte [esi + 0x9d], 8
cmp dword [edi + 0x3c], ebx
jne 0x100c8f6
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x2715
push dword [0x1015e28]
mov word [ebp - 0x20c], bx
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [eax + eax + 2]
push eax
call fcn.01002665
cmp eax, ebx
pop ecx
mov dword [esi + 0x88], eax
je 0x100c911
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x100c93d
movzx eax, word [edi + 0x38]
shr eax, 1
lea eax, [eax + eax + 2]
push eax
call fcn.01002665
cmp eax, ebx
pop ecx
mov dword [esi + 0x88], eax
jne 0x100c91b
mov eax, 0x8007000e
jmp 0x100ca40
movzx ecx, word [edi + 0x38]
shr ecx, 1
inc ecx
push ecx
push dword [edi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
movzx eax, word [edi + 0x38]
mov ecx, dword [esi + 0x88]
shr eax, 1
mov word [ecx + eax*2], bx
cmp dword [0x1015e90], ebx
je 0x100c950
add edi, 0x20
push edi
mov ecx, esi
call fcn.0100aa0b
test byte [0x1016134], 0x40
je 0x100ca3e
mov eax, dword [esi + 0x94]
test al, 1
jne 0x100c96f
test al, 2
jne 0x100ca3e
mov eax, dword [esi + 0x88]
cmp eax, ebx
je 0x100ca37
push 0x1001f4c
push eax
call dword [sym.imp.ntdll.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x100ca37
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x240]
push eax
push 0x100c463
push dword [esi + 8]
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x22c], edi
call sub.VDMDBG.dll_VDMEnumTaskWOWEx
test eax, eax
je 0x100ca27
mov eax, dword [esi + 0x94]
test al, 1
jne 0x100ca0c
or eax, 3
mov dword [esi + 0x94], eax
push 1
push edi
push dword [ebp + 8]
mov ecx, esi
push dword [ebp - 0x224]
push dword [ebp - 0x228]
call fcn.0100a63c
jmp 0x100ca3e
cmp dword [esi + 0x1c], ebx
jl 0x100ca3e
jg 0x100ca37
cmp dword [esi + 0x18], 0x5f5e100
jbe 0x100ca3e
or dword [esi + 0x94], 2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010120da
leave
ret 0x1c