Function at 0x402050
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.004082a0
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 0x403565
mov eax, ecx
and eax, 1
je 0x403565
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 0x402115
test esi, esi
js 0x403583
mov dword [esp + 0xc], ebx
mov edi, esi
or edi, 0xf
cmp edi, 0x17
mov eax, 0x16
cmovb edi, eax
cmp edi, 0xfff
jb 0x40212e
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 0x40213c
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 0x402160
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 0x4021d8
test esi, esi
js 0x403583
mov edi, esi
or edi, 0xf
cmp edi, 0x17
mov eax, 0x16
cmovb edi, eax
cmp edi, 0xfff
jb 0x40224d
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 0x40225d
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 0x40229e
movups xmm0, xmmword [edi]
movaps xmmword [esp + 0x1c0], xmm0
mov ebx, 0xf
jmp 0x4022ef
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 0x4022ce
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 0x4022da
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 0x402336
movups xmm0, xmmword [edi]
lea eax, [esp + 0x1d8]
movups xmmword [eax], xmm0
mov eax, 0xf
jmp 0x40238f
mov ecx, esi
or ecx, 0xf
mov eax, 0x7fffffff
cmp ecx, eax
cmovae ecx, eax
cmp ecx, 0xfff
mov dword [esp + 0xc], ecx
jb 0x40236a
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 0x402376
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 0x4023ee
mov eax, dword [esp + 0x10]
lea ecx, [eax + 1]
cmp ecx, 0x1000
jb 0x4023e0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x40357d
mov ecx, dword [esp + 0x10]
add ecx, 0x24
jmp 0x4023e4
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 0x402428
lea ecx, [ebx + 1]
cmp ecx, 0x1000
jb 0x40241a
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x40357d
add ebx, 0x24
mov ecx, ebx
jmp 0x40241e
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 0x402447
mov ecx, ebx
mov edx, esi
call fcn.004036e0
mov eax, dword [esp]
add ebx, 0x30
jmp 0x402621
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 0x403588
mov eax, esi
shl eax, 4
lea eax, [eax + eax*2]
cmp esi, 0x56
mov dword [esp + 0x14], ecx
jb 0x4024b7
cmp esi, 0x5555555
jae 0x403588
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 0x4024ca
test esi, esi
je 0x4024c8
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
jmp 0x4024ca
xor ebx, ebx
lea ecx, [edi + edi*2]
shl ecx, 4
add ecx, ebx
lea edx, [esp + 0x1c0]
call fcn.004036e0
mov ecx, dword [esp]
mov edi, ecx
mov eax, dword [esp + 4]
cmp eax, ecx
mov dword [esp + 0x1c], ebx
je 0x40250b
mov edi, eax
mov ecx, ebx
mov edx, edi
call fcn.004036e0
mov ecx, dword [esp]
add ebx, 0x30
add edi, 0x30
cmp edi, ecx
jne 0x4024f1
mov edi, dword [esp + 4]
test edi, edi
je 0x402601
cmp edi, ecx
je 0x4025e4
mov eax, dword [edi + 0x2c]
cmp eax, 0x10
jb 0x402556
mov ecx, dword [edi + 0x18]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jb 0x402549
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40357d
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 0x4025a2
mov ecx, dword [edi]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jb 0x402595
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40357d
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 0x40251b
mov edx, dword [esp + 0x10]
cmp edx, 0x1000
jb 0x4025e8
mov eax, dword [esp + 4]
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x40357d
add edx, 0x23
jmp 0x4025ec
xor edx, edx
jmp 0x4025ec
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 0x402667
mov eax, dword [esp + 0x1d8]
lea edx, [ecx + 1]
cmp edx, 0x1000
jb 0x40265d
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x40357d
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 0x4026ab
mov ecx, dword [esp + 0x1c0]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x40269d
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40357d
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 0x4020a3
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 0x40272a
mov dword [esp + 8], esi
mov dword [esp + 0x14], ebx
test edi, edi
js 0x403583
mov eax, edi
or eax, 0xf
cmp eax, 0x17
mov esi, 0x16
cmovae esi, eax
cmp esi, 0xfff
jb 0x402751
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 0x40275f
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 0x402786
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 0x402866
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 0x40285f
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 0x40285f
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 0x4028b1
mov ecx, dword [esp + 0x12e0]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x4028a0
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40357d
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 0x403462
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.00409320
mov eax, dword [esp + 8]
lea edx, [eax + 0x18]
cmp dword [eax + 0x2c], 0x10
mov dword [esp + 0x1c], edx
jb 0x40299a
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x80]
call fcn.004093f0
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + 4]
add ecx, edi
mov edx, 0
test eax, eax
jne 0x4029be
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 0x4029f9
xor eax, eax
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1b4], 0xf
mov dword [esp + 0x1b0], eax
mov byte [esp + 0x1a0], 0
jmp 0x402ae0
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 0x4029d1
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 0x402a50
lea ecx, [esp + 0x11e0]
push edx
lea esi, [esp + 0x1c4]
push esi
call fcn.00403590
add esp, 8
jmp 0x402a89
lea ebx, [eax + edx]
mov dword [esp + 0x11f0], ebx
lea edi, [esp + 0x11e0]
cmp ecx, 0x10
lea esi, [esp + 0x1c0]
jb 0x402a74
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 0x4029f9
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.004082d0
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 0x402b5d
mov ecx, dword [esp + 0x11e0]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x402b4c
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40357d
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 0x402be2
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], str.1.2.13
call fcn.004016e0
add esp, 0x20
test eax, eax
je 0x402c80
xor ebx, ebx
mov dword [esp + 0x180], ebx
mov dword [esp + 0x194], 0xf
mov dword [esp + 0x190], ebx
jmp 0x402be4
xor ebx, ebx
mov ecx, dword [esp]
mov eax, dword [esp + 0x1b4]
cmp eax, 0x10
jb 0x402c31
mov ecx, dword [esp + 0x1a0]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x402c1d
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40357d
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 0x403477
mov edx, dword [esp + 8]
cmp dword [edx + 0x28], 0
mov eax, dword [esp + 4]
je 0x40347b
cmp dword [edx + 0x2c], 0x10
mov eax, dword [esp + 0x1c]
jb 0x402c58
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 0x403474
mov eax, dword [esp + 8]
add eax, 0x30
cmp eax, dword [esp + 0x14]
jne 0x4028bf
jmp 0x403457
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 0x402cb4
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 0x402da6
push 0
push edi
call fcn.00403fa0
add esp, 8
cmp dword [esp + 0x80], 0
jne 0x402d8d
mov ebx, dword [esp + 0x11f0]
mov eax, dword [esp + 0x11f4]
mov ecx, eax
sub ecx, ebx
cmp ecx, 0xfff
jae 0x402d32
lea ecx, [esp + 0x11e0]
mov edx, 0xfff
push 0xfff
push esi
call fcn.00403590
add esp, 8
jmp 0x402d79
mov ecx, 0xfff
add ecx, ebx
mov dword [esp + 0x11f0], ecx
lea edi, [esp + 0x11e0]
cmp eax, 0x10
jb 0x402d53
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 0x402ce3
mov ebx, eax
cmp dword [esp + 0x74], 0
je 0x402d9e
test ebx, ebx
je 0x402ce3
test ebx, ebx
jne 0x402e53
push 4
push edi
call fcn.00403fa0
add esp, 8
mov ebx, eax
mov eax, dword [esp + 0x80]
cmp eax, 0xfff
je 0x402e53
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 0x402dfc
lea ecx, [esp + 0x11e0]
push edx
lea esi, [esp + 0x1c4]
push esi
call fcn.00403590
add esp, 8
jmp 0x402e3f
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 0x402e1f
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 0x402d9e
push edi
call fcn.00401b40
add esp, 4
cmp ebx, 1
jne 0x4030b7
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 0x403179
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 0x402ee4
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 0x403121
mov ecx, edi
call fcn.00401d50
test al, al
je 0x403121
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 0x403121
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 0x40317d
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 0x40342c
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 0x403422
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 0x403184
test ebx, ebx
js 0x403583
mov edi, ebx
or ebx, 0xf
cmp ebx, 0x17
mov eax, 0x16
cmovb ebx, eax
cmp ebx, 0xfff
jae 0x40343d
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 0x4031a5
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 0x403121
mov ecx, dword [esp + 0x11e0]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x403110
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40357d
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 0x402be7
mov ecx, dword [esp + 0x180]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x403160
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40357d
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 0x402be7
xor ebx, ebx
jmp 0x403126
xor ebx, ebx
jmp 0x40342c
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 0x4031dd
lea ecx, [esp + 0x11c8]
mov edx, 2
push 2
push 0x40d16c
call fcn.00403590
add esp, 8
jmp 0x403205
lea edx, [eax + 2]
mov dword [esp + 0x11d8], edx
lea edx, [esp + 0x11c8]
cmp ecx, 0x10
jb 0x4031fa
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 0x403256
mov ecx, edi
mov edx, 0x19
push 0x19
push str.X_PingSender_Version:_1.0
call fcn.00403590
add esp, 8
jmp 0x40328a
lea edx, [eax + 0x19]
mov dword [esp + 0x12f0], edx
mov edx, edi
cmp ecx, 0x10
jb 0x40326e
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 0x4032b9
mov ecx, edi
mov edx, 2
push 2
push 0x40d16c
call fcn.00403590
add esp, 8
jmp 0x4032dc
lea edx, [eax + 2]
mov dword [esp + 0x12f0], edx
mov edx, edi
cmp ecx, 0x10
jb 0x4032d1
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 0x40330b
mov ecx, edi
mov edx, 0x16
push 0x16
push str.Content_Encoding:_gzip
call fcn.00403590
add esp, 8
jmp 0x403341
lea edx, [eax + 0x16]
mov dword [esp + 0x12f0], edx
mov edx, edi
cmp ecx, 0x10
jb 0x403323
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 0x403360
mov ecx, dword [esp + 0x180]
cmp dword [esp + 0x12f4], 0x10
jb 0x403371
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 0x4033c7
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 0x4033c9
xor ebx, ebx
mov ecx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x12f4]
cmp eax, 0x10
jb 0x40341c
mov ecx, dword [esp + 0x12e0]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x403405
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40357d
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 0x403123
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 0x40307d
xor esi, esi
mov ecx, dword [esp]
mov eax, dword [esp + 4]
jmp 0x40347e
xor esi, esi
test eax, eax
mov ecx, dword [esp]
jne 0x40353f
jmp 0x403565
mov ecx, dword [esp]
mov eax, dword [esp + 4]
xor esi, esi
inc esi
test eax, eax
mov ebx, dword [esp + 0x14]
je 0x403565
cmp eax, ebx
je 0x40353f
mov dword [esp + 8], esi
mov esi, eax
mov eax, dword [esi + 0x2c]
cmp eax, 0x10
jb 0x4034d3
mov ecx, dword [esi + 0x18]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x4034c6
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40357d
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 0x40351b
mov ecx, dword [esi]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x40350e
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40357d
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 0x403498
mov eax, dword [esp + 4]
mov esi, dword [esp + 8]
sub ecx, eax
cmp ecx, 0x1000
jb 0x40355b
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x40357d
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.00407d20
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.004090e0
call fcn.004090f0
int3