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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x3a0
call fcn.1016fdd0
cmp eax, 5
ja 0x101fc73b
mov ecx, 0x23
bt ecx, eax
jae 0x101fc73b
mov ebx, dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x8c], eax
call fcn.1016fc20
mov byte [esp + 0x27], al
test ebx, ebx
je 0x101fc064
mov eax, dword [ebx + 4]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 8]
jmp 0x101fc06e
mov dword [esp + 0x38], 0
xor eax, eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x8c]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esp + 0x27]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esp + 0x38]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esp + 0x50]
push eax
call fcn.1002a710
add esp, 4
lea eax, [ebp + 0xc]
push eax
call fcn.1002a710
add esp, 4
mov dword [esp + 0x4c], 0xffffffff
mov esi, dword [sym.imp.kernel32.dll_GetCurrentProcess]
call esi
mov edi, dword [sym.imp.USER32.dll_GetGuiResources]
push 1
push eax
call edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], 0xffffffff
call fcn.101fcf80
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], 0xffffffff
call esi
push 2
push eax
call edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], 0xffffffff
push 0
push 0xfffffffffffffffe
call edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], 0xffffffff
push 1
push 0xfffffffffffffffe
call edi
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esp + 0x4c]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esp + 0x48]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esp + 0x44]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esp + 0x40]
push eax
call fcn.1002a710
add esp, 4
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov edi, eax
call fcn.101701b0
cmp dword [eax + 0x44], 1
jne 0x101fc47a
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
push edi
push 0
push 0x100451
call dword [sym.imp.kernel32.dll_OpenProcess]
lea esi, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.1016c420
mov ecx, esi
call fcn.1016c620
mov dword [esp + 4], 0
mov dword [esp + 0x30], 0
mov esi, 0
mov dword [esp + 8], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
test al, al
je 0x101fcc41
push str.ntdll.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x101fcbcf
mov ebx, eax
mov eax, dword [0x102c479c]
mov ecx, dword [0x102b3718]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x101fc73e
mov esi, dword [0x102c4798]
test esi, esi
je 0x101fc832
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
lea ecx, [esp + 0x1c]
call fcn.1016c640
lea ecx, [esp + 0x90]
push 0
push 0x30
push ecx
push 0
push eax
call esi
test eax, eax
jne 0x101fc8ad
mov eax, dword [0x102c47a4]
mov ecx, dword [0x102b3718]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x101fc77b
mov eax, dword [0x102c47a0]
mov dword [esp + 4], eax
test eax, eax
je 0x101fc8ee
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x260], xmm0
movdqa xmmword [esp + 0x250], xmm0
movdqa xmmword [esp + 0x240], xmm0
movdqa xmmword [esp + 0x230], xmm0
movdqa xmmword [esp + 0x220], xmm0
movdqa xmmword [esp + 0x210], xmm0
movdqa xmmword [esp + 0x200], xmm0
movdqa xmmword [esp + 0x1f0], xmm0
movdqa xmmword [esp + 0x1e0], xmm0
movdqa xmmword [esp + 0x1d0], xmm0
movdqa xmmword [esp + 0x1c0], xmm0
movdqa xmmword [esp + 0x1b0], xmm0
movdqa xmmword [esp + 0x1a0], xmm0
movdqa xmmword [esp + 0x190], xmm0
movdqa xmmword [esp + 0x180], xmm0
movdqa xmmword [esp + 0x170], xmm0
mov ebx, dword [esp + 0x98]
mov esi, dword [esp + 0x9c]
lea ecx, [esp + 0x1c]
call fcn.1016c640
lea ecx, [esp + 0x170]
push 0
push 0
push 0x100
push ecx
push esi
push ebx
push eax
call dword [esp + 0x20]
test eax, eax
jne 0x101fc92d
push 0x180000
call fcn.10216dd3
add esp, 4
mov ebx, eax
push 0x180000
push 0
push eax
call fcn.10208980
add esp, 0xc
mov eax, dword [0x102c47a0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x268]
mov dword [esp + 8], eax
mov esi, dword [esp + 0x26c]
lea ecx, [esp + 0x1c]
call fcn.1016c640
push 0
push 0
push 0x180000
push ebx
push esi
push dword [esp + 0x1c]
push eax
call dword [esp + 0x20]
test eax, eax
jne 0x101fc96e
mov dword [esp + 4], 0
mov eax, 0xe
xor edx, edx
xor esi, esi
mov dword [esp + 8], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
jmp 0x101fc42e
add dword [esp + 0xc], 1
nop
nop
nop
nop
nop
add eax, 0x18
cmp eax, 0x18000e
je 0x101fcc05
movzx ecx, word [ebx + eax - 6]
cmp edi, ecx
jne 0x101fc420
movzx ecx, word [ebx + eax]
and ecx, 0x7f
add ecx, 0xffffffff
cmp ecx, 0x2f
ja case.0x101fc446.1
jmp dword [ecx*4 + 0x102a6e60]
add dword [esp + 4], 1
jmp 0x101fc420
add dword [esp + 0x14], 1
jmp 0x101fc420
add edx, 1
jmp 0x101fc420
add dword [esp + 0x10], 1
jmp 0x101fc420
add esi, 1
jmp 0x101fc420
add dword [esp + 8], 1
jmp 0x101fc420
add dword [esp + 0x18], 1
jmp 0x101fc420
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
push edi
push 0
push 0x100451
call dword [sym.imp.kernel32.dll_OpenProcess]
lea esi, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.1016c420
mov ecx, esi
call fcn.1016c620
mov dword [esp + 4], 0
mov dword [esp + 0x30], 0
mov esi, 0
mov dword [esp + 8], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
test al, al
je 0x101fcc41
push str.ntdll.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x101fcbcf
mov ebx, eax
mov eax, dword [0x102c47ac]
mov ecx, dword [0x102b3718]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x101fc7b8
mov esi, dword [0x102c47a8]
test esi, esi
je 0x101fc9af
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x90], xmm0
mov dword [esp + 0xa4], 0xffffffff
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.1016c640
lea ecx, [esp + 0x90]
push 0
push 0x18
push ecx
push 0
push eax
call esi
test eax, eax
jne 0x101fca2a
mov eax, dword [0x102c47b4]
mov ecx, dword [0x102b3718]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x101fc7f5
mov esi, dword [0x102c47b0]
test esi, esi
je 0x101fca7b
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x140], xmm0
movdqa xmmword [esp + 0x130], xmm0
movdqa xmmword [esp + 0x120], xmm0
movdqa xmmword [esp + 0x110], xmm0
movdqa xmmword [esp + 0x100], xmm0
movdqa xmmword [esp + 0xf0], xmm0
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
mov dword [esp + 0x154], 0xffffffff
mov dword [esp + 0x150], 0xffffffff
mov ebx, dword [esp + 0x94]
lea ecx, [esp + 0x1c]
call fcn.1016c640
lea ecx, [esp + 0xc0]
push 0
push 0x98
push ecx
push ebx
push eax
call esi
test eax, eax
jne 0x101fcada
push 0x100000
call fcn.10216dd3
add esp, 4
mov ebx, eax
push 0x100000
push 0
push eax
call fcn.10208980
add esp, 0xc
mov eax, dword [0x102c47b0]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x154]
lea ecx, [esp + 0x1c]
call fcn.1016c640
push 0
push 0x100000
push ebx
push esi
push eax
call dword [esp + 0x18]
test eax, eax
jne 0x101fcb53
xor eax, eax
mov dword [esp + 4], 0
xor edx, edx
xor esi, esi
mov dword [esp + 8], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
jmp 0x101fc6ee
add dword [esp + 0xc], 1
nop
nop
nop
nop
nop
nop
nop
add eax, 0x10
cmp eax, 0x100000
je 0x101fcc05
movzx ecx, word [ebx + eax + 4]
cmp edi, ecx
jne 0x101fc6e0
movzx ecx, word [ebx + eax + 0xa]
and ecx, 0x7f
add ecx, 0xffffffff
cmp ecx, 0x2f
ja case.0x101fc707.1
jmp dword [ecx*4 + 0x102a6da0]
add dword [esp + 4], 1
jmp 0x101fc6e0
add dword [esp + 0x14], 1
jmp 0x101fc6e0
add edx, 1
jmp 0x101fc6e0
add dword [esp + 0x10], 1
jmp 0x101fc6e0
add esi, 1
jmp 0x101fc6e0
add dword [esp + 8], 1
jmp 0x101fc6e0
add dword [esp + 0x18], 1
jmp 0x101fc6e0
int3
push 0x102c479c
call fcn.10216dd3
add esp, 4
cmp dword [0x102c479c], 0xffffffff
jne 0x101fc230
push str.NtWow64QueryInformationProcess64
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x102c4798], eax
push 0x102c479c
call fcn.10216dd3
add esp, 4
jmp 0x101fc230
push 0x102c47a4
call fcn.10216dd3
add esp, 4
cmp dword [0x102c47a4], 0xffffffff
jne 0x101fc2a0
push str.NtWow64ReadVirtualMemory64
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x102c47a0], eax
push 0x102c47a4
call fcn.10216dd3
add esp, 4
jmp 0x101fc2a0
push 0x102c47ac
call fcn.10216dd3
add esp, 4
cmp dword [0x102c47ac], 0xffffffff
jne 0x101fc536
push str.NtQueryInformationProcess
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x102c47a8], eax
push 0x102c47ac
call fcn.10216dd3
add esp, 4
jmp 0x101fc536
push 0x102c47b4
call fcn.10216dd3
add esp, 4
cmp dword [0x102c47b4], 0xffffffff
jne 0x101fc5aa
push str.NtReadVirtualMemory
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x102c47b0], eax
push 0x102c47b4
call fcn.10216dd3
add esp, 4
jmp 0x101fc5aa
xor ebx, ebx
push 2
call fcn.1014e420
add esp, 4
mov dword [esp + 4], 0
mov edx, 0
mov esi, 0
mov dword [esp + 8], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
test al, al
je 0x101fcc05
lea esi, [esp + 0x170]
mov ecx, esi
push 2
push 0xbb
push str..._.._base_debug_gdi_debug_util_win.cc
call fcn.1014e450
lea eax, [esp + 0x178]
push 0x20
push str.NtWow64QueryInformationProcess64
jmp 0x101fcab5
mov esi, eax
push 2
call fcn.1014e420
add esp, 4
test al, al
je 0x101fcbcf
lea edi, [esp + 0x170]
mov ecx, edi
push 2
push 0xc4
push str..._.._base_debug_gdi_debug_util_win.cc
call fcn.1014e450
lea eax, [esp + 0x178]
push 0x20
push str.NtWow64QueryInformationProcess64
jmp 0x101fca66
push 2
call fcn.1014e420
add esp, 4
test al, al
je 0x101fcbcf
lea esi, [esp + 0x170]
mov ecx, esi
push 2
push 0xcd
push str..._.._base_debug_gdi_debug_util_win.cc
call fcn.1014e450
lea eax, [esp + 0x178]
push 0x1a
push str.NtWow64ReadVirtualMemory64
jmp 0x101fcab5
mov esi, eax
push 2
call fcn.1014e420
add esp, 4
test al, al
je 0x101fcbcf
lea edi, [esp + 0xc0]
mov ecx, edi
push 2
push 0xd5
push str..._.._base_debug_gdi_debug_util_win.cc
call fcn.1014e450
lea eax, [esp + 0xc8]
push 0x1a
push str.NtWow64ReadVirtualMemory64
jmp 0x101fcb16
mov esi, eax
push 2
call fcn.1014e420
add esp, 4
test al, al
je 0x101fcbc6
lea edi, [esp + 0xc0]
mov ecx, edi
push 2
push 0xed
push str..._.._base_debug_gdi_debug_util_win.cc
call fcn.1014e450
lea eax, [esp + 0xc8]
push 0x1a
push str.NtWow64ReadVirtualMemory64
jmp 0x101fcb8b
xor ebx, ebx
push 2
call fcn.1014e420
add esp, 4
mov dword [esp + 4], 0
mov edx, 0
mov esi, 0
mov dword [esp + 8], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
test al, al
je 0x101fcc05
lea esi, [esp + 0x170]
mov ecx, esi
push 2
push 0xbb
push str..._.._base_debug_gdi_debug_util_win.cc
call fcn.1014e450
lea eax, [esp + 0x178]
push 0x19
push str.NtQueryInformationProcess
jmp 0x101fcab5
mov esi, eax
push 2
call fcn.1014e420
add esp, 4
test al, al
je 0x101fcbcf
lea edi, [esp + 0x170]
mov ecx, edi
push 2
push 0xc4
push str..._.._base_debug_gdi_debug_util_win.cc
call fcn.1014e450
lea eax, [esp + 0x178]
push 0x19
push str.NtQueryInformationProcess
push eax
call fcn.1002e338
add esp, 0xc
push 8
push str._Failed
jmp 0x101fcb26
push 2
call fcn.1014e420
add esp, 4
test al, al
je 0x101fcbcf
lea esi, [esp + 0x170]
mov ecx, esi
push 2
push 0xcd
push str..._.._base_debug_gdi_debug_util_win.cc
call fcn.1014e450
lea eax, [esp + 0x178]
push 0x13
push str.NtReadVirtualMemory
push eax
call fcn.1002e338
add esp, 0xc
push 8
push str._Missing
push eax
call fcn.1002e338
add esp, 0xc
mov ecx, esi
call fcn.1014e740
jmp 0x101fcbcf
mov esi, eax
push 2
call fcn.1014e420
add esp, 4
test al, al
je 0x101fcbcf
lea edi, [esp + 0x170]
mov ecx, edi
push 2
push 0xd5
push str..._.._base_debug_gdi_debug_util_win.cc
call fcn.1014e450
lea eax, [esp + 0x178]
push 0x13
push str.NtReadVirtualMemory
push eax
call fcn.1002e338
add esp, 0xc
push 0xc
push str._PEB_Failed
push eax
call fcn.1002e338
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [eax + ecx + 4]
and edx, 0xffffffb5
or edx, 8
mov dword [eax + ecx + 4], edx
mov ecx, eax
push esi
call fcn.1002add0
mov ecx, edi
call fcn.1014e740
jmp 0x101fcbcf
mov esi, eax
push 2
call fcn.1014e420
add esp, 4
test al, al
je 0x101fcbc6
lea edi, [esp + 0x170]
mov ecx, edi
push 2
push 0xed
push str..._.._base_debug_gdi_debug_util_win.cc
call fcn.1014e450
lea eax, [esp + 0x178]
push 0x13
push str.NtReadVirtualMemory
push eax
call fcn.1002e338
add esp, 0xc
push 0x19
push str._GDI_Handle_Table_Failed
push eax
call fcn.1002e338
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [eax + ecx + 4]
and edx, 0xffffffb5
or edx, 8
mov dword [eax + ecx + 4], edx
mov ecx, eax
push esi
call fcn.1002add0
mov ecx, edi
call fcn.1014e740
push ebx
call fcn.10205096
add esp, 4
xor ebx, ebx
mov dword [esp + 4], 0
xor edx, edx
xor esi, esi
mov dword [esp + 8], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
add ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x18]
add ecx, dword [esp + 8]
mov eax, esi
add ecx, esi
mov dword [esp + 0x30], edx
add ecx, edx
add ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
mov al, 1
mov dword [esp + 0x28], eax
test ebx, ebx
je 0x101fcc3e
push ebx
call fcn.10205096
add esp, 4
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x1c]
call fcn.10151a70
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x26], cl
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x30]
cmove ecx, eax
mov dword [esp + 0x84], ecx
cmove esi, eax
mov ecx, dword [esp + 8]
cmove ecx, eax
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x18]
cmove ecx, eax
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x14]
cmove ecx, eax
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x10]
cmove ecx, eax
mov edx, dword [esp + 0xc]
cmove edx, eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], edx
mov ecx, dword [esp + 0x2c]
cmove ecx, eax
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 4]
cmove ecx, eax
mov dword [esp + 0x88], ecx
lea eax, [esp + 0x26]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esp + 0x88]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esp + 0x84]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esp + 0x80]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esp + 0x7c]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esp + 0x78]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esp + 0x74]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esp + 0x70]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esp + 0x6c]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esp + 0x68]
push eax
call fcn.1002a710
add esp, 4
mov ecx, dword [esp + 0x34]
call fcn.101fcfd0
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0xdc], xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
lea esi, [esp + 0xc0]
mov ecx, esi
call fcn.101fcfe0
mov ecx, esi
call fcn.101fd010
mov ecx, esi
call fcn.101fd030
mov eax, dword [esp + 0x50]
mov ecx, eax
neg ecx
cmovl ecx, eax
imul ecx, dword [esp + 0x38]
cmp ecx, 0x65
jl 0x101fcdac
mov edx, dword [ebp + 0xc]
mov ecx, ebx
call fcn.101fd050
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [esp + 4], eax
call fcn.101fd0c0
mov edi, eax
mov dword [esp + 0x90], 0
lea eax, [esp + 0x90]
push eax
call fcn.1002a710
add esp, 4
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x1c]
push eax
call fcn.1002a710
add esp, 4
mov dword [esp + 0x64], 0
lea eax, [esp + 0x64]
push eax
call fcn.1002a710
add esp, 4
mov dword [esp + 0x60], 0
lea eax, [esp + 0x60]
push eax
call fcn.1002a710
add esp, 4
mov dword [esp + 0x5c], 0
lea eax, [esp + 0x5c]
push eax
call fcn.1002a710
add esp, 4
mov dword [esp + 0x3c], 0
lea eax, [esp + 0x3c]
push eax
call fcn.1002a710
add esp, 4
mov dword [esp + 0x58], 0
lea eax, [esp + 0x58]
push eax
call fcn.1002a710
add esp, 4
mov dword [esp + 0x54], 0
lea eax, [esp + 0x54]
push eax
call fcn.1002a710
add esp, 4
lea esi, [esp + 0x170]
push 0x22c
push 0
push esi
call fcn.10208980
add esp, 0xc
mov ecx, edi
mov edx, esi
call fcn.101fd0e0
mov dword [esp + 8], edi
jmp 0x101fcec0
xor esi, esi
lea eax, [esi + 1]
cmp eax, 2
jae 0x101fcef0
lea eax, [esp + 0x170]
push eax
push edi
call sub.kernel32.dll_Process32NextW
test eax, eax
je 0x101fcf70
push dword [esp + 0x178]
push 0
push 0x400
call dword [sym.imp.kernel32.dll_OpenProcess]
test eax, eax
je 0x101fcea0
mov esi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
cmp esi, 0xffffffff
je 0x101fcf00
call fcn.1014e410
jmp 0x101fcf02
call fcn.1014e410
push esi
call fcn.1016f280
add esp, 4
jmp 0x101fceaa
xor esi, esi
push ebx
call dword [sym.imp.kernel32.dll_SetLastError]
lea eax, [esi + 1]
cmp eax, 2
jb 0x101fcea2
push 0
push esi
mov edi, dword [sym.imp.USER32.dll_GetGuiResources]
call edi
mov ebx, eax
push 1
push esi
call edi
add dword [esp + 0x90], 1
add dword [esp + 0x60], eax
add dword [esp + 0x64], ebx
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
cmovl ecx, ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 4]
cmp dword [esp + 0x188], ecx
jne 0x101fcf67
add dword [esp + 0x5c], 1
add dword [esp + 0x54], eax
add dword [esp + 0x58], ebx
mov eax, dword [esp + 0x3c]
cmp eax, ebx
cmovl eax, ebx
mov dword [esp + 0x3c], eax
mov edi, dword [esp + 8]
jmp 0x101fcea2
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
int3