Function at 0x406360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67306b
mov eax, dword fs:[0]
push eax
sub esp, 0x160
push esi
push edi
mov eax, dword [0x730b1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0xd4]
call fcn.00402690
lea ecx, [eax + 0x48]
mov dword [ebp - 4], 0
mov edx, 0x70cb7c
call fcn.00402c30
lea ecx, [ebp - 0xd4]
call fcn.00408c10
push 0
push 0
push 0
push 0x406270
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push str.riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x34], 0x70d794
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp dword [ebp - 0x30], 0
mov esi, eax
je 0x40643d
push str.this__m_hWnd__0
push 0x70d8fc
push 0
push 0xf9b
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30037_atlmfcinclude_atlwin.h
push 2
call fcn.00619920
add esp, 0x18
cmp eax, 1
jne 0x40643d
int3
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40645d
call fcn.0060fd7c
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x40645d
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40659a
push 0
push 0
push eax
call fcn.0060fe7e
lea eax, [ebp - 0x34]
push eax
lea edx, [ebp - 0x2c]
call fcn.004098c0
push 0
push 0x408a80
push esi
push 0x65
push dword [0x737934]
mov byte [ebp - 0x14], 1
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x40659a
push 0x4cc
call fcn.00610870
mov edi, eax
add esp, 4
mov dword [ebp - 0x38], edi
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0047a2f0
lea esi, [edi + 0x10]
lea ecx, [esi + 4]
mov dword [esi], vtable.DuiLib::CNotifyPump.0
push 0x53
mov dword [ebp - 0x3c], esi
call fcn.0048d7d0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x2c]
mov dword [edi + 0x20], vtable.DuiLib::INotifyUI.0
mov dword [edi + 0x24], vtable.DuiLib::IMessageFilterUI.0
mov dword [edi + 0x28], vtable.DuiLib::IDialogBuilderCallback.0
mov dword [edi], vtable.DuiLib::WindowImplBase.1.0
mov dword [esi], vtable.DuiLib::WindowImplBase.2.0
mov dword [edi + 0x20], vtable.DuiLib::WindowImplBase.3.0
mov dword [edi + 0x24], vtable.DuiLib::WindowImplBase.4.0
mov dword [edi + 0x28], vtable.DuiLib::WindowImplBase.0
call fcn.0047bd10
push 0
push accept
push accept
push accept
push accept
push 0
push 0x96c80000
push 0x71f074
push 0
mov ecx, edi
mov dword [edi], vtable.CProgressDlg.4.0
mov dword [esi], vtable.CProgressDlg.3.0
mov dword [edi + 0x20], vtable.CProgressDlg.2.0
mov dword [edi + 0x24], vtable.CProgressDlg.1.0
mov dword [edi + 0x28], vtable.CProgressDlg.0
mov dword [edi + 0x4b8], 0
mov dword [edi + 0x4bc], 0
mov dword [edi + 0x4c0], 0
mov dword [edi + 0x4c4], 0
mov byte [ebp - 4], 1
call fcn.0047a720
mov ecx, edi
call fcn.0047ada0
push 1
push 1
mov ecx, edi
call fcn.0047aa20
call fcn.00484f80
mov al, byte [0x73ad4c]
test al, al
jne 0x4065eb
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
lea ecx, [ebp - 0xd4]
call fcn.00402690
lea ecx, [eax + 0x48]
mov byte [ebp - 4], 4
mov edx, 0x70cbb0
call fcn.00402c30
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 1
call fcn.00408c10
push 0x1f4
call esi
mov al, byte [0x73ad4c]
test al, al
je 0x4065b0
lea ecx, [ebp - 0x16c]
call fcn.00402690
lea ecx, [eax + 0x48]
mov byte [ebp - 4], 5
mov edx, str.EasyConnectApp
call fcn.00402c30
lea ecx, [ebp - 0x16c]
call fcn.00408c10
lea ecx, [ebp - 0x34]
call fcn.0040ac20
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc