Function at 0x4e9f50
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54902b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x570400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x68], esi
mov dword [ebp - 4], 4
call fcn.00401bd0
cmp dword [ebp + 0x1c], 0xf
lea edx, [ebp + 8]
lea ecx, [ebp + 0x58]
cmova edx, dword [ebp + 8]
cmp dword [ebp + 0x6c], 0xf
push edx
cmova ecx, dword [ebp + 0x58]
push ecx
push str.Upload_video:__s__to__s
push str.FBUploadStage
push eax
call fcn.00412dc0
push ecx
lea eax, [ebp + 0x58]
mov dword [ebp - 0x64], esp
mov ecx, esp
push eax
call fcn.004029c0
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x84], esp
xorps xmm0, xmm0
push 6
movups xmmword [ecx], xmm0
push str.source
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00403d10
sub esp, 8
mov byte [ebp - 4], 6
lea eax, [ebp + 0x50]
mov dword [ebp - 0x88], esp
mov ecx, esp
push eax
call fcn.004ea6b0
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004029c0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.004e69a0
mov byte [ebp - 4], 8
call fcn.00401bd0
push dword [ebp - 0x40]
push str.Response_status:__d
push str.FBUploadStage
push eax
call fcn.00412dc0
add esp, 0x60
cmp dword [ebp - 0x40], 0xc8
jne 0x4ea3b0
call fcn.00401bd0
sub esp, 0x10
lea ecx, [ebp - 0x38]
mov esi, eax
lea eax, [ebp - 0x28]
push eax
call fcn.004e00a0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0xf
jbe 0x4ea078
mov eax, dword [eax]
push eax
push str.Response:__s
push str.FBUploadStage
push esi
call fcn.00412dc0
mov byte [ebp - 4], 8
add esp, 0x10
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4ea0c6
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ea0bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ea0bc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005453ef
add esp, 8
push 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.00402e60
push 0x5623f0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xb
call fcn.004ea830
lea ecx, [ebp - 0x80]
push ecx
mov ecx, eax
call fcn.004038e0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x60]
xorps xmm0, xmm0
mov byte [ebp - 0x60], 0
mov edx, eax
movq qword [ebp - 0x58], xmm0
call fcn.004e45a0
push str.clip_id
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.00403750
mov cl, byte [ebp - 0x60]
mov edi, eax
mov eax, dword [ebp - 0x58]
mov dl, byte [edi]
mov byte [edi], cl
mov esi, dword [edi + 0xc]
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 0x64], dl
mov byte [ebp - 0x60], dl
mov edx, dword [edi + 8]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], esi
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x58]
push dword [ebp - 0x64]
call fcn.00402ad0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x4ea18b
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ea181
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ea181
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005453ef
add esp, 8
xorps xmm0, xmm0
mov byte [ebp - 0x60], 0
lea edx, [ebp + 0x20]
movq qword [ebp - 0x58], xmm0
lea ecx, [ebp - 0x60]
call fcn.0040eb00
push str.token
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
call fcn.00403750
movzx ecx, byte [ebp - 0x60]
mov edi, eax
mov eax, dword [ebp - 0x58]
mov dl, byte [edi]
mov byte [edi], cl
mov esi, dword [edi + 0xc]
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 0x64], dl
mov byte [ebp - 0x60], dl
mov edx, dword [edi + 8]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], esi
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x58]
push dword [ebp - 0x64]
call fcn.00402ad0
mov byte [ebp - 4], 0xb
lea edx, [ebp + 0x38]
xorps xmm0, xmm0
mov byte [ebp - 0x60], 0
lea ecx, [ebp - 0x60]
movq qword [ebp - 0x58], xmm0
call fcn.0040eb00
push str.fb_end_point
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x11
call fcn.00403750
movzx ecx, byte [ebp - 0x60]
mov edi, eax
mov eax, dword [ebp - 0x58]
mov dl, byte [edi]
mov byte [edi], cl
mov esi, dword [edi + 0xc]
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 0x64], dl
mov byte [ebp - 0x60], dl
mov edx, dword [edi + 8]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], esi
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x58]
push dword [ebp - 0x64]
call fcn.00402ad0
push 0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x13
call fcn.00402e60
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x60]
call fcn.00402470
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x15
cmp dword [eax + 0x64], 0xf
lea ecx, [eax + 0x50]
jbe 0x4ea27e
mov ecx, dword [eax + 0x50]
mov edx, dword [eax + 0x60]
push 0xb
push str.fb_upload_2
call fcn.00403b60
add esp, 8
mov edx, str.fb_upload_1
test eax, eax
mov ecx, str.fb_upload_2
cmovne ecx, edx
push ecx
lea ecx, [ebp - 0x50]
call fcn.00403750
mov cl, byte [ebp - 0x60]
mov edi, eax
mov dl, byte [edi]
mov byte [edi], cl
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 0x60], dl
mov edx, dword [edi + 8]
mov esi, dword [edi + 0xc]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], esi
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x58]
push dword [ebp - 0x60]
call fcn.00402ad0
sub esp, 0x10
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x50]
push eax
call fcn.004e00a0
mov esi, dword [ebp - 0x68]
push eax
lea ecx, [esi + 0x68]
call fcn.00411560
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x4ea330
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ea326
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ea326
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005453ef
add esp, 8
cmp dword [esi + 0x64], 0xf
lea ecx, [esi + 0x50]
mov edx, dword [ecx + 0x10]
jbe 0x4ea33e
mov ecx, dword [ecx]
push 0xb
push str.fb_upload_2
call fcn.00403b60
add esp, 8
mov ecx, str.fb_get_info_1
test eax, eax
mov edi, str.fb_get_info_2
cmovne edi, ecx
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4ea361
sub edx, ecx
lea ecx, [esi + 0x50]
push edx
push edi
call fcn.00403070
push 0
push 0x5590e3
lea ecx, [esi + 0x80]
call fcn.00403070
mov byte [esi + 0x98], 1
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x48]
push dword [ebp - 0x50]
call fcn.00402ad0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.00402ad0
jmp 0x4ea478
call fcn.00401bd0
sub esp, 0x10
lea ecx, [ebp - 0x38]
mov edi, eax
lea eax, [ebp - 0x80]
push eax
call fcn.004e00a0
mov byte [ebp - 4], 0x19
cmp dword [eax + 0x14], 0xf
jbe 0x4ea3d2
mov eax, dword [eax]
push eax
push str.Response_error_body:__s
push str.FBUploadStage
push edi
call fcn.00412dc0
mov byte [ebp - 4], 8
add esp, 0x10
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x4ea420
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ea416
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ea416
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005453ef
add esp, 8
sub esp, 0x10
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x38]
push eax
call fcn.004e00a0
push eax
lea ecx, [esi + 0x80]
call fcn.00411560
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x4ea471
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ea467
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ea467
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005453ef
add esp, 8
mov byte [esi + 0x98], 0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x30]
push dword [ebp - 0x38]
call fcn.00402ad0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x4ea4bb
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ea4b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ea599
push ecx
push edx
call fcn.005453ef
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0xf
jbe 0x4ea501
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ea4f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ea599
push ecx
push edx
call fcn.005453ef
add esp, 8
mov ecx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp ecx, 0xf
jbe 0x4ea543
mov edx, dword [ebp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ea539
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ea599
push ecx
push edx
call fcn.005453ef
add esp, 8
mov eax, dword [ebp + 0x50]
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], 0
push dword [eax + 4]
lea eax, [ebp + 0x50]
push eax
mov ecx, eax
call fcn.00412c10
push 0x40
push dword [ebp + 0x50]
call fcn.005453ef
mov ecx, dword [ebp + 0x6c]
add esp, 8
cmp ecx, 0xf
jbe 0x4ea5a9
mov edx, dword [ebp + 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ea59f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ea59f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005453ef
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054507b
mov esp, ebp
pop ebp
ret 0x68