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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50ffef
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x559910]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push esi
push edi
mov eax, dword [0x559910]
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 0x53c508
mov ecx, ebx
call fcn.00455680
push 1
push 0
push 0
push 0
push 0xc
push 0x53c508
push 0
mov ecx, ebx
call fcn.0044fd10
push 1
push 0
push 0
push 0
push 0xe
push 0x53c508
push 1
mov ecx, ebx
call fcn.0044fd10
push 1
push 0
push 0
push 0
push 0x10
push 0x53c508
push 2
mov ecx, ebx
call fcn.0044fd10
push 1
push 0
push 0
push 0
push 0x12
push 0x53c508
push 3
mov ecx, ebx
call fcn.0044fd10
push 1
push 0
push 0
push 0
push 0x14
push 0x53c508
push 4
mov ecx, ebx
call fcn.0044fd10
push 1
push 0
push 0
push 0
push 0x16
push 0x53c508
push 5
mov ecx, ebx
call fcn.0044fd10
push 1
push 0
push 0
push 0
push 0x18
push 0x53c508
push 6
mov ecx, ebx
call fcn.0044fd10
mov eax, dword [0x5633bc]
test eax, eax
jne 0x406e2e
push 0x38
call fcn.004d672f
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x498], 0
test eax, eax
je 0x406e1c
mov ecx, eax
call fcn.004020b0
jmp 0x406e1e
xor eax, eax
mov dword [esp + 0x498], 0xffffffff
mov dword [0x5633bc], eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, eax
call fcn.00402830
mov dword [esp + 0x498], 1
xor edi, edi
jmp 0x406e50
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.00435930
cmp dword [esp + 0x90], 8
lea ecx, [esp + 0x48]
lea eax, [esp + 0x7c]
cmovae eax, dword [esp + 0x7c]
push ecx
push eax
call fcn.00451020
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x406fdb
mov ecx, dword [esp + 0x38]
inc ecx
push ecx
call fcn.004d5149
mov ecx, dword [esp + 0x3c]
add esp, 4
inc ecx
mov esi, eax
push ecx
push 0
push esi
call fcn.004e0970
add esp, 0xc
push dword [esp + 0x38]
push ebx
push esi
call fcn.004e0320
add esp, 0xc
mov dword [esp + 0x34], 0xf
cmp byte [esi], 0
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jne 0x406eed
xor ecx, ecx
jmp 0x406efb
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406ef2
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.004054a0
lea eax, [esp + 0x20]
mov byte [esp + 0x498], 2
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00434a80
add esp, 8
mov byte [esp + 0x498], 4
cmp dword [esp + 0x34], 0x10
jb 0x406f3b
push dword [esp + 0x20]
call fcn.0047f170
add esp, 4
mov eax, dword [0x5632d4]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
test eax, eax
jne 0x406fa0
push 0x550
call fcn.004d672f
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 5
test esi, esi
je 0x406f91
push 0x550
push 0
push esi
call fcn.004e0970
add esp, 0xc
mov ecx, esi
call fcn.004139e0
jmp 0x406f93
xor eax, eax
mov byte [esp + 0x498], 4
mov dword [0x5632d4], eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.0041c5f0
push dword [esp + 0x18]
mov bl, al
call fcn.004d7291
add esp, 4
mov byte [esp + 0x498], 1
test bl, bl
jne 0x40700a
cmp dword [esp + 0x50], 8
jb 0x406ff6
push dword [esp + 0x3c]
call fcn.0047f170
add esp, 4
jmp 0x406ff6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.get_resource_error.__d
push 0x6d
push str.DNDownloaderMainFrame::InitWindow
call fcn.00435930
add esp, 0x10
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 3
jl 0x406e50
jmp 0x40701d
cmp dword [esp + 0x50], 8
jb 0x40701d
push dword [esp + 0x3c]
call fcn.0047f170
add esp, 4
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.00428de0
push 0x53c58c
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push str.homepageBtn
lea ecx, [ebx + 0x2c]
call fcn.00450800
push 0x100
mov edi, eax
lea eax, [esp + 0x188]
push 0
push eax
call fcn.004e0970
add esp, 0xc
lea eax, [esp + 0x184]
push 0x80
push str.homepage
push 0x80
push eax
push 0
call fcn.004d755d
add esp, 0x14
lea eax, [esp + 0x184]
push eax
call fcn.004512e0
mov edx, eax
add esp, 4
test edx, edx
jne 0x4070b1
lea eax, [esp + 0x184]
push eax
push eax
call fcn.004504d0
lea eax, [esp + 0x18c]
push eax
call fcn.004512e0
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 0x4070d1
xor ecx, ecx
jmp 0x4070e5
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4070d6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.004036b0
push 1
push 0x53c5ac
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4a0], 6
call fcn.00402e30
mov esi, dword [0x5633bc]
test esi, esi
jne 0x407180
push 0x38
call fcn.004d672f
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 7
test esi, esi
je 0x407170
push 2
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x53b004
mov word [esi], ax
call fcn.004036b0
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 0x407172
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5633bc], esi
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.00402590
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x4a4], 8
call fcn.00402f10
mov byte [esp + 0x498], 6
cmp dword [esp + 0x50], 8
jb 0x4071bd
push dword [esp + 0x3c]
call fcn.0047f170
add esp, 4
push 0xffffffffffffffff
mov ecx, edi
call fcn.0045e3f0
mov esi, dword [0x5633bc]
test esi, esi
jne 0x40723e
push 0x38
call fcn.004d672f
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 9
test esi, esi
je 0x40722e
push 2
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x53b004
mov word [esi], ax
call fcn.004036b0
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 0x407230
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5633bc], esi
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.00402590
mov ecx, eax
mov byte [esp + 0x498], 0xa
cmp dword [ecx + 0x14], 8
jb 0x40725c
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 0x40727f
push dword [esp + 0x3c]
call fcn.0047f170
add esp, 4
push str.protocollinkbtn
lea ecx, [ebx + 0x2c]
call fcn.00450800
mov esi, eax
xor eax, eax
push 0x1fe
push eax
mov word [esp + 0x28c], ax
lea eax, [esp + 0x28e]
push eax
call fcn.004e0970
add esp, 0xc
lea eax, [esp + 0x84]
push 0x100
push 0
push eax
call fcn.004e0970
add esp, 0xc
lea eax, [esp + 0x84]
push 0x80
push str.protocol_accept_btn
push 0x80
push eax
push 0
call fcn.004d755d
add esp, 0x14
lea eax, [esp + 0x84]
push eax
call fcn.004512e0
add esp, 4
test eax, eax
jne 0x407318
lea eax, [esp + 0x84]
push eax
push eax
call fcn.004504d0
lea eax, [esp + 0x8c]
push eax
call fcn.004512e0
add esp, 0xc
push eax
lea eax, [esp + 0x288]
push str._u__s__u_
push eax
call fcn.004d705d
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.004098a0
lea esi, [ebx + 0x2c]
push str.pathedit
mov ecx, esi
call fcn.00450800
mov edi, eax
mov eax, dword [0x5632d4]
test eax, eax
jne 0x4073a8
push 0x550
call fcn.004d672f
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0xb
test esi, esi
je 0x407396
push 0x550
push 0
push esi
call fcn.004e0970
add esp, 0xc
mov ecx, esi
call fcn.004139e0
jmp 0x407398
xor eax, eax
mov byte [esp + 0x498], 6
lea esi, [ebx + 0x2c]
mov dword [0x5632d4], eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.00415eb0
mov ecx, eax
mov byte [esp + 0x498], 0xc
cmp dword [ecx + 0x14], 8
jb 0x4073c6
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 0x4073e9
push dword [esp + 0x3c]
call fcn.0047f170
add esp, 4
push 0x53c5d8
mov ecx, esi
call fcn.00450800
push 0x53c58c
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x3c]
push str.confirmprotocolbtn
mov ecx, esi
call fcn.00450800
push 0x100
mov esi, eax
lea eax, [esp + 0x88]
push 0
push eax
call fcn.004e0970
add esp, 0xc
lea eax, [esp + 0x84]
push 0x80
push str.accept_protocol
push 0x80
push eax
push 0
call fcn.004d755d
add esp, 0x14
lea eax, [esp + 0x84]
push eax
call fcn.004512e0
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x40747d
lea eax, [esp + 0x84]
push eax
push eax
call fcn.004504d0
lea eax, [esp + 0x8c]
push eax
call fcn.004512e0
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.00450800
mov esi, dword [0x5632d4]
test esi, esi
jne 0x407538
push 0x550
call fcn.004d672f
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0xd
test esi, esi
je 0x4074da
push 0x550
push 0
push esi
call fcn.004e0970
add esp, 0xc
mov ecx, esi
call fcn.004139e0
mov esi, eax
jmp 0x4074dc
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5632d4], esi
test esi, esi
jne 0x407538
push 0x550
call fcn.004d672f
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0xe
test esi, esi
je 0x407528
push 0x550
push 0
push esi
call fcn.004e0970
add esp, 0xc
mov ecx, esi
call fcn.004139e0
mov esi, eax
jmp 0x40752a
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5632d4], esi
mov ecx, dword [esi + 0x30]
lea edi, [esi + 0x20]
test ecx, ecx
je 0x40755d
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x5632d4]
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 0x4075b7
push 0x550
call fcn.004d672f
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0xf
test esi, esi
je 0x4075a7
push 0x550
push 0
push esi
call fcn.004e0970
add esp, 0xc
mov ecx, esi
call fcn.004139e0
mov esi, eax
jmp 0x4075a9
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5632d4], esi
mov ecx, dword [esi + 0x48]
lea edi, [esi + 0x38]
test ecx, ecx
je 0x4075dc
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x5632d4]
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 0x407636
push 0x550
call fcn.004d672f
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x10
test esi, esi
je 0x407626
push 0x550
push 0
push esi
call fcn.004e0970
add esp, 0xc
mov ecx, esi
call fcn.004139e0
mov esi, eax
jmp 0x407628
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5632d4], esi
mov ecx, dword [esi + 0x18]
lea edi, [esi + 8]
test ecx, ecx
je 0x40765b
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x5632d4]
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 0x4076b5
push 0x550
call fcn.004d672f
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x11
test esi, esi
je 0x4076a5
push 0x550
push 0
push esi
call fcn.004e0970
add esp, 0xc
mov ecx, esi
call fcn.004139e0
mov esi, eax
jmp 0x4076a7
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5632d4], esi
mov ecx, dword [esi + 0x60]
lea edi, [esi + 0x50]
test ecx, ecx
je 0x4076da
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x5632d4]
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 0x407734
push 0x550
call fcn.004d672f
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x12
test esi, esi
je 0x407724
push 0x550
push 0
push esi
call fcn.004e0970
add esp, 0xc
mov ecx, esi
call fcn.004139e0
mov esi, eax
jmp 0x407726
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5632d4], esi
mov ecx, dword [esi + 0x78]
lea edi, [esi + 0x68]
test ecx, ecx
je 0x407759
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x5632d4]
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 0x4077b3
push 0x550
call fcn.004d672f
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x13
test esi, esi
je 0x4077a3
push 0x550
push 0
push esi
call fcn.004e0970
add esp, 0xc
mov ecx, esi
call fcn.004139e0
mov esi, eax
jmp 0x4077a5
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5632d4], esi
mov ecx, dword [esi + 0x90]
lea edi, [esi + 0x80]
test ecx, ecx
je 0x4077de
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x5632d4]
mov dword [edi + 0x10], 0
mov dword [edi], 0x53d750
mov dword [edi + 4], ebx
mov dword [edi + 0x10], edi
test esi, esi
jne 0x407838
push 0x550
call fcn.004d672f
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x14
test esi, esi
je 0x407828
push 0x550
push 0
push esi
call fcn.004e0970
add esp, 0xc
mov ecx, esi
call fcn.004139e0
mov esi, eax
jmp 0x40782a
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5632d4], esi
mov ecx, ebx
call fcn.00428de0
push 8
mov dword [esi + 0x2fc], eax
call fcn.004d672f
add esp, 4
test eax, eax
je 0x407865
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax], vtable.FunctionRunable_class__lambda_9a9020b6a57b70733ab7c1073706ffe8__.0
mov dword [eax + 4], ebx
jmp 0x407867
xor eax, eax
push eax
push 0x3e8
lea ecx, [ebx + 0x544]
call fcn.00435ad0
lea esi, [ebx + 0x2c]
push str.logoControl9
mov ecx, esi
call fcn.00450800
push str.logoControl
mov ecx, esi
mov ebx, eax
call fcn.00450800
mov esi, dword [0x5633bc]
mov edi, eax
test esi, esi
jne 0x40790f
push 0x38
call fcn.004d672f
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x15
test esi, esi
je 0x4078ff
push 2
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x53b004
mov word [esi], ax
call fcn.004036b0
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 0x407901
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5633bc], 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 [0x5633bc]
test esi, esi
jne 0x40799c
push 0x38
call fcn.004d672f
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x16
test esi, esi
je 0x40798c
push 2
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x53b004
mov word [esi], ax
call fcn.004036b0
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 0x40798e
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x5633bc], 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 0x4079c4
push dword [esp + 0x54]
call fcn.0047f170
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 0x4079f1
push dword [esp + 0x6c]
call fcn.0047f170
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.004d6720
mov esp, ebp
pop ebp
ret