Function at 0x40ec20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fefd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
mov ebx, dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_char_const__const]
push esi
push edi
mov esi, ecx
push str.LstLocalTools
lea ecx, [esi + 0x2c]
call ebx
push str.LstServerTool
lea ecx, [esi + 0x2c]
mov dword [esi + 0x250], eax
call ebx
push 0x504d9c
lea ecx, [esi + 0x2c]
mov dword [esi + 0x254], eax
call ebx
push str.tabToolmain
lea ecx, [esi + 0x2c]
mov dword [esi + 0x258], eax
call ebx
push str.lab_username
lea ecx, [esi + 0x2c]
mov dword [esi + 0x25c], eax
call ebx
push str.labStatus
lea ecx, [esi + 0x2c]
mov dword [esi + 0x26c], eax
call ebx
push str.labTime
lea ecx, [esi + 0x2c]
mov dword [esi + 0x260], eax
call ebx
push str.loginbtn
lea ecx, [esi + 0x2c]
mov dword [esi + 0x264], eax
call ebx
push str.location_installed
lea ecx, [esi + 0x2c]
mov dword [esi + 0x268], eax
call ebx
push str.location_server
lea ecx, [esi + 0x2c]
mov dword [esi + 0x270], eax
call ebx
push 0xa4
mov dword [esi + 0x274], eax
call fcn.004e0835
add esp, 4
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x40ed0d
push str.MainMenu.xml
mov ecx, eax
call fcn.00419f40
jmp 0x40ed0f
xor eax, eax
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push ebx
push 0x325aa0
mov dword [esi + 0x278], eax
mov eax, dword [esi + 4]
push 1
push eax
mov dword [ebp - 4], 0xffffffff
call edi
mov ecx, dword [esi + 4]
push ebx
push 0x7530
push 3
push ecx
call edi
mov edx, dword [esi + 4]
push ebx
push 0xdbba0
push 4
push edx
call edi
mov ecx, dword [esi + 0x264]
cmp ecx, ebx
je 0x40ed64
mov eax, dword [ecx]
mov edx, dword [section..data]
mov eax, dword [eax + 0x2c]
push edx
call eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push ebx
mov edi, 0xf
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push 0x503a80
mov byte [ecx], bl
call fcn.00404e20
lea ecx, [ebp - 0x58]
push ecx
call fcn.00411a20
add esp, 0x20
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push 5
push 0x504d54
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
call fcn.00404e20
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0040eaf0
cmp dword [ebp - 0x28], 0x10
mov byte [ebp - 4], 2
jb 0x40ede2
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004df8f9
add esp, 4
push 5
push str..xml
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
call fcn.00404e20
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0040eaf0
cmp dword [ebp - 0x28], 0x10
mov byte [ebp - 4], 2
jb 0x40ee20
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004df8f9
add esp, 4
push 5
push str..jpg
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
call fcn.00404e20
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.0040eaf0
cmp dword [ebp - 0x28], 0x10
mov byte [ebp - 4], 2
jb 0x40ee5e
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.004df8f9
add esp, 4
push 5
push str..png
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
call fcn.00404e20
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0040eaf0
cmp dword [ebp - 0x28], 0x10
mov byte [ebp - 4], 2
jb 0x40ee9c
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004df8f9
add esp, 4
push 5
push str..ini
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
call fcn.00404e20
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.0040eaf0
cmp dword [ebp - 0x28], 0x10
mov byte [ebp - 4], 2
jb 0x40eeda
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004df8f9
add esp, 4
sub esp, 0x10
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.0040abf0
call fcn.0040b410
push 2
call dword [sym.imp.libcurl.dll_curl_global_init]
add esp, 0x14
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x40ef79
push eax
call dword [sym.imp.libcurl.dll_curl_easy_strerror]
push eax
push str.curl_global_init_failed:__s_n
call fcn.004e3332
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push ecx
push str.get_init_library_ret:_d
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push 9
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push str.curl_init
mov byte [ecx], bl
call fcn.00404e20
push 3
push 0x57d720
call fcn.0041cec0
mov esi, dword [ebp - 0x20]
add esp, 0x2c
cmp esi, ebx
je 0x40ef6d
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
push ecx
push esi
call fcn.00408a70
push esi
call fcn.004df8f9
add esp, 0x14
cmp dword [ebp - 0x44], 0x10
jb 0x40efeb
mov edx, dword [ebp - 0x58]
push edx
jmp 0x40efe3
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x1a
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push str._Signing_on._Please_wait
mov byte [ecx], bl
call fcn.00404e20
mov ecx, esi
call fcn.00407e90
push esi
push ebx
push 0x40d710
mov dword [esi + 0x2bc], 2
call fcn.004e2e92
mov esi, dword [ebp - 0x20]
add esp, 0xc
cmp esi, ebx
je 0x40efd9
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
push ecx
push edx
push esi
call fcn.00408a70
push esi
call fcn.004df8f9
add esp, 0x14
cmp dword [ebp - 0x44], 0x10
jb 0x40efeb
mov eax, dword [ebp - 0x58]
push eax
call fcn.004df8f9
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret