Function at 0x463d65
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
mov al, byte [ebp + 0x20]
and byte [ebp + 0x20], 0xf
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
push edi
mov edi, dword [ebp + 0x28]
and al, 0xc0
xor ebx, ebx
cmp dword [edi + 0x10], ebx
mov byte [ebp - 1], al
je 0x463d99
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x463d99
mov eax, dword [eax + 0x18]
jmp 0x463d9b
call esi
cmp eax, ebx
mov dword [ebp + 0x28], eax
jne 0x463da5
mov dword [edi + 0x10], ebx
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov eax, 0xb4
cmp ebx, eax
jle 0x463dbb
mov ebx, eax
cmp byte [ebp - 1], 0x80
jne 0x463ece
mov esi, 0x4b06b4
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 0x2f8], 0
xor eax, eax
mov ecx, 0xba
lea edi, [ebp - 0x2f4]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0xb0], eax
mov al, byte [ebp + 0x20]
mov byte [ebp - 0xbc], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x270], eax
lea eax, [ebx + ebx]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x258]
push eax
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0x25c], edi
call fcn.00410b58
and word [ebp + ebx*2 - 0x258], 0
add esp, 0xc
push 0x4b027c
push 0x10000
lea eax, [ebp - 0x2f8]
push eax
push 0x46377e
push 0x20000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [ebp + 0x28], eax
je 0x463eaa
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp + 0x20], 0x270f
cmp dword [ebp - 0x25c], edi
jne 0x463ea1
push 0
call ebx
dec dword [ebp + 0x20]
jns 0x463e82
jmp 0x463e99
push 1
call ebx
cmp dword [ebp - 0x25c], edi
je 0x463e95
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.__LastTID
push dword [0x4b027c]
push dword [ebp + 8]
call fcn.004394c3
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x464089
mov eax, dword [ebp + 0x28]
and dword [ebp - 0xc], 0
test eax, eax
mov dword [ebp - 8], eax
jne 0x463ee1
call esi
mov dword [ebp - 8], eax
cmp byte [ebp - 1], 0x40
je 0x463ef4
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x463ef4
mov eax, dword [eax + 0x18]
mov dword [ebp - 8], eax
push 0x2e4
call fcn.00483528
test eax, eax
pop ecx
je 0x463f16
push 0x2720
push dword [ebp - 8]
mov ecx, eax
call fcn.00401053
mov esi, eax
jmp 0x463f18
xor esi, esi
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x10]
lea ecx, [esi + 0x234]
mov dword [esi + 0x230], ebx
mov dword [esi + 0x248], eax
call fcn.00441a24
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x9c], eax
mov al, byte [ebp + 0x20]
mov byte [esi + 0x23c], al
mov eax, dword [esi + 0x234]
mov dword [esi + 0x238], eax
mov eax, dword [ebp + 0x24]
mov dword [esi + 0x240], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x84], eax
mov eax, dword [ebp + 0x30]
mov dword [esi + 0x88], eax
lea eax, [ebx + ebx]
push eax
push dword [ebp + 0x14]
lea eax, [esi + 0xa0]
push eax
call fcn.00410b58
and word [esi + ebx*2 + 0xa0], 0
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.0043218f
push esi
mov dword [ebp + 0x20], eax
call fcn.0042d431
add esp, 0x14
test ebx, ebx
je 0x463fac
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x463fbc
push eax
lea ecx, [esi + 0x78]
call fcn.00441a24
cmp byte [ebp - 1], 0xc0
mov eax, dword [ebp + 0x28]
mov byte [esi + 0x75], 0
mov dword [esi + 0x94], eax
mov byte [esi + 0x74], 0
jne 0x464002
cmp dword [ebp + 0x20], 0
je 0x463ff9
test ebx, ebx
je 0x463ff9
push 0x4b069c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [ebx + 0xd4]
push 0x4b069c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esi + 0x74], 1
mov dword [esi + 0x4c], ebx
jmp 0x464006
mov byte [esi + 0x74], 0x10
xor eax, eax
cmp ebx, eax
je 0x46401c
cmp dword [edi + 0x10], eax
je 0x46401c
mov ecx, dword [ebx + 0x18]
mov dword [esi + 0x94], ecx
jmp 0x46401f
mov dword [edi + 0x10], eax
and dword [edi + 0x14], 0xfffffff3
and dword [edi + 0x10], 0xfffffff3
push edi
push dword [ebp - 8]
push eax
push esi
call fcn.00434142
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x10
cmp byte [ebp - 1], 0x40
jne 0x46404c
push 0
mov ecx, esi
call fcn.0047b23d
jmp 0x464069
cmp byte [ebp - 1], 0xc0
jne 0x464062
push 0
push 0
push pe_nt_image_headers32
push dword [esi + 0x18]
call edi
jmp 0x464072
mov ecx, esi
call fcn.0047b493
mov eax, dword [esi + 0x24c]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x20], 0
je 0x464086
push 0
push 1
push 0x451
push dword [ebp + 0x20]
call edi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret