Function at 0x4088a0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x546eee
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x59bad0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0041d42b
mov ebx, edi
call fcn.00412320
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x5a3afc]
push str.WA0001
call fcn.004042c0
test eax, eax
je 0x408907
add eax, 4
push eax
lea ecx, [edi + 0x350]
call fcn.004047a0
mov eax, dword [edi + 0x350]
push eax
mov ecx, edi
call fcn.0041dfda
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5737d8
call fcn.00407920
mov dword [esp + 0x58], 0
lea edx, [edi + 0x94]
or ebx, 0xffffffff
push edx
mov dword [esp + 0x5c], ebx
call fcn.0040ebd0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5737e0
call fcn.00407920
mov dword [esp + 0x58], 1
lea eax, [edi + 0x17c]
push eax
mov dword [esp + 0x5c], ebx
call fcn.0040ebd0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5737e8
call fcn.00407920
mov dword [esp + 0x58], 2
lea ecx, [edi + 0x1f0]
push ecx
mov dword [esp + 0x5c], ebx
call fcn.0040ebd0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5737f0
call fcn.00407920
mov dword [esp + 0x58], 3
lea edx, [edi + 0x264]
push edx
mov dword [esp + 0x5c], ebx
call fcn.0040ebd0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.WA9902
call fcn.00407920
mov dword [esp + 0x58], 4
lea eax, [edi + 0x108]
push eax
mov dword [esp + 0x5c], ebx
call fcn.0040ebd0
lea esi, [edi + 0x2d8]
push 0
mov ecx, esi
call fcn.0041e0e7
push 0
mov ecx, esi
call fcn.0041e0a5
mov ecx, dword [0x5a3b08]
cmp byte [ecx + 0x20], 0
je 0x408a4a
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.WA9903
call fcn.00407920
mov dword [esp + 0x58], 5
push esi
mov dword [esp + 0x5c], ebx
call fcn.0040ebd0
push 1
mov ecx, esi
call fcn.0041e0e7
push 1
mov ecx, esi
call fcn.0041e0a5
mov esi, dword [edi + 0x35c]
test esi, esi
jne 0x408b5b
push 0x572c7a
lea ecx, [esp + 0x14]
call fcn.00407920
mov dword [esp + 0x50], 6
lea ecx, [esp + 0x14]
call fcn.00413830
mov byte [esp + 0x50], 7
push eax
lea ecx, [esp + 0x14]
call fcn.004047a0
mov byte [esp + 0x50], 6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408aaa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x408b18
push 0xa0
call fcn.0041c286
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x50], 9
test esi, esi
je 0x408af9
push 0
push ecx
mov ecx, esp
lea edx, [esp + 0x18]
mov dword [esp + 0x24], esp
push edx
mov dword [esp + 0x2c], ecx
call fcn.004051b0
mov byte [esp + 0x58], 0xb
push esi
mov byte [esp + 0x5c], 9
call fcn.00403d20
jmp 0x408afb
xor eax, eax
mov byte [esp + 0x50], 6
mov dword [edi + 0x35c], eax
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 0x160]
push 0x7a
call eax
jmp 0x408b38
mov eax, dword [0x5a3b14]
test eax, eax
je 0x408b38
push str.WAW:
push str._s_HelpFileName_is_Empty_n
push 0x80000
call fcn.00402f40
add esp, 0xc
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x408b6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x408b6d
call fcn.00404100
mov ecx, dword [edi + 0x35c]
push 5
call fcn.0041e0a5
mov ecx, dword [0x5a3b08]
cmp byte [ecx + 0x20], 0
jne 0x408cba
mov edx, dword [edi + 0x20]
push 0
push 0x64
push 2
push edx
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [esp + 0x24]
push eax
call fcn.00407d10
mov ebx, 0xd
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x34]
push ecx
call fcn.00413f60
mov esi, eax
mov byte [esp + 0x50], 0xe
push esi
lea ecx, [esp + 0x28]
call fcn.004047a0
lea edx, [esi + 4]
push edx
lea ecx, [esp + 0x2c]
call fcn.004047a0
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x30]
call fcn.004047a0
add esi, 0xc
push esi
lea ecx, [esp + 0x34]
call fcn.004047a0
mov byte [esp + 0x50], bl
lea ecx, [esp + 0x34]
push ecx
call fcn.00407e20
mov eax, dword [0x5a3af8]
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
push eax
lea edx, [esp + 0x28]
call fcn.0040cae0
cmp al, 1
mov eax, dword [0x5a3b14]
jne 0x408c8d
test eax, eax
je 0x408c29
push str.WIF_:
push str._s_PrepareConnect_Success_n
push 0x40000
call fcn.00402f40
add esp, 0xc
mov edx, dword [0x5a3b20]
push 0
push 4
push 0
push 0
push edx
push 0x40d2b0
call fcn.0042a11d
mov dword [edi + 0x34c], eax
test eax, eax
je 0x408c63
mov dword [eax + 0x28], 0
mov edi, dword [edi + 0x34c]
mov eax, dword [edi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x24]
push ecx
call fcn.00407e20
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x408ca8
push str.WIF_:
push str._s_PrepareConnect_Failed_n
push 0x40000
call fcn.00402f40
add esp, 0xc
mov dword [esp + 0x50], 0xffffffff
lea edx, [esp + 0x24]
push edx
call fcn.00407e20
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret