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

Disassembly:
mov ebx, dword [ebp - 0x228]
or dword [esi + 0xd0], 0x20
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], eax
jmp 0x1002a73
or dword [esi + 0xd0], 0x200
mov dword [esi + 0x38], eax
jmp 0x1002ae1
or dword [esi + 0xd0], 0x4000
mov ecx, dword [edi + 0x60]
sub ecx, eax
mov dword [esi + 0x40], ecx
jmp 0x1002af2
or dword [esi + 0xd0], 0x2000
mov eax, dword [edi + 0x60]
mov dword [esi + 0x3c], eax
jmp 0x1002afb
or dword [esi + 0xd0], 0x100000
mov eax, dword [edi + 0x88]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x8c]
mov dword [esi + 0x6c], eax
jmp 0x1002b55
or dword [esi + 0xd0], 0x200000
mov eax, dword [edi + 0x90]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x94]
mov dword [esi + 0x74], eax
jmp 0x1002b73
or dword [esi + 0xd0], 0x400000
mov eax, dword [edi + 0x98]
mov dword [esi + 0x78], eax
mov eax, dword [edi + 0x9c]
mov dword [esi + 0x7c], eax
jmp 0x1002b91
or dword [esi + 0xd0], 0x800000
mov eax, dword [edi + 0xa0]
mov dword [esi + 0x80], eax
mov eax, dword [edi + 0xa4]
mov dword [esi + 0x84], eax
jmp 0x1002bb5
or dword [esi + 0xd0], 0x1000000
mov eax, dword [edi + 0xa8]
mov dword [esi + 0x88], eax
mov eax, dword [edi + 0xac]
mov dword [esi + 0x8c], eax
jmp 0x1002bd9
or dword [esi + 0xd0], 0x100
mov eax, dword [edi + 0x68]
cdq
and edx, ecx
add eax, edx
sar eax, 0xa
sub eax, ebx
mov dword [esi + 0x34], eax
jmp 0x1002aba
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x101e08c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, ecx
mov ebx, dword [esi + 0x1c]
mov edx, 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, ebx
jg 0x1002a4e
jl 0x100be93
cmp ecx, edx
jb 0x100be93
mov edx, ecx
mov dword [ebp - 0x228], edx
sub edx, dword [esi + 0x18]
mov ecx, eax
sbb ecx, ebx
mov ebx, edx
or ebx, ecx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x230], ecx
jne 0x1002642
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push ecx
push edx
mov ecx, esi
call fcn.010032e9
mov eax, dword [esi + 8]
cmp eax, dword [edi + 0x44]
jne 0x1003994
mov eax, dword [esi + 0x10]
cmp eax, dword [edi + 0x50]
jne 0x100bea1
mov eax, dword [edi + 0x68]
mov ebx, dword [esi + 0x30]
cdq
mov ecx, 0x3ff
and edx, ecx
add eax, edx
sar eax, 0xa
sub eax, ebx
cmp dword [esi + 0x34], eax
jne 0x10029d5
mov ecx, dword [edi + 0x64]
lea eax, [esi + 0xb0]
shr ecx, 0xa
cmp dword [eax], ecx
jne 0x1003925
mov eax, dword [edi + 0x68]
shr eax, 0xa
cmp ebx, eax
jne 0x100beb3
jmp 0x100bec3
mov eax, dword [esi + 0x3c]
mov ecx, dword [edi + 0x60]
sub ecx, eax
cmp dword [esi + 0x40], ecx
jne 0x1002672
cmp eax, dword [edi + 0x60]
jne 0x1002689
lea eax, [edi + 0x84]
mov ecx, dword [eax]
shr ecx, 0xa
cmp dword [esi + 0x44], ecx
jne 0x1003912
mov eax, dword [edi + 0x70]
shr eax, 0xa
cmp dword [esi + 0x48], eax
jne 0x100393c
mov eax, dword [edi + 0x78]
shr eax, 0xa
mov ecx, 0x1000
cmp dword [esi + 0x4c], eax
jne 0x100bef8
jmp 0x100bf07
mov eax, dword [esi + 0x68]
cmp eax, dword [edi + 0x88]
jne 0x100269e
mov eax, dword [esi + 0x6c]
cmp eax, dword [edi + 0x8c]
jne 0x100269e
mov eax, dword [esi + 0x70]
cmp eax, dword [edi + 0x90]
jne 0x10026bf
mov eax, dword [esi + 0x74]
cmp eax, dword [edi + 0x94]
jne 0x10026bf
mov eax, dword [esi + 0x78]
cmp eax, dword [edi + 0x98]
jne 0x10026e0
mov eax, dword [esi + 0x7c]
cmp eax, dword [edi + 0x9c]
jne 0x10026e0
mov eax, dword [esi + 0x80]
cmp eax, dword [edi + 0xa0]
jne 0x1002701
mov eax, dword [esi + 0x84]
cmp eax, dword [edi + 0xa4]
jne 0x1002701
mov eax, dword [esi + 0x88]
cmp eax, dword [edi + 0xa8]
jne 0x1002728
mov eax, dword [esi + 0x8c]
cmp eax, dword [edi + 0xac]
jne 0x1002728
mov eax, dword [esi + 0x90]
cmp eax, dword [edi + 0xb0]
jne 0x1002bf9
mov eax, dword [esi + 0x94]
cmp eax, dword [edi + 0xb4]
je 0x100bf58
or dword [esi + 0xd0], 0x2000000
mov eax, dword [edi + 0xb0]
mov dword [esi + 0x90], eax
mov eax, dword [edi + 0xb4]
mov dword [esi + 0x94], eax
jmp 0x100bf58
test byte [0x101e458], 0x40
je 0x1002c43
xor edi, edi
cmp dword [esi + 0xa4], edi
jne 0x100c16d
cmp dword [esi + 0xa8], edi
je 0x100c16d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001679
leave
ret 0x1c
mov ebx, dword [sym.imp.USER32.dll_GetGuiResources]
push 1
push eax
call ebx
mov dword [ebp - 0x21c], eax
cmp dword [esi + 0x60], eax
jne 0x1003c48
push 0
push dword [ebp - 0x214]
call ebx
mov dword [ebp - 0x21c], eax
cmp dword [esi + 0x5c], eax
jne 0x100bf91
jmp 0x1006722
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
jmp 0x100bfa3
lea ecx, [ebp - 0x220]
push ecx
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10032b1
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x21c]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push 0x17
push dword [ebp - 0x220]
call ebx
test eax, eax
je 0x10032a5
cmp dword [ebp - 0x210], 0
je 0x100c004
lea eax, [ebp - 0x21c]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push 0x18
push dword [ebp - 0x220]
call ebx
test eax, eax
je 0x10032a5
xor eax, eax
cmp dword [ebp - 0x210], eax
setne al
inc eax
inc eax
mov dword [esi + 0xb4], eax
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 4
lea eax, [ebp - 0x224]
push eax
push 0x22
push dword [ebp - 0x214]
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
jmp 0x100c013
or dword [esi + 0xd0], ebx
mov eax, dword [eax]
shr eax, 0xa
mov dword [esi + 0x44], eax
jmp 0x1002b0f
or dword [esi + 0xd0], 0x80
mov ecx, dword [edi + 0x64]
shr ecx, 0xa
mov dword [eax], ecx
jmp 0x1002ace
or dword [esi + 0xd0], 0x800
mov eax, dword [edi + 0x70]
shr eax, 0xa
mov dword [esi + 0x48], eax
jmp 0x1002b1e
or dword [esi + 0xd0], 2
mov eax, dword [edi + 0x44]
mov dword [esi + 8], eax
jmp 0x1002a90
push dword [esi + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x100c0a1
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.01006597
test eax, eax
je 0x1006716
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x100c086
movzx ebx, word [edi + 0x38]
and dword [ebp - 0x210], 0
shr ebx, 1
inc ebx
cmp dword [ebp - 0x218], 1
je 0x100c0fc
mov eax, dword [ebp - 0x210]
add eax, ebx
add eax, eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x100c10b
push dword [edi + 0x3c]
push ebx
push eax
call fcn.01001a1b
mov edi, eax
test edi, edi
jl 0x1006734
cmp dword [ebp - 0x218], 1
je 0x100c122
jmp 0x100c146
push 0x1003a5c
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x100c234
jmp 0x100c180
or dword [esi + 0xd0], 0x40000
mov dword [esi + 0x60], eax
jmp 0x10031f9
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100c0a1
cmp dword [esi + 0xac], 0
je 0x1003217
jmp 0x100bfaa
mov eax, edi
jmp 0x1002c45
or dword [esi + 8], 0xffffffff
mov eax, 0x80004005
jmp 0x1002c45
or dword [esi + 0xd0], 8
mov eax, dword [edi + 0x50]
mov dword [esi + 0x10], eax
jmp 0x1002a9c
or dword [esi + 0xd0], 0x40
mov eax, dword [edi + 0x68]
shr eax, 0xa
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x218]
push eax
push 0
mov ebx, 0x400
push ebx
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.01001aad
push edx
push eax
call fcn.01013d41
mov eax, dword [ebp - 0x218]
cmp dword [esi + 0x38], eax
jne 0x1002660
jmp 0x1002ae1
or dword [esi + 0xd0], ecx
mov eax, dword [edi + 0x78]
shr eax, 0xa
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x50]
cmp eax, dword [edi + 0x40]
je 0x100bf1f
or dword [esi + 0xd0], 0x8000
mov eax, dword [edi + 0x40]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x54]
cmp eax, dword [edi + 0x4c]
je 0x100bf37
or dword [esi + 0xd0], 0x10000
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x58]
cmp eax, dword [edi + 4]
je 0x1002b37
or dword [esi + 0xd0], 0x20000
mov eax, dword [edi + 4]
mov dword [esi + 0x58], eax
jmp 0x1002b37
lea eax, [esi + 0xc8]
xor edx, edx
cmp dword [eax], edx
je 0x100bf70
or dword [esi + 0xd0], 0x24000000
mov dword [eax], edx
push dword [esi + 8]
mov dword [ebp - 0x218], edx
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x214], eax
test eax, eax
jne 0x10031df
jmp 0x100bfbb
or dword [esi + 0xd0], 0x80000
mov dword [esi + 0x5c], eax
jmp 0x1006722
mov ecx, esi
call fcn.01016d73
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 0x400
cmp dword [esi + 0xac], 0
jne 0x100bfe8
cmp dword [esi + 8], 0
jne 0x100bfe8
lea eax, [esi + 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
push 0x2735
push dword [0x101e0a4]
call fcn.01006576
push dword [esi + 8]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x214], eax
test eax, eax
jne 0x100322f
jmp 0x100c05f
mov dword [esi + 0xb4], 1
jmp 0x10032a5
test eax, eax
jl 0x100c038
mov al, byte [ebp - 0x224]
not al
movzx eax, al
and eax, 2
or eax, 4
shr eax, 1
lea ecx, [esi + 0xb8]
cmp dword [ecx], eax
je 0x100c051
mov dword [ecx], eax
jmp 0x100c047
push 3
lea eax, [esi + 0xb8]
pop ecx
cmp dword [eax], ecx
je 0x100c051
mov dword [eax], ecx
or dword [esi + 0xd0], 0x40000000
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100c077
lea eax, [esi + 0xb8]
cmp dword [eax], 0
je 0x100c077
or dword [esi + 0xd0], 0x40000000
and dword [eax], 0
cmp dword [esi + 0xac], 0
je 0x10039a6
jmp 0x100c0ab
lea ecx, [esi + 0xc0]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
push 0
push eax
call fcn.01016307
jmp 0x1006716
mov dword [esi + 0xac], 1
cmp dword [ebp + 0x20], 0
jne 0x1002c20
lea eax, [edi + 0x20]
mov ecx, dword [eax]
mov dword [esi + 0x28], ecx
mov dword [ebp - 0x224], eax
mov eax, dword [eax + 4]
or dword [esi + 0xd0], 1
mov dword [esi + 0x2c], eax
cmp dword [edi + 0x3c], 0
jne 0x10039e5
lea eax, [esi + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
push 0x2715
push dword [0x101e0a4]
call fcn.01006576
mov edi, eax
jmp 0x100c146
mov dword [ebp - 0x210], 4
jmp 0x1003a00
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x98], eax
test eax, eax
jne 0x1003a18
jmp 0x100c141
mov eax, dword [ebp - 0x210]
inc eax
push 0x100d600
push eax
mov eax, dword [esi + 0x98]
lea eax, [eax + ebx*2 - 2]
push eax
call fcn.01001a1b
jmp 0x100c146
mov edi, 0x8007000e
test edi, edi
jl 0x1006734
cmp dword [0x101e468], 0
je 0x1002c20
push dword [ebp - 0x224]
mov ecx, esi
call fcn.01003ae7
jmp 0x1002c20
mov eax, dword [esi + 0x98]
cmp eax, edi
jne 0x1003a3e
jmp 0x100c234
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x254]
push eax
push 0x1016a38
push dword [esi + 8]
mov dword [ebp - 0x248], esi
call sub.VDMDBG.dll_VDMEnumTaskWOWEx
test eax, eax
je 0x100c21c
xor eax, eax
inc eax
cmp dword [esi + 0xa4], edi
jne 0x100c1fd
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], eax
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
call fcn.010032e9
jmp 0x1002c43
cmp dword [esi + 0x1c], edi
jl 0x1002c43
jg 0x100c234
cmp dword [esi + 0x18], 0x5f5e100
jbe 0x1002c43
mov dword [esi + 0xa8], 1
jmp 0x1002c43