Function at 0x10038740
Capabilities:
Connect to http server
Create http request
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 0x10046470
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d0
mov eax, dword [0x10086040]
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 - 0x124], edx
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileA]
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100387c5
sub ecx, edx
lea eax, [ebp - 0x11c]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.10041a60
lea ecx, [ebp - 0x9c]
call fcn.10038360
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
push 0x66
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
push str._api_webhooks_1291257860843503731_WU9nEiTCXMuRkxCkXAKQjSySxDpGM8PBotOgpDqOHfCInepARJ_4OTvSwt_O5H93CtJl
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x58], 0
call fcn.10037bf0
push esi
mov edx, str._n_________content_:___everyone__here___n_________embeds_:___n_____________n_________________title_:__Activation_Request___n_________________fields_:___n______________________name_:__:detective:_In_Game_Name:____value_:__
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1dc]
call fcn.10041ba0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 3
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0x5a
jb 0x10038869
lea eax, [ecx + 0x5a]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x10038850
mov eax, dword [edi]
push 0x5a
lea esi, [eax + ecx]
push str.____inline_:_true___n______________________name_:__:video_game:_Name_of_Ran:____value_:__
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x5a], 0
jmp 0x1003887e
push 0x5a
push str.____inline_:_true___n______________________name_:__:video_game:_Name_of_Ran:____value_:__
push dword [ebp - 0x20]
mov ecx, edi
push 0x5a
call fcn.10037cd0
mov edi, eax
mov dword [ebp - 0x1b4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x1c4], xmm0
mov dword [ebp - 0x1b0], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x1c4], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x1b4], xmm0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
push dword [ebp - 0x124]
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 4
call fcn.10041600
mov dword [ebp - 0x180], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x190], xmm0
mov dword [ebp - 0x17c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x190], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x180], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x17c]
mov eax, edx
mov ecx, dword [ebp - 0x180]
sub eax, ecx
push 0x50
push str.____inline_:_true___n______________________name_:__:desktop:_HWID:____value_:__
cmp eax, 0x50
jb 0x1003896f
cmp edx, 0xf
lea esi, [ebp - 0x190]
lea eax, [ecx + 0x50]
cmova esi, dword [ebp - 0x190]
add esi, ecx
mov dword [ebp - 0x180], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x50], 0
lea eax, [ebp - 0x190]
jmp 0x1003897f
push dword [ebp - 0x20]
lea ecx, [ebp - 0x190]
push 0x50
call fcn.10037cd0
mov dword [ebp - 0x138], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x134], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x148], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x138], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x84]
cmp dword [ebp - 0x70], 0xf
mov edx, dword [ebp - 0x138]
cmova ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x134]
mov edi, dword [ebp - 0x74]
sub eax, edx
mov dword [ebp - 0x124], edx
push edi
push ecx
cmp edi, eax
ja 0x10038a35
cmp dword [ebp - 0x134], 0xf
lea esi, [ebp - 0x148]
lea eax, [edx + edi]
cmova esi, dword [ebp - 0x148]
mov dword [ebp - 0x138], eax
lea eax, [esi + edx]
push eax
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x124]
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax + ecx], 0
lea eax, [ebp - 0x148]
jmp 0x10038a44
push dword [ebp - 0x20]
lea ecx, [ebp - 0x148]
push edi
call fcn.10037cd0
mov dword [ebp - 0x168], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x178], xmm0
mov dword [ebp - 0x164], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x178], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x168], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x164]
mov eax, edx
mov ecx, dword [ebp - 0x168]
sub eax, ecx
push 0x5e
push str.____inline_:_false___n______________________name_:__:earth_americas:_IP_Address:____value_:__
cmp eax, 0x5e
jb 0x10038ada
cmp edx, 0xf
lea esi, [ebp - 0x178]
lea eax, [ecx + 0x5e]
cmova esi, dword [ebp - 0x178]
add esi, ecx
mov dword [ebp - 0x168], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x5e], 0
lea eax, [ebp - 0x178]
jmp 0x10038aea
push dword [ebp - 0x20]
lea ecx, [ebp - 0x178]
push 0x5e
call fcn.10037cd0
mov dword [ebp - 0x19c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x1ac], xmm0
mov dword [ebp - 0x198], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1ac], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x19c], xmm0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x1ac]
call fcn.10041600
mov dword [ebp - 0x150], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x160], xmm0
mov dword [ebp - 0x14c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x160], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x150], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x14c]
mov eax, edx
mov ecx, dword [ebp - 0x150]
sub eax, ecx
push 0x14a
push str.____inline_:_false__n___________________n_________________image_:__n_____________________url_:__https:__media.discordapp.net_attachments_1047138051488489595_1291611342117142528_REQUEST.gif_ex6700ba4cis66ff68cchmec53f015ec6ef057f34beff3156d57fbc4b7fad3bb63aace3d71dcea77f0c917__n_________________n_____________n__________n____
cmp eax, 0x14a
jb 0x10038be7
cmp edx, 0xf
lea esi, [ebp - 0x160]
lea eax, [ecx + 0x14a]
cmova esi, dword [ebp - 0x160]
add esi, ecx
mov dword [ebp - 0x150], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x14a], 0
lea eax, [ebp - 0x160]
jmp 0x10038bfa
push dword [ebp - 0x20]
lea ecx, [ebp - 0x160]
push 0x14a
call fcn.10037cd0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 4], 0xb
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x14c]
cmp ecx, 0xf
jbe 0x10038c6f
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038c65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e73
push ecx
push edx
call fcn.10044874
add esp, 8
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x198]
cmp ecx, 0xf
jbe 0x10038cc8
mov edx, dword [ebp - 0x1ac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038cbe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e73
push ecx
push edx
call fcn.10044874
add esp, 8
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0xf
mov byte [ebp - 0x1ac], 0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x164]
cmp ecx, 0xf
jbe 0x10038d21
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038d17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e73
push ecx
push edx
call fcn.10044874
add esp, 8
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0xf
mov byte [ebp - 0x178], 0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x134]
cmp ecx, 0xf
jbe 0x10038d7a
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038d70
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e73
push ecx
push edx
call fcn.10044874
add esp, 8
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x10038dd3
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038dc9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e73
push ecx
push edx
call fcn.10044874
add esp, 8
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x1b0]
cmp ecx, 0xf
jbe 0x10038e28
mov edx, dword [ebp - 0x1c4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038e1e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038e73
push ecx
push edx
call fcn.10044874
add esp, 8
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0xf
mov byte [ebp - 0x1c4], 0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x1c8]
cmp ecx, 0xf
jbe 0x10038e83
mov edx, dword [ebp - 0x1dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038e79
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10038e79
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10044874
add esp, 8
push 0
push 0
push 0
push 1
push str.MyUserAgent
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0xf
mov byte [ebp - 0x1dc], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
je 0x1003916b
push 0
push 0
push 3
push 0
push 0
push 0x1bb
push str.discord.com
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
mov dword [ebp - 0x124], esi
test esi, esi
jne 0x10038ef3
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.Failed_to_connect_to_Discord
jmp 0x10039170
cmp dword [ebp - 0x58], 0xf
lea ecx, [ebp - 0x1c]
push 0
push 0x800000
push ecx
push 0
push 0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x1c], str.application_json
cmova eax, dword [ebp - 0x6c]
push eax
push str.POST
push esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x194], eax
test eax, eax
jne 0x10038f48
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push str.Failed_to_open_HTTP_request
jmp 0x10039170
push 0x1e
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.Content_Type:_application_json
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
call fcn.10037bf0
mov esi, dword [ebp - 0x194]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x24], 0xf
push dword [ebp - 0x28]
cmova ecx, dword [ebp - 0x38]
cmp dword [ebp - 0x3c], 0xf
push ecx
push dword [ebp - 0x40]
cmova eax, dword [ebp - 0x50]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x10038fbd
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x124]
call esi
push edi
call esi
push str.Failed_to_send_request
jmp 0x10039170
push 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x54], 4
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
jne 0x10039003
call esi
push dword [ebp - 0x124]
call esi
push edi
call esi
push str.Failed_to_query_status_code
jmp 0x10039170
call esi
push dword [ebp - 0x124]
call esi
push edi
call esi
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x10039044
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003903a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003913d
push ecx
push edx
call fcn.10044874
add esp, 8
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp ecx, 0xf
jbe 0x1003908a
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039080
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003913d
push ecx
push edx
call fcn.10044874
add esp, 8
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp ecx, 0xf
jbe 0x100390cc
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100390c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003913d
push ecx
push edx
call fcn.10044874
add esp, 8
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
cmp ecx, 0xf
jbe 0x10039114
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003910a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003913d
push ecx
push edx
call fcn.10044874
add esp, 8
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xf
jbe 0x1003914d
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039143
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10039143
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10044874
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.10044743
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.Failed_to_open_session
lea ecx, [ebp - 0x130]
call fcn.100374e0
push 0x100839dc
lea eax, [ebp - 0x130]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3