Function at 0x100128e0
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
lea esi, [ebp + 0x50]
mov edi, edi
mov eax, dword [esi + 0x5c]
mov edi, dword [esp + 0x2c]
mov dword [esi + 0x60], eax
mov ecx, dword [edi]
push ecx
push 0xa
push eax
call dword [sym.imp.MSVCR90.dll_memchr]
add esp, 0xc
mov dword [esi + 0x64], eax
mov ebx, ebp
test eax, eax
je 0x10013590
sub eax, dword [esi + 0x5c]
inc eax
mov edi, eax
mov eax, dword [esp + 0x2c]
sub dword [eax], edi
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
call fcn.10010c70
add esp, 4
test eax, eax
jne 0x10013719
mov edx, dword [esi + 0x54]
mov ebx, dword [esp + 0x28]
mov dword [esi + 0x64], edx
mov eax, dword [ebp + 0x5a4]
xor edx, edx
mov dword [esi + 0x68], eax
cmp dword [esi + 0x50], edx
jne 0x10012978
cmp dword [esi + 0x58], 5
jbe 0x10012978
mov eax, dword [ebp + 0x5a4]
push ebp
mov ecx, ebx
call fcn.10010c40
add esp, 4
test eax, eax
je 0x100135e3
xor edx, edx
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x100133a2
cmp cl, 0xd
je 0x100133a7
mov ecx, dword [esi + 0x50]
lea edi, [ecx + 1]
mov dword [esi + 0x50], edi
cmp ecx, edx
jne 0x10012b95
mov ecx, dword [ebx + 0x23c]
mov ecx, dword [ecx + 0x3c]
test cl, 1
je 0x10012a24
mov edi, dword [esp + 0x28]
mov ebx, dword [sym.imp.MSVCR90.dll_sscanf]
lea ebp, [esi + 0x78]
push ebp
add edi, 0x138
push edi
lea edx, [esp + 0x18]
push edx
push str._HTTP__d._d__3d
push eax
call ebx
add esp, 0x14
cmp eax, 3
jne 0x100129e8
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
jmp 0x10012a73
mov ecx, dword [esi + 0x68]
push ebp
push str._HTTP__3d
push ecx
call ebx
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x10012a73
mov ebx, dword [esi + 0x68]
mov eax, dword [esp + 0x24]
call fcn.10010bc0
test eax, eax
je 0x1001362d
mov dword [ebp], 0xc8
mov dword [edi], 0xa
jmp 0x10012a73
test ecx, 0x40000
je 0x1001362d
lea ebp, [esi + 0x78]
push ebp
lea edi, [ebx + 0x13c]
push edi
lea edx, [esp + 0x1c]
push edx
push str._RTSP__d._d__3d
push eax
call dword [sym.imp.MSVCR90.dll_sscanf]
add esp, 0x14
cmp eax, 3
jne 0x1001362d
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
mov edi, dword [esp + 0x28]
add edi, 0x138
mov dword [edi], 0xb
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebp]
mov eax, dword [ebx + 0x8690]
mov dword [ebx + 0x86ec], ecx
mov edx, dword [edi]
mov dword [ebx + 0x86f4], edx
test eax, eax
je 0x10012a96
cmp eax, dword [edi]
jle 0x10012a9e
mov eax, dword [edi]
mov dword [ebx + 0x8690], eax
cmp dword [ebx + 0x2f8], 0
je 0x10012b03
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x10012b03
cmp eax, 0x191
jne 0x10012ac5
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x1d8], 0
jne 0x10012b03
cmp eax, 0x197
jne 0x10012ad9
mov edx, dword [esp + 0x28]
cmp dword [edx + 0x1dc], 0
jne 0x10012b03
mov ecx, dword [ebx + 0x86b8]
or ecx, dword [ebx + 0x86bc]
je 0x10013617
cmp dword [ebx + 0x260], 1
jne 0x10013617
cmp eax, 0x1a0
jne 0x10013617
mov edi, dword [edi]
cmp edi, 0xa
jne 0x10012b28
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.100219d0
mov edx, dword [esp + 0x30]
add esp, 8
mov dword [edx + 0x1c8], 1
jmp 0x10012b5c
cmp edi, 0xb
jl 0x10012b5c
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x1c8], 0
jne 0x10012b5c
mov ecx, eax
mov edi, dword [ecx + 0x4e4]
test edi, edi
je 0x10012b5c
mov edx, eax
push edx
push ebx
call fcn.1001d490
add esp, 8
test eax, eax
jne 0x10012b5c
mov dword [edi], 1
mov ebp, dword [ebp]
sub ebp, 0xcc
je 0x10012b6c
sub ebp, 0x64
jne 0x10012b95
xor eax, eax
cmp dword [ebx + 0x250], eax
je 0x10012b80
mov dword [ebx + 0x86fc], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xb4], 1
cmp dword [esi + 0xb4], 0
mov edi, dword [esp + 0x24]
jne 0x10012c4e
cmp dword [edi + 0x358], 0
jne 0x10012c4e
mov eax, dword [esi + 0x68]
push 0xf
push eax
push str.Content_Length:
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10012c4e
mov ecx, dword [esi + 0x68]
push 0xa
add ecx, 0xf
push 0
push ecx
call dword [sym.imp.MSVCR90.dll__strtoi64]
mov ebp, dword [edi + 0x2c0]
mov ecx, dword [edi + 0x2c4]
mov ebx, ebp
add esp, 0xc
or ebx, ecx
je 0x10012c06
cmp edx, ecx
jg 0x1001363e
jl 0x10012c06
cmp eax, ebp
ja 0x1001363e
test edx, edx
jl 0x10012c2b
jg 0x10012c10
test eax, eax
jb 0x10012c2b
push edx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.1001f790
add esp, 0xc
jmp 0x1001332c
mov ecx, dword [esp + 0x28]
push edx
push eax
push str.Negative_content_length:__I64d__closing_after_transfer_n
push edi
mov dword [ecx + 0x1c8], 1
call fcn.100219d0
add esp, 0x10
jmp 0x1001332c
mov edx, dword [esi + 0x68]
push 0xd
push edx
push str.Content_Type:
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10012cb8
mov eax, dword [esi + 0x68]
push eax
call fcn.1000fe40
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10013659
cmp byte [ebx], 0
jne 0x10012c8f
push ebx
call dword [0x1003b00c]
add esp, 4
jmp 0x1001332c
mov eax, dword [edi + 0x8714]
test eax, eax
je 0x10012cad
push eax
call dword [0x1003b00c]
add esp, 4
mov dword [edi + 0x8714], 0
mov dword [edi + 0x8714], ebx
jmp 0x1001332c
mov ecx, dword [esi + 0x68]
push 7
push ecx
push str.Server:
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10012d21
mov edx, dword [esi + 0x68]
push edx
call fcn.1000fe40
mov ebp, dword [esp + 0x2c]
mov ebx, eax
mov eax, dword [ebp + 0x4e4]
add esp, 4
test eax, eax
je 0x10012d0a
cmp dword [eax], 0
je 0x10012d0a
push ebx
push edi
call fcn.1001d5e0
add esp, 8
test eax, eax
je 0x10012d0a
mov eax, dword [ebp + 0x4e4]
mov dword [eax], 0
test ebx, ebx
je 0x1001332c
push ebx
call dword [0x1003b00c]
add esp, 4
jmp 0x1001332c
mov ebx, dword [esp + 0x28]
mov ebp, 0xa
cmp dword [ebx + 0x138], ebp
jne 0x10012d72
cmp dword [ebx + 0x1d4], 0
je 0x10012d72
mov ecx, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push ecx
call fcn.10010930
add esp, 0xc
test eax, eax
je 0x10012d72
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
mov dword [ebx + 0x1c8], 0
call fcn.100219d0
add esp, 8
jmp 0x1001332c
cmp dword [ebx + 0x138], 0xb
jne 0x10012dbb
cmp dword [ebx + 0x1d4], 0
je 0x10012dbb
mov edx, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push edx
call fcn.10010930
add esp, 0xc
test eax, eax
je 0x10012dbb
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
mov dword [ebx + 0x1c8], 1
call fcn.100219d0
add esp, 8
jmp 0x1001332c
cmp dword [ebx + 0x138], ebp
jne 0x10012dfa
mov eax, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push eax
call fcn.10010930
add esp, 0xc
test eax, eax
je 0x10012dfa
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
mov dword [ebx + 0x1c8], 0
call fcn.100219d0
add esp, 8
jmp 0x1001332c
mov ecx, dword [esi + 0x68]
push str.close
push str.Connection:
push ecx
call fcn.10010930
add esp, 0xc
test eax, eax
je 0x10012e23
mov dword [ebx + 0x1c8], 1
jmp 0x1001332c
mov edx, dword [esi + 0x68]
push 0x12
push edx
push str.Transfer_Encoding:
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10012f8b
mov edi, dword [esi + 0x68]
add edi, 0x12
mov al, byte [edi]
test al, al
je 0x10012e6a
mov ebx, dword [sym.imp.MSVCR90.dll_isspace]
movzx eax, al
push eax
call ebx
add esp, 4
test eax, eax
jne 0x10012e62
cmp byte [edi], 0x2c
jne 0x10012e6a
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10012e50
push 7
push edi
push str.chunked
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10012e98
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esi + 0xc8], 1
call fcn.10013750
add esp, 4
add edi, 7
cmp dword [esi + 0x88], 0
jne 0x1001332c
push 8
push edi
push str.identity
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10012ecb
mov dword [esi + 0x88], 0
add edi, 8
jmp 0x10012e44
push 7
push edi
push str.deflate
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10012ef1
mov dword [esi + 0x88], 1
add edi, 7
jmp 0x10012e44
push 4
push edi
push str.gzip
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10012f17
mov dword [esi + 0x88], 2
add edi, 4
jmp 0x10012e44
push 6
push edi
push str.x_gzip
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10012f3d
mov dword [esi + 0x88], 2
add edi, 6
jmp 0x10012e44
push 8
push edi
push str.compress
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10012f63
mov dword [esi + 0x88], 3
add edi, 8
jmp 0x10012e44
push ebp
push edi
push str.x_compress
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x1001332c
mov dword [esi + 0x88], 3
add edi, ebp
jmp 0x10012e44
mov edx, dword [esi + 0x68]
push 0x11
push edx
push str.Content_Encoding:
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10013092
cmp dword [edi + 0x398], 0
je 0x10013092
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0x11]
add edi, 0x11
test al, al
je 0x10012fdb
mov ebx, dword [sym.imp.MSVCR90.dll_isspace]
movzx eax, al
push eax
call ebx
add esp, 4
test eax, eax
je 0x10012fdb
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10012fc6
push 8
push edi
push str.identity
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10012ffe
mov dword [esi + 0x88], 0
jmp 0x1001332c
push 7
push edi
push str.deflate
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10013021
mov dword [esi + 0x88], 1
jmp 0x1001332c
push 4
push edi
push str.gzip
call fcn.10020130
add esp, 0xc
test eax, eax
jne 0x10013083
push 6
push edi
push str.x_gzip
call fcn.10020130
add esp, 0xc
test eax, eax
jne 0x10013083
push 8
push edi
push str.compress
call fcn.10020130
add esp, 0xc
test eax, eax
jne 0x10013074
push ebp
push edi
push str.x_compress
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x1001332c
mov dword [esi + 0x88], 3
jmp 0x1001332c
mov dword [esi + 0x88], 2
jmp 0x1001332c
mov ecx, dword [esi + 0x68]
push 0xe
push ecx
push str.Content_Range:
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10013118
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x100130d5
mov ebx, dword [sym.imp.MSVCR90.dll_isdigit]
lea esp, [esp]
movzx edx, al
push edx
call ebx
add esp, 4
test eax, eax
jne 0x100130d5
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100130c0
push ebp
push 0
push edi
call dword [sym.imp.MSVCR90.dll__strtoi64]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x74], edx
mov ecx, dword [eax + 0x86b8]
add esp, 0xc
cmp ecx, dword [esi + 0x70]
jne 0x1001332c
mov edx, eax
mov eax, dword [edx + 0x86bc]
cmp eax, dword [esi + 0x74]
jne 0x1001332c
mov dword [esi + 0x6c], 1
jmp 0x1001332c
cmp dword [edi + 0x480], 0
je 0x10013183
mov ecx, dword [esi + 0x68]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10013183
push 2
push 2
push edi
call fcn.100220f0
mov eax, dword [ebx + 0x26c]
add esp, 0xc
test eax, eax
jne 0x10013155
mov eax, dword [ebx + 0x98]
mov edx, dword [edi + 0x86a0]
mov ecx, dword [edi + 0x480]
push edx
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push ecx
push edi
call fcn.100033e0
push 2
push edi
call fcn.10022130
add esp, 0x20
jmp 0x1001332c
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Last_Modified:
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x100131f6
cmp dword [edi + 0x250], 0
jne 0x100131ac
cmp dword [edi + 0x2dc], 0
je 0x100131f6
push 0
call dword [sym.imp.MSVCR90.dll__time64]
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
add ecx, 0xe
push ecx
mov dword [esp + 0x28], edx
call sym.libcurl.dll_curl_getdate
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [edi + 0x2dc], 0
je 0x1001332c
mov edx, eax
mov dword [edi + 0x86f8], edx
jmp 0x1001332c
mov eax, dword [esi + 0x68]
push 0x11
push eax
push str.WWW_Authenticate:
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10013217
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x10013238
mov ecx, dword [esi + 0x68]
push 0x13
push ecx
push str.Proxy_authenticate:
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10013280
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x10013280
xor edx, edx
cmp eax, 0x197
mov eax, dword [esi + 0x68]
sete dl
push eax
mov ebp, edx
call fcn.1000fe40
mov edi, eax
add esp, 4
test edi, edi
je 0x10013659
push edi
push ebp
push ebx
call fcn.10010420
push edi
mov ebx, eax
call dword [0x1003b00c]
add esp, 0x10
test ebx, ebx
je 0x1001332c
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x10013308
cmp eax, 0x190
jge 0x10013308
mov ecx, dword [esi + 0x68]
push 9
push ecx
push str.Location:
call fcn.10020130
add esp, 0xc
test eax, eax
je 0x10013308
cmp dword [edi + 0x108], 0
jne 0x10013308
mov edx, dword [esi + 0x68]
push edx
call fcn.1000fe40
add esp, 4
test eax, eax
je 0x10013659
cmp byte [eax], 0
jne 0x100132da
push eax
call dword [0x1003b00c]
add esp, 4
jmp 0x1001332c
cmp dword [edi + 0x2fc], 0
mov dword [edi + 0x108], eax
je 0x1001332c
push eax
call dword [0x1003b014]
add esp, 4
mov dword [edi + 0x10c], eax
test eax, eax
je 0x10013659
call fcn.10010080
jmp 0x10013324
mov eax, dword [ebx + 0x23c]
test dword [eax + 0x3c], 0x40000
je 0x1001332c
mov ecx, dword [esi + 0x68]
push ecx
push ebx
call fcn.10020c10
add esp, 8
test eax, eax
jne 0x10013719
mov ebp, dword [esp + 0x24]
cmp dword [ebp + 0x308], 0
mov edi, 2
je 0x10013343
mov edi, 3
cmp dword [ebp + 0x324], 0
je 0x10013364
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x68]
push edx
push eax
push ecx
push 1
push ebp
call fcn.100218e0
add esp, 0x14
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x68]
mov ecx, dword [esp + 0x28]
push edx
push eax
push edi
push ecx
call fcn.10021d40
add esp, 0x10
test eax, eax
jne 0x10013719
mov edx, dword [esi + 0x58]
add dword [ebp + 0x8700], edx
mov eax, dword [esi + 0x58]
mov ecx, dword [ebp + 0x5a4]
add dword [ebp + 0x80], eax
mov dword [esi + 0x54], ecx
jmp 0x10013566
cmp cl, 0xd
jne 0x100133ab
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x100133b7
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x100133e7
cmp eax, 0xc7
jg 0x100133e7
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], edx
cmp dword [esi + 0x84], edx
je 0x1001343d
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], edx
jmp 0x1001343d
mov eax, dword [esi]
and eax, dword [esi + 4]
mov dword [esi + 0x48], edx
cmp eax, 0xffffffff
jne 0x1001343d
cmp dword [esi + 0xc8], edx
jne 0x1001343d
cmp dword [ebx + 0x1c8], edx
jne 0x1001343d
cmp dword [ebx + 0x138], 0xb
jl 0x1001343d
mov ecx, dword [ebx + 0x23c]
test dword [ecx + 0x3c], 0x40000
jne 0x1001343d
cmp dword [ebp + 0x260], 5
je 0x1001343d
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebp
call fcn.100219d0
add esp, 8
mov dword [ebx + 0x1c8], 1
mov edx, ebx
call fcn.10010530
test eax, eax
jne 0x10013666
lea ecx, [eax + 2]
cmp dword [ebp + 0x308], eax
je 0x1001345a
lea ecx, [eax + 3]
mov eax, dword [ebp + 0x5a4]
mov edi, dword [esi + 0x68]
sub edi, eax
push edi
push eax
push ecx
push ebx
call fcn.10021d40
add esp, 0x10
test eax, eax
jne 0x10013719
add dword [ebp + 0x80], edi
add dword [ebp + 0x8700], edi
mov eax, dword [esi + 0x78]
cmp eax, 0x64
mov ecx, dword [ebp + 0x80]
jl 0x1001349e
cmp eax, 0xc7
jg 0x1001349e
mov eax, ecx
jmp 0x100134a0
xor eax, eax
mov edx, dword [esp + 0x30]
mov dword [ebp + 0x84], eax
cmp dword [edx], 0
jne 0x10013553
push ebx
call fcn.10010dc0
add esp, 4
test eax, eax
jne 0x10013719
cmp dword [esi + 0x78], 0x12c
jl 0x10013535
cmp dword [ebx + 0x200], eax
jne 0x10013535
cmp dword [ebx + 0x1c8], eax
jne 0x10013535
cmp dword [ebx + 0x204], eax
jne 0x1001353e
mov eax, dword [ebp + 0x260]
add eax, 0xfffffffe
cmp eax, 2
ja 0x10013535
cmp dword [esi + 0xac], 0
jne 0x10013535
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebp
call fcn.100219d0
mov eax, 1
mov dword [ebx + 0x1c8], eax
and dword [esi + 0xa8], 0xfffffffd
add esp, 8
mov dword [esi + 0xac], eax
cmp dword [ebp + 0x8694], 0
je 0x10013535
mov dword [esi + 0x84], 3
cmp dword [ebx + 0x204], 0
je 0x10013553
push str.Keep_sending_data_to_get_tossed_away__n
push ebp
call fcn.100219d0
add esp, 8
or dword [esi + 0xa8], 2
cmp dword [esi + 0x48], 0
je 0x10013685
mov eax, dword [ebp + 0x5a4]
mov dword [esi + 0x54], eax
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x58], 0
cmp dword [ecx], 0
jne 0x10013717
mov edx, dword [esi + 0x5c]
cmp byte [edx], 0
jne 0x100128f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [edi]
push eax
call fcn.10010c70
add esp, 4
test eax, eax
jne 0x10013719
cmp dword [esi + 0x50], eax
jne 0x10013717
cmp dword [esi + 0x58], 5
jbe 0x10013717
mov eax, dword [ebp + 0x5a4]
mov ecx, dword [esp + 0x28]
push ebp
call fcn.10010c40
add esp, 4
test eax, eax
jne 0x10013717
pop edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 2
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x48], 0
cmp dword [eax], 0
je 0x10013604
pop edi
mov dword [esi + 0x4c], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov dword [esi + 0x4c], 2
mov dword [eax], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
push ebx
call fcn.10010d20
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x10
ret
pop edi
mov dword [esi + 0x48], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.10021a60
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x3f
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x10
ret
mov ecx, dword [esi + 0x78]
push ecx
push str.The_requested_URL_returned_error:__d
push ebp
call fcn.10021a60
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x10
ret
cmp dword [ebp + 0x314], 0
je 0x1001369a
mov edx, dword [esp + 0x30]
mov dword [edx], 1
jmp 0x100136b1
cmp dword [esi + 0xc8], 0
je 0x100136b1
or eax, 0xffffffff
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x100136bf
cmp ecx, eax
je 0x100136d5
push ecx
push eax
push ebp
call fcn.1001f790
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
cmp dword [esi + 0x10], 0
jne 0x100136ed
cmp dword [esi + 0x14], 0
jne 0x100136ed
mov edx, dword [esp + 0x30]
mov dword [edx], 1
jmp 0x100136f6
mov eax, dword [esp + 0x30]
cmp dword [eax], 0
je 0x100136fd
and dword [esi + 0xa8], 0xfffffffe
cmp dword [ebp + 0x324], 0
je 0x10013717
mov ecx, dword [esi + 0x60]
push ebx
push edi
push ecx
push 1
push ebp
call fcn.100218e0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret