Function at 0x54d1d0
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.004bce00
add esp, 0xc
mov dword [esi + 0x64], eax
mov ebx, ebp
test eax, eax
je 0x54dee4
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.0054b3a0
add esp, 4
test eax, eax
jne 0x54e057
cmp dword [esi + 0x50], 0
mov edx, dword [esi + 0x54]
mov ebx, dword [esp + 0x24]
mov dword [esi + 0x64], edx
mov eax, dword [ebp + 0x5ec]
mov dword [esi + 0x68], eax
jne 0x54d264
cmp dword [esi + 0x58], 5
jbe 0x54d264
mov eax, dword [ebp + 0x5ec]
push ebp
mov ecx, ebx
call fcn.0054b370
add esp, 4
test eax, eax
je 0x54df37
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x54dc68
cmp cl, 0xd
je 0x54dc6d
mov ecx, dword [esi + 0x50]
lea edx, [ecx + 1]
mov dword [esi + 0x50], edx
test ecx, ecx
jne 0x54d4c8
mov ecx, dword [ebx + 0x2e0]
mov ecx, dword [ecx + 0x3c]
test cl, 3
je 0x54d338
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.004b6e6b
add esp, 0x14
cmp eax, 3
jne 0x54d2fb
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 0x54d386
cmp eax, 0x14
je 0x54d386
push str.Lying_server__not_serving_HTTP_2_n
push ebp
call fcn.005320f0
add esp, 8
jmp 0x54d386
mov ecx, dword [esi + 0x68]
push ebx
push str._HTTP__3d
push ecx
call fcn.004b6e6b
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x54d386
mov ebx, dword [esi + 0x68]
mov eax, ebp
call fcn.0054b2f0
test eax, eax
je 0x54df6b
mov dword [esi + 0x78], 0xc8
mov dword [edi], 0xa
jmp 0x54d386
test ecx, 0x40000
je 0x54df6b
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.004b6e6b
add esp, 0x14
cmp eax, 3
jne 0x54df6b
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 + 0x8720]
mov dword [ebp + 0x878c], ecx
mov edx, dword [edi]
mov dword [ebp + 0x8794], edx
test eax, eax
je 0x54d3a5
cmp eax, dword [edi]
jle 0x54d3ad
mov eax, dword [edi]
mov dword [ebp + 0x8720], eax
cmp dword [ebp + 0x308], 0
je 0x54d418
mov eax, dword [esi + 0x78]
cmp eax, 0x190
jl 0x54d418
mov ebx, dword [esp + 0x24]
cmp eax, 0x191
jne 0x54d3d4
cmp dword [ebx + 0x27c], 0
jne 0x54d41c
cmp eax, 0x197
jne 0x54d3e4
cmp dword [ebx + 0x280], 0
jne 0x54d41c
mov ecx, dword [ebp + 0x8748]
or ecx, dword [ebp + 0x874c]
je 0x54d402
cmp dword [ebp + 0x268], 1
jne 0x54d402
cmp eax, 0x1a0
je 0x54d41c
push ebp
call fcn.0054b450
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 0x54d43d
push str.HTTP_1.0__assume_close_after_body_n
push ebp
call fcn.005320f0
add esp, 8
mov dword [ebx + 0x26c], 1
jmp 0x54d490
cmp edi, 0x14
je 0x54d484
cmp dword [esi + 0x88], 1
jne 0x54d451
cmp dword [esi + 0x78], 0x65
je 0x54d484
cmp edi, 0xb
jl 0x54d490
cmp dword [ebx + 0x26c], 0
jne 0x54d490
cmp dword [ebx + 0x5d8], 0
je 0x54d490
push ebx
push ebp
call fcn.0054e3f0
add esp, 8
test eax, eax
jne 0x54d490
mov edx, dword [ebx + 0x5d8]
mov dword [edx], 1
jmp 0x54d490
mov eax, dword [ebx + 0x5d8]
mov dword [eax], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x54d49f
sub eax, 0x64
jne 0x54d4c8
xor eax, eax
cmp dword [ebp + 0x258], eax
je 0x54d4b3
mov dword [ebp + 0x879c], 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 0x54d578
cmp dword [ebp + 0x368], 0
jne 0x54d578
mov ecx, dword [esi + 0x68]
push 0xf
push ecx
push str.Content_Length:
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54d578
mov edx, dword [esi + 0x68]
push 0xa
add edx, 0xf
push 0
push edx
call fcn.004caf4d
mov edi, dword [ebp + 0x2d0]
mov ecx, dword [ebp + 0x2d4]
mov ebx, edi
add esp, 0xc
or ebx, ecx
je 0x54d530
cmp edx, ecx
jg 0x54df7c
jl 0x54d530
cmp eax, edi
ja 0x54df7c
test edx, edx
jl 0x54d555
jg 0x54d53a
test eax, eax
jb 0x54d555
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.00539150
add esp, 0xc
jmp 0x54dbf6
mov ecx, dword [esp + 0x24]
push edx
push eax
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebp
mov dword [ecx + 0x26c], 1
call fcn.005320f0
add esp, 0x10
jmp 0x54dbf6
mov edx, dword [esi + 0x68]
push 0xd
push edx
push str.Content_Type:
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54d5d4
mov eax, dword [esi + 0x68]
push eax
call fcn.0054a370
mov edi, eax
add esp, 4
test edi, edi
je 0x54df97
cmp byte [edi], 0
jne 0x54d5b9
push edi
call dword [0x5e92d4]
add esp, 4
jmp 0x54dbf6
mov ecx, dword [ebp + 0x87b4]
push ecx
call dword [0x5e92d4]
add esp, 4
mov dword [ebp + 0x87b4], edi
jmp 0x54dbf6
mov edx, dword [esi + 0x68]
push 7
push edx
push str.Server:
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54d642
mov ebx, dword [esp + 0x24]
cmp dword [ebx + 0x13c], 0x14
jge 0x54dbf6
mov eax, dword [esi + 0x68]
push eax
call fcn.0054a370
mov edi, eax
mov eax, dword [ebx + 0x5d8]
add esp, 4
test eax, eax
je 0x54d633
cmp dword [eax], 1
jne 0x54d633
push edi
push ebp
call fcn.0054e5a0
add esp, 8
test eax, eax
je 0x54d633
mov ecx, dword [ebx + 0x5d8]
mov dword [ecx], 0xffffffff
push edi
call dword [0x5e92d4]
add esp, 4
jmp 0x54dbf6
mov edi, dword [esp + 0x24]
mov ebx, 0xa
cmp dword [edi + 0x13c], ebx
jne 0x54d693
cmp dword [edi + 0x278], 0
je 0x54d693
mov edx, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push edx
call fcn.0054b000
add esp, 0xc
test eax, eax
je 0x54d693
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebp
mov dword [edi + 0x26c], 0
call fcn.005320f0
add esp, 8
jmp 0x54dbf6
cmp dword [edi + 0x13c], 0xb
jne 0x54d6dc
cmp dword [edi + 0x278], 0
je 0x54d6dc
mov eax, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push eax
call fcn.0054b000
add esp, 0xc
test eax, eax
je 0x54d6dc
push str.HTTP_1.1_proxy_connection_set_close__n
push ebp
mov dword [edi + 0x26c], 1
call fcn.005320f0
add esp, 8
jmp 0x54dbf6
cmp dword [edi + 0x13c], ebx
jne 0x54d71b
mov ecx, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push ecx
call fcn.0054b000
add esp, 0xc
test eax, eax
je 0x54d71b
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebp
mov dword [edi + 0x26c], 0
call fcn.005320f0
add esp, 8
jmp 0x54dbf6
mov edx, dword [esi + 0x68]
push str.close
push str.Connection:
push edx
call fcn.0054b000
add esp, 0xc
test eax, eax
je 0x54d744
mov dword [edi + 0x26c], 1
jmp 0x54dbf6
mov eax, dword [esi + 0x68]
push 0x12
push eax
push str.Transfer_Encoding:
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54d864
mov edi, dword [esi + 0x68]
add edi, 0x12
mov al, byte [edi]
test al, al
je 0x54d78d
jmp 0x54d770
movzx ecx, al
push ecx
call fcn.004b68ec
add esp, 4
test eax, eax
jne 0x54d785
cmp byte [edi], 0x2c
jne 0x54d78d
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x54d770
push 7
push edi
push str.chunked
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54d7bb
mov edx, dword [esp + 0x24]
push edx
mov dword [esi + 0xc8], 1
call fcn.00556ba0
add esp, 4
add edi, 7
cmp dword [esi + 0x8c], 0
jne 0x54dbf6
push 8
push edi
push str.identity
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54d7ee
mov dword [esi + 0x8c], 0
add edi, 8
jmp 0x54d765
push 7
push edi
push str.deflate
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54d814
mov dword [esi + 0x8c], 1
add edi, 7
jmp 0x54d765
push 4
push edi
push str.gzip
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54d83a
mov dword [esi + 0x8c], 2
add edi, 4
jmp 0x54d765
push 6
push edi
push str.x_gzip
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54dbf6
mov dword [esi + 0x8c], 2
add edi, 6
jmp 0x54d765
mov eax, dword [esi + 0x68]
push 0x11
push eax
push str.Content_Encoding:
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54d93b
cmp dword [ebp + 0x3ac], 0
jne 0x54d895
cmp dword [edi + 0x13c], 0x14
jne 0x54d93b
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0x11]
add edi, 0x11
test al, al
je 0x54d8ba
movzx ecx, al
push ecx
call fcn.004b68ec
add esp, 4
test eax, eax
je 0x54d8ba
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x54d8a2
push 8
push edi
push str.identity
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54d8dd
mov dword [esi + 0x8c], 0
jmp 0x54dbf6
push 7
push edi
push str.deflate
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54d900
mov dword [esi + 0x8c], 1
jmp 0x54dbf6
push 4
push edi
push str.gzip
call fcn.00537200
add esp, 0xc
test eax, eax
jne 0x54d92c
push 6
push edi
push str.x_gzip
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54dbf6
mov dword [esi + 0x8c], 2
jmp 0x54dbf6
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Content_Range:
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54d9df
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x54d980
movzx eax, al
push eax
call fcn.004b67e7
add esp, 4
test eax, eax
jne 0x54d980
cmp byte [edi], 0x2a
je 0x54d980
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x54d963
movzx ecx, byte [edi]
push ecx
call fcn.004b67e7
add esp, 4
test eax, eax
je 0x54d9cc
push 0xa
push 0
push edi
call fcn.004caf4d
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
mov edx, dword [ebp + 0x8748]
add esp, 0xc
cmp edx, eax
jne 0x54dbf6
mov eax, dword [ebp + 0x874c]
cmp eax, dword [esi + 0x74]
jne 0x54dbf6
mov dword [esi + 0x6c], 1
jmp 0x54dbf6
xor eax, eax
mov dword [ebp + 0x8748], eax
mov dword [ebp + 0x874c], eax
jmp 0x54dbf6
cmp dword [ebp + 0x4c0], 0
je 0x54da4a
mov ecx, dword [esi + 0x68]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54da4a
push 2
push 2
push ebp
call fcn.00539c40
mov eax, dword [edi + 0x310]
add esp, 0xc
test eax, eax
jne 0x54da1c
mov eax, dword [edi + 0x98]
mov edx, dword [ebp + 0x8730]
mov ecx, dword [ebp + 0x4c0]
push edx
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push ecx
push ebp
call fcn.00532ec0
push 2
push ebp
call fcn.00539c80
add esp, 0x20
jmp 0x54dbf6
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Last_Modified:
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54dabc
cmp dword [ebp + 0x258], 0
jne 0x54da73
cmp dword [ebp + 0x2ec], 0
je 0x54dabc
push 0
call fcn.004ba1aa
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.00553c00
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [ebp + 0x2ec], 0
je 0x54dbf6
mov edx, eax
mov dword [ebp + 0x8798], edx
jmp 0x54dbf6
mov eax, dword [esi + 0x68]
push 0x11
push eax
push str.WWW_Authenticate:
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54dadd
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x54dafe
mov ecx, dword [esi + 0x68]
push 0x13
push ecx
push str.Proxy_authenticate:
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54db48
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x54db48
mov edx, dword [esi + 0x68]
xor ebx, ebx
cmp eax, 0x197
push edx
sete bl
call fcn.0054a370
mov edi, eax
add esp, 4
test edi, edi
je 0x54df97
mov eax, dword [esp + 0x24]
push edi
push ebx
push eax
call fcn.0054a9f0
push edi
mov ebx, eax
call dword [0x5e92d4]
add esp, 0x10
test ebx, ebx
je 0x54dbf6
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x54dbd2
cmp eax, 0x190
jge 0x54dbd2
mov ecx, dword [esi + 0x68]
push 9
push ecx
push str.Location:
call fcn.00537200
add esp, 0xc
test eax, eax
je 0x54dbd2
cmp dword [ebp + 0x108], 0
jne 0x54dbd2
mov edx, dword [esi + 0x68]
push edx
call fcn.0054a370
add esp, 4
test eax, eax
je 0x54df97
cmp byte [eax], 0
jne 0x54dba2
push eax
call dword [0x5e92d4]
add esp, 4
jmp 0x54dbf6
cmp dword [ebp + 0x30c], 0
mov dword [ebp + 0x108], eax
je 0x54dbf6
push eax
call dword [0x5e92dc]
add esp, 4
mov dword [ebp + 0x10c], eax
test eax, eax
je 0x54df97
mov ebx, edi
call fcn.0054a5b0
jmp 0x54dbee
mov eax, dword [edi + 0x2e0]
test dword [eax + 0x3c], 0x40000
je 0x54dbf6
mov ecx, dword [esi + 0x68]
push ecx
push edi
call fcn.0053b580
add esp, 8
test eax, eax
jne 0x54e057
cmp dword [ebp + 0x318], 0
mov edi, 2
je 0x54dc09
mov edi, 3
cmp dword [ebp + 0x334], 0
je 0x54dc2a
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.00532000
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.00532640
add esp, 0x10
test eax, eax
jne 0x54e057
mov edx, dword [esi + 0x58]
add dword [ebp + 0x87a0], edx
mov eax, dword [esi + 0x58]
mov ecx, dword [ebp + 0x5ec]
add dword [ebp + 0x80], eax
mov dword [esi + 0x54], ecx
jmp 0x54deba
cmp cl, 0xd
jne 0x54dc71
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x54dc7d
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x54dcee
cmp eax, 0xc7
jg 0x54dcee
xor edx, edx
sub eax, 0x64
mov ecx, 1
mov dword [esi + 0x48], ecx
mov dword [esi + 0x50], edx
je 0x54dcd7
sub eax, ecx
jne 0x54dd4a
cmp dword [esi + 0x88], ecx
jne 0x54dd4a
push str.Received_101_n
push ebp
call fcn.005320f0
add esp, 8
pop edi
mov dword [esi + 0x88], 2
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
cmp dword [esi + 0x84], edx
je 0x54dd4a
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], edx
jmp 0x54dd4a
mov edx, dword [esi]
and edx, dword [esi + 4]
mov dword [esi + 0x48], 0
cmp edx, 0xffffffff
jne 0x54dd4a
cmp dword [esi + 0xc8], 0
jne 0x54dd4a
cmp dword [ebx + 0x26c], 0
jne 0x54dd53
cmp dword [ebx + 0x13c], 0xb
jne 0x54dd4a
mov eax, dword [ebx + 0x2e0]
test dword [eax + 0x3c], 0x40000
jne 0x54dd4a
cmp dword [ebp + 0x268], 5
je 0x54dd4a
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebp
call fcn.005320f0
add esp, 8
mov dword [ebx + 0x26c], 1
cmp dword [ebx + 0x26c], 0
je 0x54dd91
mov eax, dword [ebp + 0xc8]
cmp eax, 0x191
jne 0x54dd69
cmp dword [ebx + 0x374], 2
je 0x54dd79
cmp eax, 0x197
jne 0x54dd91
cmp dword [ebx + 0x3b0], 2
jne 0x54dd91
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebp
call fcn.005320f0
add esp, 8
mov dword [ebp + 0x86ec], 1
mov edx, ebx
call fcn.0054ac10
test eax, eax
jne 0x54dfa4
lea ecx, [eax + 2]
cmp dword [ebp + 0x318], eax
je 0x54ddae
lea ecx, [eax + 3]
mov eax, dword [ebp + 0x5ec]
mov edi, dword [esi + 0x68]
sub edi, eax
push edi
push eax
push ecx
push ebx
call fcn.00532640
add esp, 0x10
test eax, eax
jne 0x54e057
add dword [ebp + 0x80], edi
add dword [ebp + 0x87a0], edi
mov eax, dword [esi + 0x78]
cmp eax, 0x64
mov ecx, dword [ebp + 0x80]
jl 0x54ddf2
cmp eax, 0xc7
jg 0x54ddf2
mov eax, ecx
jmp 0x54ddf4
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword [ebp + 0x84], eax
cmp dword [ecx], 0
jne 0x54dea7
push ebx
call fcn.0054b4f0
add esp, 4
test eax, eax
jne 0x54e057
cmp dword [esi + 0x78], 0x12c
jl 0x54de89
cmp dword [ebx + 0x2a4], eax
jne 0x54de89
cmp dword [ebx + 0x26c], eax
jne 0x54de89
cmp dword [ebx + 0x2a8], eax
jne 0x54de92
mov eax, dword [ebp + 0x268]
add eax, 0xfffffffe
cmp eax, 2
ja 0x54de89
cmp dword [esi + 0xac], 0
jne 0x54de89
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebp
call fcn.005320f0
mov eax, 1
mov dword [ebx + 0x26c], eax
and dword [esi + 0xa8], 0xfffffffd
add esp, 8
mov dword [esi + 0xac], eax
cmp dword [ebp + 0x8724], 0
je 0x54de89
mov dword [esi + 0x84], 3
cmp dword [ebx + 0x2a8], 0
je 0x54dea7
push str.Keep_sending_data_to_get_tossed_away__n
push ebp
call fcn.005320f0
add esp, 8
or dword [esi + 0xa8], 2
cmp dword [esi + 0x48], 0
je 0x54dfc3
mov edx, dword [ebp + 0x5ec]
mov dword [esi + 0x54], edx
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x58], 0
cmp dword [eax], 0
jne 0x54e055
mov ecx, dword [esi + 0x5c]
cmp byte [ecx], 0
jne 0x54d1e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov edx, dword [edi]
push edx
call fcn.0054b3a0
add esp, 4
test eax, eax
jne 0x54e057
cmp dword [esi + 0x50], eax
jne 0x54e055
cmp dword [esi + 0x58], 5
jbe 0x54e055
mov eax, dword [ebp + 0x5ec]
mov ecx, dword [esp + 0x24]
push ebp
call fcn.0054b370
add esp, 4
test eax, eax
jne 0x54e055
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 0x54df58
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.00532180
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.00532180
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0xc
ret
cmp dword [ebp + 0x324], 0
je 0x54dfd8
mov ecx, dword [esp + 0x2c]
mov dword [ecx], 1
jmp 0x54dfef
cmp dword [esi + 0xc8], 0
je 0x54dfef
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 0x54dffd
cmp ecx, eax
je 0x54e013
push ecx
push eax
push ebp
call fcn.00539150
mov edx, dword [esi]
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
cmp dword [esi + 0x10], 0
jne 0x54e02b
cmp dword [esi + 0x14], 0
jne 0x54e02b
mov ecx, dword [esp + 0x2c]
mov dword [ecx], 1
jmp 0x54e034
mov edx, dword [esp + 0x2c]
cmp dword [edx], 0
je 0x54e03b
and dword [esi + 0xa8], 0xfffffffe
cmp dword [ebp + 0x334], 0
je 0x54e055
mov eax, dword [esi + 0x60]
push ebx
push edi
push eax
push 1
push ebp
call fcn.00532000
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret