Function at 0x413fd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
sub esp, 0x18
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + 0x84]
cmp eax, 1
je 0x414080
cmp eax, 2
je 0x414020
mov dword [esp + 8], 0x153
mov dword [esp + 4], str.Reports.c
mov dword [esp], str.SetSumReport
call sym._warn
mov dword [esp + 0x20], ebx
add esp, 0x18
pop ebx
jmp sym._thread_stop
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x88]
test ah, 8
je 0x4140f0
mov dword [edx + 0x910], sym._reporter_transfer_protocol_sum_client_udp
cmp ecx, 1
je 0x414130
mov ecx, dword [ebx + 0x7c]
test ecx, 0x800000
je 0x4141f0
mov ebx, sym._udp_output_sumcnt
test eax, 0x2000000
je 0x41406e
and ecx, 0x80000
mov eax, sym._udp_output_sumcnt_write_enhanced
cmove ebx, eax
mov dword [edx + 0x88], ebx
jmp 0x4140b7
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x88]
test ah, 8
jne 0x4140c0
mov dword [edx + 0x910], sym._reporter_transfer_protocol_sum_server_tcp
cmp ecx, 1
je 0x414170
mov ecx, dword [ebx + 0x7c]
test ch, 0x20
je 0x4141c0
mov dword [edx + 0x88], sym._tcp_output_sumcnt_read_triptime
add esp, 0x18
pop ebx
ret
mov dword [edx + 0x910], sym._reporter_transfer_protocol_sum_server_udp
cmp ecx, 1
je 0x414130
mov ecx, dword [ebx + 0x7c]
test ch, 0x20
je 0x414210
mov dword [edx + 0x88], sym._udp_output_sumcnt_read_triptime
jmp 0x4140b7
mov dword [edx + 0x910], sym._reporter_transfer_protocol_sum_client_tcp
cmp ecx, 1
je 0x414150
mov ecx, dword [ebx + 0x7c]
test ecx, 0x800000
je 0x4141a0
test eax, 0x2000000
mov ecx, sym._tcp_output_sumcnt_write_enhanced
mov eax, sym._tcp_output_sumcnt_write
cmovne eax, ecx
mov dword [edx + 0x88], eax
jmp 0x4140b7
test eax, 0x2000000
je 0x414190
mov dword [edx + 0x88], sym._udp_output_enhanced_csv
jmp 0x4140b7
test eax, 0x2000000
je 0x41417b
mov dword [edx + 0x88], sym._tcp_output_write_enhanced_csv
jmp 0x4140b7
test eax, 0x2000000
jne 0x414240
mov dword [edx + 0x88], sym._tcp_output_basic_csv
jmp 0x4140b7
mov dword [edx + 0x88], sym._udp_output_basic_csv
jmp 0x4140b7
and ecx, 0x80000
je 0x4142a0
mov dword [edx + 0x88], sym._tcp_output_fullduplex_sum
jmp 0x4140b7
test ecx, 0x800000
jne 0x414280
and ecx, 0x80000
je 0x4142c0
mov dword [edx + 0x88], sym._tcp_output_sum_read
jmp 0x4140b7
and ecx, 0x80000
je 0x414250
mov dword [edx + 0x88], sym._udp_output_fullduplex_sum
jmp 0x4140b7
test ecx, 0x800000
jne 0x414270
and ecx, 0x80000
jne 0x4141f8
test eax, 0x2000000
mov ecx, sym._udp_output_sumcnt_read_enhanced
mov eax, sym._udp_output_sum_read
cmovne eax, ecx
mov dword [edx + 0x88], eax
jmp 0x4140b7
mov dword [edx + 0x88], sym._tcp_output_read_enhanced_csv
jmp 0x4140b7
test eax, 0x2000000
mov ecx, sym._udp_output_sumcnt_write_enhanced
mov eax, sym._udp_output_sum_write
cmovne eax, ecx
mov dword [edx + 0x88], eax
jmp 0x4140b7
mov dword [edx + 0x88], sym._udp_output_sumcnt_enhanced
jmp 0x4140b7
test eax, 0x2000000
mov ecx, sym._tcp_output_sumcnt_read_enhanced
mov eax, sym._tcp_output_sumcnt_read
cmovne eax, ecx
mov dword [edx + 0x88], eax
jmp 0x4140b7
test eax, 0x2000000
mov ecx, sym._tcp_output_sumcnt_write_enhanced
mov eax, sym._tcp_output_sum_write
cmovne eax, ecx
mov dword [edx + 0x88], eax
jmp 0x4140b7
test eax, 0x2000000
mov ecx, sym._tcp_output_sumcnt_read_enhanced
mov eax, sym._tcp_output_sum_read
cmovne eax, ecx
mov dword [edx + 0x88], eax
jmp 0x4140b7