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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0xffffffffffffffff
push 8
push 0x16012c5c
push 0x52010001
call fcn.00420427
add esp, 0x10
mov dword [ebp - 0x18], eax
push str._getRandId
push dword [ebp - 0x18]
push str.http:__
mov ecx, 3
call fcn.004021d5
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x411bda
push ebx
call fcn.00420415
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 8
call fcn.00420403
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040a3b5
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x411cf1
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x411d01
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x411d11
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x411d21
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x411d31
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x411d41
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x411d51
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x411d61
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x411d71
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x411d81
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x423550
call fcn.0042041b
add esp, 0x10
call fcn.00420415
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x411db7
mov eax, 0x4c8321
push eax
push 1
mov ebx, 0x421720
call fcn.0042041b
add esp, 0x10
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x411ddd
push ebx
call fcn.00420415
add esp, 4
mov eax, dword [ebp - 0x6c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x411df1
push ebx
call fcn.00420415
add esp, 4
pop eax
mov dword [ebp - 4], eax
push str.__embedOrigin_:null__referralString_:null
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str._0_:_json_:_questId_:
mov ecx, 3
call fcn.004021d5
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x411e28
push ebx
call fcn.00420415
add esp, 4
pop eax
mov dword [ebp - 8], eax
push str._r_ncontent_type:_application_json_r_nsec_ch_ua_full_version:__122.0.6261.95__r_nsec_ch_ua_platform_version:__10.0.0__r_nsec_ch_ua_full_version_list:__Chromium__v_122.0.6261.95____Not_A:Brand__v_24.0.0.0____Google_Chrome__v_122.0.6261.95__r_nsec_ch_ua_bitness:__64__r_nsec_ch_ua_model:____r_nsec_ch_ua_platform:__Windows__r_nAccept:___r_nOrigin:_https:__layer3.xyz_r_nSec_Fetch_Site:_same_origin_r_nSec_Fetch_Mode:_cors_r_nSec_Fetch_Dest:_empty
push dword [ebp - 4]
push str.Host:_layer3.xyz_r_nConnection:_keep_alive_r_nContent_Length:_35_r_nsec_ch_ua:__Chromium__v_122____Not_A:Brand__v_24____Google_Chrome__v_122__r_nsec_ch_ua_mobile:__0_r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_122.0.0.0_Safari_537.36_r_nsec_ch_ua_arch:__x86__r_nx_l3_tsit:
mov ecx, 3
call fcn.004021d5
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x411e5d
push ebx
call fcn.00420415
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
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 - 0x20], 0
push 0
push dword [ebp - 0x20]
push 8
call fcn.00420403
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
push dword [ebp + 0x14]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push 1
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 1
push dword [ebp + 0xc]
push 1
lea eax, [ebp - 8]
push eax
push 1
push 1
mov eax, str.https:__layer3.xyz_api_trpc_questCompletion.completeQuest_batch1
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040a3b5
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x411f56
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x411f66
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x411f76
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x411f86
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x411f96
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x411fa6
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x423550
call fcn.0042041b
add esp, 0x10
call fcn.00420415
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x411fdc
mov eax, 0x4c8321
push eax
push 1
mov ebx, 0x421720
call fcn.0042041b
add esp, 0x10
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x412002
push ebx
call fcn.00420415
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x412016
push ebx
call fcn.00420415
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push str.Sorry__something_went_wrong
push VariantClear
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x41204b
mov eax, 0x4c8320
push eax
push 4
mov ebx, 0x420b10
call fcn.0042041b
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x412509
push 1
push 1
push 1
push 0
push 3
call fcn.00401fb6
push 0xffffffffffffffff
push 8
push 0x16012c5c
push 0x52010001
call fcn.00420427
add esp, 0x10
mov dword [ebp - 0x18], eax
push str._getRandId
push dword [ebp - 0x18]
push str.http:__
mov ecx, 3
call fcn.004021d5
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4120c9
push ebx
call fcn.00420415
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 8
call fcn.00420403
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040a3b5
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4121e0
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4121f0
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x412200
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x412210
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x412220
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x412230
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x412240
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x412250
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x412260
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x412270
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x423550
call fcn.0042041b
add esp, 0x10
call fcn.00420415
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x4122a6
mov eax, 0x4c8321
push eax
push 1
mov ebx, 0x421720
call fcn.0042041b
add esp, 0x10
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4122cc
push ebx
call fcn.00420415
add esp, 4
mov eax, dword [ebp - 0x6c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4122e0
push ebx
call fcn.00420415
add esp, 4
pop eax
mov dword [ebp - 4], eax
push str.__embedOrigin_:null__referralString_:null
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str._0_:_json_:_questId_:
mov ecx, 3
call fcn.004021d5
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x412317
push ebx
call fcn.00420415
add esp, 4
pop eax
mov dword [ebp - 8], eax
push str._r_ncontent_type:_application_json_r_nsec_ch_ua_full_version:__122.0.6261.95__r_nsec_ch_ua_platform_version:__10.0.0__r_nsec_ch_ua_full_version_list:__Chromium__v_122.0.6261.95____Not_A:Brand__v_24.0.0.0____Google_Chrome__v_122.0.6261.95__r_nsec_ch_ua_bitness:__64__r_nsec_ch_ua_model:____r_nsec_ch_ua_platform:__Windows__r_nAccept:___r_nOrigin:_https:__layer3.xyz_r_nSec_Fetch_Site:_same_origin_r_nSec_Fetch_Mode:_cors_r_nSec_Fetch_Dest:_empty
push dword [ebp - 4]
push str.Host:_layer3.xyz_r_nConnection:_keep_alive_r_nContent_Length:_35_r_nsec_ch_ua:__Chromium__v_122____Not_A:Brand__v_24____Google_Chrome__v_122__r_nsec_ch_ua_mobile:__0_r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_122.0.0.0_Safari_537.36_r_nsec_ch_ua_arch:__x86__r_nx_l3_tsit:
mov ecx, 3
call fcn.004021d5
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41234c
push ebx
call fcn.00420415
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
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 - 0x20], 0
push 0
push dword [ebp - 0x20]
push 8
call fcn.00420403
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
push dword [ebp + 0x14]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push 1
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 1
push dword [ebp + 0xc]
push 1
lea eax, [ebp - 8]
push eax
push 1
push 1
mov eax, str.https:__layer3.xyz_api_trpc_questCompletion.completeQuest_batch1
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040a3b5
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x412445
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x412455
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x412465
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x412475
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412485
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x412495
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x423550
call fcn.0042041b
add esp, 0x10
call fcn.00420415
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x4124cb
mov eax, 0x4c8321
push eax
push 1
mov ebx, 0x421720
call fcn.0042041b
add esp, 0x10
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4124f1
push ebx
call fcn.00420415
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x412505
push ebx
call fcn.00420415
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x4c8320
push dword [ebp - 0x10]
call fcn.00402231
add esp, 8
cmp eax, 0
je 0x412533
cmp dword [ebp - 0x14], 0x193
je 0x412533
xor eax, eax
jmp 0x412538
mov eax, 1
test eax, eax
je 0x412564
call fcn.0040a2a3
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41255e
push ebx
call fcn.00420415
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
push 0x4c8320
push dword [ebp - 0x10]
call fcn.00402231
add esp, 8
cmp eax, 0
je 0x41258e
cmp dword [ebp - 0x14], 0x193
je 0x41258e
xor eax, eax
jmp 0x412593
mov eax, 1
test eax, eax
jne 0x411e61
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4125ab
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4125bb
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4125cb
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4125db
push ebx
call fcn.00420415
add esp, 4
mov esp, ebp
pop ebp
ret 0x10