Function at 0x4013d0
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, 0x1350
call fcn.00409c90
mov eax, dword [0x40f00c]
mov ecx, dword [ebp + 8]
mov esi, 1
xor eax, ebp
cmp ecx, 3
mov dword [esp + 0x1348], eax
jl 0x401405
mov eax, ecx
and eax, 1
jne 0x40141d
mov ecx, dword [esp + 0x1348]
xor ecx, ebp
call fcn.00409540
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 1
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
nop word [eax + eax]
mov eax, dword [ebp + 0xc]
lea esi, [esp + 0x70]
mov ebx, ecx
mov edx, dword [eax + ecx*4 + 4]
mov edi, eax
mov eax, 0xf
mov ecx, esi
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov byte [esp + 0x70], 0
call fcn.00403750
mov edx, dword [edi + ebx*4]
lea edi, [esp + 0x180]
mov eax, 0xf
mov dword [esp + 0x20], ebx
mov ebx, 0xf
mov dword [esp + 0x190], 0
mov ecx, edi
mov dword [esp + 0x194], eax
mov byte [esp + 0x180], 0
call fcn.00403750
lea ecx, [esp + 0x2b0]
mov edx, edi
mov dword [esp + 0x2c0], 0
mov dword [esp + 0x2c4], 0
call fcn.00403860
lea ecx, [esp + 0x2c8]
mov edx, esi
mov dword [esp + 0x2d8], 0
mov dword [esp + 0x2dc], 0
call fcn.00403860
mov eax, dword [esp + 0x194]
cmp eax, 0x10
jae 0x4017ff
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 8]
cmp eax, 0x10
jae 0x401824
mov eax, dword [esp + 0x14]
cmp eax, ecx
jne 0x4015a0
mov edx, dword [esp + 0xc]
sub eax, edx
sub ecx, edx
mov dword [esp + 0x18], eax
sar eax, 4
sar ecx, 4
imul ebx, eax, 0xaaaaaaab
imul ecx, ecx, 0xaaaaaaab
mov eax, 0x5555555
mov edi, ebx
inc ecx
shr edi, 1
mov dword [esp + 8], ecx
sub eax, edi
add edi, ebx
cmp edi, ecx
cmovb edi, ecx
cmp ebx, eax
mov eax, ecx
cmova edi, ecx
mov ecx, 0xffffffff
mov eax, edi
shl eax, 4
cmp edi, 0x5555555
lea eax, [eax + eax*2]
cmova eax, ecx
cmp eax, 0x1000
jb 0x401600
add eax, 0x23
cmovb eax, ecx
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x401611
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov ecx, dword [esp + 8]
lea edx, [esp + 0x2b0]
call fcn.00403860
mov eax, dword [esp + 8]
mov esi, dword [esp + 8]
mov edx, dword [esp + 8]
mov dword [esi + 0x28], 0
mov dword [edx + 0x2c], 0
lea ecx, [eax + 0x18]
lea edx, [esp + 0x2c8]
call fcn.00403860
mov ecx, dword [esp + 8]
add ecx, 0x30
jmp 0x4017a6
xor esi, esi
test eax, eax
je 0x401611
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
lea ebx, [ebx + ebx*2]
lea edx, [esp + 0x2b0]
shl ebx, 4
lea ecx, [esi + ebx]
mov dword [esi + ebx + 0x10], 0
mov dword [esi + ebx + 0x14], 0
call fcn.00403860
lea ecx, [esi + ebx + 0x18]
lea edx, [esp + 0x2c8]
mov dword [esi + ebx + 0x28], 0
mov dword [esi + ebx + 0x2c], 0
call fcn.00403860
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0xc], ebx
jne 0x40189c
test ebx, ebx
je 0x401785
mov eax, dword [esp + 0x14]
cmp ebx, eax
jne 0x4016be
sub eax, ebx
mov dword [esp + 0xc], ebx
mov edx, eax
cmp edx, 0x1000
jae 0x401763
mov eax, dword [esp + 0xc]
jmp 0x40177b
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
add ebx, 0x30
cmp dword [esp + 0x14], ebx
je 0x401753
mov eax, dword [ebx + 0x2c]
cmp eax, 0x10
jae 0x4016f9
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0xf
mov byte [ebx + 0x18], 0
mov eax, dword [ebx + 0x14]
cmp eax, 0x10
jb 0x4016a0
mov ecx, dword [ebx]
lea edx, [eax + 1]
cmp edx, 0x1000
jae 0x401713
push edx
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
jmp 0x4016a0
mov ecx, dword [ebx + 0x18]
lea edx, [eax + 1]
cmp edx, 0x1000
jae 0x401733
push edx
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
jmp 0x4016c6
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
mov dword [esp + 0x10], edx
cmp ecx, 0x20
jae 0x4027cb
mov ecx, dword [esp + 0x10]
add eax, 0x24
mov edx, eax
jmp 0x4016ed
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
mov dword [esp + 0x10], edx
cmp ecx, 0x20
jae 0x4027cb
mov ecx, dword [esp + 0x10]
add eax, 0x24
mov edx, eax
jmp 0x401707
mov edx, dword [esp + 0x18]
cmp edx, 0x1000
jb 0x401688
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 4]
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x20
jae 0x4027cb
add edx, 0x23
push edx
push eax
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov eax, dword [esp + 8]
lea edx, [edi + edi*2]
mov ebx, 0xf
mov dword [esp + 0xc], esi
shl edx, 4
add edx, esi
mov dword [esp + 0x14], edx
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, esi
mov eax, dword [esp + 0x2dc]
cmp eax, 0x10
jae 0x40184a
mov dword [esp + 0x2d8], 0
mov dword [esp + 0x2dc], 0xf
mov byte [esp + 0x2c8], 0
mov eax, dword [esp + 0x2c4]
cmp eax, 0x10
jae 0x401873
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 8]
add ecx, 2
cmp ecx, eax
jl 0x401440
jmp 0x401983
mov ecx, dword [esp + 0x180]
lea esi, [eax + 1]
cmp esi, 0x1000
jae 0x4018fb
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
jmp 0x401503
mov ecx, dword [esp + 0x70]
lea esi, [eax + 1]
cmp esi, 0x1000
jae 0x40191d
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov ecx, dword [esp + 8]
jmp 0x401517
mov edi, ecx
mov ecx, dword [esp + 0x2c8]
lea esi, [eax + 1]
cmp esi, 0x1000
jae 0x40193f
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov ecx, edi
jmp 0x4017b6
mov edi, ecx
mov ecx, dword [esp + 0x2b0]
lea esi, [eax + 1]
cmp esi, 0x1000
jae 0x401961
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov ecx, edi
jmp 0x4017e4
mov ecx, dword [esp + 0xc]
lea eax, [esi + 0x18]
mov dword [esp + 0x10], ecx
lea ecx, [eax - 0x18]
mov dword [eax - 8], 0
mov ebx, eax
mov dword [eax - 4], 0
mov edx, dword [esp + 0x10]
call fcn.00403860
mov eax, dword [esp + 0x10]
mov ecx, ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
lea edx, [eax + 0x18]
call fcn.00403860
mov ecx, dword [esp + 0x10]
mov eax, ebx
mov ebx, dword [esp + 0xc]
add eax, 0x30
add ecx, 0x30
cmp ecx, dword [esp + 0x14]
je 0x401664
jmp 0x4018a3
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4027cb
add eax, 0x24
mov ecx, edx
mov ebx, 0xf
mov esi, eax
jmp 0x401815
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4027cb
add eax, 0x24
mov ecx, edx
mov ebx, 0xf
mov esi, eax
jmp 0x401837
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4027cb
add eax, 0x24
mov ecx, edx
mov ebx, 0xf
mov esi, eax
jmp 0x401862
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4027cb
add eax, 0x24
mov ecx, edx
mov ebx, 0xf
mov esi, eax
jmp 0x40188b
mov eax, dword [ebp + 0xc]
lea esi, [esp + 0x12c8]
mov ecx, esi
mov edx, dword [eax + 8]
mov dword [esp + 0x12dc], ebx
mov dword [esp + 0x12d8], 0
mov byte [esp + 0x12c8], 0
call fcn.00403750
push 0x105
push 0
lea eax, [esp + 0x2b8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esp + 0x12dc], 0xf
jbe 0x4019d9
mov esi, dword [esp + 0x12c8]
push 0x105
push esi
lea eax, [esp + 0x2b8]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__fullpath]
add esp, 0xc
test eax, eax
je 0x401afc
xorps xmm0, xmm0
lea esi, [esp + 0x34]
mov byte [esp + 0x36], 0
mov word [esp + 0x34], 0
movaps xmmword [esp + 0x270], xmm0
movaps xmmword [esp + 0x260], xmm0
movaps xmmword [esp + 0x250], xmm0
movaps xmmword [esp + 0x240], xmm0
movaps xmmword [esp + 0x230], xmm0
movaps xmmword [esp + 0x220], xmm0
movaps xmmword [esp + 0x210], xmm0
movaps xmmword [esp + 0x200], xmm0
movaps xmmword [esp + 0x1f0], xmm0
movaps xmmword [esp + 0x1e0], xmm0
movaps xmmword [esp + 0x1d0], xmm0
movaps xmmword [esp + 0x1c0], xmm0
movaps xmmword [esp + 0x1b0], xmm0
movaps xmmword [esp + 0x1a0], xmm0
movaps xmmword [esp + 0x190], xmm0
movaps xmmword [esp + 0x180], xmm0
push 0
push 0
push 0
push 0
push 0x100
lea eax, [esp + 0x194]
push eax
push 3
push esi
lea eax, [esp + 0x2d0]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__splitpath_s]
add esp, 0x24
test eax, eax
jne 0x401afc
push 0x105
push 0
lea eax, [esp + 0x78]
mov edi, eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push 0
lea eax, [esp + 0x188]
push eax
push esi
push 0x105
push edi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__makepath_s]
add esp, 0x18
test eax, eax
jne 0x401afc
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__chdir]
add esp, 4
mov eax, dword [esp + 0x12dc]
cmp eax, 0x10
jae 0x401c27
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
xor esi, esi
cmp ecx, eax
jne 0x401c4c
test eax, eax
je 0x401405
cmp ecx, eax
mov dword [esp + 0xc], eax
je 0x401bed
mov edi, dword [esp + 0xc]
jmp 0x401b5c
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
add edi, 0x30
cmp ecx, edi
je 0x401bed
mov eax, dword [edi + 0x2c]
cmp eax, 0x10
jae 0x401b9b
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x401b40
mov ecx, dword [edi]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jae 0x401bb9
push ebx
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov ecx, dword [esp + 8]
jmp 0x401b40
mov ecx, dword [edi + 0x18]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jae 0x401bd3
push ebx
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov ecx, dword [esp + 8]
jmp 0x401b64
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4027cb
add eax, 0x24
mov ecx, edx
mov ebx, eax
jmp 0x401b8b
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4027cb
add eax, 0x24
mov ecx, edx
mov ebx, eax
jmp 0x401ba9
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub eax, edx
mov ecx, eax
cmp eax, 0x1000
jb 0x401c16
mov eax, dword [edx - 4]
sub edx, eax
add edx, 0xfffffffc
cmp edx, 0x20
jae 0x4027cb
add ecx, 0x23
jmp 0x401c18
mov eax, edx
push ecx
push eax
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
jmp 0x401405
mov ecx, dword [esp + 0x12c8]
lea esi, [eax + 1]
cmp esi, 0x1000
jae 0x4027ad
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
jmp 0x401b0c
mov edi, eax
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xe0]
mov dword [esp + 0x194], ebx
mov dword [esp + 0x190], 0
mov byte [esp + 0x180], 0
mov dword [esp + 0x70], 0x40a0ac
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::ios_base::constructor_void_]
mov dword [esp + 0xe0], 0x40a0fc
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x70], 0x40a0a8
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], 0x40a100
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x18]
mov dword [esp + eax + 0x6c], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
lea eax, [esp + 0x70]
add ecx, eax
push 0
lea esi, [esp + 0x84]
push esi
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 dword [esp + eax + 0x70], 0x40a0a8
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x70]
mov dword [esp + eax + 0x6c], ecx
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea eax, [esp + 0x84]
mov dword [esp + 0x80], 0x40a0c0
mov byte [esp + 0xc8], 0
mov byte [esp + 0xbd], 0
mov ecx, dword [0x40f40c]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x94]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x98]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa4]
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0xb0], eax
mov eax, dword [0x40f408]
mov dword [esp + 0x88], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xb8], 0
lea eax, [edi + 0x18]
cmp dword [edi + 0x2c], 0x10
mov edx, eax
jb 0x401e05
mov edx, dword [eax]
lea esi, [esp + 0x70]
mov dword [esp + 0x20], eax
mov ecx, esi
call fcn.004013a0
cmp dword [esp + 0xcc], 0
jne 0x401e4e
lea ecx, [esp + 0x298]
mov edx, 0x40cea7
mov dword [esp + 0x2ac], ebx
mov dword [esp + 0x2a8], 0
mov byte [esp + 0x298], 0
call fcn.00403750
jmp 0x401f37
mov esi, edi
lea eax, [esp + 0x70]
mov ecx, eax
push 0
push 0x1000
lea edi, [esp + 0x2b8]
push edi
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]
lea eax, [esp + 0x70]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::bad_void_const]
test al, al
jne 0x401f0a
lea ecx, [esp + 0x180]
mov edx, edi
push dword [esp + 0x78]
call fcn.00401340
add esp, 4
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
lea eax, [esp + 0x70]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::eof_void_const]
test al, al
mov edi, esi
je 0x401e4e
movsd xmm0, qword [esp + 0x190]
movsd xmm2, qword [esp + 0x180]
movsd xmm1, qword [esp + 0x188]
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 0xf
mov byte [esp + 0x180], 0
movsd qword [esp + 0x2a8], xmm0
movsd qword [esp + 0x2a0], xmm1
movsd qword [esp + 0x298], xmm2
jmp 0x401f37
lea ecx, [esp + 0x298]
mov edx, 0x40cea7
mov dword [esp + 0x2ac], ebx
mov dword [esp + 0x2a8], 0
mov byte [esp + 0x298], 0
call fcn.00403750
mov edi, esi
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x70], 0x40a0a8
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.004027e0
lea ecx, [esp + 0xe0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
mov eax, dword [esp + 0x194]
cmp eax, 0x10
jae 0x4020c0
cmp dword [esp + 0x2a8], 0
je 0x4020ea
xorps xmm0, xmm0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
push 0x38
push str.1.2.11
push 0
push 8
push 0x1f
push 8
push 0xffffffffffffffff
lea eax, [esp + 0x8c]
push eax
call fcn.004041c0
add esp, 0x20
test eax, eax
jne 0x4020f5
lea eax, [esp + 0x2b0]
mov ecx, dword [esp + 0x2ac]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x2a8]
mov dword [esp + 0x80], 0xfff
cmp ecx, 0xf
lea ecx, [esp + 0x298]
mov dword [esp + 0x74], eax
jbe 0x40201d
mov ecx, dword [esp + 0x298]
mov dword [esp + 0x194], ebx
test eax, eax
lea ebx, [esp + 0x70]
mov dword [esp + 0x190], 0
mov dword [esp + 0x70], ecx
mov byte [esp + 0x180], 0
je 0x40215d
nop word [eax + eax]
push 0
push ebx
call fcn.00404930
add esp, 8
cmp dword [esp + 0x80], 0
je 0x40207b
mov esi, eax
test esi, esi
jne 0x402159
cmp dword [esp + 0x74], 0
jne 0x402050
jmp 0x402159
lea esi, [esp + 0x2b0]
lea ecx, [esp + 0x180]
mov edx, esi
push 0xfff
call fcn.00401340
add esp, 4
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], 0xfff
push 0
push ebx
call fcn.00404930
add esp, 8
cmp dword [esp + 0x80], 0
mov esi, eax
jne 0x402067
jmp 0x40207b
mov ecx, dword [esp + 0x180]
lea esi, [eax + 1]
cmp esi, 0x1000
jae 0x402137
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
cmp dword [esp + 0x2a8], 0
jne 0x401f8b
xor ebx, ebx
mov ecx, dword [esp + 8]
jmp 0x4023c4
lea ecx, [esp + 0x280]
mov edx, 0x40cea7
mov dword [esp + 0x294], ebx
mov dword [esp + 0x290], 0
mov byte [esp + 0x280], 0
call fcn.00403750
lea ebx, [esp + 0x70]
cmp dword [esp + 0x290], 0
jne 0x402206
jmp 0x402398
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4027cb
add eax, 0x24
mov ecx, edx
mov ebx, 0xf
mov esi, eax
jmp 0x4020d2
test esi, esi
jne 0x40217c
push 4
push ebx
call fcn.00404930
add esp, 8
mov esi, eax
mov eax, 0xfff
sub eax, dword [esp + 0x80]
jne 0x4024d7
push ebx
call fcn.00404460
add esp, 4
cmp esi, 1
mov dword [esp + 0x290], 0
mov dword [esp + 0x294], 0
jne 0x402473
movsd xmm0, qword [esp + 0x190]
movsd xmm2, qword [esp + 0x180]
movsd xmm1, qword [esp + 0x188]
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 0xf
mov byte [esp + 0x180], 0
movsd qword [esp + 0x290], xmm0
movsd qword [esp + 0x288], xmm1
movsd qword [esp + 0x280], xmm2
cmp dword [esp + 0x290], 0
je 0x402398
lea eax, [esp + 0x40]
mov ecx, edi
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x28], 0
lea eax, [esp + 0x180]
mov dword [esp + 0x34], 0x3c
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2b0]
mov dword [esp + 0x3c], 0x100
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x100
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], 0x100
mov eax, dword [edi + 0x10]
cmp dword [edi + 0x14], 0xf
jbe 0x4022a4
mov ecx, dword [edi]
lea edx, [esp + 0x34]
push edx
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x402398
mov esi, edi
lea edi, [esp + 0x2b0]
mov ecx, edi
call fcn.004010c0
test al, al
je 0x40239c
push 0
push 0
push 0
push 0
push str.pingsender_1.0
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
je 0x40239c
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 + 0x18], ebx
je 0x4023a0
movzx eax, word [esp + 0x4c]
push 0
push 0
push 3
push 0
push 0
push eax
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
je 0x4023a0
movzx edx, word [esp + 0x184]
mov ecx, dword [esp + 0x180]
mov edi, eax
mov eax, 0x70747468
mov ebx, 0xf
xor ecx, eax
xor edx, 0x73
xor eax, eax
or edx, ecx
sete al
shl eax, 0x17
or eax, 0x80000
push 0
push eax
push 0
push 0
push 0
lea eax, [esp + 0x84]
push eax
push str.POST
mov dword [esp + 0x2c], edi
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
test eax, eax
jne 0x40250c
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
xor ebx, ebx
push dword [esp + 0x10]
call edi
jmp 0x4023a8
xor ebx, ebx
jmp 0x4023b0
xor ebx, ebx
jmp 0x4023ae
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
xor ebx, ebx
push dword [esp + 0x18]
call edi
mov edi, esi
mov eax, dword [esp + 0x294]
mov ecx, dword [esp + 8]
cmp eax, 0x10
jae 0x40244e
mov eax, dword [esp + 0x2ac]
cmp eax, 0x10
jae 0x402428
mov esi, 1
test bl, bl
je 0x40279c
cmp dword [edi + 0x28], 0
mov eax, dword [esp + 0xc]
je 0x401b1e
cmp dword [edi + 0x2c], 0x10
mov eax, dword [esp + 0x20]
jb 0x4023f7
mov eax, dword [eax]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
test eax, eax
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ebx, 0xf
jne 0x401b1e
add edi, 0x30
xor esi, esi
cmp edi, ecx
jne 0x401c52
jmp 0x401b1e
mov ecx, dword [esp + 0x298]
lea esi, [eax + 1]
cmp esi, 0x1000
jae 0x402717
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov ecx, dword [esp + 8]
jmp 0x4023d0
mov ecx, dword [esp + 0x280]
lea esi, [eax + 1]
cmp esi, 0x1000
jae 0x402734
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
jmp 0x4020ec
lea ecx, [esp + 0x280]
mov edx, 0x40cea7
mov dword [esp + 0x290], 0
mov dword [esp + 0x294], 0xf
mov byte [esp + 0x280], 0
call fcn.00403750
mov eax, dword [esp + 0x194]
cmp eax, 0x10
jb 0x4021f8
mov ecx, dword [esp + 0x180]
lea esi, [eax + 1]
cmp esi, 0x1000
jae 0x402751
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
jmp 0x402120
mov dword [esp + 0x18], edi
lea edi, [esp + 0x2b0]
lea ecx, [esp + 0x180]
mov edx, edi
push eax
call fcn.00401340
add esp, 4
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x80], 0xfff
jmp 0x402159
mov dword [esp + 0x1c], eax
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], edx
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 + 0x12d4]
push edi
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
add esp, 0x10
mov dword [esp + 0x12c4], ebx
lea ebx, [esp + 0x12b0]
mov edx, edi
mov dword [esp + 0x12c0], 0
mov byte [esp + 0x12b0], 0
mov ecx, ebx
call fcn.00403750
mov ecx, ebx
mov edx, 0x40cea5
push 2
call fcn.00401340
add esp, 4
mov dword [esp + 0x12d8], 0
mov dword [esp + 0x12dc], 0
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0x12d8], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x12d0], xmm1
movsd qword [esp + 0x12c8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [esp + 0x12c4]
cmp eax, 0x10
jae 0x4026d4
lea edi, [esp + 0x12c8]
mov edx, str.X_PingSender_Version:_1.0
mov ecx, edi
push 0x19
call fcn.00401340
add esp, 4
mov ecx, edi
mov edx, 0x40cea5
push 2
call fcn.00401340
add esp, 4
mov ecx, edi
mov edx, str.Content_Encoding:_gzip
push 0x16
call fcn.00401340
add esp, 4
mov eax, dword [esp + 0x290]
cmp dword [esp + 0x294], 0xf
lea ecx, [esp + 0x280]
jbe 0x402641
mov ecx, dword [esp + 0x280]
cmp dword [esp + 0x12dc], 0xf
lea edx, [esp + 0x12c8]
jbe 0x402659
mov edx, dword [esp + 0x12c8]
push eax
push ecx
push 0xffffffffffffffff
push edx
push dword [esp + 0x2c]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x4026b4
mov dword [esp + 0x12b0], 0
mov dword [esp + 0x28], 4
push 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x12b8]
push eax
push 0x20000013
push dword [esp + 0x2c]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
setne al
cmp dword [esp + 0x12b0], 0xc8
sete bl
and bl, al
jmp 0x4026b6
xor ebx, ebx
mov eax, dword [esp + 0x12dc]
cmp eax, 0x10
jae 0x4026f9
push dword [esp + 0x1c]
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
call eax
jmp 0x402390
mov ecx, dword [esp + 0x12b0]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jae 0x40276a
push ebx
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
jmp 0x4025e8
mov ecx, dword [esp + 0x12c8]
lea edx, [eax + 1]
cmp edx, 0x1000
jae 0x402783
push edx
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
jmp 0x4026c2
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4027cb
add eax, 0x24
mov ecx, edx
mov esi, eax
jmp 0x40243e
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4027cb
add eax, 0x24
mov ecx, edx
mov esi, eax
jmp 0x402464
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4027cb
add eax, 0x24
mov ecx, edx
mov esi, eax
jmp 0x4024c8
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4027cb
add eax, 0x24
mov ecx, edx
mov ebx, eax
jmp 0x4026ea
mov edi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edi
cmp ecx, 0x20
jae 0x4027cb
add eax, 0x24
mov ecx, edi
mov edx, eax
jmp 0x40270b
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x401b26
jmp 0x401405
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4027cb
add eax, 0x24
mov ecx, edx
mov ebx, 0xf
mov esi, eax
jmp 0x401c3d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3