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

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
lea esi, [ebp + 0x50]
mov edi, edi
mov eax, dword [esi + 0x5c]
mov edi, dword [esp + 0x28]
mov dword [esi + 0x60], eax
mov ecx, dword [edi]
push ecx
push 0xa
push eax
call fcn.10046290
add esp, 0xc
mov dword [esi + 0x64], eax
mov ebx, ebp
test eax, eax
je 0x10037787
sub eax, dword [esi + 0x5c]
inc eax
mov edi, eax
mov eax, dword [esp + 0x28]
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.10034c30
add esp, 4
test eax, eax
jne 0x1003792e
cmp dword [esi + 0x50], 0
mov edx, dword [esi + 0x54]
mov ebx, dword [esp + 0x24]
mov dword [esi + 0x64], edx
mov eax, dword [ebp + 0x5fc]
mov dword [esi + 0x68], eax
jne 0x10036b0d
cmp dword [esi + 0x58], 5
jbe 0x10036b0d
mov ecx, dword [ebx + 0x2e4]
test dword [ecx + 0x3c], 0x40000
mov eax, dword [ebp + 0x5fc]
je 0x10036af8
push 5
push eax
push str.RTSP_
call fcn.10020fe0
add esp, 0xc
neg eax
sbb eax, eax
neg eax
jmp 0x10036b05
mov ebx, eax
mov eax, ebp
call fcn.10034b90
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x100377da
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x10037506
cmp cl, 0xd
je 0x1003750b
mov ecx, dword [esi + 0x50]
lea edx, [ecx + 1]
mov dword [esi + 0x50], edx
test ecx, ecx
jne 0x10036d71
mov ecx, dword [ebx + 0x2e4]
mov ecx, dword [ecx + 0x3c]
test cl, 3
je 0x10036be1
mov edi, dword [esp + 0x24]
lea ebx, [esi + 0x78]
push ebx
add edi, 0x13c
push edi
lea edx, [esp + 0x28]
push edx
push str._HTTP__d._d__d
push eax
call fcn.1004d088
add esp, 0x14
cmp eax, 3
jne 0x10036ba4
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
cmp dword [esi + 0x88], 2
mov eax, dword [edi]
jne 0x10036c2f
cmp eax, 0x14
je 0x10036c2f
push str.Lying_server__not_serving_HTTP_2_n
push ebp
call fcn.1001b380
add esp, 8
jmp 0x10036c2f
mov ecx, dword [esi + 0x68]
push ebx
push str._HTTP__3d
push ecx
call fcn.1004d088
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x10036c2f
mov ebx, dword [esi + 0x68]
mov eax, ebp
call fcn.10034b90
test eax, eax
je 0x1003780e
mov dword [esi + 0x78], 0xc8
mov dword [edi], 0xa
jmp 0x10036c2f
test ecx, 0x40000
je 0x1003780e
lea ecx, [esi + 0x78]
push ecx
lea edi, [ebx + 0x140]
push edi
lea edx, [esp + 0x18]
push edx
push str._RTSP__d._d__3d
push eax
call fcn.1004d088
add esp, 0x14
cmp eax, 3
jne 0x1003780e
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
mov edi, dword [esp + 0x24]
add edi, 0x13c
mov dword [edi], 0xb
mov ecx, dword [esi + 0x78]
mov eax, dword [ebp + 0x8730]
mov dword [ebp + 0x87b4], ecx
mov edx, dword [edi]
mov dword [ebp + 0x87bc], edx
test eax, eax
je 0x10036c4e
cmp eax, dword [edi]
jle 0x10036c56
mov eax, dword [edi]
mov dword [ebp + 0x8730], eax
cmp dword [ebp + 0x308], 0
je 0x10036cc1
mov eax, dword [esi + 0x78]
cmp eax, 0x190
jl 0x10036cc1
mov ebx, dword [esp + 0x24]
cmp eax, 0x191
jne 0x10036c7d
cmp dword [ebx + 0x280], 0
jne 0x10036cc5
cmp eax, 0x197
jne 0x10036c8d
cmp dword [ebx + 0x284], 0
jne 0x10036cc5
mov ecx, dword [ebp + 0x8758]
or ecx, dword [ebp + 0x875c]
je 0x10036cab
cmp dword [ebp + 0x268], 1
jne 0x10036cab
cmp eax, 0x1a0
je 0x10036cc5
push ebp
call fcn.10034ce0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0xc
ret
mov ebx, dword [esp + 0x24]
mov edi, dword [edi]
cmp edi, 0xa
jne 0x10036ce6
push str.HTTP_1.0__assume_close_after_body_n
push ebp
call fcn.1001b380
add esp, 8
mov dword [ebx + 0x270], 1
jmp 0x10036d39
cmp edi, 0x14
je 0x10036d2d
cmp dword [esi + 0x88], 1
jne 0x10036cfa
cmp dword [esi + 0x78], 0x65
je 0x10036d2d
cmp edi, 0xb
jl 0x10036d39
cmp dword [ebx + 0x270], 0
jne 0x10036d39
cmp dword [ebx + 0x5e0], 0
je 0x10036d39
push ebx
push ebp
call fcn.10037cc0
add esp, 8
test eax, eax
jne 0x10036d39
mov edx, dword [ebx + 0x5e0]
mov dword [edx], 1
jmp 0x10036d39
mov eax, dword [ebx + 0x5e0]
mov dword [eax], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x10036d48
sub eax, 0x64
jne 0x10036d71
xor eax, eax
cmp dword [ebp + 0x258], eax
je 0x10036d5c
mov dword [ebp + 0x87c4], 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
jne 0x10036e21
cmp dword [ebp + 0x368], 0
jne 0x10036e21
mov ecx, dword [esi + 0x68]
push 0xf
push ecx
push str.Content_Length:
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x10036e21
mov edx, dword [esi + 0x68]
push 0xa
add edx, 0xf
push 0
push edx
call fcn.10046261
mov edi, dword [ebp + 0x2d0]
mov ecx, dword [ebp + 0x2d4]
mov ebx, edi
add esp, 0xc
or ebx, ecx
je 0x10036dd9
cmp edx, ecx
jg 0x1003781f
jl 0x10036dd9
cmp eax, edi
ja 0x1003781f
test edx, edx
jl 0x10036dfe
jg 0x10036de3
test eax, eax
jb 0x10036dfe
push edx
push eax
push ebp
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.10022ee0
add esp, 0xc
jmp 0x10037494
mov ecx, dword [esp + 0x24]
push edx
push eax
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebp
mov dword [ecx + 0x270], 1
call fcn.1001b380
add esp, 0x10
jmp 0x10037494
mov edx, dword [esi + 0x68]
push 0xd
push edx
push str.Content_Type:
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x10036e7d
mov eax, dword [esi + 0x68]
push eax
call fcn.10033c10
mov edi, eax
add esp, 4
test edi, edi
je 0x1003783a
cmp byte [edi], 0
jne 0x10036e62
push edi
call dword [0x100711f4]
add esp, 4
jmp 0x10037494
mov ecx, dword [ebp + 0x87dc]
push ecx
call dword [0x100711f4]
add esp, 4
mov dword [ebp + 0x87dc], edi
jmp 0x10037494
mov edx, dword [esi + 0x68]
push 7
push edx
push str.Server:
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x10036eeb
mov ebx, dword [esp + 0x24]
cmp dword [ebx + 0x13c], 0x14
jge 0x10037494
mov eax, dword [esi + 0x68]
push eax
call fcn.10033c10
mov edi, eax
mov eax, dword [ebx + 0x5e0]
add esp, 4
test eax, eax
je 0x10036edc
cmp dword [eax], 1
jne 0x10036edc
push edi
push ebp
call fcn.10037e70
add esp, 8
test eax, eax
je 0x10036edc
mov ecx, dword [ebx + 0x5e0]
mov dword [ecx], 0xffffffff
push edi
call dword [0x100711f4]
add esp, 4
jmp 0x10037494
mov edi, dword [esp + 0x24]
mov ebx, 0xa
cmp dword [edi + 0x13c], ebx
jne 0x10036f3c
cmp dword [edi + 0x27c], 0
je 0x10036f3c
mov edx, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push edx
call fcn.100348b0
add esp, 0xc
test eax, eax
je 0x10036f3c
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebp
mov dword [edi + 0x270], 0
call fcn.1001b380
add esp, 8
jmp 0x10037494
cmp dword [edi + 0x13c], 0xb
jne 0x10036f85
cmp dword [edi + 0x27c], 0
je 0x10036f85
mov eax, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push eax
call fcn.100348b0
add esp, 0xc
test eax, eax
je 0x10036f85
push str.HTTP_1.1_proxy_connection_set_close__n
push ebp
mov dword [edi + 0x270], 1
call fcn.1001b380
add esp, 8
jmp 0x10037494
cmp dword [edi + 0x13c], ebx
jne 0x10036fc4
mov ecx, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push ecx
call fcn.100348b0
add esp, 0xc
test eax, eax
je 0x10036fc4
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebp
mov dword [edi + 0x270], 0
call fcn.1001b380
add esp, 8
jmp 0x10037494
mov edx, dword [esi + 0x68]
push str.close
push str.Connection:
push edx
call fcn.100348b0
add esp, 0xc
test eax, eax
je 0x10036fed
mov dword [edi + 0x270], 1
jmp 0x10037494
mov eax, dword [esi + 0x68]
push 0x12
push eax
push str.Transfer_Encoding:
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x1003710a
mov edi, dword [esi + 0x68]
add edi, 0x12
mov edi, edi
mov al, byte [edi]
test al, al
je 0x10037033
movzx ecx, al
push ecx
call fcn.10047805
add esp, 4
test eax, eax
jne 0x1003702b
cmp byte [edi], 0x2c
jne 0x10037033
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10037016
push 7
push edi
push str.chunked
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x10037061
mov edx, dword [esp + 0x24]
push edx
mov dword [esi + 0xc8], 1
call fcn.10040d50
add esp, 4
add edi, 7
cmp dword [esi + 0x8c], 0
jne 0x10037494
push 8
push edi
push str.identity
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x10037094
mov dword [esi + 0x8c], 0
add edi, 8
jmp 0x10037010
push 7
push edi
push str.deflate
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x100370ba
mov dword [esi + 0x8c], 1
add edi, 7
jmp 0x10037010
push 4
push edi
push str.gzip
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x100370e0
mov dword [esi + 0x8c], 2
add edi, 4
jmp 0x10037010
push 6
push edi
push str.x_gzip
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x10037494
mov dword [esi + 0x8c], 2
add edi, 6
jmp 0x10037010
mov eax, dword [esi + 0x68]
push 0x11
push eax
push str.Content_Encoding:
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x100371d9
cmp dword [ebp + 0x3b0], 0
je 0x100371d9
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0x11]
add edi, 0x11
test al, al
je 0x10037158
nop
movzx ecx, al
push ecx
call fcn.10047805
add esp, 4
test eax, eax
je 0x10037158
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10037140
push 8
push edi
push str.identity
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x1003717b
mov dword [esi + 0x8c], 0
jmp 0x10037494
push 7
push edi
push str.deflate
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x1003719e
mov dword [esi + 0x8c], 1
jmp 0x10037494
push 4
push edi
push str.gzip
call fcn.10020fe0
add esp, 0xc
test eax, eax
jne 0x100371ca
push 6
push edi
push str.x_gzip
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x10037494
mov dword [esi + 0x8c], 2
jmp 0x10037494
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Content_Range:
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x1003727d
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x1003721e
movzx eax, al
push eax
call fcn.10047700
add esp, 4
test eax, eax
jne 0x1003721e
cmp byte [edi], 0x2a
je 0x1003721e
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10037201
movzx ecx, byte [edi]
push ecx
call fcn.10047700
add esp, 4
test eax, eax
je 0x1003726a
push 0xa
push 0
push edi
call fcn.10046261
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
mov edx, dword [ebp + 0x8758]
add esp, 0xc
cmp edx, eax
jne 0x10037494
mov eax, dword [ebp + 0x875c]
cmp eax, dword [esi + 0x74]
jne 0x10037494
mov dword [esi + 0x6c], 1
jmp 0x10037494
xor eax, eax
mov dword [ebp + 0x8758], eax
mov dword [ebp + 0x875c], eax
jmp 0x10037494
cmp dword [ebp + 0x4d0], 0
je 0x100372e8
mov ecx, dword [esi + 0x68]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x100372e8
push 2
push 2
push ebp
call fcn.10023770
mov eax, dword [edi + 0x314]
add esp, 0xc
test eax, eax
jne 0x100372ba
mov eax, dword [edi + 0x98]
mov edx, dword [ebp + 0x8740]
mov ecx, dword [ebp + 0x4d0]
push edx
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push ecx
push ebp
call fcn.1001bcd0
push 2
push ebp
call fcn.100237b0
add esp, 0x20
jmp 0x10037494
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Last_Modified:
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x1003735a
cmp dword [ebp + 0x258], 0
jne 0x10037311
cmp dword [ebp + 0x2ec], 0
je 0x1003735a
push 0
call fcn.10044477
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
add ecx, 0xe
push ecx
mov dword [esp + 0x24], edx
call fcn.1003d3b0
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [ebp + 0x2ec], 0
je 0x10037494
mov edx, eax
mov dword [ebp + 0x87c0], edx
jmp 0x10037494
mov eax, dword [esi + 0x68]
push 0x11
push eax
push str.WWW_Authenticate:
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x1003737b
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x1003739c
mov ecx, dword [esi + 0x68]
push 0x13
push ecx
push str.Proxy_authenticate:
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x100373e6
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x100373e6
mov edx, dword [esi + 0x68]
xor ebx, ebx
cmp eax, 0x197
push edx
sete bl
call fcn.10033c10
mov edi, eax
add esp, 4
test edi, edi
je 0x1003783a
mov eax, dword [esp + 0x24]
push edi
push ebx
push eax
call fcn.10034290
push edi
mov ebx, eax
call dword [0x100711f4]
add esp, 0x10
test ebx, ebx
je 0x10037494
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x10037470
cmp eax, 0x190
jge 0x10037470
mov ecx, dword [esi + 0x68]
push 9
push ecx
push str.Location:
call fcn.10020fe0
add esp, 0xc
test eax, eax
je 0x10037470
cmp dword [ebp + 0x108], 0
jne 0x10037470
mov edx, dword [esi + 0x68]
push edx
call fcn.10033c10
add esp, 4
test eax, eax
je 0x1003783a
cmp byte [eax], 0
jne 0x10037440
push eax
call dword [0x100711f4]
add esp, 4
jmp 0x10037494
cmp dword [ebp + 0x30c], 0
mov dword [ebp + 0x108], eax
je 0x10037494
push eax
call dword [0x100711fc]
add esp, 4
mov dword [ebp + 0x10c], eax
test eax, eax
je 0x1003783a
mov ebx, edi
call fcn.10033e50
jmp 0x1003748c
mov eax, dword [edi + 0x2e4]
test dword [eax + 0x3c], 0x40000
je 0x10037494
mov ecx, dword [esi + 0x68]
push ecx
push edi
call fcn.10024f30
add esp, 8
test eax, eax
jne 0x1003792e
cmp dword [ebp + 0x318], 0
mov edi, 2
je 0x100374a7
mov edi, 3
cmp dword [ebp + 0x334], 0
je 0x100374c8
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x68]
push edx
push eax
push ecx
push 1
push ebp
call fcn.1001b1f0
add esp, 0x14
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x68]
mov ecx, dword [esp + 0x24]
push edx
push eax
push edi
push ecx
call fcn.1001b8d0
add esp, 0x10
test eax, eax
jne 0x1003792e
mov edx, dword [esi + 0x58]
add dword [ebp + 0x87c8], edx
mov eax, dword [esi + 0x58]
mov ecx, dword [ebp + 0x5fc]
add dword [ebp + 0x80], eax
mov dword [esi + 0x54], ecx
jmp 0x1003775d
cmp cl, 0xd
jne 0x1003750f
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x1003751b
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x10037589
cmp eax, 0xc7
jg 0x10037589
xor ecx, ecx
sub eax, 0x64
mov edi, 1
mov dword [esi + 0x48], edi
mov dword [esi + 0x50], ecx
je 0x10037572
sub eax, edi
jne 0x100375ed
cmp dword [esi + 0x88], edi
jne 0x100375ed
push str.Received_101_n
push ebp
call fcn.1001b380
add esp, 8
mov eax, edi
pop edi
mov dword [esi + 0x88], 2
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp dword [esi + 0x84], ecx
je 0x100375ed
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], ecx
jmp 0x100375ed
mov edx, dword [esi]
and edx, dword [esi + 4]
mov dword [esi + 0x48], 0
cmp edx, 0xffffffff
jne 0x100375e8
cmp dword [esi + 0xc8], 0
jne 0x100375e8
cmp dword [ebx + 0x270], 0
jne 0x100375e8
cmp dword [ebx + 0x13c], 0xb
jne 0x100375e8
mov eax, dword [ebx + 0x2e4]
test dword [eax + 0x3c], 0x40000
jne 0x100375e8
cmp dword [ebp + 0x268], 5
je 0x100375e8
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebp
call fcn.1001b380
mov edi, 1
add esp, 8
mov dword [ebx + 0x270], edi
jmp 0x100375ed
mov edi, 1
cmp dword [ebx + 0x270], 0
je 0x10037630
mov eax, dword [ebp + 0xc8]
cmp eax, 0x191
jne 0x1003760c
cmp dword [ebx + 0x378], 2
je 0x1003761c
cmp eax, 0x197
jne 0x10037630
cmp dword [ebx + 0x3b4], 2
jne 0x10037630
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebp
call fcn.1001b380
add esp, 8
mov dword [ebp + 0x86fc], edi
mov edx, ebx
call fcn.100344b0
test eax, eax
jne 0x10037847
lea ecx, [eax + 2]
cmp dword [ebp + 0x318], eax
je 0x1003764d
lea ecx, [eax + 3]
mov eax, dword [ebp + 0x5fc]
mov ebx, dword [esi + 0x68]
mov edi, dword [esp + 0x24]
sub ebx, eax
push ebx
push eax
push ecx
push edi
call fcn.1001b8d0
add esp, 0x10
test eax, eax
jne 0x1003792e
add dword [ebp + 0x80], ebx
add dword [ebp + 0x87c8], ebx
mov eax, dword [esi + 0x78]
cmp eax, 0x64
mov ecx, dword [ebp + 0x80]
jl 0x10037695
cmp eax, 0xc7
jg 0x10037695
mov eax, ecx
jmp 0x10037697
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword [ebp + 0x84], eax
cmp dword [ecx], 0
jne 0x1003774a
push edi
call fcn.10034d80
add esp, 4
test eax, eax
jne 0x1003792e
cmp dword [esi + 0x78], 0x12c
jl 0x1003772c
cmp dword [edi + 0x2a8], eax
jne 0x1003772c
cmp dword [edi + 0x270], eax
jne 0x1003772c
cmp dword [edi + 0x2ac], eax
jne 0x10037735
mov eax, dword [ebp + 0x268]
add eax, 0xfffffffe
cmp eax, 2
ja 0x1003772c
cmp dword [esi + 0xac], 0
jne 0x1003772c
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebp
call fcn.1001b380
mov eax, 1
mov dword [edi + 0x270], eax
and dword [esi + 0xa8], 0xfffffffd
add esp, 8
mov dword [esi + 0xac], eax
cmp dword [ebp + 0x8734], 0
je 0x1003772c
mov dword [esi + 0x84], 3
cmp dword [edi + 0x2ac], 0
je 0x1003774a
push str.Keep_sending_data_to_get_tossed_away__n
push ebp
call fcn.1001b380
add esp, 8
or dword [esi + 0xa8], 2
cmp dword [esi + 0x48], 0
je 0x10037866
mov edx, dword [ebp + 0x5fc]
mov dword [esi + 0x54], edx
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x58], 0
cmp dword [eax], 0
jne 0x1003792c
mov ecx, dword [esi + 0x5c]
cmp byte [ecx], 0
jne 0x10036a60
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov edx, dword [edi]
push edx
call fcn.10034c30
add esp, 4
test eax, eax
jne 0x1003792e
cmp dword [esi + 0x50], eax
jne 0x1003792c
cmp dword [esi + 0x58], 5
jbe 0x1003792c
mov ecx, dword [ebp + 0x5fc]
mov eax, dword [esp + 0x24]
push ebp
call fcn.10034bf0
add esp, 4
test eax, eax
jne 0x1003792c
pop edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 2
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x28]
mov dword [esi + 0x48], 0
cmp dword [eax], 0
je 0x100377fb
pop edi
mov dword [esi + 0x4c], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x4c], 2
mov dword [eax], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
pop edi
mov dword [esi + 0x48], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
push str.Maximum_file_size_exceeded
push ebp
call fcn.1001b410
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x3f
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0xc
ret
mov eax, dword [esi + 0x78]
push eax
push str.The_requested_URL_returned_error:__d
push ebp
call fcn.1001b410
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0xc
ret
cmp dword [ebp + 0x324], 0
je 0x1003787e
mov ecx, dword [esp + 0x2c]
mov dword [ecx], 1
or edx, 0xffffffff
jmp 0x100378c7
mov edx, dword [edi + 0x2e4]
test dword [edx + 0x3c], 0x40000
je 0x100378b0
cmp dword [ebp + 0x464], 2
jne 0x100378b0
or edx, 0xffffffff
cmp dword [esi + 4], edx
jg 0x100378b3
jl 0x100378a4
cmp dword [esi], edx
ja 0x100378b3
mov eax, dword [esp + 0x2c]
mov dword [eax], 1
jmp 0x100378c7
or edx, 0xffffffff
cmp dword [esi + 0xc8], 0
je 0x100378c7
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, edx
jne 0x100378d4
cmp ecx, edx
je 0x100378ea
push ecx
push eax
push ebp
call fcn.10022ee0
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
cmp dword [esi + 0x10], 0
jne 0x10037902
cmp dword [esi + 0x14], 0
jne 0x10037902
mov eax, dword [esp + 0x2c]
mov dword [eax], 1
jmp 0x1003790b
mov ecx, dword [esp + 0x2c]
cmp dword [ecx], 0
je 0x10037912
and dword [esi + 0xa8], 0xfffffffe
cmp dword [ebp + 0x334], 0
je 0x1003792c
mov edx, dword [esi + 0x60]
push edi
push ebx
push edx
push 1
push ebp
call fcn.1001b1f0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret