Function at 0x41a166
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x744
mov eax, dword [0x447394]
xor eax, esp
mov dword [esp + 0x740], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 6
push ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
lea eax, [esp + 0x2e0]
push eax
call fcn.004190f8
lea esi, [esp + 0x6f0]
mov dword [esp + method.XmlContentBase.virtual_0], 0x43f3b8
call fcn.00405bde
lea esi, [esp + 0x70c]
call fcn.00405bde
lea esi, [esp + 0x728]
call fcn.00405bde
lea ecx, [esp + 0x14]
call fcn.004165a9
cmp eax, ebx
je 0x41a201
cmp dword [esp + 0x14], ebx
jle 0x41a201
push dword [esp + 0x14]
lea esi, [esp + 0x2e4]
push eax
call fcn.0041647d
jmp 0x41a203
xor al, al
cmp al, bl
jne 0x41a216
mov esi, str.http:__download_faster.net_error.jsp_msgdownloadhelperxmlnotfound
call fcn.00407e75
jmp 0x41a634
lea edi, [esp + 0xe0]
call fcn.00420a07
or esi, 0xffffffff
push esi
lea eax, [esp + 0x154]
push eax
xor ebx, ebx
lea eax, [esp + 0x3d0]
call fcn.004053ef
push esi
mov eax, edi
push eax
lea eax, [esp + 0x4f4]
call fcn.004053ef
push esi
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x730]
call fcn.004053ef
push esi
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x714]
call fcn.004053ef
push esi
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x6f8]
call fcn.004053ef
push esi
lea eax, [esp + 0x170]
push eax
lea eax, [esp + 0x484]
call fcn.004053ef
cmp dword [esp + 0x12c], ebx
je 0x41a2b2
cmp dword [esp + 0x148], ebx
jne 0x41a2c1
mov esi, str.http:__download_faster.net_error.jsp_msgdownloadhelperxmlnotfound
call fcn.00407e75
jmp 0x41a628
lea esi, [esp + 0x47c]
call fcn.00407afc
lea eax, [esp + 0x38]
push eax
call fcn.0041a694
lea eax, [esp + 0x30c]
push eax
call fcn.0041187b
push eax
call fcn.0041195a
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x2e4]
push eax
call fcn.00419d8c
pop ecx
pop ecx
call fcn.00420a9d
lea edi, [esp + 0xe0]
mov dword [esp + 0x14], eax
call fcn.00420b4f
lea ecx, [esp + 0x3c]
call fcn.004116a5
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x1c]
lea ecx, [esp + 0x2e8]
lea edi, [esp + 0x1d0]
call fcn.004120e3
mov esi, edi
mov byte [esp + 0x205], bl
call fcn.0040c026
cmp byte [esp + 0x29c], bl
je 0x41a5c2
lea eax, [esp + 0x2f4]
push eax
call fcn.0041187b
push eax
call fcn.0041195a
lea eax, [esp + 0x354]
push eax
call fcn.0041123b
cmp dword [esp + 0x628], ebx
jle 0x41a3b3
push 8
call fcn.00422af4
pop ecx
cmp eax, ebx
je 0x41a39a
lea ecx, [esp + 0x2e0]
mov dword [eax], ecx
lea ecx, [esp + 0x38]
mov dword [eax + 4], ecx
jmp 0x41a39c
xor eax, eax
push ebx
push ebx
push eax
push 0x40724f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x14]
jmp 0x41a516
cmp dword [edi + 0xa0], ebx
jne 0x41a565
or dword [esp + 0x10], 1
lea ecx, [esp + 0xa8]
mov eax, edi
call fcn.00419d5c
cmp dword [eax + 0x14], ebx
je 0x41a3fc
or dword [esp + 0x10], 2
lea ecx, [esp + 0xc4]
mov eax, edi
call fcn.00419d74
mov byte [esp + 0xf], bl
cmp dword [eax + 0x14], ebx
jne 0x41a401
mov byte [esp + 0xf], 1
test byte [esp + 0x10], 2
je 0x41a41c
and dword [esp + 0x10], 0xfffffffd
push ebx
push 1
lea esi, [esp + 0xcc]
call fcn.00405329
test byte [esp + 0x10], 1
je 0x41a437
and dword [esp + 0x10], 0xfffffffe
push ebx
push 1
lea esi, [esp + 0xb0]
call fcn.00405329
cmp byte [esp + 0xf], bl
je 0x41a478
push dword [esp + 0x18]
lea eax, [esp + 0x18c]
push eax
lea ecx, [esp + 0x174]
call fcn.0042178f
lea esi, [esp + 0x188]
call fcn.0040c026
mov ecx, esi
mov dword [esp + method.LoginWindow.virtual_0], vtable.LoginWindow.0
call fcn.0040c006
jmp 0x41a516
push 7
pop eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xc0], eax
xor eax, eax
mov word [esp + 0xac], ax
lea eax, [esp + 0xa8]
push eax
xor ecx, ecx
lea eax, [esp + 0xc8]
mov word [esp + 0xcc], cx
push eax
lea ecx, [esp + 0x24]
mov eax, edi
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xc4], ebx
call fcn.00419d74
push eax
lea ecx, [esp + 0x98]
mov eax, edi
call fcn.00419d5c
push eax
mov eax, edi
call fcn.00420ed2
push ebx
push 1
lea esi, [esp + 0x94]
call fcn.00405329
push ebx
push 1
lea esi, [esp + 0x24]
call fcn.00405329
push ebx
push 1
lea esi, [esp + 0xb0]
call fcn.00405329
push ebx
push 1
lea esi, [esp + 0xcc]
call fcn.00405329
cmp byte [edi + 0x189], bl
je 0x41a3bc
cmp dword [edi + 0xa0], ebx
jne 0x41a565
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x2e4]
push eax
call fcn.00407228
pop ecx
pop ecx
call fcn.0041187b
mov esi, eax
call fcn.004119e3
lea edi, [esp + 0x1c8]
call fcn.004123b7
lea eax, [esp + 0x38]
push eax
call fcn.0041137a
jmp 0x41a628
push 0xffffffffffffffff
lea ecx, [esp + 0x4f0]
lea eax, [edi + 0x8c]
push ecx
xor ebx, ebx
call fcn.004053ef
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x1c8]
call fcn.00419d44
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x2e0]
push ecx
mov ecx, eax
call fcn.00419efd
pop ecx
push ebx
push 1
lea esi, [esp + 0x24]
call fcn.00405329
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x2e4]
push eax
call fcn.00407228
pop ecx
pop ecx
jmp 0x41a5e1
call fcn.00410f43
mov esi, 0x449be0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov byte [0x449bfc], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea edi, [esp + 0x1c8]
call fcn.004123b7
lea eax, [esp + 0x38]
push eax
call fcn.0041137a
call fcn.0040675d
mov edi, dword [eax + 0x10]
sub edi, dword [eax + 0xc]
sar edi, 2
cmp edi, ebx
je 0x41a61c
push 0xffffffffffffffff
push 1
mov esi, eax
call fcn.00406a06
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call fcn.0041187b
mov esi, eax
call fcn.004119e3
lea edi, [esp + 0xe0]
call fcn.00420a3e
lea eax, [esp + 0x2e0]
call fcn.0041a659
mov ecx, dword [esp + 0x74c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00422a42
mov esp, ebp
pop ebp
ret 0x10