Function at 0x4716f9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
xor eax, eax
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 0x10]
push eax
mov dword [ebp - 4], ecx
call fcn.0044f018
movsx eax, al
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dx, word [eax]
cmp dx, 0x2a
pop ecx
pop ecx
je 0x471747
cmp dx, 0x2d
je 0x471747
cmp dx, 0x2b
jne 0x47174b
add dword [ebp + 0x10], 2
lea eax, [ebp + 0x10]
push eax
call fcn.00437e65
lea eax, [ebp + 8]
push eax
call fcn.00437e65
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp dword [ebp - 0x2c], ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x18], ebx
je 0x471782
cmp eax, ebx
je 0x471782
cmp byte [eax + 0x75], bl
jne 0x471782
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0xc], ecx
mov esi, ecx
jmp 0x471785
mov dword [ebp - 0x2c], ebx
test byte [ebp - 0x2c], 2
je 0x47178e
mov dword [ebp - 0x18], esi
cmp dx, 0x2a
mov dword [ebp - 0x10], ebx
jne 0x471945
mov dword [ebp - 0x10], ebx
push 0x8d8
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ebx
call fcn.00493048
mov esi, eax
cmp esi, ebx
pop ecx
je 0x4717d1
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x271b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov ecx, esi
call fcn.00448952
mov esi, eax
jmp 0x4717d3
xor esi, esi
push 0x9c
call fcn.00493048
cmp eax, ebx
pop ecx
je 0x4717f4
push esi
push dword [ebp - 4]
mov ecx, eax
call fcn.0042efec
mov edi, eax
mov dword [ebp - 0x14], edi
jmp 0x4717f9
mov dword [ebp - 0x14], ebx
mov edi, ebx
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 0x10]
mov ecx, edi
mov dword [ebp - 0x20], edi
mov byte [edi + 0x91], 3
mov dword [edi + 0x18], eax
call fcn.00448eba
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x94], eax
mov eax, dword [ebp + 8]
push 1
mov ecx, esi
mov dword [esi + 0x150], edi
mov dword [esi + 0x158], eax
call fcn.004702ee
mov edi, dword [ebp + 0x10]
push edi
lea ecx, [ebp + 0x10]
call fcn.00446497
lea eax, [ebp + 0x10]
push eax
push edi
call fcn.004493c1
pop ecx
pop ecx
push eax
lea ecx, [esi + 0x78]
call fcn.004464ff
lea ecx, [ebp + 0x10]
call fcn.00437e1a
cmp edi, ebx
je 0x471873
cmp byte [esi + 0x75], bl
je 0x471873
push edi
lea ecx, [esi + 0x9c]
call fcn.004464ff
cmp byte [esi + 0x75], bl
mov edi, 0x271b
jne 0x471892
cmp byte [esi + 0x9a], bl
je 0x47188a
add edi, 2
jmp 0x471897
cmp byte [esi + 0x99], bl
je 0x471897
mov edi, 0x271c
push esi
call fcn.00433127
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call fcn.0043863a
mov dword [ebp - 8], eax
cmp dword [ebp - 8], ebx
pop ecx
pop ecx
je 0x4718cb
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x75], bl
je 0x4718cb
mov ecx, dword [ebp - 4]
push 2
pop eax
cmp dword [ecx + 0x14], eax
jg 0x4718cb
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x18]
push edi
push esi
call fcn.0043a658
push str.__LastWinID
push dword [esi + 0x18]
push dword [ebp - 4]
call fcn.00446569
add esp, 0x1c
push ebx
mov ecx, esi
call fcn.0048a9cf
mov edi, 0x4c1b94
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [ebp - 0x14]
push edi
mov dword [eax + 0x28], ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea ecx, [ebp - 0x20]
call fcn.0044659f
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0xc]
cmp dword [ebp - 8], ebx
je 0x471bdf
mov eax, dword [ebp - 0x1c]
push ebx
or eax, 1
push eax
push 0x451
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x471bdf
cmp dx, 0x2d
jne 0x471ac9
push 0x8d8
call fcn.00493048
mov esi, eax
cmp esi, ebx
pop ecx
je 0x47197c
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x271b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov ecx, esi
call fcn.00448952
mov esi, eax
jmp 0x47197e
xor esi, esi
push 0x9c
call fcn.00493048
cmp eax, ebx
pop ecx
je 0x47199c
push esi
push dword [ebp - 4]
mov ecx, eax
call fcn.0042efec
mov edi, eax
jmp 0x47199e
xor edi, edi
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 0x10]
mov ecx, edi
mov byte [edi + 0x91], 3
mov dword [edi + 0x18], eax
call fcn.00448eba
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x94], eax
mov eax, dword [ebp + 8]
push 1
mov ecx, esi
mov dword [esi + 0x150], edi
mov dword [esi + 0x158], eax
call fcn.004702ee
mov eax, dword [esi + 0x150]
push dword [ebp + 0x10]
lea ecx, [ebp + 8]
mov dword [esi + 0x14c], eax
call fcn.00446497
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
lea edi, [esi + 0x78]
call fcn.004493c1
pop ecx
pop ecx
push eax
mov ecx, edi
call fcn.004464ff
lea ecx, [ebp + 8]
call fcn.00437e1a
cmp dword [ebp - 0x24], ebx
je 0x471a1e
push dword [ebp - 0x24]
mov ecx, edi
call fcn.0044655b
cmp dword [ebp + 0x10], ebx
je 0x471a36
cmp byte [esi + 0x75], bl
je 0x471a36
push dword [ebp + 0x10]
lea ecx, [esi + 0x9c]
call fcn.004464ff
cmp byte [esi + 0x75], bl
mov dword [ebp + 0x10], 0x271b
jne 0x471a5b
cmp byte [esi + 0x99], bl
jne 0x471a5b
cmp byte [esi + 0x9a], bl
je 0x471a62
mov dword [ebp + 0x10], 0x271d
jmp 0x471a62
mov dword [ebp + 0x10], 0x271c
push esi
call fcn.00433127
mov eax, dword [ebp + 0xc]
cmp eax, ebx
pop ecx
mov dword [esi + 0x4c], eax
mov byte [esi + 0x74], 1
je 0x471a97
mov edi, 0x4c1b94
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [ebp + 0xc]
inc dword [eax + 0xd4]
push edi
mov byte [esi + 0x74], 9
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x18]
push dword [ebp + 0x10]
push esi
call fcn.0043a658
push str.__LastWinID
push dword [esi + 0x18]
push dword [ebp - 4]
call fcn.00446569
add esp, 0x1c
push ebx
push ebx
push pe_nt_image_headers32
push dword [esi + 0x18]
jmp 0x47193a
mov edi, dword [ebp + 0x10]
mov cx, word [edi - 2]
sub cx, 0x2b
neg cx
sbb ecx, ecx
and ecx, eax
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], ebx
push dword [ebp + 0xc]
call fcn.0043863a
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], 4
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
pop ecx
mov edi, 0x4c175c
mov dword [ebp - 0x44], eax
push edi
mov dword [ebp - 0x40], ebx
mov dword [ebp + 0x14], ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea eax, [ebp - 0x54]
push eax
push 0x10000
lea eax, [ebp - 0x70]
push eax
push 0x4713b4
push 0x100000
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x471b89
mov eax, dword [ebp - 0x54]
mov esi, dword [sym.imp.KERNEL32.DLL_Sleep]
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], 0x270f
cmp dword [ebp - 0x64], ebx
je 0x471b89
push ebx
call esi
dec dword [ebp + 0xc]
jns 0x471b71
jmp 0x471b84
push 1
call esi
cmp dword [ebp - 0x64], ebx
jne 0x471b80
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [ebp + 8], ebx
je 0x471b9e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp + 0x10], ebx
je 0x471bb9
cmp dword [ebp - 0x48], ebx
je 0x471bb9
push ebx
push 1
push 0x451
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
push str.__LastTID
push dword [ebp + 0x14]
push dword [ebp - 4]
call fcn.0044023a
push str.__LastWinID
push dword [ebp - 0x58]
push dword [ebp - 4]
call fcn.00446569
add esp, 0x18
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0x10