Function at 0x1002366d
Capabilities:
Create thread

Disassembly:
push 0x34
mov eax, 0x10080d2a
call fcn.1006a09e
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 4], 1
call fcn.100215e2
test al, al
je 0x100238d2
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.100229a1
cmp eax, 3
je 0x100238d2
call fcn.10022d10
test eax, eax
je 0x100238d2
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10023837
mov eax, dword [0x100b27b4]
mov esi, 0x100b27b4
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 0x10]
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push 0x1009151c
call fcn.1000261c
mov eax, dword [ebp + 0x14]
add esp, 0xc
cmp dword [eax - 0xc], ebx
je 0x100237d4
push 0x10091528
push 0x10091530
lea eax, [ebp + 0x14]
push eax
call fcn.1000409d
lea eax, [ebp - 0x14]
push 0x10091534
push eax
lea ecx, [ebp + 0x14]
call fcn.1000423e
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 4], 3
call fcn.10004067
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10002b29
mov eax, dword [ebp + 0x18]
cmp dword [eax - 0xc], ebx
je 0x100237d4
push 0x10091538
push 0x10091540
lea eax, [ebp + 0x18]
push eax
call fcn.1000409d
lea eax, [ebp - 0x14]
push 0x10091544
push eax
lea ecx, [ebp + 0x18]
call fcn.1000423e
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 4], 4
call fcn.10004067
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10002b29
cmp dword [ebp + 0x1c], 0xffffffff
jle 0x100237d4
mov eax, dword [0x100b27b4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
push dword [ebp + 0x1c]
lea eax, [ebp - 0x14]
push 0x10091548
call fcn.1000261c
mov esi, dword [ebp - 0x14]
pop ecx
pop ecx
push dword [esi - 0xc]
lea eax, [ebp - 0x10]
push esi
call fcn.10004293
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.10002b29
mov edi, dword [ebp - 0x10]
push 0xfde9
lea eax, [ebp + 0x1c]
push eax
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp + 0x1c], ebx
mov dword [ebp - 0x14], esp
mov esi, esp
call fcn.10002aac
add eax, 0x10
mov dword [esi], eax
call fcn.1000714f
mov esi, eax
mov eax, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 8]
push ebx
push 0x4a
push dword [eax + 8]
mov dword [ebp - 0x24], 0x2a
mov dword [ebp - 0x1c], esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, ebx
je 0x10023830
push esi
call fcn.10060146
pop ecx
mov eax, edi
call fcn.10002b29
mov eax, dword [ebp + 8]
push 2
push dword [ebp + 0x10]
mov byte [eax + 0x14], 1
call dword [sym.imp.USER32.dll_GetAncestor]
push 0xffffffffffffffec
push eax
mov dword [ebp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
shr eax, 3
and al, 1
mov byte [ebp + 0x13], al
jne 0x10023872
push 3
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp + 0x1c]
call esi
push ebx
push ebx
lea eax, [ebp + 0xc]
push eax
push 0x10023962
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x100238d2
push ebx
call fcn.10060f55
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
pop ecx
push 0x4ff
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x18]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
jne 0x10023913
push ebx
call fcn.10060f55
pop ecx
cmp byte [ebp + 0x13], bl
jne 0x100238ca
push 3
push ebx
push ebx
push ebx
push ebx
push 0xfffffffffffffffe
push dword [ebp + 0x1c]
call esi
mov esi, dword [ebp + 8]
call fcn.10023927
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.10002b29
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
call fcn.10002b29
call fcn.1006a176
ret 0x18
lea eax, [ebp - 0x40]
push eax
push ebx
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x10023913
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
call edi
test eax, eax
jne 0x100238f0
jmp 0x10023899