Function at 0x415e30
Capabilities:
Access peb ldr_data
Create thread
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4fb1a6
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x52f4a8]
xor eax, esp
mov dword [esp + 0x870], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52f4a8]
xor eax, esp
push eax
lea eax, [esp + 0x888]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x1bb4]
inc dword [esi + 0x1bb0]
mov eax, dword [ecx + 0x550]
mov edx, dword [eax + 0x20]
add ecx, 0x550
mov dword [esp + 0x1c], esi
call edx
mov ecx, dword [esi + 0x1bb4]
mov eax, dword [ecx + 0x6c0]
mov edx, dword [eax + 0xc]
add ecx, 0x6c0
xor ebx, ebx
push ebx
push 0xffffffffffffffff
call edx
mov eax, 0xf
mov dword [esp + 0x3d4], ebx
mov dword [esp + 0x3f0], eax
mov dword [esp + 0x3ec], ebx
mov byte [esp + 0x3dc], bl
mov dword [esp + 0x3fc], ebx
mov dword [esp + 0x418], eax
mov dword [esp + 0x414], ebx
mov byte [esp + 0x404], bl
mov dword [esp + 0x890], ebx
mov eax, dword [esi + 0x1744]
push eax
lea ecx, [esp + 0x3d8]
lea edi, [esi + 0x1b60]
push ecx
mov ecx, edi
call fcn.00455db0
lea ebp, [esi + 0x30]
push str.serverliststatus
mov ecx, ebp
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
cmp dword [esp + 0x3f8], 1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xf8]
jne 0x415fdc
push 1
call eax
push str.serverlisttext
mov ecx, ebp
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
cmp dword [esp + 0x418], 0x10
mov edi, eax
mov eax, dword [esp + 0x404]
jae 0x415f5d
lea eax, [esp + 0x404]
push eax
lea ebx, [esp + 0x3c]
call fcn.0046b220
add esp, 4
mov ebp, 8
mov byte [esp + 0x890], 1
cmp dword [eax + 0x1c], ebp
jb 0x415f81
mov eax, dword [eax + 8]
jmp 0x415f84
add eax, 8
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, edi
call eax
xor ebx, ebx
mov byte [esp + 0x890], bl
cmp dword [esp + 0x54], ebp
jb 0x415faa
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00476980
add esp, 4
xor edx, edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], dx
call fcn.00401050
mov ecx, dword [esi + 0x1bb4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xf8]
push ebx
call edx
jmp 0x41650e
push ebx
call eax
mov ecx, dword [esi + 0x1bb4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xf8]
push 1
call eax
push 0x1ff
lea ecx, [esp + 0x689]
push ebx
push ecx
mov byte [esp + 0x690], bl
call fcn.00488970
mov eax, dword [esi + 0x1744]
add esp, 0xc
cmp eax, ebx
je 0x416035
push eax
push str.select__from_vpnlist_where__tags__like_____d___
lea edx, [esp + 0x68c]
push 0x200
push edx
call fcn.00479520
add esp, 0x10
jmp 0x41604f
push str.select__from_vpnlist
lea eax, [esp + 0x688]
push 0x200
push eax
call fcn.00479520
add esp, 0xc
lea eax, [esi + 0x1fe8]
call fcn.00423450
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x684]
push ecx
lea ecx, [esp + 0x28]
mov edx, edi
mov byte [esp + 0x894], 3
call fcn.00456630
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
mov eax, 0x13e22cbd
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], ebx
test eax, eax
jle 0x416499
lea ebx, [ebx]
lea ecx, [esp + 0x534]
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_]
push ebx
push ebx
push ebx
push ebx
push ecx
mov byte [esp + 0x8a4], 4
mov eax, esp
lea ecx, [esp + 0x548]
mov dword [esp + 0x74], esp
mov dword [eax], str.XML_MAIN_LIST
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const___class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__]
mov esi, dword [esi + 0x1bb4]
mov edx, dword [esi + 0x550]
lea ecx, [esi + 0x550]
mov ebp, eax
mov eax, dword [edx + 0x10]
push ebp
call eax
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x24]
call fcn.00424020
add eax, 4
cmp dword [eax + 0x1c], 0x10
jb 0x416118
mov eax, dword [eax + 8]
jmp 0x41611b
add eax, 8
push eax
lea ebx, [esp + 0x68]
call fcn.0046b220
add esp, 4
mov esi, 8
mov byte [esp + 0x890], 5
cmp dword [eax + 0x1c], esi
jb 0x41613f
mov eax, dword [eax + 8]
jmp 0x416142
add eax, 8
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x42c]
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_]
mov ebx, 7
mov byte [esp + 0x890], bl
cmp dword [esp + 0x80], esi
jb 0x416174
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00476980
add esp, 4
xor edx, edx
xor esi, esi
push 3
lea ecx, [esp + 0x60]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], esi
mov word [esp + 0x70], dx
call fcn.00474230
mov eax, dword [esp + 0x64]
cmp eax, 0xfffffffd
je 0x4161b8
cmp eax, esi
je 0x4161b4
mov dword [eax], esi
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 4]
mov dword [esp + 0x64], eax
cmp eax, esi
jne 0x4161a3
mov dword [esp + 0x64], esi
lea ecx, [esp + 0x5c]
call fcn.00474270
lea ecx, [esp + 0x424]
push ecx
call fcn.004350d0
add esp, 4
push str.LBL_NAME
mov ecx, ebp
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CContainerUI::FindSubControl_wchar_t_const__]
mov edi, eax
mov esi, dword [edi]
lea ecx, [esp + 0x424]
add esi, 0x2c
call dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x24]
call fcn.00424020
add eax, 0x64
cmp dword [eax + 0x1c], 0x10
jb 0x416214
mov eax, dword [eax + 8]
jmp 0x416217
add eax, 8
push eax
lea ebx, [esp + 0x3c]
call fcn.0046b220
add esp, 4
mov ebx, 8
mov byte [esp + 0x890], bl
cmp dword [eax + 0x1c], ebx
jb 0x41623a
mov eax, dword [eax + 8]
jmp 0x41623d
add eax, 8
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x4b4]
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_]
mov byte [esp + 0x890], 0xa
cmp dword [esp + 0x54], ebx
jb 0x416268
mov eax, dword [esp + 0x40]
push eax
call fcn.00476980
add esp, 4
xor ecx, ecx
mov word [esp + 0x40], cx
xor esi, esi
push 3
lea ecx, [esp + 0x5c]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], esi
call fcn.00474230
mov eax, dword [esp + 0x38]
cmp eax, 0xfffffffd
je 0x4162aa
cmp eax, esi
je 0x4162a6
mov dword [eax], esi
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
mov dword [esp + 0x38], eax
cmp eax, esi
jne 0x416295
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x58]
call fcn.00474270
lea eax, [esp + 0x4ac]
push eax
call fcn.004350d0
add esp, 4
push str.LBL_MS
mov ecx, ebp
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CContainerUI::FindSubControl_wchar_t_const__]
mov edi, eax
mov esi, dword [edi]
lea ecx, [esp + 0x4ac]
add esi, 0x2c
call dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
mov ebx, dword [ebp]
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x24]
add ebx, 0xf0
call fcn.00424020
mov eax, dword [eax]
mov edx, dword [ebx]
push eax
mov ecx, ebp
call edx
mov ebp, edi
call fcn.00424020
mov ebx, eax
call fcn.00424020
mov eax, dword [eax]
lea ecx, [esp + 0x98]
push ecx
mov edi, ebx
mov dword [esp + 0x98], eax
call fcn.00424550
mov bl, 0xb
mov byte [esp + 0x890], bl
mov edx, dword [esp + 0x94]
lea eax, [esp + 0x238]
push eax
lea edi, [esp + 0x9c]
mov dword [esp + 0x238], edx
call fcn.00424550
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x234]
push ecx
lea edx, [esp + 0x88]
push edx
add eax, 0x1fe8
push eax
mov byte [esp + 0x89c], 0xc
call fcn.00423250
push 3
lea ecx, [esp + 0x24]
call fcn.00474230
mov byte [esp + 0x890], 0xd
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4163f6
cmp dword [eax], 0xfffffffd
je 0x4163f6
cmp dword [eax], 0
mov esi, eax
je 0x4163c6
lea esp, [esp]
mov eax, dword [esi]
lea ecx, [esp + 0x84]
cmp eax, ecx
je 0x4163c6
cmp dword [eax + 4], 0
lea esi, [eax + 4]
jne 0x4163b0
cmp dword [esi], 0
jne 0x4163e2
push 0xbd
push 0x50d2d8
push str.ITERATOR_LIST_CORRUPTED_
call fcn.004742a0
add esp, 0xc
mov edx, dword [esp + 0x88]
mov dword [esi], edx
mov dword [esp + 0x84], 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x890], 0xc
call fcn.00474270
lea eax, [esp + 0x238]
push eax
mov byte [esp + 0x894], bl
call fcn.0040d690
lea ecx, [esp + 0x98]
push ecx
mov byte [esp + 0x894], 0xa
call fcn.0040d690
mov byte [esp + 0x890], 7
mov esi, dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [esp + 0x4ac]
call esi
lea ecx, [esp + 0x424]
mov byte [esp + 0x890], 4
call esi
lea ecx, [esp + 0x534]
mov byte [esp + 0x890], 3
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
mov eax, 0x13e22cbd
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
xor ebx, ebx
cmp ebp, eax
mov dword [esp + 0x18], ebp
jl 0x4160b0
inc dword [esi + 0x1bb0]
lea ecx, [esp + 0x60]
push ecx
push ebx
push esi
push 0x416740
push ebx
push ebx
mov dword [esi + 0x1bac], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esp + 0x24]
mov byte [esp + 0x890], 0xe
call fcn.00426a20
push 3
lea ecx, [esp + 0x24]
mov byte [esp + 0x894], bl
call fcn.00474230
mov eax, dword [esp + 0x24]
cmp eax, 0xfffffffd
je 0x416505
cmp eax, ebx
je 0x416501
mov dword [eax], ebx
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x4164f0
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x20]
call fcn.00474270
lea eax, [esp + 0x3d4]
push eax
mov dword [esp + 0x894], 0xffffffff
call fcn.0040c980
mov ecx, dword [esp + 0x888]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x870]
xor ecx, esp
call fcn.00476680
add esp, 0x880
ret