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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0xc
call fcn.004202fe
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4d45d0
push ebx
add ebx, 4
push ebx
push 8
call fcn.004202fe
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4cc90e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.004202fe
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4cc90e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0xc
call fcn.004202fe
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x4ccf85
push ebx
add ebx, 8
push ebx
push 8
call fcn.004202fe
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
push ebx
mov eax, esp
push eax
call fcn.0040a65e
pop ebx
push 0xffffffffffffffff
push 0x13
push 0x16038bec
push 0x52010001
call fcn.00420322
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x412326
push 0xffffffffffffffff
push 0x13
push 0x16034f7d
push 0x52010001
call fcn.00420322
add esp, 0x10
push 0x80000301
push 0
push eax
push 0x1000e
push 0x16034f7d
push 0x52010001
push 2
mov ebx, 0x422920
call fcn.004202f8
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x421a30
call fcn.004202f8
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.sRoleId
push dword [ebp - 0x30]
push str.https:__act.iwan.qq.com_trpc.iwan.mission_system_server.MissionSystemSvr_dealSimpleMission_platformId10platformid10acctypeqqmissionIdogOWUWcAtqgameId28497sPlat1sArea2serverId
mov ecx, 4
call fcn.0040405e
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412309
push ebx
call fcn.00420304
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41231d
push ebx
call fcn.00420304
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x4123cc
push 0xffffffffffffffff
push 0x13
push 0x16034f7d
push 0x52010001
call fcn.00420322
add esp, 0x10
push 0x80000301
push 0
push eax
push 0x1000e
push 0x16034f7d
push 0x52010001
push 2
mov ebx, 0x422920
call fcn.004202f8
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x421a30
call fcn.004202f8
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.sRoleId
push dword [ebp - 0x30]
push str.https:__act.iwan.qq.com_trpc.iwan.mission_system_server.MissionSystemSvr_dealSimpleMission_platformId8platformid8acctypewxmissionIdogOWUWcAtqgameId28497sPlat1sArea1serverId
mov ecx, 4
call fcn.0040405e
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4123b4
push ebx
call fcn.00420304
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4123c8
push ebx
call fcn.00420304
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4123f1
push eax
mov ebx, eax
call fcn.00401b74
inc eax
push eax
call fcn.004202fe
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x412402
push ebx
call fcn.00420304
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.act.iwan.qq.com
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Host
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412448
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x412458
push ebx
call fcn.00420304
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__rv:121.0__Gecko_20100101_Firefox_121.0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41249a
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4124aa
push ebx
call fcn.00420304
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.application_json
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Accept
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4124ec
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4124fc
push ebx
call fcn.00420304
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.zh_CN_zh_q0.8_zh_TW_q0.7_zh_HK_q0.5_en_US_q0.3_en_q0.2
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Accept_Language
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41253e
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41254e
push ebx
call fcn.00420304
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.https:__a.iwan.qq.com
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Origin
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412590
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4125a0
push ebx
call fcn.00420304
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.keep_alive
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Connection
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4125e2
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4125f2
push ebx
call fcn.00420304
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.empty
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Sec_Fetch_Dest
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412634
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x412644
push ebx
call fcn.00420304
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.cors
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Sec_Fetch_Mode
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412686
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x412696
push ebx
call fcn.00420304
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.same_site
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Sec_Fetch_Site
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4126d8
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4126e8
push ebx
call fcn.00420304
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x412719
push ebx
call fcn.00420304
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 1
push 0x4cc87c
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call fcn.004015d3
add esp, 8
cmp eax, 0
jne 0x4128da
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 8
call fcn.004202fe
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
push dword [ebp - 0x18]
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
push 1
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.00404166
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x41283a
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x41284a
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x41285a
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x41286a
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x41287a
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x41288a
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41289a
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x424150
call fcn.004202f8
add esp, 0x10
call fcn.00420304
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4128d1
push ebx
call fcn.00420304
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
jmp 0x412a58
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 8
call fcn.004202fe
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
push 1
push dword [ebp + 0x10]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
push dword [ebp - 0x18]
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
push 1
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.00404166
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4129cd
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4129dd
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4129ed
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4129fd
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x412a0d
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x412a1d
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x424150
call fcn.004202f8
add esp, 0x10
call fcn.00420304
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x412a54
push ebx
call fcn.00420304
add esp, 4
pop eax
mov dword [ebp - 0x1c], 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
lea eax, [ebp - 0x1c]
push eax
call fcn.00412c53
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412a9a
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x412aaa
push ebx
call fcn.00420304
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x412abd
mov eax, 0x4cc90e
push eax
push 1
mov ebx, 0x421a30
call fcn.004202f8
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x412ae3
push ebx
call fcn.00420304
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412af7
push ebx
call fcn.00420304
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x20
call fcn.004202fe
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x28]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x412b53
push ebx
call fcn.00420304
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x412b67
push ebx
call fcn.00420304
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x412b7b
push ebx
call fcn.00420304
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x412b8f
push ebx
call fcn.00420304
add esp, 4
pop ebx
call fcn.00420304
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
mov eax, 0x4d3dd3
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x412bd3
push ebx
call fcn.00420304
add esp, 4
mov eax, dword [ebp - 0x30]
jmp 0x412bdb
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x412bec
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x412bfc
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x412c1c
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x412c2c
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412c3c
push ebx
call fcn.00420304
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00420304
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10