Function at 0x4015a0
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
sub esp, 0xf50
mov eax, dword [str.200_OK]
mov cx, word [0x42c21c]
mov dl, byte [0x42c21e]
push ebx
mov dword [esp + 0x1c], eax
mov eax, dword [str.text_html]
mov word [esp + 0x20], cx
mov ecx, dword [0x42c210]
push ebp
push esi
mov byte [esp + 0x2a], dl
mov dx, word [0x42c214]
push edi
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], ecx
mov ecx, 0x2f
xor eax, eax
lea edi, [esp + 0x156]
mov word [esp + 0x154], dx
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x760]
push 0x104
rep stosd dword es:[edi], eax
mov ecx, 0x20
lea edi, [esp + 0x218]
rep stosd dword es:[edi], eax
mov ecx, 0x32
lea edi, [esp + 0x298]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], 1
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call fcn.0041f87c
mov ebx, eax
add esp, 4
cmp ebx, esi
je 0x401d00
mov ecx, 0x41
xor eax, eax
mov edi, ebx
mov ebp, dword [esp + 0xf64]
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esp + 0x560]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x45c]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x35c]
rep stosd dword es:[edi], eax
mov esi, 0x42fdf0
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4016d2
test cl, cl
je 0x4016ce
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4016d2
add eax, 2
add esi, 2
test cl, cl
jne 0x4016ae
xor eax, eax
jmp 0x4016d7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401700
mov ecx, dword [str.keyinfo.html]
mov eax, ebp
mov dword [eax], ecx
mov edx, dword [0x42c200]
mov dword [eax + 4], edx
mov ecx, dword [0x42c204]
mov dword [eax + 8], ecx
mov dl, byte [0x42c208]
mov byte [eax + 0xc], dl
lea eax, [esp + 0x38]
push eax
call fcn.0041f7a0
lea ecx, [esp + 0x3c]
push ecx
call fcn.0041f696
mov edx, eax
add esp, 8
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x214]
test edx, edx
rep stosd dword es:[edi], eax
je 0x401748
push edx
push str._a___d__b__Y__H:_M:_S_GMT
lea edx, [esp + 0x21c]
push 0x80
push edx
call fcn.0041ede4
add esp, 0x10
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
push str._255_____d__d
push ebp
call fcn.0041edb0
lea edx, [esp + 0x574]
push 0x200
push edx
mov byte [ebx + 0x104], 0
call fcn.0041b870
push str.AppletResources
push ebx
call fcn.0041ed30
add esp, 0x24
test eax, eax
je 0x4017af
push str.resources_
lea eax, [esp + 0x564]
push str.root_
push eax
lea ecx, [esp + 0x54]
push str._s_s_s
push ecx
call fcn.0041ecde
add esp, 0x14
jmp 0x4017ce
lea edx, [esp + 0x560]
push str.root_
push edx
lea eax, [esp + 0x50]
push 0x42c19c
push eax
call fcn.0041ecde
add esp, 0x10
lea ecx, [esp + 0x3c]
push ecx
call fcn.0041bab0
add esp, 4
test eax, eax
jne 0x401d00
lea edx, [esp + 0x10]
lea eax, [esp + 0x3c]
push edx
push eax
push str.myServerProcLck
call fcn.0041b0f0
add esp, 0xc
test eax, eax
je 0x40181d
push str.Failed_to_create_key_list_mutex_for_http_thread__n
push 0
call fcn.0041c060
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf50
ret
push str.keyinfo.xml
push ebx
call fcn.00424ee0
add esp, 8
test eax, eax
jne 0x40186a
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x48]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x48]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0040ff60
add esp, 4
jmp 0x401900
push str.licenseinfo.html
push ebx
call fcn.00424ee0
add esp, 8
test eax, eax
jne 0x4018d5
push str.licenseinfo.xml
lea ecx, [esp + 0x564]
push str.root_
push ecx
lea edx, [esp + 0x468]
push str._s_s_s
push edx
call fcn.0041ecde
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
lea edx, [esp + 0x474]
push ecx
push edx
call fcn.00410340
mov eax, dword [0x430438]
add esp, 0x20
test eax, eax
lea edx, [esp + 0x48]
je 0x4018ce
mov edi, str.Cancelinfo.html
jmp 0x4018db
mov edi, str.licenseinfo.html
jmp 0x4018db
lea edx, [esp + 0x48]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x48]
push 0x42c124
push eax
call fcn.0041eccb
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x401a4b
lea ecx, [esp + 0x48]
push str.keyinfo.html
push ecx
call fcn.0041ed30
add esp, 8
test eax, eax
jne 0x401964
lea edx, [esp + 0x48]
push str.licenseinfo.html
push edx
call fcn.0041ed30
add esp, 8
test eax, eax
jne 0x401964
lea eax, [esp + 0x48]
push str.Cancelinfo.html
push eax
call fcn.0041ed30
add esp, 8
test eax, eax
je 0x401a2e
lea ecx, [esp + 0x35c]
push ecx
call fcn.004020d0
lea edx, [esp + 0x150]
push 1
push edx
push 0x3ff19999
push 0x9999999a
lea eax, [esp + 0x228]
push str.SentinelProtectionServer_7.3
lea ecx, [esp + 0x40]
push eax
push ecx
lea edx, [esp + 0x780]
push str.HTTP_1.0__s_r_nDate:__s_r_nServer:__s_r_nMIME_Version:__1.1f_r_nContent_Type:__s_r_nKeep_Alive:_d_r_n
push edx
call fcn.0041ecde
push 0
lea eax, [esp + 0x2c0]
push str.Content_Length:__d_r_n_r_n
push eax
call fcn.0041ecde
lea edi, [esp + 0x2c8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x34
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x760]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x764]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov esi, dword [esp + 0xf6c]
lea eax, [esp + 0x764]
not ecx
dec ecx
push ecx
push eax
push esi
call sub.WSOCK32.dll_send
push 0
lea ecx, [esp + 0x360]
push 0x100
push ecx
push esi
call sub.WSOCK32.dll_send
mov edx, dword [esp + 0x10]
push edx
call fcn.0041b150
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf50
ret
mov esi, str.keyinfo.html
mov eax, ebx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401a76
test cl, cl
je 0x401a72
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401a76
add eax, 2
add esi, 2
test cl, cl
jne 0x401a52
xor eax, eax
jmp 0x401a7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401af5
mov esi, str.licenseinfo.html
mov eax, ebx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401aaa
test cl, cl
je 0x401aa6
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401aaa
add eax, 2
add esi, 2
test cl, cl
jne 0x401a86
xor eax, eax
jmp 0x401aaf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401af5
lea edi, [esp + 0x14c]
or ecx, 0xffffffff
xor eax, eax
mov esi, str.application_octet_stream
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x14c]
mov edx, ecx
mov dword [esp + 0x30], 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, 6
lea edi, [esp + 0x14c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, str.keyinfo.html
mov eax, ebx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401b20
test cl, cl
je 0x401b1c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401b20
add eax, 2
add esi, 2
test cl, cl
jne 0x401afc
xor eax, eax
jmp 0x401b25
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401b5d
mov esi, str.licenseinfo.html
mov eax, ebx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401b54
test cl, cl
je 0x401b50
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401b54
add eax, 2
add esi, 2
test cl, cl
jne 0x401b30
xor eax, eax
jmp 0x401b59
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401b64
mov edx, 1
jmp 0x401b68
mov edx, dword [esp + 0x30]
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x760]
push edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x150]
lea ecx, [esp + 0x218]
push eax
push 0x3ff19999
push 0x9999999a
push str.SentinelProtectionServer_7.3
lea edx, [esp + 0x3c]
push ecx
push edx
lea eax, [esp + 0x77c]
push str.HTTP_1.0__s_r_nDate:__s_r_nServer:__s_r_nMIME_Version:__1.1f_r_nContent_Type:__s_r_nKeep_Alive:_d_r_n
push eax
call fcn.0041ecde
mov esi, dword [esp + 0x40]
push 2
push 0
push esi
call fcn.0041ebe1
lea ecx, [esp + 0x50]
push ecx
push esi
call fcn.0041ebbf
push 0
push 0
push esi
call fcn.0041ebe1
mov edx, dword [esp + 0x64]
add esp, 0x44
lea eax, [edx + edx + 1]
push eax
call fcn.0041f87c
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x401bfc
push ebx
call fcn.0041e880
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x401cf8
mov edx, dword [esp + 0x20]
xor eax, eax
mov edi, ebp
push esi
lea ecx, [edx + edx + 1]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x24]
push eax
push 1
push ebp
call fcn.0041eaa8
mov ecx, dword [esp + 0x2c]
mov ebx, eax
push ecx
mov dword [esp + 0x48], 0
call fcn.0041ea2b
push ebx
lea edx, [esp + 0x2ac]
push str.Content_Length:__d_r_n_r_n
push edx
call fcn.0041ecde
lea edi, [esp + 0x2b4]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x20
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x760]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x764]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov esi, dword [esp + 0xf6c]
lea eax, [esp + 0x764]
not ecx
dec ecx
push ecx
push eax
push esi
call sub.WSOCK32.dll_send
lea ecx, [ebx + ebx]
push 0
push ecx
push ebp
push esi
call sub.WSOCK32.dll_send
lea edx, [esp + 0x48]
push str.keyinfo.xml
push edx
call fcn.0041ed30
add esp, 8
test eax, eax
jne 0x401ce0
lea eax, [esp + 0x48]
push str.licenseinfo.xml
push eax
call fcn.0041ed30
add esp, 8
test eax, eax
je 0x401ced
lea ecx, [esp + 0x48]
push ecx
call fcn.0041ea01
add esp, 4
push ebp
call fcn.0041e880
mov edx, dword [esp + 0x14]
push edx
call fcn.0041b150
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xf50
ret