Function at 0x478a30
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov eax, dword [ecx]
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x70]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x70], eax
push dword [ecx]
push 0xa
push eax
call fcn.004a5390
add esp, 0xc
mov dword [esi + 0x74], eax
test eax, eax
je 0x479858
mov ecx, dword [esi + 0x6c]
sub ecx, eax
mov eax, dword [ebp + 0x10]
dec ecx
add dword [eax], ecx
mov eax, dword [esi + 0x74]
inc eax
mov dword [esi + 0x6c], eax
sub eax, dword [esi + 0x70]
push eax
push esi
push edi
call fcn.00479af0
add esp, 0xc
test eax, eax
jne 0x479897
cmp dword [esi + 0x60], 0
mov eax, dword [esi + 0x64]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x874]
mov dword [esi + 0x78], eax
jne 0x478ac6
cmp dword [esi + 0x68], 5
jbe 0x478ac6
push dword [edi + 0x874]
push ebx
push edi
call fcn.004799f0
add esp, 0xc
test al, al
je 0x47969a
mov edx, dword [esi + 0x78]
mov al, byte [edx]
cmp al, 0xa
je 0x4793e4
cmp al, 0xd
je 0x4793e8
mov ecx, dword [esi + 0x60]
lea eax, [ecx + 1]
mov dword [esi + 0x60], eax
test ecx, ecx
jne 0x478dbc
mov eax, dword [ebx + 0x2b0]
mov eax, dword [eax + 0x40]
test al, 3
je 0x478c13
lea ecx, [esi + 0x88]
push ecx
lea ecx, [ebp + 0xb]
push ecx
lea eax, [ebx + 0x180]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4e5ce8
push edx
call fcn.00468ed0
add esp, 0x18
cmp eax, 1
jne 0x478b62
cmp dword [ebp - 0xc], 2
jne 0x4796d1
lea eax, [esi + 0x88]
push eax
push 0x4e5cfc
push dword [esi + 0x78]
call fcn.00468ed0
add esp, 0xc
cmp eax, 1
jne 0x4796d1
lea ecx, [ebx + 0x180]
mov byte [ebp + 0xb], 0x20
mov dword [ecx], 0
jmp 0x478b77
cmp eax, 4
jne 0x478bb0
cmp byte [ebp + 0xb], 0x20
jne 0x4796d1
lea ecx, [ebx + 0x180]
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
add eax, eax
add dword [ecx], eax
cmp dword [esi + 0xa4], 2
jne 0x478c6f
cmp dword [ecx], 0x14
je 0x478c6f
push 0x4e5d08
push edi
call fcn.004722f0
add esp, 8
lea ecx, [ebx + 0x180]
jmp 0x478c6f
test eax, eax
jne 0x4796d1
lea eax, [esi + 0x88]
push eax
push 0x4e5d2c
push dword [esi + 0x78]
call fcn.00468ed0
add esp, 0xc
mov dword [ebx + 0x180], 0xa
lea ecx, [ebx + 0x180]
test eax, eax
jne 0x478c6f
push dword [esi + 0x78]
push edi
call fcn.00479970
add esp, 8
test al, al
je 0x479891
lea ecx, [ebx + 0x180]
mov dword [esi + 0x88], 0xc8
mov dword [ecx], 0xa
jmp 0x478c6f
test eax, 0x40000
je 0x479891
lea eax, [esi + 0x88]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebx + 0x184]
push ecx
lea eax, [ebp - 0x10]
push eax
push 0x4e5d60
push edx
call fcn.00468ed0
add esp, 0x18
cmp eax, 4
jne 0x479891
cmp byte [ebp - 1], 0x20
jne 0x479891
mov eax, dword [ebp - 0x10]
lea ecx, [ebx + 0x180]
mov dword [ecx], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx + 0x184], eax
mov eax, dword [esi + 0x88]
mov dword [edi + 0x4bb8], eax
mov eax, dword [ecx]
mov dword [edi + 0x4bc0], eax
mov eax, dword [edi + 0x4b38]
test eax, eax
je 0x478c91
cmp eax, dword [ecx]
jle 0x478c99
mov eax, dword [ecx]
mov dword [edi + 0x4b38], eax
mov eax, dword [edi + 0x4b50]
or eax, dword [edi + 0x4b54]
je 0x478cc5
cmp dword [edi + 0x400], 1
jne 0x478cc5
cmp dword [esi + 0x88], 0x1a0
jne 0x478cc5
mov byte [esi + 0xc9], 1
jmp 0x478d03
cmp byte [edi + 0x4f8], 0
je 0x478d03
mov eax, dword [esi + 0x88]
cmp eax, 0x190
jl 0x478d03
cmp eax, 0x191
jne 0x478ceb
cmp byte [ebx + 0x274], 0
jne 0x478d03
cmp eax, 0x197
jne 0x4796eb
cmp byte [ebx + 0x275], 0
je 0x4796eb
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x478d22
push 0x4e5d74
push edi
call fcn.004722f0
push 1
push ebx
call fcn.00472cb0
add esp, 0x10
jmp 0x478d78
cmp eax, 0x14
je 0x478d6c
cmp dword [esi + 0xa4], 1
jne 0x478d39
cmp dword [esi + 0x88], 0x65
je 0x478d6c
cmp eax, 0xb
jl 0x478d78
cmp byte [ebx + 0x26d], 0
jne 0x478d78
cmp dword [ebx + 0x530], 0
je 0x478d78
push ebx
push edi
call fcn.0047d900
add esp, 8
test al, al
jne 0x478d78
mov eax, dword [ebx + 0x530]
mov dword [eax], 1
jmp 0x478d78
mov eax, dword [ebx + 0x530]
mov dword [eax], 2
mov eax, dword [esi + 0x88]
sub eax, 0xcc
je 0x478d8a
sub eax, 0x64
jne 0x478dbc
cmp dword [edi + 0x3f0], 0
je 0x478d9a
mov byte [edi + 0x4bd0], 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0xca], 1
cmp byte [esi + 0xca], 0
jne 0x478e88
cmp byte [edi + 0x51f], 0
jne 0x478e88
push 0xf
push dword [esi + 0x78]
push 0x4e56ac
call fcn.004747c0
add esp, 0xc
test eax, eax
je 0x478e88
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi + 0x78]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.0047ef80
add esp, 0x10
test eax, eax
jne 0x478e52
mov eax, dword [edi + 0x4d8]
mov edx, dword [edi + 0x4dc]
or eax, edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
je 0x478e37
cmp ecx, edx
jg 0x479700
jl 0x478e37
cmp eax, dword [edi + 0x4d8]
ja 0x479700
push ecx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
call fcn.0047c390
add esp, 0xc
jmp 0x479387
cmp eax, 1
jne 0x47971a
mov eax, dword [edi + 0x4d8]
or eax, dword [edi + 0x4dc]
jne 0x479700
push 2
push ebx
call fcn.00472cb0
push 0x4e5db4
push edi
call fcn.004722f0
add esp, 0x10
jmp 0x479387
push 0xd
push dword [esi + 0x78]
push 0x4e569c
call fcn.004747c0
add esp, 0xc
test eax, eax
je 0x478ee5
push dword [esi + 0x78]
call fcn.004784c0
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x479734
cmp byte [eax], 0
jne 0x478ec8
push eax
call dword [0x50631c]
add esp, 4
jmp 0x479387
push dword [edi + 0x4be8]
call dword [0x50631c]
mov eax, dword [ebp - 8]
add esp, 4
mov dword [edi + 0x4be8], eax
jmp 0x479387
push 7
push dword [esi + 0x78]
push 0x4e5df8
call fcn.004747c0
add esp, 0xc
test eax, eax
je 0x478f51
cmp dword [ebx + 0x180], 0x14
jge 0x479387
push dword [esi + 0x78]
call fcn.004784c0
mov ecx, dword [ebx + 0x530]
add esp, 4
mov dword [ebp - 8], eax
test ecx, ecx
je 0x478f42
cmp dword [ecx], 1
jne 0x478f42
push eax
push edi
call fcn.0047d700
add esp, 8
test al, al
je 0x478f3f
mov eax, dword [ebx + 0x530]
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 8]
push eax
call dword [0x50631c]
add esp, 4
jmp 0x479387
cmp dword [ebx + 0x180], 0xa
jne 0x478f97
cmp byte [ebx + 0x272], 0
je 0x478f97
push 0x4e5e00
push 0x4e5e0c
push dword [esi + 0x78]
call fcn.004783f0
add esp, 0xc
test al, al
je 0x478f97
push 0
push ebx
call fcn.00472cb0
push 0x4e5e20
push edi
call fcn.004722f0
add esp, 0x10
jmp 0x479387
cmp dword [ebx + 0x180], 0xb
jne 0x478fdd
cmp byte [ebx + 0x272], 0
je 0x478fdd
push 0x4e5e50
push 0x4e5e0c
push dword [esi + 0x78]
call fcn.004783f0
add esp, 0xc
test al, al
je 0x478fdd
push 1
push ebx
call fcn.00472cb0
push 0x4e5e58
push edi
call fcn.004722f0
add esp, 0x10
jmp 0x479387
cmp dword [ebx + 0x180], 0xa
jne 0x47901a
push 0x4e5e00
push 0x4e56bc
push dword [esi + 0x78]
call fcn.004783f0
add esp, 0xc
test al, al
je 0x47901a
push 0
push ebx
call fcn.00472cb0
push 0x4e5e80
push edi
call fcn.004722f0
add esp, 0x10
jmp 0x479387
push 0x4e5e50
push 0x4e56bc
push dword [esi + 0x78]
call fcn.004783f0
add esp, 0xc
test al, al
je 0x479043
push 2
push ebx
call fcn.00472cb0
add esp, 8
jmp 0x479387
push 0x12
push dword [esi + 0x78]
push 0x4e56c8
call fcn.004747c0
add esp, 0xc
test eax, eax
je 0x479070
mov eax, dword [esi + 0x78]
push 1
add eax, 0x12
push eax
push ebx
call fcn.004749a0
add esp, 0xc
jmp 0x47937f
push 0x11
push dword [esi + 0x78]
push 0x4e5ea8
call fcn.004747c0
add esp, 0xc
test eax, eax
je 0x4790a6
cmp dword [edi + 0x55c], 0
je 0x4790a6
mov eax, dword [esi + 0x78]
push 0
add eax, 0x11
push eax
push ebx
call fcn.004749a0
add esp, 0xc
jmp 0x47937f
push 0xe
push dword [esi + 0x78]
push 0x4e5ebc
call fcn.004747c0
add esp, 0xc
test eax, eax
je 0x47916b
mov eax, dword [esi + 0x78]
add eax, 0xe
mov dword [ebp - 8], eax
mov cl, byte [eax]
test cl, cl
je 0x4790f7
mov ebx, eax
movzx eax, cl
push eax
call fcn.00463000
add esp, 4
test eax, eax
jne 0x4790ee
cmp byte [ebx], 0x2a
je 0x4790ee
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x4790d1
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
push eax
call fcn.00463000
add esp, 4
test eax, eax
je 0x479152
lea eax, [esi + 0x80]
push eax
push 0xa
push 0
push dword [ebp - 8]
call fcn.0047ef80
add esp, 0x10
test eax, eax
jne 0x479387
mov eax, dword [edi + 0x4b50]
cmp eax, dword [esi + 0x80]
jne 0x479387
mov eax, dword [edi + 0x4b54]
cmp eax, dword [esi + 0x84]
jne 0x479387
mov byte [esi + 0x7c], 1
jmp 0x479387
mov dword [edi + 0x4b50], 0
mov dword [edi + 0x4b54], 0
jmp 0x479387
cmp dword [edi + 0x6b8], 0
je 0x4791d5
push 0xb
push dword [esi + 0x78]
push str.Set_Cookie:
call fcn.004747c0
add esp, 0xc
test eax, eax
je 0x4791d5
push 2
push 2
push edi
call fcn.00462f20
mov eax, dword [ebx + 0x2e0]
add esp, 0xc
test eax, eax
jne 0x4791a7
mov eax, dword [ebx + 0xa0]
push dword [edi + 0x4b44]
push eax
mov eax, dword [esi + 0x78]
add eax, 0xb
push eax
push 0
push 1
push dword [edi + 0x6b8]
push edi
call fcn.004673f0
push 2
push edi
call fcn.00462f60
add esp, 0x24
jmp 0x479387
push 0xe
push dword [esi + 0x78]
push 0x4e5ecc
call fcn.004747c0
add esp, 0xc
test eax, eax
je 0x47924d
cmp dword [edi + 0x3f0], 0
jne 0x4791fd
cmp byte [edi + 0x4f1], 0
je 0x47924d
push 0
call fcn.004abe4b
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi + 0x78]
add eax, 0xe
mov dword [ebp - 0x28], edx
push eax
call fcn.0047e8a0
add esp, 0xc
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
cmp byte [edi + 0x4f1], 0
je 0x479387
mov dword [edi + 0x4bc8], eax
mov eax, dword [esi + 0xb4]
mov dword [edi + 0x4bcc], eax
jmp 0x479387
push 0x11
push dword [esi + 0x78]
push 0x4e5edc
call fcn.004747c0
add esp, 0xc
test eax, eax
je 0x479273
mov eax, dword [esi + 0x88]
mov dword [ebp - 8], eax
cmp eax, 0x191
je 0x479299
push 0x13
push dword [esi + 0x78]
push 0x4e5ef0
call fcn.004747c0
add esp, 0xc
test eax, eax
je 0x4792db
mov eax, dword [esi + 0x88]
mov dword [ebp - 8], eax
cmp eax, 0x197
jne 0x4792db
push dword [esi + 0x78]
call fcn.004784c0
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x479734
cmp dword [ebp - 8], 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.00478760
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
call dword [0x50631c]
mov eax, dword [ebp - 8]
add esp, 0x10
jmp 0x47937f
mov eax, dword [esi + 0x88]
cmp eax, 0x12c
jl 0x479364
cmp eax, 0x190
jge 0x479364
push 9
push dword [esi + 0x78]
push 0x4e5f04
call fcn.004747c0
add esp, 0xc
test eax, eax
je 0x479364
cmp dword [edi + 0x13c], 0
jne 0x479364
push dword [esi + 0x78]
call fcn.004784c0
add esp, 4
test eax, eax
je 0x479734
cmp byte [eax], 0
jne 0x479332
push eax
call dword [0x50631c]
add esp, 4
jmp 0x479387
cmp byte [edi + 0x4fa], 0
mov dword [edi + 0x13c], eax
je 0x479387
push eax
call dword [0x506324]
add esp, 4
mov dword [edi + 0x140], eax
test eax, eax
je 0x479734
push ebx
call fcn.00479d00
add esp, 4
jmp 0x47937f
mov eax, dword [ebx + 0x2b0]
test dword [eax + 0x40], 0x40000
je 0x479387
push dword [esi + 0x78]
push ebx
call fcn.0048dc40
add esp, 8
test eax, eax
jne 0x479897
xor eax, eax
cmp byte [edi + 0x4fd], al
setne al
add eax, 2
cmp byte [edi + 0x508], 0
mov dword [ebp - 0x14], eax
je 0x4793b5
push dword [esi + 0x68]
push dword [esi + 0x78]
push 1
push edi
call fcn.00472190
mov eax, dword [ebp - 0x14]
add esp, 0x10
push dword [esi + 0x68]
push dword [esi + 0x78]
push eax
push ebx
call fcn.00472160
add esp, 0x10
test eax, eax
jne 0x479897
mov eax, dword [esi + 0x68]
add dword [edi + 0x4bd4], eax
mov eax, dword [esi + 0x68]
add dword [edi + 0xa0], eax
jmp 0x479676
cmp al, 0xd
jne 0x4793ee
lea eax, [edx + 1]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
cmp byte [eax], 0xa
jne 0x4793fa
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x64
jl 0x47946e
cmp eax, 0xc7
jg 0x47946e
sub eax, 0x64
je 0x47943c
sub eax, 1
je 0x479426
mov byte [esi + 0x58], 1
mov dword [esi + 0x60], 0
jmp 0x4794c5
cmp dword [esi + 0xa4], 1
je 0x479740
mov byte [esi + 0x58], 0
jmp 0x4794c5
cmp dword [esi + 0xa0], 0
mov byte [esi + 0x58], 1
mov dword [esi + 0x60], 0
jle 0x4794c5
or dword [esi + 0xc4], 2
push 0
push edi
mov dword [esi + 0xa0], 0
call fcn.00464960
add esp, 8
jmp 0x4794c5
mov eax, dword [esi]
and eax, dword [esi + 4]
mov byte [esi + 0x58], 0
cmp eax, 0xffffffff
jne 0x4794c5
cmp byte [esi + 0xdc], 0
jne 0x4794c5
cmp byte [ebx + 0x26d], 0
jne 0x4794ce
cmp dword [ebx + 0x180], 0xb
jne 0x4794c5
mov eax, dword [ebx + 0x2b0]
test dword [eax + 0x40], 0x40000
jne 0x4794c5
cmp dword [edi + 0x400], 6
je 0x4794c5
push 0x4e5bec
push edi
call fcn.004722f0
push 2
push ebx
call fcn.00472cb0
add esp, 0x10
cmp byte [ebx + 0x26d], 0
je 0x479509
mov eax, dword [edi + 0xf8]
cmp eax, 0x191
jne 0x4794e4
cmp dword [ebx + 0x324], 2
je 0x4794f4
cmp eax, 0x197
jne 0x479509
cmp dword [ebx + 0x33c], 2
jne 0x479509
push 0x4e5c28
push edi
call fcn.004722f0
add esp, 8
mov byte [edi + 0x494c], 1
push ebx
call fcn.00479eb0
add esp, 4
test eax, eax
jne 0x479838
mov eax, dword [edi + 0x874]
mov ecx, dword [esi + 0x78]
sub ecx, eax
push ecx
push eax
xor eax, eax
mov dword [ebp - 8], ecx
cmp byte [edi + 0x4fd], al
setne al
add eax, 2
push eax
push ebx
call fcn.00472160
add esp, 0x10
test eax, eax
jne 0x479897
mov eax, dword [ebp - 8]
add dword [edi + 0xa0], eax
add dword [edi + 0x4bd4], eax
mov eax, dword [esi + 0x88]
mov ecx, dword [edi + 0xa0]
cmp eax, 0x64
jl 0x479571
cmp eax, 0xc7
jle 0x479573
xor ecx, ecx
push ebx
mov dword [edi + 0xa4], ecx
call fcn.00478590
add esp, 4
test eax, eax
jne 0x479897
cmp dword [esi + 0x88], 0x12c
jl 0x47966c
cmp byte [ebx + 0x27e], al
jne 0x47964e
cmp byte [ebx + 0x26d], al
jne 0x47964e
cmp byte [ebx + 0x27f], al
jne 0x479657
mov eax, dword [edi + 0x400]
add eax, 0xfffffffe
cmp eax, 3
ja 0x47964e
push 0
push edi
call fcn.00464960
add esp, 8
cmp byte [esi + 0xc8], 0
jne 0x47964e
cmp byte [edi + 0x4f9], 0
je 0x479617
push 0x4e5c60
push edi
call fcn.004722f0
add esp, 8
cmp dword [esi + 0xa0], 0
jle 0x47964e
or dword [esi + 0xc4], 2
mov dword [esi + 0xa0], 0
jmp 0x47964e
push 0x4e5c90
push edi
call fcn.004722f0
push 2
push ebx
call fcn.00472cb0
and dword [esi + 0xc4], 0xfffffffd
add esp, 0x10
mov byte [esi + 0xc8], 1
cmp byte [edi + 0x4b3c], 0
je 0x47964e
mov dword [esi + 0xa0], 3
cmp byte [ebx + 0x27f], 0
je 0x47966c
push 0x4e5cc0
push edi
call fcn.004722f0
add esp, 8
or dword [esi + 0xc4], 2
cmp byte [esi + 0x58], 0
je 0x47976f
mov eax, dword [edi + 0x874]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x68], 0
cmp byte [eax], 0
je 0x479895
mov ecx, dword [ebp + 0x10]
jmp 0x478a50
mov eax, dword [ebp + 0x10]
mov byte [esi + 0x58], 0
cmp dword [eax], 0
je 0x4796b6
pop edi
mov dword [esi + 0x5c], 1
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x5c], 2
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
pop edi
mov dword [esi + 0x6c], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4e5d38
push edi
call fcn.00472210
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.0047a130
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4e5d98
push edi
call fcn.00472210
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4e5dd8
push edi
call fcn.00472210
add esp, 8
mov eax, 8
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
push 0x4e5bdc
push edi
call fcn.004722f0
add esp, 8
mov dword [esi + 0xa4], 2
mov byte [esi + 0x58], 1
mov eax, 1
mov dword [esi + 0x60], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0x500], 0
je 0x479780
mov ebx, dword [ebp + 0x14]
mov byte [ebx], 1
jmp 0x4797d4
mov eax, dword [ebx + 0x2b0]
test dword [eax + 0x40], 0x40000
je 0x4797ad
cmp dword [edi + 0x63c], 2
jne 0x4797ad
cmp dword [esi + 4], 0xffffffff
jg 0x4797ad
jl 0x4797a5
cmp dword [esi], 0xffffffff
ja 0x4797ad
mov ebx, dword [ebp + 0x14]
mov byte [ebx], 1
jmp 0x4797d4
cmp byte [esi + 0xdc], 0
mov ebx, dword [ebp + 0x14]
je 0x4797d4
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 0x4797e2
cmp eax, ecx
je 0x4797f8
push eax
push ecx
push edi
call fcn.0047c390
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 0x479809
cmp dword [esi + 0x14], 0
jne 0x479809
mov byte [ebx], 1
jmp 0x47980e
cmp byte [ebx], 0
je 0x479815
and dword [esi + 0xc4], 0xfffffffe
cmp byte [edi + 0x508], 0
je 0x479895
push dword [ebp - 8]
push dword [esi + 0x70]
push 1
push edi
call fcn.00472190
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x88]
push 0x4e5518
push edi
call fcn.00472210
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
push dword [eax]
push esi
push edi
call fcn.00479af0
add esp, 0xc
test eax, eax
jne 0x479897
cmp dword [esi + 0x60], eax
jne 0x479895
cmp dword [esi + 0x68], 5
jbe 0x479895
push dword [edi + 0x874]
push ebx
push edi
call fcn.004799f0
add esp, 0xc
test al, al
jne 0x479895
mov dword [esi + 0x5c], 2
mov byte [esi + 0x58], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret