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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r12, rcx
mov rbp, rdx
mov rbx, r8
mov dword [rsp + 0x20], 0x329
lea r9, str.src.it_dinoex_http.c
lea r8, str.h_write_status
mov edx, 0
mov ecx, 0x200
call dbg.mymalloc2
mov r13, rax
mov rcx, qword [0x1004632d0]
add rcx, 0xa9d0
call sym.gmtime
mov rsi, rax
mov dword [rsp + 0x20], 0x32b
lea r9, str.src.it_dinoex_http.c
lea r8, str.h_write_status
mov edx, 0
mov ecx, 0x3c
call dbg.mymalloc2
mov r14, rax
mov r9, rsi
lea r8, str._a___d__b__Y__T_GMT
mov edx, 0x3b
mov rcx, rax
call sym.strftime
mov esi, 0
cmp dword [r12 + 0x124], 0xc8
jne 0x1004233b6
mov rcx, qword [r12 + 0x108]
test rcx, rcx
je 0x100423334
mov edx, 0x3d
call sym.strchr
test rax, rax
je 0x100423334
mov byte [rax], 0
mov rsi, qword [r12 + 0x108]
mov ecx, 6
lea rdi, [0x1004555ca]
repe cmpsb byte [rsi], byte [rdi]
seta cl
setb dl
cmp cl, dl
jne 0x100423334
lea rsi, [rax + 1]
mov edx, 0x2d
mov rcx, rsi
call sym.strchr
mov rdi, rax
test rax, rax
je 0x100423334
mov byte [rax], 0
mov rcx, rsi
call dbg.atoull
mov qword [r12 + 0x90], rax
lea rcx, [rdi + 1]
call dbg.atoull
mov qword [r12 + 0x98], rax
test rax, rax
je 0x10042331f
add rax, 1
mov qword [r12 + 0x98], rax
mov rdx, qword [r12 + 0x88]
cmp rax, rdx
jl 0x100423599
mov qword [r12 + 0x98], rdx
jmp 0x100423599
mov rax, qword [r12 + 0x88]
mov qword [r12 + 0x98], rax
jmp 0x100423599
mov esi, 0
test rbx, rbx
je 0x1004233b6
mov dword [rsp + 0x20], 0x332
lea r9, str.src.it_dinoex_http.c
lea r8, str.h_write_status
mov edx, 0
mov ecx, 0x3c
call dbg.mymalloc2
mov rsi, rax
mov rcx, rbx
call sym.gmtime
mov r9, rax
lea r8, str._a___d__b__Y__T_GMT
mov edx, 0x3b
mov rcx, rsi
call sym.strftime
mov rdx, qword [r12 + 0x100]
test rdx, rdx
je 0x1004233b6
mov rcx, rsi
call sym.strcmp
test eax, eax
jne 0x1004233b6
mov dword [r12 + 0x124], 0x130
mov dword [r12 + 0x130], 1
mov rdi, qword [r12 + 0x98]
sub rdi, qword [r12 + 0x90]
mov edx, 0x2e
mov rcx, rbp
call sym.strrchr
lea rdx, [rax + 1]
test rax, rax
cmovne rbp, rdx
mov rcx, qword [0x1004632d0]
add rcx, 0x7568
call dbg.irlist_get_head
mov rbx, rax
test rax, rax
je 0x10042341e
mov rdx, rbp
mov rcx, qword [rbx]
call sym.strcasecmp
test eax, eax
jne 0x10042340e
mov rdx, qword [rbx + 8]
jmp 0x100423462
mov rcx, rbx
call dbg.irlist_get_next
mov rbx, rax
test rax, rax
jne 0x1004233f9
lea rbx, str.html
mov r15d, 0
lea rcx, [0x1004555c6]
mov rdx, rbp
call sym.strcasecmp
test eax, eax
je 0x10042344f
add r15d, 1
add rbx, 0x10
mov rcx, qword [rbx - 0x10]
test rcx, rcx
jne 0x100423432
mov r15d, r15d
shl r15, 4
lea rax, [0x1004568c0]
mov rdx, qword [rax + r15 + 8]
test rsi, rsi
mov rax, r14
cmovne rax, rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, dword [r12 + 0x124]
lea r8, str.HTTP_1.1__u_OK_r_nDate:__s_r_nLast_Modified:__s_r_nServer:_iroffer_dinoex_3.30__Win32__2.4.1_r_nContent_Type:__s_r_nConnection:_close_r_nContent_Length:__lu_r_n
mov edx, 0x200
mov rcx, r13
call dbg.add_snprintf
mov rbx, rax
mov r9, qword [r12 + 0xa8]
test r9, r9
je 0x100423536
mov edi, 0x200
mov rdx, rdi
sub rdx, rax
lea rcx, [r13 + rax]
lea r8, str.Content_Disposition:_attachment__filename__s__r_n
call dbg.add_snprintf
add rbx, rax
sub rdi, rbx
mov rdx, rdi
lea rcx, [r13 + rbx]
lea r8, str.Accept_Ranges:_bytes_r_n
call dbg.add_snprintf
add rbx, rax
cmp qword [r12 + 0x108], 0
je 0x100423536
mov edx, 0x200
sub rdx, rbx
lea rcx, [r13 + rbx]
mov rax, qword [r12 + 0x88]
mov qword [rsp + 0x28], rax
mov rax, qword [r12 + 0x98]
sub rax, 1
mov qword [rsp + 0x20], rax
mov r9, qword [r12 + 0x90]
lea r8, str.Content_Range:_bytes__lu__lu__lu_r_n
call dbg.add_snprintf
add rbx, rax
mov edx, 0x200
sub rdx, rbx
lea rcx, [r13 + rbx]
lea r8, [0x1004556d3]
call dbg.add_snprintf
add rbx, rax
mov rcx, rsi
call dbg.mydelete2
mov rcx, r14
call dbg.mydelete2
mov ecx, dword [r12 + 8]
mov r9d, 0x20
mov r8, rbx
mov rdx, r13
call sym.send
mov rcx, r13
call dbg.mydelete2
cmp dword [r12 + 0x130], 0
je 0x1004235aa
mov qword [r12 + 0x98], 0
jmp 0x1004235aa
mov dword [r12 + 0x124], 0xce
jmp 0x100423334
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret