Function at 0x4df710
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea esi, [ebx + 0x18]
nop
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x60], eax
push dword [ecx]
push 0xa
push eax
call fcn.004f8ac0
mov edi, eax
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x64], edi
test edi, edi
je 0x4e0450
sub edi, dword [esi + 0x5c]
inc edi
sub dword [eax], edi
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
push esi
push ebx
call fcn.004e06b0
add esp, 0xc
test eax, eax
jne 0x4e0491
cmp dword [esi + 0x50], 0
mov eax, dword [esi + 0x54]
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0x554]
mov dword [esi + 0x68], eax
jne 0x4df79f
cmp dword [esi + 0x58], 5
jbe 0x4df79f
push dword [ebx + 0x554]
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.004e0510
add esp, 0xc
test eax, eax
je 0x4e0324
mov edx, dword [esi + 0x68]
mov al, byte [edx]
cmp al, 0xa
je 0x4e0121
cmp al, 0xd
je 0x4e0125
mov ecx, dword [esi + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x50], eax
test ecx, ecx
jne 0x4df9b9
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x214]
mov eax, dword [eax + 0x3c]
test al, 1
je 0x4df907
lea eax, [esi + 0x78]
push eax
lea edi, [ecx + 0x118]
push edi
lea eax, [ebp - 4]
push eax
push str._HTTP__d._d__3d
push edx
call fcn.004803b0
add esp, 0x14
cmp eax, 3
jne 0x4df8bf
mov eax, dword [ebp - 4]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x78]
mov dword [ebx + 0x86ac], eax
mov eax, dword [edi]
mov dword [ebx + 0x86b4], eax
mov eax, dword [ebx + 0x8640]
test eax, eax
je 0x4df82b
cmp eax, dword [edi]
jle 0x4df833
mov eax, dword [edi]
mov dword [ebx + 0x8640], eax
cmp dword [ebx + 0x2b8], 0
je 0x4df894
mov edx, dword [esi + 0x78]
cmp edx, 0x190
jl 0x4df894
cmp edx, 0x191
jne 0x4df858
cmp dword [ecx + 0x1b0], 0
jne 0x4df894
cmp edx, 0x197
jne 0x4df869
cmp dword [ecx + 0x1b4], 0
jne 0x4df894
mov eax, dword [ebx + 0x8670]
or eax, dword [ebx + 0x8674]
je 0x4e0355
cmp dword [ebx + 0x218], 1
jne 0x4e0355
cmp edx, 0x1a0
jne 0x4e0355
mov eax, dword [edi]
cmp eax, 0xa
jne 0x4df95a
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.004d6330
mov eax, dword [ebp + 0xc]
add esp, 8
mov dword [eax + 0x1a0], 1
jmp 0x4df972
lea eax, [esi + 0x78]
push eax
push str._HTTP__3d
push dword [esi + 0x68]
call fcn.004803b0
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x4df809
push dword [esi + 0x68]
push ebx
call fcn.004e04a0
add esp, 8
test eax, eax
je 0x4e0488
mov dword [esi + 0x78], 0xc8
mov dword [edi], 0xa
jmp 0x4df809
test eax, 0x40000
je 0x4e0488
lea eax, [esi + 0x78]
push eax
lea edi, [ecx + 0x11c]
push edi
lea eax, [ebp - 8]
push eax
push str._RTSP__d._d__3d
push edx
call fcn.004803b0
add esp, 0x14
cmp eax, 3
jne 0x4e0488
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x118], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
lea edi, [ecx + 0x118]
jmp 0x4df80c
cmp eax, 0xb
jl 0x4df972
cmp dword [ecx + 0x1a0], 0
jne 0x4df972
mov dword [ecx + 0x25c], 1
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x4df981
sub eax, 0x64
jne 0x4df9b9
cmp dword [ebx + 0x208], 0
je 0x4df994
mov dword [ebx + 0x86bc], 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0xb4], 1
cmp dword [esi + 0xb4], 0
jne 0x4dfac3
cmp dword [ebx + 0x318], 0
jne 0x4dfac3
push 0xf
push dword [esi + 0x68]
push str.Content_Length:
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4dfac3
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.00508eae
mov ecx, dword [ebx + 0x280]
add esp, 0xc
mov edi, dword [ebx + 0x284]
or ecx, edi
je 0x4dfa26
cmp edx, edi
jg 0x4e036a
jl 0x4dfa26
cmp eax, dword [ebx + 0x280]
ja 0x4e036a
test edx, edx
jl 0x4dfaa4
jg 0x4dfa30
test eax, eax
jb 0x4dfaa4
push edx
push eax
push ebx
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.004e1090
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor eax, eax
cmp dword [ebx + 0x2c8], eax
setne al
add eax, 2
cmp dword [ebx + 0x2e4], 0
mov dword [ebp + 8], eax
je 0x4dfa78
push edi
push dword [esi + 0x58]
push dword [esi + 0x68]
push 1
push ebx
call fcn.004d61b0
mov eax, dword [ebp + 8]
add esp, 0x14
push dword [esi + 0x58]
push dword [esi + 0x68]
push eax
push edi
call fcn.004d6050
add esp, 0x10
test eax, eax
jne 0x4e0491
mov eax, dword [esi + 0x58]
add dword [ebx + 0x86c0], eax
mov eax, dword [esi + 0x58]
add dword [ebx + 0x48], eax
jmp 0x4e02f3
mov edi, dword [ebp + 0xc]
push edx
push eax
push str.Negative_content_length:__lld__closing_after_transfer_n
push ebx
mov dword [edi + 0x1a0], 1
call fcn.004d6330
add esp, 0x10
jmp 0x4dfa49
push 0xd
push dword [esi + 0x68]
push str.Content_Type:
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4dfb2b
push dword [esi + 0x68]
call fcn.004e0560
mov edi, eax
add esp, 4
test edi, edi
je 0x4e0384
cmp byte [edi], 0
jne 0x4dfb02
push edi
call dword [0x55c2e8]
add esp, 4
jmp 0x4dfa46
mov eax, dword [ebx + 0x86d4]
test eax, eax
je 0x4dfb20
push eax
call dword [0x55c2e8]
add esp, 4
mov dword [ebx + 0x86d4], 0
mov dword [ebx + 0x86d4], edi
jmp 0x4dfa46
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x118], 0xa
jne 0x4dfb76
cmp dword [edi + 0x1ac], 0
je 0x4dfb76
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x68]
call fcn.004df200
add esp, 0xc
test eax, eax
je 0x4dfb76
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
mov dword [edi + 0x1a0], 0
call fcn.004d6330
add esp, 8
jmp 0x4dfa49
cmp dword [edi + 0x118], 0xb
jne 0x4dfbbe
cmp dword [edi + 0x1ac], 0
je 0x4dfbbe
push str.close
push str.Proxy_Connection:
push dword [esi + 0x68]
call fcn.004df200
add esp, 0xc
test eax, eax
je 0x4dfbbe
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
mov dword [edi + 0x1a0], 1
call fcn.004d6330
add esp, 8
jmp 0x4dfa49
cmp dword [edi + 0x118], 0xa
jne 0x4dfbfd
push str.keep_alive
push str.Connection:
push dword [esi + 0x68]
call fcn.004df200
add esp, 0xc
test eax, eax
je 0x4dfbfd
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
mov dword [edi + 0x1a0], 0
call fcn.004d6330
add esp, 8
jmp 0x4dfa49
push str.close
push str.Connection:
push dword [esi + 0x68]
call fcn.004df200
add esp, 0xc
test eax, eax
je 0x4dfc25
mov dword [edi + 0x1a0], 1
jmp 0x4dfa49
push 0x12
push dword [esi + 0x68]
push str.Transfer_Encoding:
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4dfda6
mov edi, dword [esi + 0x68]
add edi, 0x12
mov al, byte [edi]
test al, al
je 0x4dfc6d
nop dword [eax + eax]
movzx eax, al
push eax
call fcn.00500fe6
add esp, 4
test eax, eax
jne 0x4dfc65
cmp byte [edi], 0x2c
jne 0x4dfc6d
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4dfc50
push 7
push edi
push str.chunked
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4dfc99
push dword [ebp + 0xc]
mov dword [esi + 0xc8], 1
call fcn.004dd090
add esp, 4
add edi, 7
cmp dword [esi + 0x88], 0
jne 0x4dfa46
push 8
push edi
push str.identity
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4dfcd0
mov eax, 8
mov dword [esi + 0x88], 0
add edi, eax
jmp 0x4dfc45
push 7
push edi
push str.deflate
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4dfcfa
mov eax, 7
mov dword [esi + 0x88], 1
add edi, eax
jmp 0x4dfc45
push 4
push edi
push str.gzip
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4dfd24
mov eax, 4
mov dword [esi + 0x88], 2
add edi, eax
jmp 0x4dfc45
push 6
push edi
push str.x_gzip
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4dfd4e
mov eax, 6
mov dword [esi + 0x88], 2
add edi, eax
jmp 0x4dfc45
push 8
push edi
push str.compress
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4dfd78
mov eax, 8
mov dword [esi + 0x88], 3
add edi, eax
jmp 0x4dfc45
push 0xa
push edi
push str.x_compress
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4dfa46
mov eax, 0xa
mov dword [esi + 0x88], 3
add edi, eax
jmp 0x4dfc45
push 0x11
push dword [esi + 0x68]
push str.Content_Encoding:
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4dfeb0
cmp dword [ebx + 0x358], 0
je 0x4dfeb0
mov edi, dword [esi + 0x68]
add edi, 0x11
mov al, byte [edi]
test al, al
je 0x4dfdf8
nop dword [eax]
movzx eax, al
push eax
call fcn.00500fe6
add esp, 4
test eax, eax
je 0x4dfdf8
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4dfde0
push 8
push edi
push str.identity
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4dfe1b
mov dword [esi + 0x88], 0
jmp 0x4dfa46
push 7
push edi
push str.deflate
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4dfe3e
mov dword [esi + 0x88], 1
jmp 0x4dfa46
push 4
push edi
push str.gzip
call fcn.004d8540
add esp, 0xc
test eax, eax
jne 0x4dfea1
push 6
push edi
push str.x_gzip
call fcn.004d8540
add esp, 0xc
test eax, eax
jne 0x4dfea1
push 8
push edi
push str.compress
call fcn.004d8540
add esp, 0xc
test eax, eax
jne 0x4dfe92
push 0xa
push edi
push str.x_compress
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4dfa46
mov dword [esi + 0x88], 3
jmp 0x4dfa46
mov dword [esi + 0x88], 2
jmp 0x4dfa46
push 0xe
push dword [esi + 0x68]
push str.Content_Range:
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4dff27
mov edi, dword [esi + 0x68]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x4dfeea
movzx eax, al
push eax
call fcn.00500f2e
add esp, 4
test eax, eax
jne 0x4dfeea
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4dfed2
push 0xa
push 0
push edi
call fcn.00508eae
mov dword [esi + 0x70], eax
add esp, 0xc
mov dword [esi + 0x74], edx
mov eax, dword [ebx + 0x8670]
cmp eax, dword [esi + 0x70]
jne 0x4dfa46
mov edi, dword [ebp + 0xc]
cmp dword [ebx + 0x8674], edx
jne 0x4dfa49
mov dword [esi + 0x6c], 1
jmp 0x4dfa49
cmp dword [ebx + 0x430], 0
je 0x4dff8f
push 0xb
push dword [esi + 0x68]
push str.Set_Cookie:
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4dff8f
push 2
push 2
push ebx
call fcn.004d8450
mov eax, dword [edi + 0x244]
add esp, 0xc
test eax, eax
jne 0x4dff63
mov eax, dword [edi + 0x80]
push dword [ebx + 0x8658]
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x430]
push ebx
call fcn.004cc040
push 2
push ebx
call fcn.004d8490
add esp, 0x20
jmp 0x4dfa49
push 0xe
push dword [esi + 0x68]
push str.Last_Modified:
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4dfffb
cmp dword [ebx + 0x208], 0
jne 0x4dffb7
cmp dword [ebx + 0x29c], 0
je 0x4dfffb
push 0
call fcn.00509d10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x68]
add eax, 0xe
mov dword [ebp - 0xc], edx
push eax
call fcn.004d7de0
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [ebx + 0x29c], 0
je 0x4dfa49
mov dword [ebx + 0x86b8], eax
jmp 0x4dfa49
push 0x11
push dword [esi + 0x68]
push str.WWW_Authenticate:
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4e001b
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x4e003b
push 0x13
push dword [esi + 0x68]
push str.Proxy_authenticate:
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4e0055
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x4e0055
push dword [esi + 0x68]
push eax
push edi
call fcn.004df4a0
add esp, 0xc
test eax, eax
jne 0x4e0491
jmp 0x4dfa49
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x4e00f5
cmp eax, 0x190
jge 0x4e00f5
push 9
push dword [esi + 0x68]
push str.Location:
call fcn.004d8540
add esp, 0xc
test eax, eax
je 0x4e00f5
cmp dword [ebx + 0xd0], 0
jne 0x4e00f5
push dword [esi + 0x68]
call fcn.004e0560
add esp, 4
test eax, eax
je 0x4e0384
cmp byte [eax], 0
jne 0x4e00b4
push eax
call dword [0x55c2e8]
add esp, 4
jmp 0x4dfa49
cmp dword [ebx + 0x2bc], 0
mov dword [ebx + 0xd0], eax
je 0x4dfa49
push eax
call dword [0x55c2f0]
add esp, 4
mov dword [ebx + 0xd4], eax
test eax, eax
je 0x4e0384
push edi
call fcn.004e0870
add esp, 4
test eax, eax
jne 0x4e0491
jmp 0x4dfa49
mov eax, dword [edi + 0x214]
test dword [eax + 0x3c], 0x40000
je 0x4dfa49
push dword [esi + 0x68]
push edi
call fcn.004e9210
add esp, 8
test eax, eax
jne 0x4e0491
jmp 0x4dfa49
cmp al, 0xd
jne 0x4e012b
lea eax, [edx + 1]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x4e0137
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x4e0173
cmp eax, 0xc7
jg 0x4e0173
cmp dword [esi + 0x84], 0
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], 0
je 0x4e01d2
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], 0
jmp 0x4e01d2
mov eax, dword [esi]
and eax, dword [esi + 4]
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x48], 0
cmp eax, 0xffffffff
jne 0x4e01d2
cmp dword [esi + 0xc8], 0
jne 0x4e01d2
cmp dword [edi + 0x1a0], 0
jne 0x4e01d2
cmp dword [edi + 0x118], 0xb
jl 0x4e01d2
mov eax, dword [edi + 0x214]
test dword [eax + 0x3c], 0x40000
jne 0x4e01d2
cmp dword [ebx + 0x218], 5
je 0x4e01d2
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.004d6330
add esp, 8
mov dword [edi + 0x1a0], 1
push edi
call fcn.004e0a20
add esp, 4
test eax, eax
jne 0x4e0433
mov eax, dword [ebx + 0x554]
mov ecx, dword [esi + 0x68]
sub ecx, eax
push ecx
push eax
xor eax, eax
mov dword [ebp + 8], ecx
cmp dword [ebx + 0x2c8], eax
setne al
add eax, 2
push eax
push edi
call fcn.004d6050
add esp, 0x10
test eax, eax
jne 0x4e0491
mov eax, dword [ebp + 8]
add dword [ebx + 0x86c0], eax
add dword [ebx + 0x48], eax
mov ecx, dword [esi + 0x78]
mov eax, dword [ebx + 0x48]
cmp ecx, 0x64
jl 0x4e0232
cmp ecx, 0xc7
jle 0x4e0234
xor eax, eax
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x4e02e9
push edi
call fcn.004df2d0
add esp, 4
test eax, eax
jne 0x4e0491
cmp dword [esi + 0x78], 0x12c
jl 0x4e02c8
cmp dword [edi + 0x1d8], eax
jne 0x4e02c8
cmp dword [edi + 0x1a0], eax
jne 0x4e02c8
cmp dword [edi + 0x1dc], eax
jne 0x4e02d1
mov eax, dword [ebx + 0x218]
add eax, 0xfffffffe
cmp eax, 2
ja 0x4e02c8
cmp dword [esi + 0xac], 0
jne 0x4e02c8
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.004d6330
mov dword [edi + 0x1a0], 1
add esp, 8
and dword [esi + 0xa8], 0xfffffffd
mov dword [esi + 0xac], 1
cmp dword [ebx + 0x8644], 0
je 0x4e02c8
mov dword [esi + 0x84], 3
cmp dword [edi + 0x1dc], 0
je 0x4e02e6
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.004d6330
add esp, 8
or dword [esi + 0xa8], 2
mov eax, dword [ebp + 0x14]
cmp dword [esi + 0x48], 0
je 0x4e0390
mov eax, dword [ebx + 0x554]
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x58], 0
cmp dword [eax], 0
jne 0x4e048f
mov eax, dword [esi + 0x5c]
cmp byte [eax], 0
jne 0x4df720
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x48], 0
cmp dword [eax], 0
je 0x4e0343
pop edi
mov dword [esi + 0x4c], 1
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x4c], 2
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.004e0c40
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push ebx
call fcn.004d6290
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x2d4], 0
je 0x4e03a1
mov dword [eax], 1
jmp 0x4e03c5
cmp dword [esi + 0xc8], 0
je 0x4e03c5
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], 0xffffffff
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp ecx, 0xffffffff
jne 0x4e03d3
cmp eax, ecx
je 0x4e03e9
push eax
push ecx
push ebx
call fcn.004e1090
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x14], eax
cmp dword [esi + 0x10], 0
jne 0x4e0400
cmp dword [esi + 0x14], 0
jne 0x4e0400
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
jmp 0x4e0408
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x4e040f
and dword [esi + 0xa8], 0xfffffffe
cmp dword [ebx + 0x2e4], 0
je 0x4e048f
push edi
push dword [ebp + 8]
push dword [esi + 0x60]
push 1
push ebx
call fcn.004d61b0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x78]
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.004d6290
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [eax]
push esi
push ebx
call fcn.004e06b0
add esp, 0xc
test eax, eax
jne 0x4e0491
cmp dword [esi + 0x50], eax
jne 0x4e048f
cmp dword [esi + 0x58], 5
jbe 0x4e048f
push dword [ebx + 0x554]
push dword [ebp + 0xc]
push ebx
call fcn.004e0510
add esp, 0xc
test eax, eax
jne 0x4e048f
mov dword [esi + 0x4c], 2
mov dword [esi + 0x48], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret