Function at 0x403630
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d338
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x48f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea edi, [ecx + 4]
push ecx
mov ecx, edi
mov dword [ebp - 0x18], edi
call fcn.004060a0
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xc
call ebx
push 0xb
mov esi, eax
call ebx
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
push 0
push esi
push eax
push 1
push 0x80
push dword [0x4927b8]
call ebx
push eax
push 1
push 0x80
push dword [edi]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
call edi
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
mov esi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push esi
push eax
push 1
push 0x80
push dword [0x4927b8]
call ebx
push eax
mov eax, dword [ebp - 0x18]
push 0
push 0x80
push dword [eax]
call edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x493bb8]
add esi, 0x10
mov dword [ebp - 0x18], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x493cdc]
lea eax, [ebp - 0x18]
push eax
call fcn.00406040
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x20]
mov dword [ebp - 0x10], ecx
lea ecx, [edi + 4]
call fcn.00405fa0
lea eax, [ebx + 0x24]
mov dword [ebp - 0x10], eax
lea ecx, [edi + 0x10]
lea eax, [ebp - 0x10]
push eax
call fcn.00405fa0
mov eax, dword [ebx + 4]
test eax, eax
je 0x40374f
mov dword [ebp - 0x14], eax
lea ecx, [ebx + 0x2c]
mov eax, 4
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x14]
push eax
call fcn.00405f10
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
push eax
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 6
push 0x190
push 0x244
push 0
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x47ecd8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebx + 4]
lea esi, [ebx + 0x244]
mov ecx, esi
call fcn.00415300
test byte [esi + 0xc], 2
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov byte [esi + 0xf], 5
je 0x4037c1
push dword [esi + 4]
call edi
push eax
mov ecx, esi
call fcn.004156b0
test byte [esi + 0xc], 2
mov byte [esi + 0xd], 0x14
je 0x4037d8
push dword [esi + 4]
call edi
push eax
mov ecx, esi
call fcn.004156b0
test byte [esi + 0xc], 2
mov byte [esi + 0xe], 5
je 0x4037ef
push dword [esi + 4]
call edi
push eax
mov ecx, esi
call fcn.004156b0
call fcn.00401350
mov ecx, eax
call fcn.00406560
mov ecx, ebx
call fcn.00403a10
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push 0
push 0
push 6
push 0xa
push 0
push dword [ebx + 0xc8]
call esi
push 5
push 0
push 0
push 0x163
push 0xf2
push 0
push dword [ebx + 0x19c]
call esi
mov ecx, ebx
call fcn.00403d10
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x19c]
mov dword [ebx + 0x240], 1
call esi
push 5
push dword [ebx + 0x170]
call esi
push 0
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_EnableWindow]
call fcn.00403290
mov esi, eax
lea ecx, [ebp - 0x1c]
mov edx, dword [esi + 0x48]
call fcn.0042f070
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00413c60
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4038af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebx + 0x264], 0
lea esi, [ebx + 0x264]
jne 0x4038df
lea eax, [ebx + 0x28]
neg ebx
push 0
push 0
sbb ebx, ebx
and ebx, eax
push ebx
push 0x403f70
push 0
push 0
call fcn.0043a2b7
add esp, 0x18
mov dword [esi], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10