Function at 0x426f60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a1d17
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4d04c0]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x4d04c0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x8cc]
push ecx
sub eax, 0x10
mov dword [esp + 0x18], esp
mov esi, esp
call fcn.00402162
add eax, 0x10
mov dword [esi], eax
push dword [ebx + 0x8c8]
call fcn.00422002
pop ecx
test eax, eax
pop ecx
mov eax, 0x4bca30
jne 0x426fce
mov eax, 0x4bd8c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004029c1
and dword [esp + 0x84], 0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x4bfffc
call fcn.004029c1
or dword [esp + 0xa0], 0xffffffff
call fcn.00416b8a
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call esi
mov ecx, dword [0x4d4770]
push eax
push str._INFO___d___WaeWnd_Download_1
call fcn.00414401
pop ecx
pop ecx
mov ecx, dword [ebx + 0x7a0]
mov eax, dword [ecx]
push 1
call dword [eax + 0x104]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x427045
cmp dword [ebx + 0x8a0], 0
jne 0x42729c
push 0xa
push dword [ebx + 0x8a8]
call edi
test eax, eax
jne 0x427038
call esi
mov ecx, dword [0x4d4770]
push eax
push str._INFO___d___WaeWnd_Download_2
call fcn.00414401
pop ecx
pop ecx
push dword [ebx + 0x8a8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0x890]
and dword [ebx + 0x8a8], 0
lea esi, [esp + 0x14]
call fcn.00423688
mov dword [esp + 0x68], 1
push eax
mov eax, dword [ebx + 0x890]
lea edi, [esp + 0x1c]
call fcn.0040da46
sub esp, 0x1c
mov byte [esp + 0x84], 2
mov eax, dword [eax]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.004029c1
mov ecx, dword [ebx + 0x88c]
call fcn.0041f67e
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00402a23
or dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00402a23
mov ecx, dword [ebx + 0x88c]
push 0
call fcn.0041c0f1
mov ecx, dword [ebx + 0x88c]
push 1
call fcn.0041c0f1
mov ecx, dword [ebx + 0x88c]
push 2
call fcn.0041c0f1
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call esi
mov ecx, dword [0x4d4770]
push eax
push str._INFO___d___WaeWnd_Download_4
call fcn.00414401
mov edi, dword [ebx + 0x88c]
pop ecx
pop ecx
call fcn.0041ef7e
push 0x3e8
push 0x7be
push dword [ebx + 0x7d8]
lea ecx, [ebx + 0x30]
call fcn.0042a118
xor edi, edi
cmp dword [ebx + 0x8b0], edi
jne 0x42717d
call esi
mov ecx, dword [0x4d4770]
push eax
push str._INFO___d___WaeWnd_Download_5
call fcn.00414401
push edi
push edi
push ebx
push 0x427460
push edi
push edi
call fcn.0047ef59
add esp, 0x20
mov dword [ebx + 0x8b0], eax
mov eax, dword [ebx + 0x88c]
lea ecx, [esp + 0x20]
call fcn.0042361c
cmp dword [eax + 0x10], edi
push edi
push 1
lea ecx, [esp + 0x28]
setne byte [esp + 0x1b]
call fcn.00402a5a
call esi
cmp byte [esp + 0x13], 0
mov ecx, dword [0x4d4770]
push eax
je 0x427216
push str._INFO___d___WaeWnd_Download_6
call fcn.00414401
mov eax, dword [ebx + 0x88c]
pop ecx
pop ecx
lea ecx, [esp + 0x3c]
mov byte [ebx + 0x808], 0
mov byte [ebx + 0x8a4], 0
call fcn.0042361c
mov dword [esp + 0x68], 3
cmp dword [eax + 0x14], 8
jb 0x4271e9
mov eax, dword [eax]
mov ecx, dword [ebx + 0x79c]
push eax
call fcn.00431e5b
or dword [esp + 0x68], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.00402a5a
mov ecx, dword [ebx + 0x79c]
call fcn.00432174
xor edi, edi
jmp 0x427243
push str._INFO___d___WaeWnd_Download_7
call fcn.00414401
pop ecx
pop ecx
mov byte [ebx + 0x808], 1
mov byte [ebx + 0x8a4], 1
jmp 0x427243
cmp byte [ebx + 0x8a4], 0
jne 0x42724d
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx + 0x8a0], edi
je 0x427232
jmp 0x427292
cmp dword [ebx + 0x8c4], 2
jne 0x427292
cmp byte [ebx + 0x808], 0
jne 0x427280
push edi
push edi
push 0x8068
mov ecx, ebx
call fcn.004313fd
mov ecx, dword [ebx + 0x79c]
mov eax, dword [ecx]
push 1
call dword [eax + 0x104]
push edi
jmp 0x427282
push 1
mov ebx, dword [ebx + 0x7a0]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x104]
call esi
push eax
push str._INFO___d___WaeWnd_Download_8
jmp 0x4272a4
call esi
push eax
push str._INFO___d___WaeWnd_Download_3
mov ecx, dword [0x4d4770]
call fcn.00414401
pop ecx
xor eax, eax
pop ecx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0047a0fb
mov esp, ebp
pop ebp
ret