Function at 0x402960
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x8c
mov eax, dword [ecx + 0x44]
test eax, eax
je 0x402981
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
sub esp, 4
mov dword [ebx + 0x44], 0
mov ecx, ebx
mov dword [ebx + 0x48], 0
mov byte [ebx + 0x4c], 0
call method.HttpManager.sendRequest__
mov ecx, ebx
call method.HttpManager.recvHttpDownloadHead__
lea eax, [ebp - 0x5c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 8
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x74], eax
call eax
sub esp, 0x10
test eax, eax
js 0x43055b
xor esi, esi
cmp eax, 8
je 0x402a00
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
xor eax, 0x4034b50
xor edx, 0x3d2c1b0a
or eax, edx
jne 0x4029da
mov esi, dword [ebx + 0x24]
lea eax, [ebp - 0x30]
mov dword [esp + 0xc], 0
xor edi, edi
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], esi
mov eax, dword [ebp - 0x74]
call eax
sub esp, 0x10
test eax, eax
js method.HttpManager.download____clone_.cold_
lea eax, [ebx + 0x44]
mov dword [ebp - 0x7c], eax
movzx eax, byte [ebp - 0x30]
mov byte [ebp - 0x6c], al
lea esi, [esi]
lea eax, [ebp - 0x30]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], esi
mov eax, dword [ebp - 0x74]
call eax
sub esp, 0x10
test eax, eax
js 0x4305c8
movzx eax, byte [ebp - 0x6c]
xor al, byte [ebp - 0x30]
lea edx, [edi + 1]
xor eax, edi
cmp al, 0x5a
jne 0x402c38
movzx eax, byte [ebp - 0x6c]
mov dword [ebp - 0x54], esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], edx
mov byte [ebp - 0x4c], al
lea eax, [ebp - 0x54]
mov dword [esp], eax
call method.SelfDefinedFileReader.readName_abi:cxx11___
sub esp, 4
cmp byte [ebx + 0x4c], 0
mov esi, dword [ebp - 0x44]
jne 0x402bc0
mov eax, dword [ebp - 0x48]
cmp esi, 9
je 0x402bd0
lea edi, [ebp - 0x28]
mov dword [ebp - 0x70], edi
cmp esi, 4
ja 0x402be5
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x30]
lea edx, [eax + esi]
mov dword [ebp - 0x6c], eax
mov dword [esp], edx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.reserve_unsigned_int_
mov eax, dword [ebp - 0x6c]
mov edx, 0x3fffffff
sub edx, dword [ebp - 0x2c]
sub esp, 4
cmp edx, eax
jb 0x43058f
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x30]
mov dword [esp + 4], edx
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_append_char_const__unsigned_int_
mov eax, 0x3fffffff
sub eax, dword [ebp - 0x2c]
sub esp, 8
cmp eax, esi
jb 0x430583
mov dword [esp + 4], esi
lea ecx, [ebp - 0x30]
mov dword [esp], edi
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_append_char_const__unsigned_int_
sub esp, 8
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x54]
mov dword [esp], eax
call method.SelfDefinedFileReader.readToFile_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
movzx eax, byte [ebp - 0x4c]
sub esp, 4
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x50]
mov byte [ebp - 0x6c], al
mov eax, dword [ebp - 0x70]
cmp edx, eax
je 0x402b94
mov eax, dword [ebp - 0x28]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call sym.operator_delete_void__unsigned_int_
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x40]
cmp edx, eax
je 0x402a58
mov eax, dword [ebp - 0x40]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call sym.operator_delete_void__unsigned_int_
jmp 0x402a58
lea eax, [ebp - 0x28]
mov dword [ebp - 0x70], eax
jmp 0x402adc
mov edx, dword [eax]
mov ecx, dword [eax + 4]
xor edx, 0x73726966
xor ecx, 0x6c642e74
or edx, ecx
je 0x402c48
lea edi, [ebp - 0x28]
lea edx, [eax + esi]
lea eax, [eax + esi - 4]
mov dword [ebp - 0x70], edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], edi
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004014f0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
sub esp, 8
mov edi, dword [ebp - 0x70]
test edx, edx
je 0x402c78
cmp eax, edi
je 0x402c2a
mov edi, dword [ebp - 0x28]
mov dword [esp], eax
lea edx, [edi + 1]
mov dword [esp + 4], edx
call sym.operator_delete_void__unsigned_int_
mov esi, dword [ebp - 0x44]
jmp 0x402adc
mov esi, 1
jmp 0x4029da
cmp byte [eax + 8], 0x6c
jne 0x402be5
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x54]
mov dword [esp], eax
call method.SelfDefinedFileReader.readToMem_MemData_
movzx eax, byte [ebp - 0x4c]
sub esp, 4
mov esi, dword [ebp - 0x54]
mov byte [ebx + 0x4c], 1
mov edi, dword [ebp - 0x50]
mov byte [ebp - 0x6c], al
jmp 0x402b94
cmp eax, edi
je 0x402c4e
mov edi, dword [ebp - 0x28]
mov dword [esp], eax
lea edx, [edi + 1]
mov dword [esp + 4], edx
call sym.operator_delete_void__unsigned_int_
jmp 0x402c4e
call method.SelfDefinedFileReader.recvByte____clone_.part.0_