Function at 0x40182d
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 8
call fcn.0046f142
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0x8ee552
push ebx
add ebx, 4
push ebx
push 8
call fcn.0046f142
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str.Lx_Aria2c.exe
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004027a1
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4018ce
push ebx
call fcn.0046f13c
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x20]
push 1
mov ebx, 0x2c
mov eax, 0x47ad90
call fcn.00470a70
add esp, 0x10
push dword [ebp + 8]
call fcn.00402c92
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00402e6f
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401913
push ebx
call fcn.0046f13c
add esp, 4
push 0
mov ebx, 0x104
call fcn.00470b10
add esp, 4
mov dword [ebp - 0x18], eax
push 0x54cb5d
push dword [ebp - 0x18]
mov ecx, 2
call fcn.004010f0
add esp, 8
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401950
push ebx
call fcn.0046f13c
add esp, 4
lea eax, [ebp - 0x1c]
push eax
call fcn.00403696
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40196c
push ebx
call fcn.0046f13c
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x401a74
push 0
mov ebx, 0x104
call fcn.00470b10
add esp, 4
mov dword [ebp - 0x18], eax
push 0x54cb5d
push dword [ebp - 0x18]
mov ecx, 2
call fcn.004010f0
add esp, 8
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4019b3
push ebx
call fcn.0046f13c
add esp, 4
push VariantClear
push 0
push 0x54cb6a
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4019d2
mov eax, 0x49e2fe
push eax
push 2
mov ebx, 0x26c
call fcn.00470bb0
add esp, 0x1c
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4019f5
push ebx
call fcn.0046f13c
add esp, 4
push 0
mov ebx, 0x104
call fcn.00470b10
add esp, 4
mov dword [ebp - 0x18], eax
push 0x54cb5d
push dword [ebp - 0x18]
mov ecx, 2
call fcn.004010f0
add esp, 8
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401a32
push ebx
call fcn.0046f13c
add esp, 4
push 0x80000301
push 0
push 2
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x401a51
mov eax, 0x49e2fe
push eax
push 2
mov ebx, 0x260
call fcn.00470c50
add esp, 0x1c
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401a74
push ebx
call fcn.0046f13c
add esp, 4
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x401a89
mov eax, 0x49e2fe
push eax
push 1
mov ebx, 0x24c
call fcn.00470ba0
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x401add
push VariantClear
push 0
push 0x60a972
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x401aca
mov eax, 0x49e2fe
push eax
push 2
mov ebx, 0x26c
call fcn.00470bb0
add esp, 0x1c
push 0x49e2fe
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401790
add esp, 8
cmp eax, 0
jne 0x401baf
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.Lx_Aria2c.exe
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00403af3
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401b37
push ebx
call fcn.0046f13c
add esp, 4
push str.aria2.conf
push dword [ebp - 0x24]
mov ecx, 2
call fcn.004010f0
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401b5f
push ebx
call fcn.0046f13c
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401b75
push ebx
call fcn.0046f13c
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push VariantClear
push 0
push 0x8dd193
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x401b9c
mov eax, 0x49e2fe
push eax
push 2
mov ebx, 0x26c
call fcn.00470bb0
add esp, 0x1c
push 0x49e2fe
mov ebx, dword [ebp + 0x14]
push dword [ebx]
call fcn.00401790
add esp, 8
cmp eax, 0
jne 0x401c4d
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.Lx_Aria2c.exe
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00403af3
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401c09
push ebx
call fcn.0046f13c
add esp, 4
push 0x8eb0cb
push dword [ebp - 0x24]
mov ecx, 2
call fcn.004010f0
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401c31
push ebx
call fcn.0046f13c
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401c47
push ebx
call fcn.0046f13c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
push VariantClear
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x401c62
mov eax, 0x49e2fe
push eax
push 1
mov ebx, 0x24c
call fcn.00470ba0
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x401cb6
push VariantClear
push 0
push 0x8eb0d9
push VariantClear
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x401ca3
mov eax, 0x49e2fe
push eax
push 2
mov ebx, 0x26c
call fcn.00470bb0
add esp, 0x1c
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.Lx_Aria2c.exe
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00403af3
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401cf5
push ebx
call fcn.0046f13c
add esp, 4
push str.dht.dat
push dword [ebp - 0x24]
mov ecx, 2
call fcn.004010f0
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401d1d
push ebx
call fcn.0046f13c
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x401d30
mov eax, 0x49e2fe
push eax
push 1
mov ebx, 0x24c
call fcn.00470ba0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401d56
push ebx
call fcn.0046f13c
add esp, 4
cmp dword [ebp - 0x2c], 0
jne 0x401e09
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.Lx_Aria2c.exe
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00403af3
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401d9f
push ebx
call fcn.0046f13c
add esp, 4
push str.dht.dat
push dword [ebp - 0x24]
mov ecx, 2
call fcn.004010f0
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401dc7
push ebx
call fcn.0046f13c
add esp, 4
push VariantClear
push 0
push 0x8eb0e9
push VariantClear
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x401de6
mov eax, 0x49e2fe
push eax
push 2
mov ebx, 0x26c
call fcn.00470bb0
add esp, 0x1c
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401e09
push ebx
call fcn.0046f13c
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.Lx_Aria2c.exe
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00403af3
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401e48
push ebx
call fcn.0046f13c
add esp, 4
push str.dht.dat
push dword [ebp - 0x24]
mov ecx, 2
call fcn.004010f0
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401e70
push ebx
call fcn.0046f13c
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401e84
push ebx
call fcn.0046f13c
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.0040114c
push VariantClear
push 0
push 0x8edab9
push VariantClear
push 0
push 0x8edabb
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x401ec9
mov eax, 0x49e2fe
push eax
push 6
mov ebx, 0x180
call fcn.00470eb0
add esp, 0x4c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401ef3
push ebx
call fcn.0046f13c
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.Lx_Aria2c.exe
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00403af3
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401f36
push ebx
call fcn.0046f13c
add esp, 4
push str.dht6.dat
push dword [ebp - 0x24]
mov ecx, 2
call fcn.004010f0
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401f5e
push ebx
call fcn.0046f13c
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x401f71
mov eax, 0x49e2fe
push eax
push 1
mov ebx, 0x24c
call fcn.00470ba0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401f97
push ebx
call fcn.0046f13c
add esp, 4
cmp dword [ebp - 0x2c], 0
jne 0x40204a
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.Lx_Aria2c.exe
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00403af3
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401fe0
push ebx
call fcn.0046f13c
add esp, 4
push str.dht6.dat
push dword [ebp - 0x24]
mov ecx, 2
call fcn.004010f0
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402008
push ebx
call fcn.0046f13c
add esp, 4
push VariantClear
push 0
push 0x8edac6
push VariantClear
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x402027
mov eax, 0x49e2fe
push eax
push 2
mov ebx, 0x26c
call fcn.00470bb0
add esp, 0x1c
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40204a
push ebx
call fcn.0046f13c
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, str.Lx_Aria2c.exe
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00403af3
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402089
push ebx
call fcn.0046f13c
add esp, 4
push str.dht6.dat
push dword [ebp - 0x24]
mov ecx, 2
call fcn.004010f0
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4020b1
push ebx
call fcn.0046f13c
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4020c5
push ebx
call fcn.0046f13c
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.0040114c
push VariantClear
push 0
push 0x8edab9
push VariantClear
push 0
push 0x8edabb
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40210a
mov eax, 0x49e2fe
push eax
push 6
mov ebx, 0x180
call fcn.00470eb0
add esp, 0x4c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402134
push ebx
call fcn.0046f13c
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x49e2fe
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401790
add esp, 8
cmp eax, 0
jne 0x402171
mov eax, str.7022
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40216b
push ebx
call fcn.0046f13c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
je 0x40218f
push eax
mov ebx, eax
call fcn.00401085
inc eax
push eax
call fcn.0046f142
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x8f9a0c]
test ebx, ebx
je 0x4021a3
push ebx
call fcn.0046f13c
add esp, 4
pop eax
mov dword [0x8f9a0c], eax
push 0x49e2fe
mov ebx, dword [ebp + 0x24]
push dword [ebx]
call fcn.00401790
add esp, 8
cmp eax, 0
jne 0x4021e2
mov eax, str.7055
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4021dc
push ebx
call fcn.0046f13c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
push 0x49e2fe
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401790
add esp, 8
cmp eax, 0
jne 0x40221b
mov eax, str.7033
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402215
push ebx
call fcn.0046f13c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x49e2fe
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401790
add esp, 8
cmp eax, 0
jne 0x402254
mov eax, 0x8edb15
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40224e
push ebx
call fcn.0046f13c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x34]
mov eax, dword [ebx]
test eax, eax
je 0x402272
push eax
mov ebx, eax
call fcn.00401085
inc eax
push eax
call fcn.0046f142
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x8f9a10]
test ebx, ebx
je 0x402286
push ebx
call fcn.0046f13c
add esp, 4
pop eax
mov dword [0x8f9a10], eax
push 0x49e2fe
mov ebx, dword [ebp + 0x3c]
push dword [ebx]
call fcn.00401790
add esp, 8
cmp eax, 0
jne 0x4022c5
mov eax, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_120.0.0.0_Safari_537.36_Edg_120.0.0.0
push eax
mov ebx, dword [ebp + 0x3c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4022bf
push ebx
call fcn.0046f13c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x3c]
mov dword [ebx], eax
push 0x49e2fe
mov ebx, dword [ebp + 0x44]
push dword [ebx]
call fcn.00401790
add esp, 8
cmp eax, 0
jne 0x4022fe
mov eax, str._TR3000_
push eax
mov ebx, dword [ebp + 0x44]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4022f8
push ebx
call fcn.0046f13c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x44]
mov dword [ebx], eax
cmp dword [ebp + 0x4c], 0
jne 0x402314
mov dword [ebp - 0xc], 1
jmp 0x40231b
mov dword [ebp - 0xc], 2
call fcn.00403d32
mov dword [ebp - 0x18], eax
call fcn.00404102
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00471110
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push str.___stop_with_process
push dword [ebp - 0x18]
push str.___bt_external_ip
push dword [ebp - 8]
push str.___dht_file_path6
push dword [ebp - 4]
push str.___enable_dhttrue___enable_dht6true___dht_file_path
mov ebx, dword [ebp + 0x34]
push dword [ebx]
push str.___enable_rpctrue___rpc_allow_origin_alltrue___disable_ipv6false___rpc_secret
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
push str.___dht_listen_port
mov ebx, dword [ebp + 0x24]
push dword [ebx]
push str.___listen_port
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push str.___rpc_listen_port
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push str.___input_file
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push str.___save_session
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.___conf_path
mov ecx, 0x16
call fcn.004010f0
add esp, 0x58
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4023cb
push ebx
call fcn.0046f13c
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4023db
push ebx
call fcn.0046f13c
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0
push 0
push 0
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4023fe
mov eax, 0x49e2fe
push eax
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402414
mov eax, 0x49e2fe
push eax
push 0x80000301
push 0
push 4
push 5
mov ebx, 0x18
mov eax, 0x4773a0
call fcn.00470a70
add esp, 0x40
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402448
push ebx
call fcn.0046f13c
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.0040413d
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push str._jsonrpc_tm
push dword [0x8f9a0c]
push str.http:__127.0.0.1:
mov ecx, 4
call fcn.004010f0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4024b1
push ebx
call fcn.0046f13c
add esp, 4
mov eax, str._jsonrpc_:_2.0___method_:_aria2.getVersion___params_:__token:123____id_:1
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 0x2c]
push eax
call fcn.0040463e
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4024de
push ebx
call fcn.0046f13c
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4024ee
push ebx
call fcn.0046f13c
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x402501
mov eax, 0x8eb0d9
push eax
push 1
mov ebx, 0x168
call fcn.00471110
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x402527
push ebx
call fcn.0046f13c
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40253b
push ebx
call fcn.0046f13c
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x40]
push 1
mov eax, str.result.version
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + pe_nt_image_headers32]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4025b5
push ebx
call fcn.0046f13c
add esp, 4
push 0x49e2fe
push dword [ebp - 0x1c]
call fcn.00401790
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4025e3
push ebx
call fcn.0046f13c
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x402721
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x80]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40261b
push ebx
call fcn.0046f13c
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.0040413d
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push str._jsonrpc_tm
push dword [0x8f9a0c]
push str.http:__127.0.0.1:
mov ecx, 4
call fcn.004010f0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x402684
push ebx
call fcn.0046f13c
add esp, 4
mov eax, str._r_n_____jsonrpc_:_2.0___r_n_____method_:_aria2.changeGlobalOption___r_n_____id_:1__r_n_____params_:__r_n_________token:123___r_n_________r_n_____________enable_rpc_:_true___r_n_____________rpc_secret_:_123___r_n_____________rpc_secure_:_false___r_n_____________rpc_max_request_size_:_5M___r_n_____________no_conf_:_false___r_n_____________continue_:_true___r_n_____________auto_file_renaming_:_false___r_n_____________max_concurrent_downloads_:_999___r_n_____________check_integrity_:_true___r_n_____________lowest_speed_limit_:_0___r_n_____________split_:_32___r_n_____________min_split_size_:_1M___r_n_____________bt_max_peers_:_0___r_n_____________max_connection_per_server_:_999___r_n_____________max_file_not_found_:_0___r_n_____________uri_selector_:_feedback___r_n_____________stream_piece_selector_:_default___r_n_____________file_allocation_:_prealloc___r_n_____________bt_enable_lpd_:_true___r_n_____________bt_force_encryption_:_false___r_n_____________bt_min_crypto_level_:_plain___r_n_____________bt_require_crypto_:_false___r_n_____________bt_request_peer_speed_limit_:_50K___r_n_____________enable_peer_exchange_:_true___r_n_____________max_download_limit_:_0___r_n_____________max_overall_download_limit_:_0___r_n_____________max_upload_limit_:_0___r_n_____________max_overall_upload_limit_:_0___r_n_____________async_dns_:_true___r_n_____________auto_save_interval_:_0___r_n_____________disable_ipv6_:_false___r_n_____________seed_ratio_:_0___r_n_____________seed_time_:_0___r_n_____________bt_tracker_connect_timeout_:_5___r_n_____________bt_tracker_timeout_:_5___r_n_____________bt_enable_lpd_:_true___r_n_____________enable_peer_exchange_:_true___r_n_____________user_agent_:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_120.0.0.0_Safari_537.36_Edg_120.0.0.0___r_n_____________peer_agent_:_Transmission_3.00___r_n_____________peer_id_prefix_:__TR3000____r_n_____________force_sequential_:__true___r_n_____________follow_torrent_:__mem___r_n_____________bt_lpd_interface_:__true___r_n_____________rpc_save_upload_metadata_:__false___r_n_____________bt_save_metadata_:__false__r_n_________r_n______r_n
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 0x2c]
push eax
call fcn.0040463e
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4026b1
push ebx
call fcn.0046f13c
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4026c1
push ebx
call fcn.0046f13c
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4026d4
mov eax, 0x8eb0d9
push eax
push 1
mov ebx, 0x168
call fcn.00471110
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4026fa
push ebx
call fcn.0046f13c
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40270e
push ebx
call fcn.0046f13c
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, 1
jmp 0x402759
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x80]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40274f
push ebx
call fcn.0046f13c
add esp, 4
mov eax, 0
jmp 0x402759
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40276a
push ebx
call fcn.0046f13c
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40277a
push ebx
call fcn.0046f13c
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40278a
push ebx
call fcn.0046f13c
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0046f13c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x4c