Function at 0x466a80
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.0048dbd0
add esp, 0xc
mov dword [esi + 0x64], eax
mov ebx, ebp
test eax, eax
je 0x467688
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.00464d60
add esp, 4
test eax, eax
jne 0x4677fb
cmp dword [esi + 0x50], 0
mov edx, dword [esi + 0x54]
mov ebx, dword [esp + 0x28]
mov dword [esi + 0x64], edx
mov eax, dword [ebp + 0x590]
mov dword [esi + 0x68], eax
jne 0x466b3d
cmp dword [esi + 0x58], 5
jbe 0x466b3d
mov ecx, dword [ebx + 0x214]
test dword [ecx + 0x3c], 0x40000
mov eax, dword [ebp + 0x590]
je 0x466b28
push 5
push eax
push str.RTSP_
call fcn.004685f0
add esp, 0xc
neg eax
sbb eax, eax
neg eax
jmp 0x466b35
mov ebx, eax
mov eax, ebp
call fcn.00464cc0
mov ebx, dword [esp + 0x28]
test eax, eax
je 0x4676db
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x467497
cmp cl, 0xd
je 0x46749c
mov ecx, dword [esi + 0x50]
lea edx, [ecx + 1]
mov dword [esi + 0x50], edx
test ecx, ecx
jne 0x466d47
mov ecx, dword [ebx + 0x214]
mov ecx, dword [ecx + 0x3c]
test cl, 1
je 0x466be9
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.0048caf4
add esp, 0x14
cmp eax, 3
jne 0x466baa
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
jmp 0x466c37
mov ecx, dword [esi + 0x68]
push ebp
push str._HTTP__3d
push ecx
call fcn.0048caf4
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x466c37
mov ebx, dword [esi + 0x68]
mov eax, dword [esp + 0x24]
call fcn.00464cc0
test eax, eax
je 0x46770f
mov dword [ebp], 0xc8
mov dword [edi], 0xa
jmp 0x466c37
test ecx, 0x40000
je 0x46770f
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.0048caf4
add esp, 0x14
cmp eax, 3
jne 0x46770f
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 + 0x8680]
mov dword [ebx + 0x86e4], ecx
mov edx, dword [edi]
mov dword [ebx + 0x86ec], edx
test eax, eax
je 0x466c5a
cmp eax, dword [edi]
jle 0x466c62
mov eax, dword [edi]
mov dword [ebx + 0x8680], eax
cmp dword [ebx + 0x2f0], 0
je 0x466ccd
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x466ccd
mov ecx, dword [esp + 0x28]
cmp eax, 0x191
jne 0x466c89
cmp dword [ecx + 0x1b0], 0
jne 0x466cd1
cmp eax, 0x197
jne 0x466c99
cmp dword [ecx + 0x1b4], 0
jne 0x466cd1
mov edx, dword [ebx + 0x86a8]
or edx, dword [ebx + 0x86ac]
je 0x466cb7
cmp dword [ebx + 0x250], 1
jne 0x466cb7
cmp eax, 0x1a0
je 0x466cd1
push ebx
call fcn.00464e10
add esp, 4
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 0x466cf6
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.00450a50
mov eax, dword [esp + 0x30]
add esp, 8
mov dword [eax + 0x1a0], 1
jmp 0x466d0e
cmp edi, 0xb
jl 0x466d0e
cmp dword [ecx + 0x1a0], 0
jne 0x466d0e
mov dword [ecx + 0x25c], 1
mov ebp, dword [ebp]
sub ebp, 0xcc
je 0x466d1e
sub ebp, 0x64
jne 0x466d47
xor eax, eax
cmp dword [ebx + 0x240], eax
je 0x466d32
mov dword [ebx + 0x86f4], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xec], 1
cmp dword [esi + 0xec], 0
mov edi, dword [esp + 0x24]
jne 0x466dfb
cmp dword [edi + 0x350], 0
jne 0x466dfb
mov ecx, dword [esi + 0x68]
push 0xf
push ecx
push str.Content_Length:
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x466dfb
mov edx, dword [esi + 0x68]
push 0xa
add edx, 0xf
push 0
push edx
call fcn.0048d0c4
mov ebx, dword [edi + 0x2b8]
mov ecx, dword [edi + 0x2bc]
mov ebp, ebx
add esp, 0xc
or ebp, ecx
je 0x466db3
cmp edx, ecx
jg 0x467720
jl 0x466db3
cmp eax, ebx
ja 0x467720
test edx, edx
jl 0x466dd8
jg 0x466dbd
test eax, eax
jb 0x466dd8
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.0046a290
add esp, 0xc
jmp 0x467424
mov ecx, dword [esp + 0x28]
push edx
push eax
push str.Negative_content_length:__lld__closing_after_transfer_n
push edi
mov dword [ecx + 0x1a0], 1
call fcn.00450a50
add esp, 0x10
jmp 0x467424
mov edx, dword [esi + 0x68]
push 0xd
push edx
push str.Content_Type:
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x466e61
mov eax, dword [esi + 0x68]
call fcn.00463ed0
mov ebx, eax
test ebx, ebx
je 0x46773b
cmp byte [ebx], 0
jne 0x466e38
push ebx
call dword [0x4cd904]
add esp, 4
jmp 0x467424
mov eax, dword [edi + 0x870c]
test eax, eax
je 0x466e56
push eax
call dword [0x4cd904]
add esp, 4
mov dword [edi + 0x870c], 0
mov dword [edi + 0x870c], ebx
jmp 0x467424
mov ebx, dword [esp + 0x28]
mov ebp, 0xa
cmp dword [ebx + 0x118], ebp
jne 0x466eb2
cmp dword [ebx + 0x1ac], 0
je 0x466eb2
mov eax, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push eax
call fcn.00464a20
add esp, 0xc
test eax, eax
je 0x466eb2
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
mov dword [ebx + 0x1a0], 0
call fcn.00450a50
add esp, 8
jmp 0x467424
cmp dword [ebx + 0x118], 0xb
jne 0x466efb
cmp dword [ebx + 0x1ac], 0
je 0x466efb
mov ecx, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push ecx
call fcn.00464a20
add esp, 0xc
test eax, eax
je 0x466efb
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
mov dword [ebx + 0x1a0], 1
call fcn.00450a50
add esp, 8
jmp 0x467424
cmp dword [ebx + 0x118], ebp
jne 0x466f3a
mov edx, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push edx
call fcn.00464a20
add esp, 0xc
test eax, eax
je 0x466f3a
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
mov dword [ebx + 0x1a0], 0
call fcn.00450a50
add esp, 8
jmp 0x467424
mov eax, dword [esi + 0x68]
push str.close
push str.Connection:
push eax
call fcn.00464a20
add esp, 0xc
test eax, eax
je 0x466f63
mov dword [ebx + 0x1a0], 1
jmp 0x467424
mov ecx, dword [esi + 0x68]
push 0x12
push ecx
push str.Transfer_Encoding:
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x4670cc
mov edi, dword [esi + 0x68]
add edi, 0x12
mov al, byte [edi]
test al, al
je 0x466fad
lea ebx, [ebx]
movzx edx, al
push edx
call fcn.0048b04e
add esp, 4
test eax, eax
jne 0x466fa5
cmp byte [edi], 0x2c
jne 0x466fad
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x466f90
push 7
push edi
push str.chunked
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x466fd9
mov eax, ebx
push eax
mov dword [esi + 0x100], 1
call fcn.004718f0
add esp, 4
add edi, 7
cmp dword [esi + 0x88], 0
jne 0x467424
push 8
push edi
push str.identity
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x46700c
mov dword [esi + 0x88], 0
add edi, 8
jmp 0x466f84
push 7
push edi
push str.deflate
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x467032
mov dword [esi + 0x88], 1
add edi, 7
jmp 0x466f84
push 4
push edi
push str.gzip
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x467058
mov dword [esi + 0x88], 2
add edi, 4
jmp 0x466f84
push 6
push edi
push str.x_gzip
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x46707e
mov dword [esi + 0x88], 2
add edi, 6
jmp 0x466f84
push 8
push edi
push str.compress
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x4670a4
mov dword [esi + 0x88], 3
add edi, 8
jmp 0x466f84
push ebp
push edi
push str.x_compress
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x467424
mov dword [esi + 0x88], 3
add edi, ebp
jmp 0x466f84
mov ecx, dword [esi + 0x68]
push 0x11
push ecx
push str.Content_Encoding:
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x4671d0
cmp dword [edi + 0x390], 0
je 0x4671d0
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0x11]
add edi, 0x11
test al, al
je 0x467119
movzx edx, al
push edx
call fcn.0048b04e
add esp, 4
test eax, eax
je 0x467119
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x467101
push 8
push edi
push str.identity
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x46713c
mov dword [esi + 0x88], 0
jmp 0x467424
push 7
push edi
push str.deflate
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x46715f
mov dword [esi + 0x88], 1
jmp 0x467424
push 4
push edi
push str.gzip
call fcn.004685f0
add esp, 0xc
test eax, eax
jne 0x4671c1
push 6
push edi
push str.x_gzip
call fcn.004685f0
add esp, 0xc
test eax, eax
jne 0x4671c1
push 8
push edi
push str.compress
call fcn.004685f0
add esp, 0xc
test eax, eax
jne 0x4671b2
push ebp
push edi
push str.x_compress
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x467424
mov dword [esi + 0x88], 3
jmp 0x467424
mov dword [esi + 0x88], 2
jmp 0x467424
mov eax, dword [esi + 0x68]
push 0xe
push eax
push str.Content_Range:
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x46724e
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x46720c
movzx ecx, al
push ecx
call fcn.0048af49
add esp, 4
test eax, eax
jne 0x46720c
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4671f4
push ebp
push 0
push edi
call fcn.0048d0c4
mov dword [esi + 0x74], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x70], eax
mov eax, dword [edx + 0x86a8]
add esp, 0xc
cmp eax, dword [esi + 0x70]
jne 0x467424
mov ecx, edx
mov edx, dword [ecx + 0x86ac]
cmp edx, dword [esi + 0x74]
jne 0x467424
mov dword [esi + 0x6c], 1
jmp 0x467424
cmp dword [edi + 0x468], 0
je 0x4672b9
mov eax, dword [esi + 0x68]
push 0xb
push eax
push str.Set_Cookie:
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x4672b9
push 2
push 2
push edi
call fcn.00455e20
mov eax, dword [ebx + 0x244]
add esp, 0xc
test eax, eax
jne 0x46728b
mov eax, dword [ebx + 0x80]
mov ecx, dword [edi + 0x8690]
mov edx, dword [esi + 0x68]
push ecx
push eax
mov eax, dword [edi + 0x468]
add edx, 0xb
push edx
push 1
push eax
push edi
call fcn.004510c0
push 2
push edi
call fcn.00455e60
add esp, 0x20
jmp 0x467424
mov ecx, dword [esi + 0x68]
push 0xe
push ecx
push str.Last_Modified:
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x46732b
cmp dword [edi + 0x240], 0
jne 0x4672e2
cmp dword [edi + 0x2d4], 0
je 0x46732b
push 0
call fcn.0048c86d
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 fcn.0046e160
add esp, 0xc
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], edx
cmp dword [edi + 0x2d4], 0
je 0x467424
mov ecx, eax
mov dword [edi + 0x86f0], ecx
jmp 0x467424
mov edx, dword [esi + 0x68]
push 0x11
push edx
push str.WWW_Authenticate:
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x46734c
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x46736d
mov eax, dword [esi + 0x68]
push 0x13
push eax
push str.Proxy_authenticate:
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x467380
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x467380
mov ecx, dword [esi + 0x68]
push ecx
push eax
push ebx
call fcn.004644c0
add esp, 0xc
jmp 0x46741c
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x467400
cmp eax, 0x190
jge 0x467400
mov edx, dword [esi + 0x68]
push 9
push edx
push str.Location:
call fcn.004685f0
add esp, 0xc
test eax, eax
je 0x467400
cmp dword [edi + 0x108], 0
jne 0x467400
mov eax, dword [esi + 0x68]
call fcn.00463ed0
test eax, eax
je 0x46773b
cmp byte [eax], 0
jne 0x4673d2
push eax
call dword [0x4cd904]
add esp, 4
jmp 0x467424
cmp dword [edi + 0x2f4], 0
mov dword [edi + 0x108], eax
je 0x467424
push eax
call dword [0x4cd90c]
add esp, 4
mov dword [edi + 0x10c], eax
test eax, eax
je 0x46773b
call fcn.00464120
jmp 0x46741c
mov eax, dword [ebx + 0x214]
test dword [eax + 0x3c], 0x40000
je 0x467424
mov ecx, dword [esi + 0x68]
push ecx
push ebx
call fcn.00456aa0
add esp, 8
test eax, eax
jne 0x4677fb
mov ebp, dword [esp + 0x24]
cmp dword [ebp + 0x300], 0
mov edi, 2
je 0x46743b
mov edi, 3
cmp dword [ebp + 0x31c], 0
je 0x46745c
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.004508c0
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.00450dc0
add esp, 0x10
test eax, eax
jne 0x4677fb
mov edx, dword [esi + 0x58]
add dword [ebp + 0x86f8], edx
mov eax, dword [esi + 0x58]
mov ecx, dword [ebp + 0x590]
add dword [ebp + 0x48], eax
mov dword [esi + 0x54], ecx
jmp 0x46765e
cmp cl, 0xd
jne 0x4674a0
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x4674ac
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x4674de
cmp eax, 0xc7
jg 0x4674de
xor eax, eax
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], eax
cmp dword [esi + 0x84], eax
je 0x46753a
or dword [esi + 0xe0], 2
mov dword [esi + 0x84], eax
jmp 0x46753a
mov edx, dword [esi]
and edx, dword [esi + 4]
mov dword [esi + 0x48], 0
cmp edx, 0xffffffff
jne 0x46753a
cmp dword [esi + 0x100], 0
jne 0x46753a
cmp dword [ebx + 0x1a0], 0
jne 0x46753a
cmp dword [ebx + 0x118], 0xb
jl 0x46753a
mov eax, dword [ebx + 0x214]
test dword [eax + 0x3c], 0x40000
jne 0x46753a
cmp dword [ebp + 0x250], 5
je 0x46753a
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebp
call fcn.00450a50
add esp, 8
mov dword [ebx + 0x1a0], 1
mov edx, ebx
call fcn.00464620
test eax, eax
jne 0x467748
lea ecx, [eax + 2]
cmp dword [ebp + 0x300], eax
je 0x467557
lea ecx, [eax + 3]
mov eax, dword [ebp + 0x590]
mov ebx, dword [esi + 0x68]
mov edi, dword [esp + 0x28]
sub ebx, eax
push ebx
push eax
push ecx
push edi
call fcn.00450dc0
add esp, 0x10
test eax, eax
jne 0x4677fb
add dword [ebp + 0x48], ebx
add dword [ebp + 0x86f8], ebx
mov eax, dword [esi + 0x78]
cmp eax, 0x64
mov ecx, dword [ebp + 0x48]
jl 0x467599
cmp eax, 0xc7
jg 0x467599
mov eax, ecx
jmp 0x46759b
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword [ebp + 0x4c], eax
cmp dword [ecx], 0
jne 0x46764b
push edi
call fcn.00464eb0
add esp, 4
test eax, eax
jne 0x4677fb
cmp dword [esi + 0x78], 0x12c
jl 0x46762d
cmp dword [edi + 0x1d8], eax
jne 0x46762d
cmp dword [edi + 0x1a0], eax
jne 0x46762d
cmp dword [edi + 0x1dc], eax
jne 0x467636
mov eax, dword [ebp + 0x250]
add eax, 0xfffffffe
cmp eax, 2
ja 0x46762d
cmp dword [esi + 0xe4], 0
jne 0x46762d
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebp
call fcn.00450a50
mov eax, 1
mov dword [edi + 0x1a0], eax
and dword [esi + 0xe0], 0xfffffffd
add esp, 8
mov dword [esi + 0xe4], eax
cmp dword [ebp + 0x8684], 0
je 0x46762d
mov dword [esi + 0x84], 3
cmp dword [edi + 0x1dc], 0
je 0x46764b
push str.Keep_sending_data_to_get_tossed_away__n
push ebp
call fcn.00450a50
add esp, 8
or dword [esi + 0xe0], 2
cmp dword [esi + 0x48], 0
je 0x467767
mov edx, dword [ebp + 0x590]
mov dword [esi + 0x54], edx
mov eax, dword [esp + 0x30]
mov dword [esi + 0x58], 0
cmp dword [eax], 0
jne 0x4677f9
mov ecx, dword [esi + 0x5c]
cmp byte [ecx], 0
jne 0x466a90
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov edx, dword [edi]
push edx
call fcn.00464d60
add esp, 4
test eax, eax
jne 0x4677fb
cmp dword [esi + 0x50], eax
jne 0x4677f9
cmp dword [esi + 0x58], 5
jbe 0x4677f9
mov ecx, dword [ebp + 0x590]
mov eax, dword [esp + 0x28]
push ebp
call fcn.00464d20
add esp, 4
test eax, eax
jne 0x4677f9
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 0x4676fc
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.00450ae0
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 eax, dword [esi + 0x78]
push eax
push str.The_requested_URL_returned_error:__d
push ebp
call fcn.00450ae0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x10
ret
cmp dword [ebp + 0x30c], 0
je 0x46777c
mov ecx, dword [esp + 0x30]
mov dword [ecx], 1
jmp 0x467793
cmp dword [esi + 0x100], 0
je 0x467793
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 0x4677a1
cmp ecx, eax
je 0x4677b7
push ecx
push eax
push ebp
call fcn.0046a290
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 0x4677cf
cmp dword [esi + 0x14], 0
jne 0x4677cf
mov ecx, dword [esp + 0x30]
mov dword [ecx], 1
jmp 0x4677d8
mov edx, dword [esp + 0x30]
cmp dword [edx], 0
je 0x4677df
and dword [esi + 0xe0], 0xfffffffe
cmp dword [ebp + 0x31c], 0
je 0x4677f9
mov eax, dword [esi + 0x60]
push edi
push ebx
push eax
push 1
push ebp
call fcn.004508c0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret