Function at 0x415210
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9011
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x5363c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0xd]
call fcn.00404810
mov ecx, dword [esi + 0x6d4]
push 0x4eedf8
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push 0x4eee00
mov dword [esi + 0x6fc], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.choose_region
mov dword [esi + 0x700], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.pay_region
mov dword [esi + 0x704], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.download_region
mov dword [esi + 0x708], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push 0x4eee5c
mov dword [esi + 0x70c], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.phone
mov dword [esi + 0x710], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.install
mov dword [esi + 0x714], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.progress_text
mov dword [esi + 0x718], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.progress
mov dword [esi + 0x71c], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.progress_bk
mov dword [esi + 0x724], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.pay_version
mov dword [esi + 0x720], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.pay_price
mov dword [esi + 0x728], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.pay_coupon
mov dword [esi + 0x72c], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.pay_code
mov dword [esi + 0x730], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.download_version
mov dword [esi + 0x734], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.download_path
mov dword [esi + 0x738], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.download_browse
mov dword [esi + 0x73c], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.download_download
mov dword [esi + 0x740], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.download_text
mov dword [esi + 0x744], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.download_progress_bk
mov dword [esi + 0x748], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x6d4]
push str.download_progress
mov dword [esi + 0x74c], eax
call sym.CAD.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov ecx, dword [esi + 0x700]
mov dword [esi + 0x750], eax
test ecx, ecx
je 0x415439
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x708]
test ecx, ecx
je 0x41544d
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x70c]
test ecx, ecx
je 0x415461
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x710]
mov dword [esi + 0x754], 0
test ecx, ecx
je 0x415480
mov eax, dword [ecx]
push dword [0x53603c]
call dword [eax + 0x3c]
mov ecx, dword [esi + 0x714]
test ecx, ecx
je 0x415495
mov eax, dword [ecx]
push dword [0x536038]
call dword [eax + 0x3c]
cmp dword [esi + 0x730], 0
je 0x4154b3
call fcn.004059f0
mov ecx, dword [esi + 0x730]
push 0
mov eax, dword [ecx]
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x71c]
test ecx, ecx
je 0x4154c7
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x720]
test ecx, ecx
je 0x4154db
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x724]
test ecx, ecx
je 0x4154ef
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x748]
test ecx, ecx
je 0x415503
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x74c]
test ecx, ecx
je 0x415517
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x750]
test ecx, ecx
je 0x41552b
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, esi
call fcn.00413bb0
mov eax, dword [0x538168]
test eax, eax
jne 0x41557f
push 0x1a0
call fcn.004bb92e
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x415571
push 0x1a0
push 0
push edi
call fcn.004bda50
add esp, 0xc
mov ecx, edi
call fcn.00406db0
jmp 0x415573
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x538168], eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.00407a20
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 1
jb 0x415599
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00412760
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x4155dc
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4155d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41566a
push ecx
push edx
call fcn.004bb95e
add esp, 8
push 0
push 0
push esi
push 0x418bc0
push 0
push 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
mov eax, dword [0x538168]
test eax, eax
jne 0x415651
push 0x1a0
call fcn.004bb92e
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x415643
push 0x1a0
push 0
push esi
call fcn.004bda50
add esp, 0xc
mov ecx, esi
call fcn.00406db0
jmp 0x415645
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x538168], eax
push edi
mov ecx, eax
call fcn.00407fd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004c15cf
int3