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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c78f7
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x50a488]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x50a488]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x2c], ecx
push 1
push 0
push 0
push 0
lea ebx, [ecx + 0x2c]
mov dword [esp + 0x44], 0
push 0xc
push 0x4ea6ec
mov ecx, ebx
call fcn.004502e0
push 1
push 0
push 0
push 0
push 0xc
push 0x4ea6ec
push 0
mov ecx, ebx
call fcn.0044a960
push 1
push 0
push 0
push 0
push 0xe
push 0x4ea6ec
push 1
mov ecx, ebx
call fcn.0044a960
push 1
push 0
push 0
push 0
push 0x10
push 0x4ea6ec
push 2
mov ecx, ebx
call fcn.0044a960
push 1
push 0
push 0
push 0
push 0x12
push 0x4ea6ec
push 3
mov ecx, ebx
call fcn.0044a960
push 1
push 0
push 0
push 0
push 0x14
push 0x4ea6ec
push 4
mov ecx, ebx
call fcn.0044a960
push 1
push 0
push 0
push 0
push 0x16
push 0x4ea6ec
push 5
mov ecx, ebx
call fcn.0044a960
push 1
push 0
push 0
push 0
push 0x18
push 0x4ea6ec
push 6
mov ecx, ebx
call fcn.0044a960
mov eax, dword [0x514284]
test eax, eax
jne 0x40f8ff
push 0x38
call fcn.00491ba5
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x78], 0
test eax, eax
je 0x40f8f0
mov ecx, eax
call fcn.0040d1a0
jmp 0x40f8f2
xor eax, eax
mov dword [esp + 0x78], 0xffffffff
mov dword [0x514284], eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.0040da40
mov dword [esp + 0x78], 1
xor edi, edi
jmp 0x40f920
cmp dword [esp + 0x64], 8
lea eax, [esp + 0x50]
cmovae eax, dword [esp + 0x50]
push eax
push str.load_language__s
push 0x57
push str.DNDownloaderMainFrame::InitWindow
call fcn.0040c250
cmp dword [esp + 0x74], 8
lea ecx, [esp + 0x44]
lea eax, [esp + 0x60]
cmovae eax, dword [esp + 0x60]
push ecx
push eax
call fcn.0044bc70
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x40fa95
mov ecx, dword [esp + 0x34]
inc ecx
push ecx
call fcn.00446a49
mov ecx, dword [esp + 0x38]
add esp, 4
inc ecx
mov esi, eax
push ecx
push 0
push esi
call fcn.0049bf90
add esp, 0xc
push dword [esp + 0x34]
push ebx
push esi
call fcn.0049a650
add esp, 0xc
mov dword [esp + 0x28], 0xf
cmp byte [esi], 0
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jne 0x40f9b7
xor ecx, ecx
jmp 0x40f9c9
mov ecx, esi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f9c0
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00407bd0
lea edx, [esp + 0x14]
mov byte [esp + 0x78], 2
lea ecx, [esp + 0x38]
call fcn.00409900
mov byte [esp + 0x78], 4
cmp dword [esp + 0x28], 0x10
jb 0x40f9fe
push dword [esp + 0x14]
call fcn.00491ba0
add esp, 4
mov eax, dword [0x5132cc]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
test eax, eax
jne 0x40fa5d
push 0x538
call fcn.00491ba5
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 5
test esi, esi
je 0x40fa51
push 0x538
push 0
push esi
call fcn.0049bf90
add esp, 0xc
mov ecx, esi
call fcn.00416a90
jmp 0x40fa53
xor eax, eax
mov byte [esp + 0x78], 4
mov dword [0x5132cc], eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.0041e320
push dword [esp + 0x30]
mov bl, al
call fcn.004935af
add esp, 4
mov byte [esp + 0x78], 1
test bl, bl
jne 0x40fac4
cmp dword [esp + 0x4c], 8
jb 0x40fab0
push dword [esp + 0x38]
call fcn.00491ba0
add esp, 4
jmp 0x40fab0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.get_resource_error.__d
push 0x66
push str.DNDownloaderMainFrame::InitWindow
call fcn.0040c250
add esp, 0x10
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 3
jl 0x40f920
jmp 0x40fad7
cmp dword [esp + 0x4c], 8
jb 0x40fad7
push dword [esp + 0x38]
call fcn.00491ba0
add esp, 4
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.004ba190
mov edi, eax
mov dword [esp + 0x28], 7
push 0xe
xor eax, eax
mov dword [esp + 0x28], 0
push str.Title_wndTitle
lea ecx, [esp + 0x1c]
mov word [esp + 0x1c], ax
call fcn.00406e20
mov byte [esp + 0x78], 6
mov eax, dword [0x5132cc]
test eax, eax
jne 0x40fb5e
push 0x538
call fcn.00491ba5
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 7
test esi, esi
je 0x40fb4e
push 0x538
push 0
push esi
call fcn.0049bf90
add esp, 0xc
mov ecx, esi
call fcn.00416a90
jmp 0x40fb50
xor eax, eax
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x78], 6
mov dword [0x5132cc], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.0041e250
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [esp + 0x78], 1
cmp dword [esp + 0x28], 8
jb 0x40fb8a
push dword [esp + 0x14]
call fcn.00491ba0
add esp, 4
mov ecx, esi
call fcn.00411590
mov ecx, esi
call fcn.004129c0
lea ebx, [esi + 0x2c]
push str.pathedit
mov ecx, ebx
call fcn.0044b450
mov edi, eax
mov eax, dword [0x5132cc]
test eax, eax
jne 0x40fbf3
push 0x538
call fcn.00491ba5
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 8
test esi, esi
je 0x40fbe7
push 0x538
push 0
push esi
call fcn.0049bf90
add esp, 0xc
mov ecx, esi
call fcn.00416a90
jmp 0x40fbe9
xor eax, eax
mov byte [esp + 0x78], 1
mov dword [0x5132cc], eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.00418f90
mov ecx, eax
mov byte [esp + 0x78], 9
cmp dword [ecx + 0x14], 8
jb 0x40fc0e
mov ecx, dword [ecx]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x3c]
mov byte [esp + 0x78], 1
cmp dword [esp + 0x4c], 8
jb 0x40fc2e
push dword [esp + 0x38]
call fcn.00491ba0
add esp, 4
push str.addQQGroupBtn
mov ecx, ebx
call fcn.0044b450
push str.joinfacebookBtn
mov ecx, ebx
call fcn.0044b450
mov edi, eax
mov dword [esp + 0x28], 7
push 8
xor eax, eax
mov dword [esp + 0x28], 0
push str.facebook
lea ecx, [esp + 0x1c]
mov word [esp + 0x1c], ax
call fcn.00406e20
mov byte [esp + 0x78], 0xa
mov eax, dword [0x5132cc]
test eax, eax
jne 0x40fcbe
push 0x538
call fcn.00491ba5
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 0xb
test esi, esi
je 0x40fcb2
push 0x538
push 0
push esi
call fcn.0049bf90
add esp, 0xc
mov ecx, esi
call fcn.00416a90
jmp 0x40fcb4
xor eax, eax
mov byte [esp + 0x78], 0xa
mov dword [0x5132cc], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.0041e250
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0xb0]
mov byte [esp + 0x78], 1
cmp dword [esp + 0x28], 8
jb 0x40fced
push dword [esp + 0x14]
call fcn.00491ba0
add esp, 4
push str.titlename
mov ecx, ebx
call fcn.0044b450
push str.installFinishLabel
mov ecx, ebx
call fcn.0044b450
mov edi, eax
mov dword [esp + 0x28], 7
push 0xd
xor eax, eax
mov dword [esp + 0x28], 0
push str.installSucess
lea ecx, [esp + 0x1c]
mov word [esp + 0x1c], ax
call fcn.00406e20
mov byte [esp + 0x78], 0xc
mov eax, dword [0x5132cc]
test eax, eax
jne 0x40fd7d
push 0x538
call fcn.00491ba5
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 0xd
test esi, esi
je 0x40fd71
push 0x538
push 0
push esi
call fcn.0049bf90
add esp, 0xc
mov ecx, esi
call fcn.00416a90
jmp 0x40fd73
xor eax, eax
mov byte [esp + 0x78], 0xc
mov dword [0x5132cc], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.0041e250
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0x3c]
mov byte [esp + 0x78], 1
cmp dword [esp + 0x28], 8
jb 0x40fda9
push dword [esp + 0x14]
call fcn.00491ba0
add esp, 4
push str.protocoledit
mov ecx, ebx
call fcn.0044b450
mov esi, eax
lea eax, [esp + 0x38]
push eax
call fcn.00415860
mov ecx, eax
mov byte [esp + 0x78], 0xe
cmp dword [ecx + 0x14], 8
jb 0x40fdd0
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov byte [esp + 0x78], 1
cmp dword [esp + 0x4c], 8
jb 0x40fdf0
push dword [esp + 0x38]
call fcn.00491ba0
add esp, 4
push str.confirmprotocolbtn
mov ecx, ebx
call fcn.0044b450
mov edi, eax
mov dword [esp + 0x28], 7
push 0xf
xor eax, eax
mov dword [esp + 0x28], 0
push str.accept_protocol
lea ecx, [esp + 0x1c]
mov word [esp + 0x1c], ax
call fcn.00406e20
mov byte [esp + 0x78], 0xf
mov eax, dword [0x5132cc]
test eax, eax
jne 0x40fe74
push 0x538
call fcn.00491ba5
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 0x10
test esi, esi
je 0x40fe68
push 0x538
push 0
push esi
call fcn.0049bf90
add esp, 0xc
mov ecx, esi
call fcn.00416a90
jmp 0x40fe6a
xor eax, eax
mov byte [esp + 0x78], 0xf
mov dword [0x5132cc], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.0041e250
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0x3c]
mov byte [esp + 0x78], 1
cmp dword [esp + 0x28], 8
jb 0x40fea0
push dword [esp + 0x14]
call fcn.00491ba0
add esp, 4
mov esi, dword [0x5132cc]
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
test esi, esi
jne 0x40ff05
push 0x538
call fcn.00491ba5
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 0x11
test esi, esi
je 0x40fef8
push 0x538
push 0
push esi
call fcn.0049bf90
add esp, 0xc
mov ecx, esi
call fcn.00416a90
mov esi, eax
jmp 0x40fefa
xor esi, esi
mov byte [esp + 0x78], 1
mov dword [0x5132cc], esi
mov ecx, dword [esi + 0x30]
lea edi, [esi + 0x20]
test ecx, ecx
je 0x40ff2a
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x5132cc]
mov dword [edi + 0x10], 0
mov ebx, dword [esp + 0x2c]
mov dword [edi], vtable.._AV___Func_impl_U___Callable_obj_V_lambda_139686a558026fce36331ce577045d8d____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 0x40ff82
push 0x538
call fcn.00491ba5
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 0x12
test esi, esi
je 0x40ff75
push 0x538
push 0
push esi
call fcn.0049bf90
add esp, 0xc
mov ecx, esi
call fcn.00416a90
mov esi, eax
jmp 0x40ff77
xor esi, esi
mov byte [esp + 0x78], 1
mov dword [0x5132cc], esi
mov ecx, dword [esi + 0x48]
lea edi, [esi + 0x38]
test ecx, ecx
je 0x40ffa7
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x5132cc]
mov dword [edi + 0x10], 0
mov dword [edi], vtable.._AV___Func_impl_U___Callable_obj_V_lambda_0f5e63ede2427eeddad8206c87736923____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 0x40fffb
push 0x538
call fcn.00491ba5
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 0x13
test esi, esi
je 0x40ffee
push 0x538
push 0
push esi
call fcn.0049bf90
add esp, 0xc
mov ecx, esi
call fcn.00416a90
mov esi, eax
jmp 0x40fff0
xor esi, esi
mov byte [esp + 0x78], 1
mov dword [0x5132cc], esi
mov ecx, dword [esi + 0x18]
lea edi, [esi + 8]
test ecx, ecx
je 0x410020
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x5132cc]
mov dword [edi + 0x10], 0
mov dword [edi], vtable.std::_Func_impl_struct_std::_Callable_obj_class__lambda_ea7814ff5302f79dcd408350077fb924___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 0x410074
push 0x538
call fcn.00491ba5
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 0x14
test esi, esi
je 0x410067
push 0x538
push 0
push esi
call fcn.0049bf90
add esp, 0xc
mov ecx, esi
call fcn.00416a90
mov esi, eax
jmp 0x410069
xor esi, esi
mov byte [esp + 0x78], 1
mov dword [0x5132cc], esi
mov ecx, dword [esi + 0x60]
lea edi, [esi + 0x50]
test ecx, ecx
je 0x410099
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x5132cc]
mov dword [edi + 0x10], 0
mov dword [edi], vtable.std::_Func_impl_struct_std::_Callable_obj_class__lambda_232943b05ee3541c0e8036c1d4b6e866___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 0x4100ed
push 0x538
call fcn.00491ba5
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 0x15
test esi, esi
je 0x4100e0
push 0x538
push 0
push esi
call fcn.0049bf90
add esp, 0xc
mov ecx, esi
call fcn.00416a90
mov esi, eax
jmp 0x4100e2
xor esi, esi
mov byte [esp + 0x78], 1
mov dword [0x5132cc], esi
mov ecx, dword [esi + 0x78]
lea edi, [esi + 0x68]
test ecx, ecx
je 0x410112
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x5132cc]
mov dword [edi + 0x10], 0
mov dword [edi], vtable.std::_Func_impl_struct_std::_Callable_obj_class__lambda_e0293c7fed3785db53f8fe0d603ae14e___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 0x410166
push 0x538
call fcn.00491ba5
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x78], 0x16
test esi, esi
je 0x410159
push 0x538
push 0
push esi
call fcn.0049bf90
add esp, 0xc
mov ecx, esi
call fcn.00416a90
mov esi, eax
jmp 0x41015b
xor esi, esi
mov byte [esp + 0x78], 1
mov dword [0x5132cc], esi
mov ecx, ebx
call fcn.004ba190
mov dword [esi + 0x388], eax
cmp dword [esp + 0x64], 8
jb 0x410186
push dword [esp + 0x50]
call fcn.00491ba0
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00491a43
mov esp, ebp
pop ebp
ret