Function at 0x4085cc
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x526eac
call fcn.0051f0b4
sub esp, 0x50
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0040f0b7
test eax, eax
je 0x408600
push 1
push 0x49
call fcn.0040f0b7
call eax
push 1
push 0x233
call fcn.0040f0b7
call eax
call fcn.0040df7a
lea edi, [ebx + 4]
push edi
xor eax, eax
call fcn.0041410a
call fcn.004153b2
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x40865b
call fcn.004153b2
push ecx
mov ecx, esp
push reloc.WS2_32.dll_closesocket
push ecx
xor esi, esi
mov dword [ecx], esi
mov ecx, esp
push esi
push str.tooltips_class32
push eax
mov dword [ecx], esi
call fcn.00411507
call fcn.004153b2
push 0x258
push esi
push 0x418
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.004120c0
test eax, eax
je 0x408a02
test ebx, ebx
je 0x40867b
lea ecx, [ebx + 0xa4]
jmp 0x40867d
xor ecx, ecx
push ecx
mov esi, eax
call fcn.0041201a
mov eax, dword [0x56f130]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
mov dword [ebp - 0x14], eax
call esi
push eax
push 0xb
call esi
push eax
push 1
push 0x64
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0x80
push dword [edi]
mov dword [ebx + 0x14c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x56f130]
push 0
push 0x32
mov dword [ebp - 0x14], eax
call esi
push eax
push 0x31
call esi
push eax
push 1
push 0x64
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 0
push 0x80
push dword [edi]
mov dword [ebx + 0x150], eax
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.0044a171
lea ecx, [ebp - 0x54]
call fcn.00435802
mov esi, dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.00409601
and dword [ebp - 4], 0
mov eax, dword [eax]
mov ecx, dword [esi]
push 1
push eax
push esi
call dword [ecx + 0x10]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040297c
call fcn.00454282
push eax
call fcn.004542ce
test eax, eax
je 0x408750
call fcn.00454282
mov eax, dword [eax + 4]
test eax, eax
je 0x408750
push eax
call fcn.0045352f
push ebx
call fcn.00409faf
lea eax, [ebx + 0xa8]
lea esi, [ebx + 0x528]
call fcn.00423596
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
lea eax, [ebp - 0x44]
push eax
push 0
push 0x30
call esi
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x40]
cmp eax, 0x2de
jge 0x4087c0
lea eax, [ebp - 0x2c]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
lea eax, [ebp - 0x54]
push eax
push 0
push 0x30
call esi
mov eax, dword [ebp - 0x48]
push 2
push eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
xor ecx, ecx
push eax
push ecx
push dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
push ecx
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x6c
push dword [0x56f130]
call dword [sym.imp.USER32.dll_LoadMenuW]
mov dword [ebx + 0x518], eax
lea esi, [ebp - 0x14]
lea eax, [ebx + 0x518]
call fcn.0040efaa
mov eax, dword [eax]
mov dword [ebx + 0x514], eax
call fcn.0044f361
lea ecx, [ebp - 0x54]
call fcn.00435802
mov ecx, dword [edi]
mov eax, dword [eax]
mov edx, dword [eax]
push 0x7eb
push ecx
push eax
call dword [edx + 0x1c]
call fcn.0044f361
lea ecx, [ebp - 0x54]
call fcn.00435802
mov eax, dword [eax]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x18]
call fcn.0044f361
lea ecx, [ebp - 0x54]
call fcn.00435802
mov eax, dword [eax]
mov ecx, dword [eax]
xor esi, esi
push esi
push eax
call dword [ecx + 0x18]
push 1
push esi
call fcn.00406733
push eax
call fcn.0044ac85
push esi
push 0x3e8
push 0x5de
push dword [edi]
call dword [sym.imp.USER32.dll_SetTimer]
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x7f7
push dword [edi]
call esi
push 1
push 0
push 0x7f7
push dword [edi]
call esi
call fcn.00404c11
cmp dword [eax + 4], 0x1001
jne 0x408887
push 0
jmp 0x408889
push 1
push 0
push 0x7f7
push dword [edi]
call esi
call fcn.0044f361
lea ecx, [ebp - 0x54]
call fcn.00435802
mov eax, dword [eax]
mov ecx, dword [eax]
push 0x7eb
push dword [edi]
push eax
call dword [ecx + 0x1c]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x537290
call fcn.00401f01
push str.IosUsbDetect.exe
mov dword [ebp - 4], 1
call fcn.00411fff
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00401f01
or dword [ebp - 4], 0xffffffff
call fcn.00488395
pop ecx
pop ecx
push dword [edi]
lea eax, [ebx + 0xb0]
lea esi, [ebx + 0x680]
push eax
mov eax, esi
call fcn.00432028
lea eax, [esi + 0xe8]
xor edx, edx
cmp dword [eax], edx
je 0x40891d
mov ecx, dword [esi + 0x1c]
mov dword [eax], edx
cmp ecx, edx
je 0x40891d
mov eax, dword [ecx]
push edx
push edx
push edx
push esi
call dword [eax + 0x28]
xor edx, edx
mov dword [esi + 0xec], edx
mov dword [esi + 0xf0], edx
mov dword [esi + 0xf4], edx
mov dword [esi + 0xf8], edx
mov dword [ebx + 0x6f4], 0x581d64
push 0x53ea70
lea ecx, [ebx + 0x6d0]
mov dword [ebx + 0x6d8], 0x801a
call fcn.00401ed2
cmp dword [ebx + 0x6d4], 0
je 0x408973
push 0x53ea70
push dword [ebx + 0x6b0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esi + 0x1a8], 1
mov dword [esi + 0x1fc], 0xa
and dword [ebx + 0x804], 0
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x30]
call ebx
xor ecx, ecx
inc ecx
mov edx, esi
call fcn.0040582e
call fcn.0040753c
push 1
call fcn.00456386
call fcn.0040753c
xor edx, edx
push edx
mov ecx, 0x45655c
push ecx
movzx ecx, byte [0x5707f2]
push ecx
push eax
lea eax, [ebp - 0x5c]
call fcn.00401294
call fcn.004012bc
call fcn.0040753c
xor edx, edx
push edx
mov ecx, 0x4565e5
push ecx
movzx ecx, byte [0x5707f2]
push ecx
push eax
lea eax, [ebp - 0x34]
call fcn.00401294
add esp, 0x20
call fcn.004012bc
push 5
push dword [edi]
call ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret