Function at 0x413e50
Capabilities:
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x42833b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
push 0x64
mov dword [ebp + 0x10], 0xc8
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
mov dword [esp + 0x20], ebx
je 0x413eb2
push ebp
mov ecx, esi
call fcn.004119f0
mov dword [esi], 0x42aed4
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 1
jmp 0x413eb4
xor esi, esi
mov eax, dword [esp + 0x30]
lea edi, [esi + 8]
push eax
mov ecx, edi
mov dword [esp + 0x24], 0xffffffff
mov dword [esi + 4], 1
call fcn.00426980
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x20], edx
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x28]
lea edx, [ebp + 4]
mov dword [esi + 0x10], ebx
push edx
mov dword [esi + 0x24], 0x5e6
mov dword [esi + 0x28], 0x400
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, edi
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], 1
mov dword [esi + 0x44], ebx
mov dword [esi + 0x50], ebx
call sub.MFC42.DLL_CString::TrimLeft
push 0x43382c
mov ecx, edi
call sub.MFC42.DLL_CString::Find
cmp eax, ebx
mov dword [esp + 0x30], eax
jge 0x413f54
cmp esi, ebx
je 0x413f43
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], 1
xor eax, eax
jmp 0x4141b0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x34]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
push str.http
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x413fc7
mov ecx, dword [esp + 0x10]
push str.https
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x413fc7
cmp esi, ebx
je 0x413fe6
jmp 0x413fde
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
mov ecx, dword [ecx - 8]
mov eax, dword [eax - 8]
add ecx, 4
cmp eax, ecx
jg 0x414008
cmp esi, ebx
je 0x413fe6
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
lea ecx, [esp + 0x10]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], 1
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4141b0
push ebx
push 4
push ebx
push ebx
push esi
push 0x4141d0
call sub.MFC42.DLL_AfxBeginThread
cmp eax, ebx
mov dword [esi + 0x5c], eax
jne 0x414053
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, ebx
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], 0xc
je 0x41403b
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4141b0
mov dword [eax + 0x28], 1
mov ecx, dword [esi + 0x5c]
mov eax, dword [esi + 0x34]
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x30], eax
mov dword [esi + 0x40], edx
mov edi, dword [ebp + 0x20]
shr eax, 4
xor edx, edx
mov ecx, dword [ebp + 0x1c]
div edi
test ecx, ecx
mov dword [esp + 0x38], edi
mov ebx, edx
je 0x4140a5
mov eax, dword [ecx + ebx*4]
test eax, eax
je 0x4140a1
mov edx, dword [eax + 8]
cmp edx, dword [esp + 0x30]
je 0x414099
mov eax, dword [eax]
test eax, eax
jne 0x414088
jmp 0x4140a1
test eax, eax
jne 0x414136
test ecx, ecx
jne 0x4140d1
shl edi, 2
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebp + 0x1c], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x28]
test eax, eax
jne 0x414107
mov ecx, dword [ebp + 0x30]
push 0x10
lea edx, [ebp + 0x2c]
push ecx
push edx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [ebp + 0x30]
mov edx, ecx
shl edx, 4
dec ecx
test ecx, ecx
lea eax, [edx + eax - 0xc]
jl 0x414107
inc ecx
mov edx, dword [ebp + 0x28]
mov dword [eax], edx
mov dword [ebp + 0x28], eax
sub eax, 0x10
dec ecx
jne 0x4140f9
mov eax, dword [ebp + 0x28]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax]
mov dword [ebp + 0x28], ecx
mov ecx, dword [ebp + 0x24]
inc ecx
mov dword [ebp + 0x24], ecx
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + ebx*4]
mov dword [eax], edx
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + ebx*4], eax
mov dword [eax + 0xc], esi
mov eax, dword [esi + 0x5c]
mov edx, dword [eax + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x41419e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], 0xc
mov ecx, dword [esi + 0x5c]
xor edi, edi
cmp ecx, edi
je 0x41416d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [esi + 0x60]
mov dword [esi + 0x5c], edi
cmp eax, edi
mov dword [esi + 0x40], edi
je 0x414181
mov ecx, ebp
call fcn.004137d0
cmp esi, edi
je 0x41418d
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4141b0
mov esi, dword [esi + 0x34]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x14