Function at 0x402040
Capabilities:
Check http status code
Connect to http server
Create http request
Delete file
Parse url
Resolve function by parsing pe exports
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x1370
call fcn.00408290
mov ecx, dword [ebp + 8]
mov eax, dword [0x40f014]
xor eax, ebp
mov dword [esp + 0x1368], eax
xor esi, esi
inc esi
cmp ecx, 3
jl 0x403555
mov eax, ecx
and eax, 1
je 0x403555
xor esi, esi
inc esi
lea edi, [esp + 0x70]
mov dword [esp], 0
xor ebx, ebx
mov dword [esp + 4], 0
mov dword [esp + 0x14], ebx
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], esi
mov ebx, dword [eax + esi*4 + 4]
mov dword [esp + 0x70], 0
mov dword [esp + 0x84], 0xf
mov byte [esp + 0x70], 0
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov esi, eax
cmp eax, 0xf
jbe 0x402105
test esi, esi
js 0x403573
mov dword [esp + 0xc], ebx
mov edi, esi
or edi, 0xf
cmp edi, 0x17
mov eax, 0x16
cmovb edi, eax
cmp edi, 0xfff
jb 0x40211e
lea eax, [edi + 0x24]
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x40212c
mov dword [esp + 0x80], esi
push esi
push ebx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + esi + 0x70], 0
jmp 0x402150
lea eax, [edi + 1]
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], edi
push esi
push dword [esp + 0x10]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [ebx + esi], 0
mov dword [esp + 0x70], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [eax + ecx*4]
mov dword [esp + 0x11e0], 0
mov dword [esp + 0x11f4], 0xf
mov byte [esp + 0x11e0], 0
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov esi, eax
cmp eax, 0x10
jb 0x4021c8
test esi, esi
js 0x403573
mov edi, esi
or edi, 0xf
cmp edi, 0x17
mov eax, 0x16
cmovb edi, eax
cmp edi, 0xfff
jb 0x40223d
lea eax, [edi + 0x24]
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ecx, edi
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x40224d
mov dword [esp + 0x11f0], esi
push esi
push ebx
lea edi, [esp + 0x11e8]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + esi + 0x11e0], 0
mov ecx, dword [esp + 0x11f4]
mov edx, dword [esp + 0x11e0]
mov esi, dword [esp + 0x11f0]
xor eax, eax
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x10], ecx
cmp ecx, 0x10
setae al
cmovae edi, edx
cmp esi, 0xf
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], al
ja 0x40228e
movups xmm0, xmmword [edi]
movaps xmmword [esp + 0x1c0], xmm0
mov ebx, 0xf
jmp 0x4022df
lea eax, [edi + 1]
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ecx, edi
mov edi, eax
mov dword [esp + 0x11f0], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x11f4], ecx
push esi
push ebx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [edi + esi], 0
mov dword [esp + 0x11e0], edi
xor eax, eax
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1d4], eax
mov byte [esp + 0x1c], 1
mov dword [esp + 0x18], edi
mov ebx, esi
or ebx, 0xf
mov eax, 0x7fffffff
cmp ebx, eax
cmovae ebx, eax
cmp ebx, 0xfff
jb 0x4022be
lea eax, [ebx + 0x24]
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4022ca
lea eax, [ebx + 1]
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1c0], eax
lea ecx, [esi + 1]
push ecx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esp + 0x1d0], esi
mov dword [esp + 0x1d4], ebx
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
cmp ebx, 0x10
lea edi, [esp + 0x70]
mov dword [esp + 0x20], eax
cmovae edi, eax
cmp esi, 0xf
ja 0x402326
movups xmm0, xmmword [edi]
lea eax, [esp + 0x1d8]
movups xmmword [eax], xmm0
mov eax, 0xf
jmp 0x40237f
mov ecx, esi
or ecx, 0xf
mov eax, 0x7fffffff
cmp ecx, eax
cmovae ecx, eax
cmp ecx, 0xfff
mov dword [esp + 0xc], ecx
jb 0x40235a
lea eax, [ecx + 0x24]
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x402366
lea eax, [ecx + 1]
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1d8], eax
lea ecx, [esi + 1]
push ecx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1e8], esi
mov dword [esp + 0x1ec], eax
cmp byte [esp + 0x1c], 0
lea edi, [esp + 0x70]
lea esi, [esp + 0x1c0]
je 0x4023de
mov eax, dword [esp + 0x10]
lea ecx, [eax + 1]
cmp ecx, 0x1000
jb 0x4023d0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x40356d
mov ecx, dword [esp + 0x10]
add ecx, 0x24
jmp 0x4023d4
mov eax, dword [esp + 0x18]
push ecx
push eax
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
cmp ebx, 0x10
jb 0x402418
lea ecx, [ebx + 1]
cmp ecx, 0x1000
jb 0x40240a
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x40356d
add ebx, 0x24
mov ecx, ebx
jmp 0x40240e
mov eax, dword [esp + 0x20]
push ecx
push eax
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov eax, dword [esp]
mov ebx, dword [esp + 0x14]
cmp ebx, eax
je 0x402437
mov ecx, ebx
mov edx, esi
call fcn.004036d0
mov eax, dword [esp]
add ebx, 0x30
jmp 0x402611
sub eax, dword [esp + 4]
mov dword [esp + 0x10], eax
sar eax, 4
imul edi, eax, 0xaaaaaaab
lea ecx, [edi + 1]
mov esi, edi
shr esi, 1
mov eax, 0x5555555
sub eax, esi
add esi, edi
cmp esi, ecx
cmovbe esi, ecx
cmp edi, eax
mov eax, 0x5555555
cmova esi, eax
cmp esi, 0x5555556
jae 0x403578
mov eax, esi
shl eax, 4
lea eax, [eax + eax*2]
cmp esi, 0x56
mov dword [esp + 0x14], ecx
jb 0x4024a7
cmp esi, 0x5555555
jae 0x403578
add eax, 0x23
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x4024ba
test esi, esi
je 0x4024b8
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
jmp 0x4024ba
xor ebx, ebx
lea ecx, [edi + edi*2]
shl ecx, 4
add ecx, ebx
lea edx, [esp + 0x1c0]
call fcn.004036d0
mov ecx, dword [esp]
mov edi, ecx
mov eax, dword [esp + 4]
cmp eax, ecx
mov dword [esp + 0x1c], ebx
je 0x4024fb
mov edi, eax
mov ecx, ebx
mov edx, edi
call fcn.004036d0
mov ecx, dword [esp]
add ebx, 0x30
add edi, 0x30
cmp edi, ecx
jne 0x4024e1
mov edi, dword [esp + 4]
test edi, edi
je 0x4025f1
cmp edi, ecx
je 0x4025d4
mov eax, dword [edi + 0x2c]
cmp eax, 0x10
jb 0x402546
mov ecx, dword [edi + 0x18]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jb 0x402539
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40356d
add eax, 0x24
mov ebx, eax
mov ecx, edx
push ebx
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov ecx, dword [esp]
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x402592
mov ecx, dword [edi]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jb 0x402585
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40356d
add eax, 0x24
mov ebx, eax
mov ecx, edx
push ebx
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov ecx, dword [esp]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
add edi, 0x30
cmp edi, ecx
jne 0x40250b
mov edx, dword [esp + 0x10]
cmp edx, 0x1000
jb 0x4025d8
mov eax, dword [esp + 4]
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x40356d
add edx, 0x23
jmp 0x4025dc
xor edx, edx
jmp 0x4025dc
mov ecx, dword [esp + 4]
push edx
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
lea ebx, [eax + eax*2]
shl ebx, 4
mov ecx, dword [esp + 0x1c]
add ebx, ecx
lea eax, [esi + esi*2]
shl eax, 4
add eax, ecx
mov dword [esp + 4], ecx
lea edi, [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0xc]
cmp ecx, 0x10
mov esi, dword [esp + 8]
jb 0x402657
mov eax, dword [esp + 0x1d8]
lea edx, [ecx + 1]
cmp edx, 0x1000
jb 0x40264d
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x40356d
mov edx, dword [esp + 0xc]
add edx, 0x24
mov eax, ecx
push edx
push eax
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov eax, dword [esp + 0x1d4]
cmp eax, 0x10
jb 0x40269b
mov ecx, dword [esp + 0x1c0]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x40268d
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40356d
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov esi, dword [esp + 8]
add esi, 2
cmp esi, dword [ebp + 8]
jl 0x402093
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 8]
mov dword [esp + 0x12e0], 0
mov dword [esp + 0x12f4], 0xf
mov byte [esp + 0x12e0], 0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov edi, eax
cmp eax, 0xf
jbe 0x40271a
mov dword [esp + 8], esi
mov dword [esp + 0x14], ebx
test edi, edi
js 0x403573
mov eax, edi
or eax, 0xf
cmp eax, 0x17
mov esi, 0x16
cmovae esi, eax
cmp esi, 0xfff
jb 0x402741
lea eax, [esi + 0x24]
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x40274f
mov dword [esp + 0x14], ebx
mov eax, esi
lea esi, [esp + 0x12e0]
mov dword [esi + 0x10], edi
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esp + edi + 0x12e0], 0
mov ebx, dword [esi]
jmp 0x402776
lea eax, [esi + 1]
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
mov dword [esp + 0x12f0], edi
mov dword [esp + 0x12f4], esi
push edi
push dword [esp + 0xc]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [ebx + edi], 0
mov dword [esp + 0x12e0], ebx
mov esi, 0x105
push esi
push 0
lea edi, [esp + 0x1c8]
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x12e0]
cmp dword [eax + 0x14], 0x10
cmovb ebx, eax
push esi
mov esi, edi
push ebx
push edi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__fullpath]
add esp, 0xc
test eax, eax
je 0x402856
mov ebx, esi
lea esi, [esp + 0x34]
mov byte [esi + 2], 0
mov word [esi], 0
xor edi, edi
push 0x100
push edi
lea eax, [esp + 0x11e8]
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x18
mov dword [esp + 0x20], edi
movaps xmm0, xmmword [0x40b0d0]
movups xmmword [esp + 0x10], xmm0
lea eax, [esp + 0x1204]
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], 3
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__splitpath_s]
add esp, 0x24
test eax, eax
jne 0x40284f
mov eax, 0x105
push eax
xor edi, edi
push edi
lea ebx, [esp + 0x78]
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push edi
push edi
lea eax, [esp + 0x11e8]
push eax
push esi
mov eax, 0x105
push eax
push ebx
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__makepath_s]
add esp, 0x18
test eax, eax
jne 0x40284f
push ebx
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__chdir]
add esp, 4
lea esi, [esp + 0x1c0]
mov eax, dword [esp + 0x12f4]
cmp eax, 0x10
lea edi, [esp + 0x70]
jb 0x4028a1
mov ecx, dword [esp + 0x12e0]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x402890
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40356d
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
lea esi, [esp + 0x1c0]
mov eax, dword [esp + 4]
cmp eax, dword [esp + 0x14]
je 0x403452
mov dword [esp + 8], eax
xor ebx, ebx
mov dword [esp + 0x11e0], ebx
mov dword [esp + 0x11f0], ebx
mov dword [esp + 0x11f4], 0xf
mov byte [esp + 0x11e0], 0
mov dword [esp + 0x70], 0x40b144
lea ecx, [esp + 0xe0]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::ios_base::constructor_void_]
mov dword [esp + 0xe0], 0x40b198
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
mov ecx, 0x40b140
mov dword [esp + eax + 0x70], ecx
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x70]
mov dword [esp + eax + 0x6c], ecx
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x70], 0x40b19c
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x18]
mov dword [esp + eax + 0x6c], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
add ecx, edi
push ebx
lea ebx, [esp + 0x84]
push ebx
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::init_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
mov ecx, 0x40b140
mov dword [esp + eax + 0x70], ecx
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x70]
mov dword [esp + eax + 0x6c], ecx
mov ecx, ebx
call fcn.00409310
mov eax, dword [esp + 8]
lea edx, [eax + 0x18]
cmp dword [eax + 0x2c], 0x10
mov dword [esp + 0x1c], edx
jb 0x40298a
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x80]
call fcn.004093e0
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + 4]
add ecx, edi
mov edx, 0
test eax, eax
jne 0x4029ae
mov edx, dword [ecx + 0xc]
or edx, 2
push 0
push edx
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
cmp dword [esp + 0xcc], 0
jne 0x4029e9
xor eax, eax
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1b4], 0xf
mov dword [esp + 0x1b0], eax
mov byte [esp + 0x1a0], 0
jmp 0x402ad0
mov ecx, edi
push 0
push 0x1000
push esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
add ecx, edi
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::bad_void_const]
test al, al
jne 0x4029c1
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x11f0]
mov ecx, dword [esp + 0x11f4]
mov esi, ecx
sub esi, eax
cmp esi, edx
jae 0x402a40
lea ecx, [esp + 0x11e0]
push edx
lea esi, [esp + 0x1c4]
push esi
call fcn.00403580
add esp, 8
jmp 0x402a79
lea ebx, [eax + edx]
mov dword [esp + 0x11f0], ebx
lea edi, [esp + 0x11e0]
cmp ecx, 0x10
lea esi, [esp + 0x1c0]
jb 0x402a64
mov edi, dword [esp + 0x11e0]
add eax, edi
push edx
push esi
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + ebx], 0
lea edi, [esp + 0x70]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
add ecx, edi
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::eof_void_const]
test al, al
je 0x4029e9
movsd xmm0, qword [esp + 0x11f0]
movsd qword [esp + 0x1b0], xmm0
movups xmm0, xmmword [esp + 0x11e0]
movaps xmmword [esp + 0x1a0], xmm0
mov dword [esp + 0x11f0], 0
mov dword [esp + 0x11f4], 0xf
mov byte [esp + 0x11e0], 0
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x70], 0x40b140
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x70]
mov dword [esp + eax + 0x6c], ecx
lea ecx, [esp + 0x80]
call fcn.004082c0
lea ecx, [esp + 0xe0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
mov eax, dword [esp + 0x11f4]
cmp eax, 0x10
jb 0x402b4d
mov ecx, dword [esp + 0x11e0]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x402b3c
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40356d
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
lea esi, [esp + 0x1c0]
cmp dword [esp + 0x1b0], 0
je 0x402bd2
xor eax, eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
sub esp, 0x20
mov dword [esp + 0x14], eax
movaps xmm0, xmmword [0x40b0e0]
movups xmmword [esp + 4], xmm0
mov dword [esp], edi
mov dword [esp + 0x1c], 0x38
mov dword [esp + 0x18], 0x40d165
call fcn.004016d0
add esp, 0x20
test eax, eax
je 0x402c70
xor ebx, ebx
mov dword [esp + 0x180], ebx
mov dword [esp + 0x194], 0xf
mov dword [esp + 0x190], ebx
jmp 0x402bd4
xor ebx, ebx
mov ecx, dword [esp]
mov eax, dword [esp + 0x1b4]
cmp eax, 0x10
jb 0x402c21
mov ecx, dword [esp + 0x1a0]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x402c0d
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40356d
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov ecx, dword [esp]
lea esi, [esp + 0x1c0]
test bl, bl
je 0x403467
mov edx, dword [esp + 8]
cmp dword [edx + 0x28], 0
mov eax, dword [esp + 4]
je 0x40346b
cmp dword [edx + 0x2c], 0x10
mov eax, dword [esp + 0x1c]
jb 0x402c48
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
test eax, eax
jne 0x403464
mov eax, dword [esp + 8]
add eax, 0x30
cmp eax, dword [esp + 0x14]
jne 0x4028af
jmp 0x403447
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], 0xfff
mov eax, dword [esp + 0x1b0]
mov edx, dword [esp + 0x1b4]
mov dword [esp + 0x74], eax
lea ecx, [esp + 0x1a0]
cmp edx, 0x10
jb 0x402ca4
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 0x70], ecx
xor ecx, ecx
mov dword [esp + 0x11e0], ecx
mov dword [esp + 0x11f0], ecx
mov dword [esp + 0x11f4], 0xf
mov byte [esp + 0x11e0], 0
test eax, eax
je 0x402d96
push 0
push edi
call fcn.00403f90
add esp, 8
cmp dword [esp + 0x80], 0
jne 0x402d7d
mov ebx, dword [esp + 0x11f0]
mov eax, dword [esp + 0x11f4]
mov ecx, eax
sub ecx, ebx
cmp ecx, 0xfff
jae 0x402d22
lea ecx, [esp + 0x11e0]
mov edx, 0xfff
push 0xfff
push esi
call fcn.00403580
add esp, 8
jmp 0x402d69
mov ecx, 0xfff
add ecx, ebx
mov dword [esp + 0x11f0], ecx
lea edi, [esp + 0x11e0]
cmp eax, 0x10
jb 0x402d43
mov edi, dword [esp + 0x11e0]
lea eax, [edi + ebx]
mov ecx, 0xfff
push ecx
lea esi, [esp + 0x1c4]
push esi
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + ebx + 0xfff], 0
lea edi, [esp + 0x70]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], 0xfff
jmp 0x402cd3
mov ebx, eax
cmp dword [esp + 0x74], 0
je 0x402d8e
test ebx, ebx
je 0x402cd3
test ebx, ebx
jne 0x402e43
push 4
push edi
call fcn.00403f90
add esp, 8
mov ebx, eax
mov eax, dword [esp + 0x80]
cmp eax, 0xfff
je 0x402e43
mov edx, 0xfff
sub edx, eax
mov eax, dword [esp + 0x11f0]
mov ecx, dword [esp + 0x11f4]
mov esi, ecx
sub esi, eax
cmp esi, edx
jae 0x402dec
lea ecx, [esp + 0x11e0]
push edx
lea esi, [esp + 0x1c4]
push esi
call fcn.00403580
add esp, 8
jmp 0x402e2f
lea edi, [eax + edx]
mov esi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x11f0], edi
lea edi, [esp + 0x11e0]
cmp ecx, 0x10
jb 0x402e0f
mov edi, dword [esp + 0x11e0]
add eax, edi
push edx
lea esi, [esp + 0x1c4]
push esi
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [esp + 0xc]
mov byte [edi + eax], 0
lea edi, [esp + 0x70]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], 0xfff
jmp 0x402d8e
push edi
call fcn.00401b30
add esp, 4
cmp ebx, 1
jne 0x4030a7
movsd xmm0, qword [esp + 0x11f0]
movsd qword [esp + 0x190], xmm0
movups xmm0, xmmword [esp + 0x11e0]
movaps xmmword [esp + 0x180], xmm0
cmp dword [esp + 0x190], 0
mov ecx, dword [esp]
je 0x403169
lea eax, [esp + 0x40]
xorps xmm0, xmm0
movups xmmword [eax + 0x20], xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax], xmm0
mov dword [esp + 0x34], 0x3c
mov dword [esp + 0x38], esi
mov ecx, 0x100
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ecx
lea eax, [esp + 0x11e0]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 8]
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x402ed4
mov eax, dword [ecx]
mov edx, ecx
lea ecx, [esp + 0x34]
push ecx
push 0
push dword [edx + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x403111
mov ecx, edi
call fcn.00401d40
test al, al
je 0x403111
sub esp, 0x14
xorps xmm0, xmm0
movups xmmword [esp + 4], xmm0
mov dword [esp], str.pingsender_1.0
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
je 0x403111
mov ebx, eax
mov dword [esp + 0x24], 0x7530
push 4
lea eax, [esp + 0x28]
push eax
push 2
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
mov dword [esp + 0xc], ebx
je 0x40316d
movzx eax, word [esp + 0x4c]
sub esp, 0x20
movaps xmm0, xmmword [0x40b0f0]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0x1c], 0
call dword [sym.imp.WININET.dll_InternetConnectA]
xor ebx, ebx
test eax, eax
je 0x40341c
mov ecx, dword [esp + 0x1c0]
mov dword [esp + 0x10], eax
mov eax, 0x70747468
xor ecx, eax
movzx edx, word [esp + 0x1c4]
xor edx, 0x73
xor eax, eax
or edx, ecx
sete al
shl eax, 0x17
or eax, 0x80000
push ebx
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x11f4]
push eax
push str.POST
push dword [esp + 0x2c]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [esp + 0x18], eax
test eax, eax
je 0x403412
xor ebx, ebx
push ebx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__gmtime64]
add esp, 4
push eax
push str.Date:__a___d__b__Y__H:_M:_S_GMT
push 0x80
lea edi, [esp + 0x12ec]
push edi
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
add esp, 0x10
mov dword [esp + 0x11c8], ebx
mov dword [esp + 0x11dc], 0xf
mov byte [esp + 0x11c8], 0
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ebx, eax
cmp eax, 0xf
jbe 0x403174
test ebx, ebx
js 0x403573
mov edi, ebx
or ebx, 0xf
cmp ebx, 0x17
mov eax, 0x16
cmovb ebx, eax
cmp ebx, 0xfff
jae 0x40342d
lea eax, [ebx + 1]
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ecx, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x11d8], edi
mov dword [esp + 0x11dc], ebx
push edi
lea edi, [esp + 0x12e4]
push edi
push ecx
mov ebx, ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x20]
mov byte [ebx + eax], 0
mov dword [esp + 0x11c8], ebx
jmp 0x403195
xor eax, eax
mov dword [esp + 0x180], eax
mov dword [esp + 0x194], 0xf
mov dword [esp + 0x190], eax
mov byte [esp + 0x180], 0
mov eax, dword [esp + 0x11f4]
cmp eax, 0x10
jb 0x403111
mov ecx, dword [esp + 0x11e0]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x403100
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40356d
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
lea esi, [esp + 0x1c0]
xor ebx, ebx
mov ecx, dword [esp]
mov eax, dword [esp + 0x194]
cmp eax, 0x10
jb 0x402bd7
mov ecx, dword [esp + 0x180]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x403150
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40356d
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov ecx, dword [esp]
lea esi, [esp + 0x1c0]
jmp 0x402bd7
xor ebx, ebx
jmp 0x403116
xor ebx, ebx
jmp 0x40341c
mov dword [esp + 0x11d8], ebx
push ebx
push edi
lea eax, [esp + 0x11d0]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + ebx + 0x11c8], 0
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x11d8]
mov ecx, dword [esp + 0x11dc]
mov edx, ecx
sub edx, eax
cmp edx, 2
jae 0x4031cd
lea ecx, [esp + 0x11c8]
mov edx, 2
push 2
push 0x40d169
call fcn.00403580
add esp, 8
jmp 0x4031f5
lea edx, [eax + 2]
mov dword [esp + 0x11d8], edx
lea edx, [esp + 0x11c8]
cmp ecx, 0x10
jb 0x4031ea
mov edx, dword [esp + 0x11c8]
mov word [edx + eax], 0xa0d
mov byte [edx + eax + 2], 0
movsd xmm0, qword [esp + 0x11d8]
movsd qword [esp + 0x12f0], xmm0
movups xmm0, xmmword [esp + 0x11c8]
movaps xmmword [esp + 0x12e0], xmm0
mov eax, dword [esp + 0x12f0]
mov ecx, dword [esp + 0x12f4]
mov edx, ecx
sub edx, eax
cmp edx, 0x19
jae 0x403246
mov ecx, edi
mov edx, 0x19
push 0x19
push str.X_PingSender_Version:_1.0
call fcn.00403580
add esp, 8
jmp 0x40327a
lea edx, [eax + 0x19]
mov dword [esp + 0x12f0], edx
mov edx, edi
cmp ecx, 0x10
jb 0x40325e
mov edx, dword [esp + 0x12e0]
movups xmm0, xmmword [0x40b118]
movups xmmword [edx + eax + 9], xmm0
movups xmm0, xmmword [str.X_PingSender_Version:_1.0]
movups xmmword [edx + eax], xmm0
mov byte [edx + eax + 0x19], 0
mov eax, dword [esp + 0x12f0]
mov ecx, dword [esp + 0x12f4]
mov edx, ecx
sub edx, eax
cmp edx, 2
jae 0x4032a9
mov ecx, edi
mov edx, 2
push 2
push 0x40d169
call fcn.00403580
add esp, 8
jmp 0x4032cc
lea edx, [eax + 2]
mov dword [esp + 0x12f0], edx
mov edx, edi
cmp ecx, 0x10
jb 0x4032c1
mov edx, dword [esp + 0x12e0]
mov word [edx + eax], 0xa0d
mov byte [edx + eax + 2], 0
mov eax, dword [esp + 0x12f0]
mov ecx, dword [esp + 0x12f4]
mov edx, ecx
sub edx, eax
cmp edx, 0x16
jae 0x4032fb
mov ecx, edi
mov edx, 0x16
push 0x16
push str.Content_Encoding:_gzip
call fcn.00403580
add esp, 8
jmp 0x403331
lea edx, [eax + 0x16]
mov dword [esp + 0x12f0], edx
mov edx, edi
cmp ecx, 0x10
jb 0x403313
mov edx, dword [esp + 0x12e0]
movsd xmm0, qword [0x40b137]
movsd qword [edx + eax + 0xe], xmm0
movups xmm0, xmmword [str.Content_Encoding:_gzip]
movups xmmword [edx + eax], xmm0
mov byte [edx + eax + 0x16], 0
mov eax, dword [esp + 0x190]
cmp dword [esp + 0x194], 0x10
lea ecx, [esp + 0x180]
jb 0x403350
mov ecx, dword [esp + 0x180]
cmp dword [esp + 0x12f4], 0x10
jb 0x403361
mov edi, dword [esp + 0x12e0]
push eax
push ecx
push 0xffffffffffffffff
push edi
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
lea edi, [esp + 0x70]
je 0x4033b7
xor eax, eax
mov dword [esp + 0x11c8], eax
mov dword [esp + 0x28], 4
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x11d0]
push eax
push 0x20000013
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
setne al
cmp dword [esp + 0x11c8], 0xc8
sete bl
and bl, al
jmp 0x4033b9
xor ebx, ebx
mov ecx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x12f4]
cmp eax, 0x10
jb 0x40340c
mov ecx, dword [esp + 0x12e0]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x4033f5
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40356d
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
lea esi, [esp + 0x1c0]
mov ecx, dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [esp + 0x18]
call ecx
push dword [esp + 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [esp + 0xc]
call ecx
jmp 0x403113
lea eax, [ebx + 0x24]
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x40306d
xor esi, esi
mov ecx, dword [esp]
mov eax, dword [esp + 4]
jmp 0x40346e
xor esi, esi
test eax, eax
mov ecx, dword [esp]
jne 0x40352f
jmp 0x403555
mov ecx, dword [esp]
mov eax, dword [esp + 4]
xor esi, esi
inc esi
test eax, eax
mov ebx, dword [esp + 0x14]
je 0x403555
cmp eax, ebx
je 0x40352f
mov dword [esp + 8], esi
mov esi, eax
mov eax, dword [esi + 0x2c]
cmp eax, 0x10
jb 0x4034c3
mov ecx, dword [esi + 0x18]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x4034b6
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40356d
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov ecx, dword [esp]
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xf
mov byte [esi + 0x18], 0
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x40350b
mov ecx, dword [esi]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x4034fe
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40356d
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov ecx, dword [esp]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x30
cmp esi, ebx
jne 0x403488
mov eax, dword [esp + 4]
mov esi, dword [esp + 8]
sub ecx, eax
cmp ecx, 0x1000
jb 0x40354b
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x40356d
add ecx, 0x23
push ecx
push eax
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov ecx, dword [esp + 0x1368]
xor ecx, ebp
call fcn.00407d10
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.004090d0
call fcn.004090e0
int3