Function at 0x41063a
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 0x4106ac
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 0x4107c3
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4107d3
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4107e3
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4107f3
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x410803
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x410813
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x410823
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x410833
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x410843
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x410853
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 0x410889
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 0x4108af
push ebx
call fcn.00420415
add esp, 4
mov eax, dword [ebp - 0x6c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4108c3
push ebx
call fcn.00420415
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x4c9f27
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str.__embedOrigin_:null__referralString_:null__walletMetadata_:_walletName_:_MetaMask___connectorType_:_INJECTED___os_:_Windows___browser_:_Chrome___lastStepSkippedTime_:null__meta_:_values_:_inputData_:__undefined____1_:_json_:_questStepId_:
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.__inputData_:null__userAddressId_:
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str._0_:_json_:_questStepId_:
mov ecx, 7
call fcn.004021d5
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41090e
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 0x410943
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 + 0x18]
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_questStep.completeQuestStep_questStep.setQuestStepAsViewed_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 0x410a3c
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x410a4c
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x410a5c
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x410a6c
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x410a7c
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x410a8c
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 0x410ac2
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 0x410ae8
push ebx
call fcn.00420415
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410afc
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 0x410b31
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 0x411003
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 0x410baf
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 0x410cc6
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x410cd6
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x410ce6
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x410cf6
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x410d06
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x410d16
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x410d26
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x410d36
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x410d46
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x410d56
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 0x410d8c
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 0x410db2
push ebx
call fcn.00420415
add esp, 4
mov eax, dword [ebp - 0x6c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x410dc6
push ebx
call fcn.00420415
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x4c9f27
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str.__embedOrigin_:null__referralString_:null__walletMetadata_:_walletName_:_MetaMask___connectorType_:_INJECTED___os_:_Windows___browser_:_Chrome___lastStepSkippedTime_:null__meta_:_values_:_inputData_:__undefined____1_:_json_:_questStepId_:
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.__inputData_:null__userAddressId_:
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str._0_:_json_:_questStepId_:
mov ecx, 7
call fcn.004021d5
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x410e11
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 0x410e46
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 + 0x18]
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_questStep.completeQuestStep_questStep.setQuestStepAsViewed_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 0x410f3f
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x410f4f
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x410f5f
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x410f6f
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x410f7f
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x410f8f
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 0x410fc5
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 0x410feb
push ebx
call fcn.00420415
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410fff
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 0x41102d
cmp dword [ebp - 0x14], 0x193
je 0x41102d
xor eax, eax
jmp 0x411032
mov eax, 1
test eax, eax
je 0x41105e
call fcn.0040a2a3
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x411058
push ebx
call fcn.00420415
add esp, 4
pop eax
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
push 0x4c8320
push dword [ebp - 0x10]
call fcn.00402231
add esp, 8
cmp eax, 0
je 0x411088
cmp dword [ebp - 0x14], 0x193
je 0x411088
xor eax, eax
jmp 0x41108d
mov eax, 1
test eax, eax
jne 0x410947
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4110a5
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4110b5
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4110c5
push ebx
call fcn.00420415
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4110d5
push ebx
call fcn.00420415
add esp, 4
mov esp, ebp
pop ebp
ret 0x14