Function at 0x4a0470
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 + 0x18]
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 fcn.00464150
add esp, 0xc
test eax, eax
mov dword [esi + 0x64], eax
mov ebx, ebp
je 0x4a106a
sub eax, dword [esi + 0x5c]
add eax, 1
mov edi, eax
mov eax, dword [esp + 0x2c]
sub dword [eax], edi
mov eax, dword [esi + 0x64]
add eax, 1
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
call fcn.0049e8e0
add esp, 4
test eax, eax
jne 0x4a11dd
mov edx, dword [esi + 0x54]
mov dword [esi + 0x64], edx
mov eax, dword [ebp + 0x534]
xor edx, edx
cmp dword [esi + 0x50], edx
mov dword [esi + 0x68], eax
jne 0x4a0580
cmp dword [esi + 0x58], 5
jbe 0x4a0580
mov ebx, dword [esp + 0x28]
mov eax, dword [ebp + 0x534]
push ebp
mov ecx, ebx
call fcn.0049e8b0
add esp, 4
test eax, eax
je 0x4a10bd
xor edx, edx
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x4a0e8a
cmp cl, 0xd
je 0x4a0e8f
mov ecx, dword [esi + 0x50]
cmp ecx, edx
lea edi, [ecx + 1]
mov dword [esi + 0x50], edi
jne 0x4a072c
mov ecx, dword [ebx + 0x210]
mov ecx, dword [ecx + 0x3c]
test cl, 1
je 0x4a05c5
mov edi, dword [esp + 0x28]
lea ebp, [esi + 0x78]
push ebp
add edi, 0x118
push edi
lea edx, [esp + 0x18]
push edx
push str._HTTP__d._d__3d
push eax
call fcn.00461c5a
add esp, 0x14
cmp eax, 3
jne 0x4a0586
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
jmp 0x4a0613
mov ebx, dword [esp + 0x28]
jmp 0x4a0513
mov ecx, dword [esi + 0x68]
push ebp
push str._HTTP__3d
push ecx
call fcn.00461c5a
add esp, 0xc
test eax, eax
mov dword [edi], 0xa
jne 0x4a0613
mov ebx, dword [esi + 0x68]
mov eax, dword [esp + 0x24]
call fcn.0049e830
test eax, eax
je 0x4a10f1
mov dword [ebp], 0xc8
mov dword [edi], 0xa
jmp 0x4a0613
test ecx, 0x40000
je 0x4a10f1
lea ebp, [esi + 0x78]
push ebp
lea edi, [ebx + 0x11c]
push edi
lea edx, [esp + 0x1c]
push edx
push str._RTSP__d._d__3d
push eax
call fcn.00461c5a
add esp, 0x14
cmp eax, 3
jne 0x4a10f1
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
mov edi, dword [esp + 0x28]
add edi, 0x118
mov dword [edi], 0xb
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebp]
mov eax, dword [ebx + 0x8620]
test eax, eax
mov dword [ebx + 0x868c], ecx
mov edx, dword [edi]
mov dword [ebx + 0x8694], edx
je 0x4a0636
cmp eax, dword [edi]
jle 0x4a063e
mov eax, dword [edi]
mov dword [ebx + 0x8620], eax
cmp dword [ebx + 0x2b8], 0
je 0x4a06b2
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x4a06b2
cmp eax, 0x191
mov ecx, dword [esp + 0x28]
jne 0x4a0665
cmp dword [ecx + 0x1a8], 0
jne 0x4a06b6
cmp eax, 0x197
jne 0x4a0675
cmp dword [ecx + 0x1ac], 0
jne 0x4a06b6
mov edx, dword [ebx + 0x8650]
or edx, dword [ebx + 0x8654]
je 0x4a0693
cmp dword [ebx + 0x218], 1
jne 0x4a0693
cmp eax, 0x1a0
je 0x4a06b6
mov ecx, dword [esi + 0x78]
push ecx
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.00489be0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x28]
mov edi, dword [edi]
cmp edi, 0xa
jne 0x4a06db
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.00489b50
mov eax, dword [esp + 0x30]
add esp, 8
mov dword [eax + 0x198], 1
jmp 0x4a06f3
cmp edi, 0xb
jl 0x4a06f3
cmp dword [ecx + 0x198], 0
jne 0x4a06f3
mov dword [ecx + 0x258], 1
mov ebp, dword [ebp]
sub ebp, 0xcc
je 0x4a0703
sub ebp, 0x64
jne 0x4a072c
xor eax, eax
cmp dword [ebx + 0x208], eax
je 0x4a0717
mov dword [ebx + 0x869c], 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 0x4a07e0
cmp dword [edi + 0x318], 0
jne 0x4a07e0
mov ecx, dword [esi + 0x68]
push 0xf
push ecx
push str.Content_Length:
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a07e0
mov edx, dword [esi + 0x68]
push 0xa
add edx, 0xf
push 0
push edx
call fcn.00471dba
mov ebx, dword [edi + 0x280]
mov ecx, dword [edi + 0x284]
mov ebp, ebx
add esp, 0xc
or ebp, ecx
je 0x4a0798
cmp edx, ecx
jg 0x4a1102
jl 0x4a0798
cmp eax, ebx
ja 0x4a1102
test edx, edx
jl 0x4a07bd
jg 0x4a07a2
test eax, eax
jb 0x4a07bd
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.004a2c20
add esp, 0xc
jmp 0x4a0e17
mov ecx, dword [esp + 0x28]
push edx
push eax
push str.Negative_content_length:__lld__closing_after_transfer_n
push edi
mov dword [ecx + 0x198], 1
call fcn.00489b50
add esp, 0x10
jmp 0x4a0e17
mov edx, dword [esi + 0x68]
push 0xd
push edx
push str.Content_Type:
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a0846
mov eax, dword [esi + 0x68]
call fcn.0049da10
mov ebx, eax
test ebx, ebx
je 0x4a111d
cmp byte [ebx], 0
jne 0x4a081d
push ebx
call dword [0x4f3a90]
add esp, 4
jmp 0x4a0e17
mov eax, dword [edi + 0x86b4]
test eax, eax
je 0x4a083b
push eax
call dword [0x4f3a90]
add esp, 4
mov dword [edi + 0x86b4], 0
mov dword [edi + 0x86b4], ebx
jmp 0x4a0e17
mov ebx, dword [esp + 0x28]
mov ebp, 0xa
cmp dword [ebx + 0x118], ebp
jne 0x4a0897
cmp dword [ebx + 0x1a4], 0
je 0x4a0897
mov eax, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push eax
call fcn.0049e560
add esp, 0xc
test eax, eax
je 0x4a0897
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
mov dword [ebx + 0x198], 0
call fcn.00489b50
add esp, 8
jmp 0x4a0e17
cmp dword [ebx + 0x118], 0xb
jne 0x4a08e0
cmp dword [ebx + 0x1a4], 0
je 0x4a08e0
mov ecx, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push ecx
call fcn.0049e560
add esp, 0xc
test eax, eax
je 0x4a08e0
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
mov dword [ebx + 0x198], 1
call fcn.00489b50
add esp, 8
jmp 0x4a0e17
cmp dword [ebx + 0x118], ebp
jne 0x4a091f
mov edx, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push edx
call fcn.0049e560
add esp, 0xc
test eax, eax
je 0x4a091f
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
mov dword [ebx + 0x198], 0
call fcn.00489b50
add esp, 8
jmp 0x4a0e17
mov eax, dword [esi + 0x68]
push str.close
push str.Connection:
push eax
call fcn.0049e560
add esp, 0xc
test eax, eax
je 0x4a0948
mov dword [ebx + 0x198], 1
jmp 0x4a0e17
mov ecx, dword [esi + 0x68]
push 0x12
push ecx
push str.Transfer_Encoding:
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a0ab4
mov edi, dword [esi + 0x68]
add edi, 0x12
lea esp, [esp]
mov al, byte [edi]
test al, al
je 0x4a0995
movzx edx, al
push edx
call fcn.00465a0e
add esp, 4
test eax, eax
jne 0x4a098b
cmp byte [edi], 0x2c
jne 0x4a0995
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4a0976
push 7
push edi
push str.chunked
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a09c1
mov eax, ebx
push eax
mov dword [esi + 0xc8], 1
call fcn.004a4790
add esp, 4
add edi, 7
cmp dword [esi + 0x88], 0
jne 0x4a0e17
push 8
push edi
push str.identity
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a09f4
mov dword [esi + 0x88], 0
add edi, 8
jmp 0x4a0970
push 7
push edi
push str.deflate
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a0a1a
mov dword [esi + 0x88], 1
add edi, 7
jmp 0x4a0970
push 4
push edi
push str.gzip
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a0a40
mov dword [esi + 0x88], 2
add edi, 4
jmp 0x4a0970
push 6
push edi
push str.x_gzip
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a0a66
mov dword [esi + 0x88], 2
add edi, 6
jmp 0x4a0970
push 8
push edi
push str.compress
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a0a8c
mov dword [esi + 0x88], 3
add edi, 8
jmp 0x4a0970
push ebp
push edi
push str.x_compress
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a0e17
mov dword [esi + 0x88], 3
add edi, ebp
jmp 0x4a0970
mov ecx, dword [esi + 0x68]
push 0x11
push ecx
push str.Content_Encoding:
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a0bc1
cmp dword [edi + 0x354], 0
je 0x4a0bc1
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0x11]
add edi, 0x11
test al, al
je 0x4a0b0a
lea esp, [esp]
movzx edx, al
push edx
call fcn.00465a0e
add esp, 4
test eax, eax
je 0x4a0b0a
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4a0af0
push 8
push edi
push str.identity
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a0b2d
mov dword [esi + 0x88], 0
jmp 0x4a0e17
push 7
push edi
push str.deflate
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a0b50
mov dword [esi + 0x88], 1
jmp 0x4a0e17
push 4
push edi
push str.gzip
call fcn.004a3500
add esp, 0xc
test eax, eax
jne 0x4a0bb2
push 6
push edi
push str.x_gzip
call fcn.004a3500
add esp, 0xc
test eax, eax
jne 0x4a0bb2
push 8
push edi
push str.compress
call fcn.004a3500
add esp, 0xc
test eax, eax
jne 0x4a0ba3
push ebp
push edi
push str.x_compress
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a0e17
mov dword [esi + 0x88], 3
jmp 0x4a0e17
mov dword [esi + 0x88], 2
jmp 0x4a0e17
mov eax, dword [esi + 0x68]
push 0xe
push eax
push str.Content_Range:
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a0c41
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x4a0bff
movzx ecx, al
push ecx
call fcn.00465917
add esp, 4
test eax, eax
jne 0x4a0bff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4a0be5
push ebp
push 0
push edi
call fcn.00471dba
mov dword [esi + 0x74], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x70], eax
mov eax, dword [edx + 0x8650]
add esp, 0xc
cmp eax, dword [esi + 0x70]
jne 0x4a0e17
mov ecx, edx
mov edx, dword [ecx + 0x8654]
cmp edx, dword [esi + 0x74]
jne 0x4a0e17
mov dword [esi + 0x6c], 1
jmp 0x4a0e17
cmp dword [edi + 0x418], 0
je 0x4a0cac
mov eax, dword [esi + 0x68]
push 0xb
push eax
push str.Set_Cookie:
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a0cac
push 2
push 2
push edi
call fcn.00490cc0
mov eax, dword [ebx + 0x240]
add esp, 0xc
test eax, eax
jne 0x4a0c7e
mov eax, dword [ebx + 0x80]
mov ecx, dword [edi + 0x8638]
mov edx, dword [esi + 0x68]
push ecx
push eax
mov eax, dword [edi + 0x418]
add edx, 0xb
push edx
push 1
push eax
push edi
call fcn.004886c0
push 2
push edi
call fcn.00490d00
add esp, 0x20
jmp 0x4a0e17
mov ecx, dword [esi + 0x68]
push 0xe
push ecx
push str.Last_Modified:
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a0d1e
cmp dword [edi + 0x208], 0
jne 0x4a0cd5
cmp dword [edi + 0x29c], 0
je 0x4a0d1e
push 0
call fcn.00461b43
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x68]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x1c]
push edx
add eax, 0xe
push eax
call sym.SCMutual.exe_curl_getdate
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [edi + 0x29c], 0
je 0x4a0e17
mov ecx, eax
mov dword [edi + 0x8698], ecx
jmp 0x4a0e17
mov edx, dword [esi + 0x68]
push 0x11
push edx
push str.WWW_Authenticate:
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a0d3f
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x4a0d60
mov eax, dword [esi + 0x68]
push 0x13
push eax
push str.Proxy_authenticate:
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a0d73
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x4a0d73
mov ecx, dword [esi + 0x68]
push ecx
push eax
push ebx
call fcn.0049e000
add esp, 0xc
jmp 0x4a0e0f
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x4a0df3
cmp eax, 0x190
jge 0x4a0df3
mov edx, dword [esi + 0x68]
push 9
push edx
push str.Location:
call fcn.004a3500
add esp, 0xc
test eax, eax
je 0x4a0df3
cmp dword [edi + 0xd0], 0
jne 0x4a0df3
mov eax, dword [esi + 0x68]
call fcn.0049da10
test eax, eax
je 0x4a111d
cmp byte [eax], 0
jne 0x4a0dc5
push eax
call dword [0x4f3a90]
add esp, 4
jmp 0x4a0e17
cmp dword [edi + 0x2bc], 0
mov dword [edi + 0xd0], eax
je 0x4a0e17
push eax
call dword [0x4f3a98]
add esp, 4
test eax, eax
mov dword [edi + 0xd4], eax
je 0x4a111d
call fcn.0049dc60
jmp 0x4a0e0f
mov eax, dword [ebx + 0x210]
test dword [eax + 0x3c], 0x40000
je 0x4a0e17
mov ecx, dword [esi + 0x68]
push ecx
push ebx
call fcn.00491930
add esp, 8
test eax, eax
jne 0x4a11dd
mov ebp, dword [esp + 0x24]
cmp dword [ebp + 0x2c8], 0
mov edi, 2
je 0x4a0e2e
mov edi, 3
cmp dword [ebp + 0x2e4], 0
je 0x4a0e4f
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.00489a60
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.00489ec0
add esp, 0x10
test eax, eax
jne 0x4a11dd
mov edx, dword [esi + 0x58]
add dword [ebp + 0x86a0], edx
mov eax, dword [esi + 0x58]
mov ecx, dword [ebp + 0x534]
add dword [ebp + 0x48], eax
mov dword [esi + 0x54], ecx
jmp 0x4a1040
cmp cl, 0xd
jne 0x4a0e95
add eax, 1
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x4a0ea3
add eax, 1
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x4a0ed3
cmp eax, 0xc7
jg 0x4a0ed3
cmp dword [esi + 0x84], edx
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], edx
je 0x4a0f20
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], edx
jmp 0x4a0f20
mov eax, dword [esi]
and eax, dword [esi + 4]
mov dword [esi + 0x48], edx
cmp eax, 0xffffffff
jne 0x4a0f20
cmp dword [esi + 0xc8], edx
jne 0x4a0f20
cmp dword [ebx + 0x198], edx
jne 0x4a0f20
cmp dword [ebx + 0x118], 0xb
jl 0x4a0f20
mov ecx, dword [ebx + 0x210]
test dword [ecx + 0x3c], 0x40000
jne 0x4a0f20
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebp
call fcn.00489b50
add esp, 8
mov dword [ebx + 0x198], 1
mov edx, ebx
call fcn.0049e170
test eax, eax
jne 0x4a112a
cmp dword [ebp + 0x2c8], eax
lea ecx, [eax + 2]
je 0x4a0f3d
lea ecx, [eax + 3]
mov eax, dword [ebp + 0x534]
mov edi, dword [esi + 0x68]
sub edi, eax
push edi
push eax
push ecx
push ebx
call fcn.00489ec0
add esp, 0x10
test eax, eax
jne 0x4a11dd
add dword [ebp + 0x48], edi
add dword [ebp + 0x86a0], edi
mov eax, dword [esi + 0x78]
cmp eax, 0x64
mov ecx, dword [ebp + 0x48]
jl 0x4a0f7b
cmp eax, 0xc7
jg 0x4a0f7b
mov eax, ecx
jmp 0x4a0f7d
xor eax, eax
mov edx, dword [esp + 0x30]
mov dword [ebp + 0x4c], eax
cmp dword [edx], 0
jne 0x4a102d
push ebx
call fcn.0049e990
add esp, 4
test eax, eax
jne 0x4a11dd
cmp dword [esi + 0x78], 0x12c
jl 0x4a100f
cmp dword [ebx + 0x1d4], eax
jne 0x4a100f
cmp dword [ebx + 0x198], eax
jne 0x4a100f
cmp dword [ebx + 0x1d8], eax
jne 0x4a1018
mov eax, dword [ebp + 0x218]
add eax, 0xfffffffe
cmp eax, 2
ja 0x4a100f
cmp dword [esi + 0xac], 0
jne 0x4a100f
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebp
call fcn.00489b50
mov eax, 1
mov dword [ebx + 0x198], eax
and dword [esi + 0xa8], 0xfffffffd
add esp, 8
mov dword [esi + 0xac], eax
cmp dword [ebp + 0x8624], 0
je 0x4a100f
mov dword [esi + 0x84], 3
cmp dword [ebx + 0x1d8], 0
je 0x4a102d
push str.Keep_sending_data_to_get_tossed_away__n
push ebp
call fcn.00489b50
add esp, 8
or dword [esi + 0xa8], 2
cmp dword [esi + 0x48], 0
je 0x4a1149
mov eax, dword [ebp + 0x534]
mov dword [esi + 0x54], eax
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x58], 0
cmp dword [ecx], 0
jne 0x4a11db
mov edx, dword [esi + 0x5c]
cmp byte [edx], 0
jne 0x4a0480
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [edi]
push eax
call fcn.0049e8e0
add esp, 4
test eax, eax
jne 0x4a11dd
cmp dword [esi + 0x50], eax
jne 0x4a11db
cmp dword [esi + 0x58], 5
jbe 0x4a11db
mov eax, dword [ebp + 0x534]
mov ecx, dword [esp + 0x28]
push ebp
call fcn.0049e8b0
add esp, 4
test eax, eax
jne 0x4a11db
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 0x4a10de
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
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.00489be0
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 edx, dword [esi + 0x78]
push edx
push str.The_requested_URL_returned_error:__d
push ebp
call fcn.00489be0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x10
ret
cmp dword [ebp + 0x2d4], 0
je 0x4a115e
mov eax, dword [esp + 0x30]
mov dword [eax], 1
jmp 0x4a1175
cmp dword [esi + 0xc8], 0
je 0x4a1175
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]
cmp eax, 0xffffffff
mov ecx, dword [esi + 4]
jne 0x4a1183
cmp ecx, eax
je 0x4a1199
push ecx
push eax
push ebp
call fcn.004a2c20
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 0x4a11b1
cmp dword [esi + 0x14], 0
jne 0x4a11b1
mov eax, dword [esp + 0x30]
mov dword [eax], 1
jmp 0x4a11ba
mov ecx, dword [esp + 0x30]
cmp dword [ecx], 0
je 0x4a11c1
and dword [esi + 0xa8], 0xfffffffe
cmp dword [ebp + 0x2e4], 0
je 0x4a11db
mov edx, dword [esi + 0x60]
push ebx
push edi
push edx
push 1
push ebp
call fcn.00489a60
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret