Function at 0x406e10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x511c4f
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x55c910]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push esi
push edi
mov eax, dword [0x55c910]
xor eax, esp
push eax
lea eax, [esp + 0x490]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
push 1
push 0
push 0
push 0
lea ebx, [ecx + 0x2c]
mov dword [esp + 0x48], 0
push 0xc
push 0x53e7e0
mov ecx, ebx
call fcn.00456200
push 1
push 0
push 0
push 0
push 0xc
push 0x53e7e0
push 0
mov ecx, ebx
call fcn.00450890
push 1
push 0
push 0
push 0
push 0xe
push 0x53e7e0
push 1
mov ecx, ebx
call fcn.00450890
push 1
push 0
push 0
push 0
push 0x10
push 0x53e7e0
push 2
mov ecx, ebx
call fcn.00450890
push 1
push 0
push 0
push 0
push 0x12
push 0x53e7e0
push 3
mov ecx, ebx
call fcn.00450890
push 1
push 0
push 0
push 0
push 0x14
push 0x53e7e0
push 4
mov ecx, ebx
call fcn.00450890
push 1
push 0
push 0
push 0
push 0x16
push 0x53e7e0
push 5
mov ecx, ebx
call fcn.00450890
push 1
push 0
push 0
push 0
push 0x18
push 0x53e7e0
push 6
mov ecx, ebx
call fcn.00450890
mov eax, dword [0x5663bc]
test eax, eax
jne 0x406f5e
push 0x38
call fcn.004d83b3
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x498], 0
test eax, eax
je 0x406f4c
mov ecx, eax
call fcn.004020c0
jmp 0x406f4e
xor eax, eax
mov dword [esp + 0x498], 0xffffffff
mov dword [0x5663bc], eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, eax
call fcn.00402920
mov dword [esp + 0x498], 1
xor edi, edi
jmp 0x406f80
cmp dword [esp + 0x80], 8
lea eax, [esp + 0x6c]
cmovae eax, dword [esp + 0x6c]
push eax
push str.load_language__s
push 0x5e
push str.DNDownloaderMainFrame::InitWindow
call fcn.00435ca0
cmp dword [esp + 0x90], 8
lea ecx, [esp + 0x48]
lea eax, [esp + 0x7c]
cmovae eax, dword [esp + 0x7c]
push ecx
push eax
call fcn.00451ba0
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x40710b
mov ecx, dword [esp + 0x38]
inc ecx
push ecx
call fcn.004d6dca
mov ecx, dword [esp + 0x3c]
add esp, 4
inc ecx
mov esi, eax
push ecx
push 0
push esi
call fcn.004e2670
add esp, 0xc
push dword [esp + 0x38]
push ebx
push esi
call fcn.004e2020
add esp, 0xc
mov dword [esp + 0x34], 0xf
cmp byte [esi], 0
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jne 0x40701d
xor ecx, ecx
jmp 0x40702b
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407022
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.00405590
lea eax, [esp + 0x20]
mov byte [esp + 0x498], 2
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00434df0
add esp, 8
mov byte [esp + 0x498], 4
cmp dword [esp + 0x34], 0x10
jb 0x40706b
push dword [esp + 0x20]
call fcn.00480060
add esp, 4
mov eax, dword [0x5662d4]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
test eax, eax
jne 0x4070d0
push 0x528
call fcn.004d83b3
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 5
test esi, esi
je 0x4070c1
push 0x528
push 0
push esi
call fcn.004e2670
add esp, 0xc
mov ecx, esi
call fcn.00414180
jmp 0x4070c3
xor eax, eax
mov byte [esp + 0x498], 4
mov dword [0x5662d4], eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.0041ce40
push dword [esp + 0x18]
mov bl, al
call fcn.004d8f21
add esp, 4
mov byte [esp + 0x498], 1
test bl, bl
jne 0x40713a
cmp dword [esp + 0x50], 8
jb 0x407126
push dword [esp + 0x3c]
call fcn.00480060
add esp, 4
jmp 0x407126
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.get_resource_error.__d
push 0x6d
push str.DNDownloaderMainFrame::InitWindow
call fcn.00435ca0
add esp, 0x10
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 3
jl 0x406f80
jmp 0x40714d
cmp dword [esp + 0x50], 8
jb 0x40714d
push dword [esp + 0x3c]
call fcn.00480060
add esp, 4
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.004290f0
push 0x53e864
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push str.homepageBtn
lea ecx, [ebx + 0x2c]
call fcn.00451380
push 0x100
mov edi, eax
lea eax, [esp + 0x188]
push 0
push eax
call fcn.004e2670
add esp, 0xc
lea eax, [esp + 0x184]
push 0x80
push str.homepage
push 0x80
push eax
push 0
call fcn.004d91ed
add esp, 0x14
lea eax, [esp + 0x184]
push eax
call fcn.00451e60
mov edx, eax
add esp, 4
test edx, edx
jne 0x4071e1
lea eax, [esp + 0x184]
push eax
push eax
call fcn.00451050
lea eax, [esp + 0x18c]
push eax
call fcn.00451e60
add esp, 0xc
mov edx, eax
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
cmp word [edx], ax
jne 0x407201
xor ecx, ecx
jmp 0x407215
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407206
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.004037a0
push 1
push 0x53e884
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4a0], 6
call fcn.00402f20
mov esi, dword [0x5663bc]
test esi, esi
jne 0x4072b0
push 0x38
call fcn.004d83b3
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 7
test esi, esi
je 0x4072a0
push 2
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x53d1f4
mov word [esi], ax
call fcn.004037a0
mov byte [esi + 0x18], 0
xor eax, eax
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esi + 0x34], 3
jmp 0x4072a2
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5663bc], esi
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.004025a0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x4a4], 8
call fcn.00403000
mov byte [esp + 0x498], 6
cmp dword [esp + 0x50], 8
jb 0x4072ed
push dword [esp + 0x3c]
call fcn.00480060
add esp, 4
push 0xffffffffffffffff
mov ecx, edi
call fcn.0045efd0
mov esi, dword [0x5663bc]
test esi, esi
jne 0x40736e
push 0x38
call fcn.004d83b3
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 9
test esi, esi
je 0x40735e
push 2
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x53d1f4
mov word [esi], ax
call fcn.004037a0
mov byte [esi + 0x18], 0
xor eax, eax
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esi + 0x34], 3
jmp 0x407360
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5663bc], esi
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.004025a0
mov ecx, eax
mov byte [esp + 0x498], 0xa
cmp dword [ecx + 0x14], 8
jb 0x40738c
mov ecx, dword [ecx]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x3c]
mov byte [esp + 0x498], 6
cmp dword [esp + 0x50], 8
jb 0x4073af
push dword [esp + 0x3c]
call fcn.00480060
add esp, 4
push str.protocollinkbtn
lea ecx, [ebx + 0x2c]
call fcn.00451380
mov esi, eax
xor eax, eax
push 0x1fe
push eax
mov word [esp + 0x28c], ax
lea eax, [esp + 0x28e]
push eax
call fcn.004e2670
add esp, 0xc
lea eax, [esp + 0x84]
push 0x100
push 0
push eax
call fcn.004e2670
add esp, 0xc
lea eax, [esp + 0x84]
push 0x80
push str.protocol_accept_btn
push 0x80
push eax
push 0
call fcn.004d91ed
add esp, 0x14
lea eax, [esp + 0x84]
push eax
call fcn.00451e60
add esp, 4
test eax, eax
jne 0x407448
lea eax, [esp + 0x84]
push eax
push eax
call fcn.00451050
lea eax, [esp + 0x8c]
push eax
call fcn.00451e60
add esp, 0xc
push eax
lea eax, [esp + 0x288]
push str._u__s__u_
push eax
call fcn.004d8ced
mov eax, dword [esi]
lea ecx, [esp + 0x290]
add esp, 0xc
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, ebx
call fcn.004099c0
lea esi, [ebx + 0x2c]
push str.pathedit
mov ecx, esi
call fcn.00451380
mov edi, eax
mov eax, dword [0x5662d4]
test eax, eax
jne 0x4074d8
push 0x528
call fcn.004d83b3
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0xb
test esi, esi
je 0x4074c6
push 0x528
push 0
push esi
call fcn.004e2670
add esp, 0xc
mov ecx, esi
call fcn.00414180
jmp 0x4074c8
xor eax, eax
mov byte [esp + 0x498], 6
lea esi, [ebx + 0x2c]
mov dword [0x5662d4], eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.00416740
mov ecx, eax
mov byte [esp + 0x498], 0xc
cmp dword [ecx + 0x14], 8
jb 0x4074f6
mov ecx, dword [ecx]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x3c]
mov byte [esp + 0x498], 6
cmp dword [esp + 0x50], 8
jb 0x407519
push dword [esp + 0x3c]
call fcn.00480060
add esp, 4
push 0x53e8b0
mov ecx, esi
call fcn.00451380
push 0x53e864
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x3c]
push str.confirmprotocolbtn
mov ecx, esi
call fcn.00451380
push 0x100
mov esi, eax
lea eax, [esp + 0x88]
push 0
push eax
call fcn.004e2670
add esp, 0xc
lea eax, [esp + 0x84]
push 0x80
push str.accept_protocol
push 0x80
push eax
push 0
call fcn.004d91ed
add esp, 0x14
lea eax, [esp + 0x84]
push eax
call fcn.00451e60
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x4075ad
lea eax, [esp + 0x84]
push eax
push eax
call fcn.00451050
lea eax, [esp + 0x8c]
push eax
call fcn.00451e60
add esp, 0xc
mov ecx, eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
push str.cacheDataLayout
lea ecx, [ebx + 0x2c]
call fcn.00451380
mov esi, dword [0x5662d4]
test esi, esi
jne 0x407668
push 0x528
call fcn.004d83b3
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0xd
test esi, esi
je 0x40760a
push 0x528
push 0
push esi
call fcn.004e2670
add esp, 0xc
mov ecx, esi
call fcn.00414180
mov esi, eax
jmp 0x40760c
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5662d4], esi
test esi, esi
jne 0x407668
push 0x528
call fcn.004d83b3
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0xe
test esi, esi
je 0x407658
push 0x528
push 0
push esi
call fcn.004e2670
add esp, 0xc
mov ecx, esi
call fcn.00414180
mov esi, eax
jmp 0x40765a
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5662d4], esi
mov ecx, dword [esi + 0x30]
lea edi, [esi + 0x20]
test ecx, ecx
je 0x40768d
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x5662d4]
mov dword [edi + 0x10], 0
mov dword [edi], vtable.._AV___Func_impl_U___Callable_obj_V_lambda_9cda8e8ed1d593d3bd0f06435637a36f____0A__std__V__allocator_V___Func_class_X___V_std___2_X___V_std__.0
mov dword [edi + 4], ebx
mov dword [edi + 0x10], edi
test esi, esi
jne 0x4076e7
push 0x528
call fcn.004d83b3
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0xf
test esi, esi
je 0x4076d7
push 0x528
push 0
push esi
call fcn.004e2670
add esp, 0xc
mov ecx, esi
call fcn.00414180
mov esi, eax
jmp 0x4076d9
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5662d4], esi
mov ecx, dword [esi + 0x48]
lea edi, [esi + 0x38]
test ecx, ecx
je 0x40770c
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x5662d4]
mov dword [edi + 0x10], 0
mov dword [edi], vtable.._AV___Func_impl_U___Callable_obj_V_lambda_5f7c401e2b713a04a7681286c7b6c781____0A__std__V__allocator_V___Func_class_X___V_std___2_X___V_std__.0
mov dword [edi + 4], ebx
mov dword [edi + 0x10], edi
test esi, esi
jne 0x407766
push 0x528
call fcn.004d83b3
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x10
test esi, esi
je 0x407756
push 0x528
push 0
push esi
call fcn.004e2670
add esp, 0xc
mov ecx, esi
call fcn.00414180
mov esi, eax
jmp 0x407758
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5662d4], esi
mov ecx, dword [esi + 0x18]
lea edi, [esi + 8]
test ecx, ecx
je 0x40778b
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x5662d4]
mov dword [edi + 0x10], 0
mov dword [edi], vtable.std::_Func_impl_struct_std::_Callable_obj_class__lambda_2b536f95b9575ed0f51c4760c5d690f1___0___class_std::allocator_class_std::_Func_class_void__int__int__int____void__int__int__int_.0
mov dword [edi + 4], ebx
mov dword [edi + 0x10], edi
test esi, esi
jne 0x4077e5
push 0x528
call fcn.004d83b3
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x11
test esi, esi
je 0x4077d5
push 0x528
push 0
push esi
call fcn.004e2670
add esp, 0xc
mov ecx, esi
call fcn.00414180
mov esi, eax
jmp 0x4077d7
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5662d4], esi
mov ecx, dword [esi + 0x60]
lea edi, [esi + 0x50]
test ecx, ecx
je 0x40780a
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x5662d4]
mov dword [edi + 0x10], 0
mov dword [edi], vtable.std::_Func_impl_struct_std::_Callable_obj_class__lambda_5bf45732f5e1f4938e48296216976b7c___0___class_std::allocator_class_std::_Func_class_void__bool____void__bool_.0
mov dword [edi + 4], ebx
mov dword [edi + 0x10], edi
test esi, esi
jne 0x407864
push 0x528
call fcn.004d83b3
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x12
test esi, esi
je 0x407854
push 0x528
push 0
push esi
call fcn.004e2670
add esp, 0xc
mov ecx, esi
call fcn.00414180
mov esi, eax
jmp 0x407856
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5662d4], esi
mov ecx, dword [esi + 0x78]
lea edi, [esi + 0x68]
test ecx, ecx
je 0x407889
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x5662d4]
mov dword [edi + 0x10], 0
mov dword [edi], vtable.std::_Func_impl_struct_std::_Callable_obj_class__lambda_4382269f208a443effb59da82c08f274___0___class_std::allocator_class_std::_Func_class_void__bool____void__bool_.0
mov dword [edi + 4], ebx
mov dword [edi + 0x10], edi
test esi, esi
jne 0x4078e3
push 0x528
call fcn.004d83b3
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x13
test esi, esi
je 0x4078d3
push 0x528
push 0
push esi
call fcn.004e2670
add esp, 0xc
mov ecx, esi
call fcn.00414180
mov esi, eax
jmp 0x4078d5
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5662d4], esi
mov ecx, dword [esi + 0x90]
lea edi, [esi + 0x80]
test ecx, ecx
je 0x40790e
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x5662d4]
mov dword [edi + 0x10], 0
mov dword [edi], 0x53fb28
mov dword [edi + 4], ebx
mov dword [edi + 0x10], edi
test esi, esi
jne 0x407968
push 0x528
call fcn.004d83b3
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x14
test esi, esi
je 0x407958
push 0x528
push 0
push esi
call fcn.004e2670
add esp, 0xc
mov ecx, esi
call fcn.00414180
mov esi, eax
jmp 0x40795a
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5662d4], esi
mov ecx, ebx
call fcn.004290f0
push 8
mov dword [esi + 0x2d8], eax
call fcn.004d83b3
add esp, 4
test eax, eax
je 0x407995
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax], vtable.FunctionRunable_class__lambda_9a9020b6a57b70733ab7c1073706ffe8__.0
mov dword [eax + 4], ebx
jmp 0x407997
xor eax, eax
push eax
push 0x3e8
lea ecx, [ebx + 0x544]
call fcn.00435e40
lea esi, [ebx + 0x2c]
push str.logoControl9
mov ecx, esi
call fcn.00451380
push str.logoControl
mov ecx, esi
mov ebx, eax
call fcn.00451380
mov esi, dword [0x5663bc]
mov edi, eax
test esi, esi
jne 0x407a3f
push 0x38
call fcn.004d83b3
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x15
test esi, esi
je 0x407a2f
push 2
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x53d1f4
mov word [esi], ax
call fcn.004037a0
mov byte [esi + 0x18], 0
xor eax, eax
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esi + 0x34], 3
jmp 0x407a31
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5663bc], esi
cmp dword [esi + 0x34], 3
mov ecx, ebx
mov edx, dword [ebx]
sete al
movzx eax, al
push eax
call dword [edx + 0xe0]
mov esi, dword [0x5663bc]
test esi, esi
jne 0x407acc
push 0x38
call fcn.004d83b3
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x16
test esi, esi
je 0x407abc
push 2
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x53d1f4
mov word [esi], ax
call fcn.004037a0
mov byte [esi + 0x18], 0
xor eax, eax
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esi + 0x34], 3
jmp 0x407abe
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5663bc], esi
cmp dword [esi + 0x34], 3
mov ecx, edi
mov edx, dword [edi]
setne al
movzx eax, al
push eax
call dword [edx + 0xe0]
cmp dword [esp + 0x68], 8
jb 0x407af4
push dword [esp + 0x54]
call fcn.00480060
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
cmp dword [esp + 0x80], 8
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
jb 0x407b21
push dword [esp + 0x6c]
call fcn.00480060
add esp, 4
mov ecx, dword [esp + 0x490]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.004d83a4
mov esp, ebp
pop ebp
ret