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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50adaf
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x553910]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push esi
push edi
mov eax, dword [0x553910]
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 0x537498
mov ecx, ebx
call fcn.0044f560
push 1
push 0
push 0
push 0
push 0xc
push 0x537498
push 0
mov ecx, ebx
call fcn.00449bf0
push 1
push 0
push 0
push 0
push 0xe
push 0x537498
push 1
mov ecx, ebx
call fcn.00449bf0
push 1
push 0
push 0
push 0
push 0x10
push 0x537498
push 2
mov ecx, ebx
call fcn.00449bf0
push 1
push 0
push 0
push 0
push 0x12
push 0x537498
push 3
mov ecx, ebx
call fcn.00449bf0
push 1
push 0
push 0
push 0
push 0x14
push 0x537498
push 4
mov ecx, ebx
call fcn.00449bf0
push 1
push 0
push 0
push 0
push 0x16
push 0x537498
push 5
mov ecx, ebx
call fcn.00449bf0
push 1
push 0
push 0
push 0
push 0x18
push 0x537498
push 6
mov ecx, ebx
call fcn.00449bf0
mov eax, dword [0x55c344]
test eax, eax
jne 0x405cde
push 0x50
call fcn.004d0705
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x498], 0
test eax, eax
je 0x405ccc
mov ecx, eax
call fcn.00401f70
jmp 0x405cce
xor eax, eax
mov dword [esp + 0x498], 0xffffffff
mov dword [0x55c344], eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, eax
call fcn.00402780
mov dword [esp + 0x498], 1
xor edi, edi
jmp 0x405d00
cmp dword [esp + 0x80], 8
lea eax, [esp + 0x6c]
cmovae eax, dword [esp + 0x6c]
push eax
push str.load_language__s
push 0x5c
push str.DNDownloaderMainFrame::InitWindow
call fcn.0042faf0
cmp dword [esp + 0x90], 8
lea ecx, [esp + 0x48]
lea eax, [esp + 0x7c]
cmovae eax, dword [esp + 0x7c]
push ecx
push eax
call fcn.0044af00
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x405e8b
mov ecx, dword [esp + 0x38]
inc ecx
push ecx
call fcn.004cefaa
mov ecx, dword [esp + 0x3c]
add esp, 4
inc ecx
mov esi, eax
push ecx
push 0
push esi
call fcn.004db420
add esp, 0xc
push dword [esp + 0x38]
push ebx
push esi
call fcn.004dadd0
add esp, 0xc
mov dword [esp + 0x34], 0xf
cmp byte [esi], 0
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jne 0x405d9d
xor ecx, ecx
jmp 0x405dab
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405da2
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.0040dde0
lea eax, [esp + 0x20]
mov byte [esp + 0x498], 2
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0042ec20
add esp, 8
mov byte [esp + 0x498], 4
cmp dword [esp + 0x34], 0x10
jb 0x405deb
push dword [esp + 0x20]
call fcn.004d0700
add esp, 4
mov eax, dword [0x55c2c8]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
test eax, eax
jne 0x405e50
push 0x4e0
call fcn.004d0705
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 5
test esi, esi
je 0x405e41
push 0x4e0
push 0
push esi
call fcn.004db420
add esp, 0xc
mov ecx, esi
call fcn.0040df60
jmp 0x405e43
xor eax, eax
mov byte [esp + 0x498], 4
mov dword [0x55c2c8], eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.004155d0
push dword [esp + 0x18]
mov bl, al
call fcn.004d10fe
add esp, 4
mov byte [esp + 0x498], 1
test bl, bl
jne 0x405eba
cmp dword [esp + 0x50], 8
jb 0x405ea6
push dword [esp + 0x3c]
call fcn.004d0700
add esp, 4
jmp 0x405ea6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.get_resource_error.__d
push 0x6b
push str.DNDownloaderMainFrame::InitWindow
call fcn.0042faf0
add esp, 0x10
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 3
jl 0x405d00
jmp 0x405ecd
cmp dword [esp + 0x50], 8
jb 0x405ecd
push dword [esp + 0x3c]
call fcn.004d0700
add esp, 4
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.00423b90
push 0x100
mov esi, eax
lea eax, [esp + 0x188]
push 0
push eax
call fcn.004db420
add esp, 0xc
lea eax, [esp + 0x184]
push 0x80
push str.Title_wndTitle
push 0x80
push eax
push 0
call fcn.004d13ca
add esp, 0x14
lea eax, [esp + 0x184]
push eax
call fcn.0044b1c0
add esp, 4
test eax, eax
jne 0x405f44
lea eax, [esp + 0x184]
push eax
push eax
call fcn.0044a3b0
lea eax, [esp + 0x18c]
push eax
call fcn.0044b1c0
add esp, 0xc
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebx + 0x2c]
push str.homepageBtn
mov ecx, edi
call fcn.0044a6e0
push 0x100
mov esi, eax
lea eax, [esp + 0x188]
push 0
push eax
call fcn.004db420
add esp, 0xc
lea eax, [esp + 0x184]
push 0x80
push str.homepage
push 0x80
push eax
push 0
call fcn.004d13ca
add esp, 0x14
lea eax, [esp + 0x184]
push eax
call fcn.0044b1c0
mov edx, eax
add esp, 4
test edx, edx
jne 0x405fcb
lea eax, [esp + 0x184]
push eax
push eax
call fcn.0044a3b0
lea eax, [esp + 0x18c]
push eax
call fcn.0044b1c0
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 0x405feb
xor ecx, ecx
jmp 0x406002
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405ff0
sub ecx, edi
lea edi, [ebx + 0x2c]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.00403640
push 1
push 0x537538
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4a0], 6
call fcn.00402dc0
mov eax, dword [0x55c344]
test eax, eax
jne 0x406060
push 0x50
call fcn.004d0705
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x498], 7
test eax, eax
je 0x406051
mov ecx, eax
call fcn.00401f70
jmp 0x406053
xor eax, eax
mov byte [esp + 0x498], 6
mov dword [0x55c344], eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.004023f0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x4a4], 8
call fcn.00402ea0
mov byte [esp + 0x498], 6
cmp dword [esp + 0x50], 8
jb 0x40609d
push dword [esp + 0x3c]
call fcn.004d0700
add esp, 4
push 0xffffffffffffffff
mov ecx, esi
call fcn.00458230
mov eax, dword [0x55c344]
test eax, eax
jne 0x4060e1
push 0x50
call fcn.004d0705
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x498], 9
test eax, eax
je 0x4060d2
mov ecx, eax
call fcn.00401f70
jmp 0x4060d4
xor eax, eax
mov byte [esp + 0x498], 6
mov dword [0x55c344], eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.004023f0
mov ecx, eax
mov byte [esp + 0x498], 0xa
cmp dword [ecx + 0x14], 8
jb 0x4060ff
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov byte [esp + 0x498], 6
cmp dword [esp + 0x50], 8
jb 0x406122
push dword [esp + 0x3c]
call fcn.004d0700
add esp, 4
push str.protocollinkbtn
mov ecx, edi
call fcn.0044a6e0
mov esi, eax
xor eax, eax
push 0x1fe
push eax
mov word [esp + 0x28c], ax
lea eax, [esp + 0x28e]
push eax
call fcn.004db420
add esp, 0xc
lea eax, [esp + 0x84]
push 0x100
push 0
push eax
call fcn.004db420
add esp, 0xc
lea eax, [esp + 0x84]
push 0x80
push str.protocol_accept_btn
push 0x80
push eax
push 0
call fcn.004d13ca
add esp, 0x14
lea eax, [esp + 0x84]
push eax
call fcn.0044b1c0
add esp, 4
test eax, eax
jne 0x4061ba
lea eax, [esp + 0x84]
push eax
push eax
call fcn.0044a3b0
lea eax, [esp + 0x8c]
push eax
call fcn.0044b1c0
add esp, 0xc
push eax
lea eax, [esp + 0x288]
push str._u__s__u_
push eax
call fcn.004d103f
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.00408730
push str.pathedit
mov ecx, edi
call fcn.0044a6e0
mov edi, eax
mov eax, dword [0x55c2c8]
test eax, eax
jne 0x406244
push 0x4e0
call fcn.004d0705
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0xb
test esi, esi
je 0x406235
push 0x4e0
push 0
push esi
call fcn.004db420
add esp, 0xc
mov ecx, esi
call fcn.0040df60
jmp 0x406237
xor eax, eax
mov byte [esp + 0x498], 6
mov dword [0x55c2c8], eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.004103d0
mov ecx, eax
mov byte [esp + 0x498], 0xc
cmp dword [ecx + 0x14], 8
jb 0x406262
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 0x406285
push dword [esp + 0x3c]
call fcn.004d0700
add esp, 4
push 0x537564
lea ecx, [ebx + 0x2c]
call fcn.0044a6e0
push 0x100
mov esi, eax
lea eax, [esp + 0x88]
push 0
push eax
call fcn.004db420
add esp, 0xc
lea eax, [esp + 0x84]
push 0x80
push str.titlename
push 0x80
push eax
push 0
call fcn.004d13ca
add esp, 0x14
lea eax, [esp + 0x84]
push eax
call fcn.0044b1c0
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x406302
lea eax, [esp + 0x84]
push eax
push eax
call fcn.0044a3b0
lea eax, [esp + 0x8c]
push eax
call fcn.0044b1c0
add esp, 0xc
mov ecx, eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
push str.confirmprotocolbtn
lea ecx, [ebx + 0x2c]
call fcn.0044a6e0
push 0x100
mov esi, eax
lea eax, [esp + 0x88]
push 0
push eax
call fcn.004db420
add esp, 0xc
lea eax, [esp + 0x84]
push 0x80
push str.accept_protocol
push 0x80
push eax
push 0
call fcn.004d13ca
add esp, 0x14
lea eax, [esp + 0x84]
push eax
call fcn.0044b1c0
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x406387
lea eax, [esp + 0x84]
push eax
push eax
call fcn.0044a3b0
lea eax, [esp + 0x8c]
push eax
call fcn.0044b1c0
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.0044a6e0
mov esi, dword [0x55c2c8]
test esi, esi
jne 0x406442
push 0x4e0
call fcn.004d0705
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0xd
test esi, esi
je 0x4063e4
push 0x4e0
push 0
push esi
call fcn.004db420
add esp, 0xc
mov ecx, esi
call fcn.0040df60
mov esi, eax
jmp 0x4063e6
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x55c2c8], esi
test esi, esi
jne 0x406442
push 0x4e0
call fcn.004d0705
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0xe
test esi, esi
je 0x406432
push 0x4e0
push 0
push esi
call fcn.004db420
add esp, 0xc
mov ecx, esi
call fcn.0040df60
mov esi, eax
jmp 0x406434
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x55c2c8], esi
mov ecx, dword [esi + 0x30]
lea edi, [esi + 0x20]
test ecx, ecx
je 0x406467
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x55c2c8]
mov dword [edi + 0x10], 0
mov dword [edi], vtable.._AV___Func_impl_U___Callable_obj_V_lambda_160542b0d9afd8ea5226b2f8e63c5f15____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 0x4064c1
push 0x4e0
call fcn.004d0705
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0xf
test esi, esi
je 0x4064b1
push 0x4e0
push 0
push esi
call fcn.004db420
add esp, 0xc
mov ecx, esi
call fcn.0040df60
mov esi, eax
jmp 0x4064b3
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x55c2c8], esi
mov ecx, dword [esi + 0x48]
lea edi, [esi + 0x38]
test ecx, ecx
je 0x4064e6
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x55c2c8]
mov dword [edi + 0x10], 0
mov dword [edi], vtable.._AV___Func_impl_U___Callable_obj_V_lambda_02aab49c217a2d71f0a0a19360b6423b____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 0x406540
push 0x4e0
call fcn.004d0705
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x10
test esi, esi
je 0x406530
push 0x4e0
push 0
push esi
call fcn.004db420
add esp, 0xc
mov ecx, esi
call fcn.0040df60
mov esi, eax
jmp 0x406532
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x55c2c8], esi
mov ecx, dword [esi + 0x18]
lea edi, [esi + 8]
test ecx, ecx
je 0x406565
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x55c2c8]
mov dword [edi + 0x10], 0
mov dword [edi], vtable.std::_Func_impl_struct_std::_Callable_obj_class__lambda_107973fe8cf02df876fc54a7e2772a0e___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 0x4065bf
push 0x4e0
call fcn.004d0705
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x11
test esi, esi
je 0x4065af
push 0x4e0
push 0
push esi
call fcn.004db420
add esp, 0xc
mov ecx, esi
call fcn.0040df60
mov esi, eax
jmp 0x4065b1
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x55c2c8], esi
mov ecx, dword [esi + 0x60]
lea edi, [esi + 0x50]
test ecx, ecx
je 0x4065e4
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x55c2c8]
mov dword [edi + 0x10], 0
mov dword [edi], vtable.std::_Func_impl_struct_std::_Callable_obj_class__lambda_25f56f18f4a29b14924681572abcf4e5___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 0x40663e
push 0x4e0
call fcn.004d0705
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x12
test esi, esi
je 0x40662e
push 0x4e0
push 0
push esi
call fcn.004db420
add esp, 0xc
mov ecx, esi
call fcn.0040df60
mov esi, eax
jmp 0x406630
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x55c2c8], esi
mov ecx, dword [esi + 0x78]
lea edi, [esi + 0x68]
test ecx, ecx
je 0x406663
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x55c2c8]
mov dword [edi + 0x10], 0
mov dword [edi], vtable.std::_Func_impl_struct_std::_Callable_obj_class__lambda_edc53a55e09012d4eaae9f6bffb3c60e___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 0x4066bd
push 0x4e0
call fcn.004d0705
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x13
test esi, esi
je 0x4066ad
push 0x4e0
push 0
push esi
call fcn.004db420
add esp, 0xc
mov ecx, esi
call fcn.0040df60
mov esi, eax
jmp 0x4066af
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x55c2c8], esi
mov ecx, dword [esi + 0x90]
lea edi, [esi + 0x80]
test ecx, ecx
je 0x4066e8
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [0x55c2c8]
mov dword [edi + 0x10], 0
mov dword [edi], 0x5381a8
mov dword [edi + 4], ebx
mov dword [edi + 0x10], edi
test esi, esi
jne 0x406742
push 0x4e0
call fcn.004d0705
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x498], 0x14
test esi, esi
je 0x406732
push 0x4e0
push 0
push esi
call fcn.004db420
add esp, 0xc
mov ecx, esi
call fcn.0040df60
mov esi, eax
jmp 0x406734
xor esi, esi
mov byte [esp + 0x498], 6
mov dword [0x55c2c8], esi
mov ecx, ebx
call fcn.00423b90
push 8
mov dword [esi + 0x30c], eax
call fcn.004d0705
add esp, 4
test eax, eax
je 0x40676f
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax], vtable.FunctionRunable_class__lambda_7262bd309c57a52ec50b075570f3e40a__.0
mov dword [eax + 4], ebx
jmp 0x406771
xor eax, eax
push eax
push 0x3e8
lea ecx, [ebx + 0x544]
call fcn.0042fc90
push str.logoControl9
lea ecx, [ebx + 0x2c]
call fcn.0044a6e0
push str.logoControl
lea ecx, [ebx + 0x2c]
mov edi, eax
call fcn.0044a6e0
mov esi, eax
mov eax, dword [0x55c344]
test eax, eax
jne 0x4067db
push 0x50
call fcn.004d0705
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x498], 0x15
test eax, eax
je 0x4067cc
mov ecx, eax
call fcn.00401f70
jmp 0x4067ce
xor eax, eax
mov byte [esp + 0x498], 6
mov dword [0x55c344], eax
cmp dword [eax + 0x4c], 3
mov ecx, edi
mov edx, dword [edi]
sete al
movzx eax, al
push eax
call dword [edx + 0xe0]
mov eax, dword [0x55c344]
test eax, eax
jne 0x40682b
push 0x50
call fcn.004d0705
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x498], 0x16
test eax, eax
je 0x40681c
mov ecx, eax
call fcn.00401f70
jmp 0x40681e
xor eax, eax
mov byte [esp + 0x498], 6
mov dword [0x55c344], eax
cmp dword [eax + 0x4c], 3
mov ecx, esi
mov edx, dword [esi]
setne al
movzx eax, al
push eax
call dword [edx + 0xe0]
cmp dword [esp + 0x68], 8
jb 0x406853
push dword [esp + 0x54]
call fcn.004d0700
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 0x406880
push dword [esp + 0x6c]
call fcn.004d0700
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.004d06e2
mov esp, ebp
pop ebp
ret