Function at 0x10003e77
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8d0
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x13]
mov byte [ebp - 0x14], bl
push 0x40
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x117]
mov byte [ebp - 0x118], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x21b]
mov byte [ebp - 0x21c], bl
mov byte [ebp - 0x4d0], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x4cf]
push 0x2a
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
mov esi, str.GET__s_HTTP_1.1_r_nAccept:_text_plain____r_nAccept_Language:_zh_cn_r_nReferer:__s_r_nHost:__s_r_nUser_Agent:_Mozilla_4.0__compatible__OpenOffice.org__r_nConnection:_Keep_Alive_r_n_r_n
lea edi, [ebp - 0x2c8]
lea eax, [ebp - 4]
rep movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x4d0]
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
movsw word es:[edi], word [esi]
call fcn.10003cb1
add esp, 0x10
cmp dword [ebp - 4], 0x50
je 0x10003f47
lea eax, [ebp - 0x118]
push 0x1000aa04
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
mov al, byte [esi]
mov byte [esi], bl
mov byte [ebp + 0xb], al
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.MSVCRT.dll_strcpy
mov al, byte [ebp + 0xb]
add esp, 0x10
mov byte [esi], al
jmp 0x10003f5c
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.10003d67
push dword [ebp - 4]
lea eax, [ebp - 0x14]
push eax
call fcn.10003db2
add esp, 0x10
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x10003fe8
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x8cf]
mov byte [ebp - 0x8d0], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x4d0]
push str.yuma
push eax
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x8d0]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x8d0]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x18
push ebx
push eax
lea eax, [ebp - 0x8d0]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x10003fec
xor eax, eax
jmp 0x10004043
mov esi, 0x2800
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
push esi
push ebx
push edi
call sub.MSVCRT.dll_memset
add esp, 0x10
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x10004030
push str._r_n_r_n
push edi
call dword [sym.imp.MSVCRT.dll_strstr]
add eax, 4
push eax
push dword [ebp + 0xc]
call sub.MSVCRT.dll_strcpy
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_closesocket]
push edi
call fcn.100068c0
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret